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

shutdown emacsclient when logging out

10 views
Skip to first unread message

Rainer M Krug

unread,
May 22, 2012, 4:25:03 AM5/22/12
to help-gn...@gnu.org
-----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-----


0 new messages