* Emacs Server preventing logout
@ 2009-07-01 8:51 Alex Bennee
2009-07-01 16:04 ` Peter Dyballa
2009-07-02 19:49 ` Johan Bockgård
0 siblings, 2 replies; 4+ messages in thread
From: Alex Bennee @ 2009-07-01 8:51 UTC (permalink / raw)
To: help-gnu-emacs mailing list
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?
--
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs Server preventing logout
2009-07-01 8:51 Alex Bennee
@ 2009-07-01 16:04 ` Peter Dyballa
2009-07-02 19:49 ` Johan Bockgård
1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2009-07-01 16:04 UTC (permalink / raw)
To: Alex Bennee; +Cc: help-gnu-emacs mailing list
Am 01.07.2009 um 10:51 schrieb Alex Bennee:
> Is there some way I can get emacs to
> trap the session manager message
> and respond appropriately?
Why not tell your PC to fall asleep (hibernate, ACPI S-4 status,
suspend to disk)?
--
Greetings
Pete
Increase the size of your bike by at least *five* inches!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs Server preventing logout
[not found] <mailman.1645.1246458972.2239.help-gnu-emacs@gnu.org>
@ 2009-07-02 7:32 ` Michael Albinus
0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2009-07-02 7:32 UTC (permalink / raw)
To: Alex Bennee; +Cc: help-gnu-emacs mailing list
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs Server preventing logout
2009-07-01 8:51 Alex Bennee
2009-07-01 16:04 ` Peter Dyballa
@ 2009-07-02 19:49 ` Johan Bockgård
1 sibling, 0 replies; 4+ messages in thread
From: Johan Bockgård @ 2009-07-02 19:49 UTC (permalink / raw)
To: help-gnu-emacs
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?
(info "(elisp) Session Management")
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-02 19:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1645.1246458972.2239.help-gnu-emacs@gnu.org>
2009-07-02 7:32 ` Emacs Server preventing logout Michael Albinus
2009-07-01 8:51 Alex Bennee
2009-07-01 16:04 ` Peter Dyballa
2009-07-02 19:49 ` Johan Bockgård
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).