[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SOLVED: problem starting emacs --deamon
From: |
Rainer M Krug |
Subject: |
SOLVED: problem starting emacs --deamon |
Date: |
Thu, 11 Oct 2012 10:55:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121004 Thunderbird/16.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/10/12 10:39, Rainer M Krug wrote:
> On 10/10/12 18:24, Rainer M Krug wrote:
>> Hi
>
>> I would like to start emacs --daemon when I log in. In theory, it should
>> work when I execute
>
>> emacs --daemon
>
>> but it stops with the following message:
>
>
>> HakSim.org has auto save data; consider M-x recover-this-file
>
>
>> when I press enter emacs finishes starting as daemon. But when I autoexecute
>> this upon
>> login, I obviously can't press RETURN as I don't see this.
>
>> Now I understand the message, although I can't recover the file, but my
>> question is:
>
>> How can I make sure that emacs --daemon starts even if I have aotorecover
>> files? Thanks,
>
> I found the following on stackexchange
> (http://stackoverflow.com/questions/4933134/emacs-daemon-startup-freezes-if-file-has-auto-save-data)
>
>
but I have no idea what to do with the code?
>
> I tried to put it in my init.el, but it seems that it is only processed
> afterwards emacs waits
> for input?
Working - posted to fast. One shouldn't test the noninteractive when starting
emacs interactive.
Cheers,
Rainer
>
> Rainer
>
>
>> Rainer
>
>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlB2iWgACgkQoYgNqgF2egpzFQCgjGcF37VA//zD/2aNHYrBRUYG
TSwAnRYIkJgMu9SjTXq0YmPJ4eyFToxj
=rU9Y
-----END PGP SIGNATURE-----