[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Server preventing logout
From: |
Michael Albinus |
Subject: |
Re: Emacs Server preventing logout |
Date: |
Thu, 02 Jul 2009 09:32:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Alex Bennee <kernel-hacker@bennee.com> writes:
> I run an emacs server in my Gnome session startup. This works fine
> except for the occasional time
> I try and log out of the session. This usually takes a while as Gnome
> tries to get all the open applications
> to shutdown before logging off. Is there some way I can get emacs to
> trap the session manager message
> and respond appropriately?
Likely, the session manager sends a D-Bus message
(org.gnome.SessionManager). With Emacs 23 you can handle this.
Best regards, Michael.