From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5552: 23.1; desktop seems not quite to understand session management Date: Wed, 10 Feb 2010 10:08:23 +0100 Message-ID: <4B727787.5080106@swipnet.se> References: <87bpfyqpai.fsf@canta.dyndns.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Trace: ger.gmane.org 1265793758 4089 80.91.229.12 (10 Feb 2010 09:22:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2010 09:22:38 +0000 (UTC) Cc: 5552@debbugs.gnu.org To: rrt@sc3d.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 10 10:22:35 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nf8mG-0000im-Vd for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2010 10:22:33 +0100 Original-Received: from localhost ([127.0.0.1]:34488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nf8mF-0002og-VH for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2010 04:22:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nf8mA-0002oS-GC for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:22:26 -0500 Original-Received: from [199.232.76.173] (port=42708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nf8mA-0002o8-23 for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:22:26 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nf8m7-0003xs-Kz for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:22:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59423) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nf8m6-0003xo-T2 for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:22:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nf8ZC-0002a1-BO; Wed, 10 Feb 2010 04:09:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2010 09:09:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5552 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5552-submit@debbugs.gnu.org id=B5552.12657929109901 (code B ref 5552); Wed, 10 Feb 2010 09:09:02 +0000 Original-Received: (at 5552) by debbugs.gnu.org; 10 Feb 2010 09:08:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nf8Yf-0002Ze-S6 for submit@debbugs.gnu.org; Wed, 10 Feb 2010 04:08:30 -0500 Original-Received: from proxy3.bredband.net ([195.54.101.73]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nf8Ye-0002ZX-0q for 5552@debbugs.gnu.org; Wed, 10 Feb 2010 04:08:28 -0500 Original-Received: from ipb2.telenor.se (195.54.127.165) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA031B16F7 for 5552@debbugs.gnu.org; Wed, 10 Feb 2010 10:08:24 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApJIAEEGcktV4S1uPGdsb2JhbACDCoRUkwoMAQEBATcurDyQEYEvgktbBA X-IronPort-AV: E=Sophos;i="4.49,442,1262559600"; d="scan'208";a="35448025" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 10 Feb 2010 10:08:24 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id CAB027FA01A; Wed, 10 Feb 2010 10:08:23 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <87bpfyqpai.fsf@canta.dyndns.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 10 Feb 2010 04:09:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35009 Archived-At: rrt@sc3d.org skrev: > If I log out of my GNOME desktop then back in, desktop says that > another Emacs process (the old one) appears to be using the desktop > file and asks me if I want to use it anyway. If I say =E2=80=9Cy=E2=80=9D= then things > work as normal (unsurprisingly, since the old process is no longer > running). However, desktop should know that the old process is dead; > perhaps it needs to talk to the session manager code? >=20 When you log out, the X connection is closed and emacs exits. However, i= t=20 does not run kill-emacs-hooks. Desktop.el depends on that hook to clean = up=20 after itself. Should we run kill-emacs instead of shut_down_emacs when exiting due to X= =20 connection lost? Jan D.