help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shutdown emacsclient when logging out


From: Rainer M Krug
Subject: shutdown emacsclient when logging out
Date: Tue, 22 May 2012 10:25:03 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I am using awesome window manager and would like to start emacsclient when I 
log in. THis is the
easy part and this is working.
But when I logout, emacsclient is just killed and,as I am saving the desktop, I 
get the following
message when starting emacs, or emacsclient just sits hidden away and waiting.

Warning: desktop file appears to be in use by PID 30566.
Using it may cause conflicts.  Use it anyway? (y or n)

So my question: can I shutdown emacsclient when logging out in a controlled 
way, so that all still
open files are saved, and emacsclient starts the next time cleanly?

Awesome can execute commands on logout, so that I could execute a commandline 
command.

Cheers,

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

iEYEARECAAYFAk+7TV8ACgkQoYgNqgF2egqwygCcDFPyCUUOGNyKFw6fUwAQcYPM
sGIAn0yJKhUEeMcar/t8pZagOkQHeQ8z
=qF2W
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]