Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem starting emacs --deamon

4 views
Skip to first unread message

Rainer M Krug

unread,
Oct 10, 2012, 12:24:56 PM10/10/12
to help-gn...@gnu.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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,

Rainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB1oVgACgkQoYgNqgF2egrQ+gCeMnJX1TiHAb2+Ann1c5JmfskZ
9EgAniY4n22jlo+Zkb/Fs0wFOZqBwNju
=ab2l
-----END PGP SIGNATURE-----


Rainer M Krug

unread,
Oct 11, 2012, 4:39:14 AM10/11/12
to help-gn...@gnu.org, help-gn...@gnu.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

Rainer

>
> Rainer
>
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB2hbIACgkQoYgNqgF2egr9UgCfQ8mc5tOVTNIrtrNd7vsh+LTM
RvQAnA+lOlkXpU+mxsG8+a+BHq7iC1jH
=I989
-----END PGP SIGNATURE-----


Rainer M Krug

unread,
Oct 11, 2012, 4:55:04 AM10/11/12
to help-gn...@gnu.org
-----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-----


0 new messages