unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* problem starting emacs --deamon
@ 2012-10-10 16:24 Rainer M Krug
  2012-10-11  8:39 ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2012-10-10 16:24 UTC (permalink / raw)
  To: help-gnu-emacs

-----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-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem starting emacs --deamon
  2012-10-10 16:24 problem starting emacs --deamon Rainer M Krug
@ 2012-10-11  8:39 ` Rainer M Krug
  2012-10-11  8:55   ` SOLVED: " Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2012-10-11  8:39 UTC (permalink / raw)
  Cc: help-gnu-emacs

-----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-----



^ permalink raw reply	[flat|nested] 3+ messages in thread

* SOLVED: problem starting emacs --deamon
  2012-10-11  8:39 ` Rainer M Krug
@ 2012-10-11  8:55   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2012-10-11  8:55 UTC (permalink / raw)
  To: help-gnu-emacs

-----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-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-11  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-10 16:24 problem starting emacs --deamon Rainer M Krug
2012-10-11  8:39 ` Rainer M Krug
2012-10-11  8:55   ` SOLVED: " Rainer M Krug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).