From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Emacs Server preventing logout Date: Thu, 02 Jul 2009 09:32:41 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246572145 13833 80.91.229.12 (2 Jul 2009 22:02:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 22:02:25 +0000 (UTC) Cc: help-gnu-emacs mailing list To: Alex Bennee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 00:02:18 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MMUMC-0003Sd-BS for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 00:02:16 +0200 Original-Received: from localhost ([127.0.0.1]:33766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMUMB-0002oZ-Tt for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jul 2009 18:02:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMGn2-0008VZ-5A for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 03:33:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMGmx-0008So-EY for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 03:33:03 -0400 Original-Received: from [199.232.76.173] (port=33345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMGmx-0008Sk-7G for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 03:32:59 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]:35873) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMGmw-0003AP-OK for help-gnu-emacs@gnu.org; Thu, 02 Jul 2009 03:32:59 -0400 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n627WifF002297; Thu, 2 Jul 2009 09:32:44 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n627WhY4016786; Thu, 2 Jul 2009 09:32:44 +0200 (MEST) In-Reply-To: (Alex Bennee's message of "Wed, 1 Jul 2009 09:51:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-Alcanet-virus-scanned: n627WhY4016786 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) X-Mailman-Approved-At: Thu, 02 Jul 2009 18:00:12 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65725 Archived-At: Alex Bennee 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.