From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5552: 23.1; desktop seems not quite to understand session management Date: Wed, 10 Feb 2010 04:38:31 -0500 Message-ID: <87eiktqvl4.fsf@stupidchicken.com> References: <87bpfyqpai.fsf@canta.dyndns.org> <4B727787.5080106@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265795608 10108 80.91.229.12 (10 Feb 2010 09:53:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2010 09:53:28 +0000 (UTC) Cc: 5552@debbugs.gnu.org, rrt@sc3d.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 10 10:53:24 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 1Nf9G8-00057C-BX for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2010 10:53:24 +0100 Original-Received: from localhost ([127.0.0.1]:36430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nf9G7-0004Pz-Ri for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2010 04:53:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nf9FF-00046q-H7 for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:52:29 -0500 Original-Received: from [199.232.76.173] (port=42925 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nf9FF-00046Y-30 for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:52:29 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nf9FC-00074C-Ua for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:52:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42615) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nf9FC-00073s-6C for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2010 04:52:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nf92E-0002x3-LA; Wed, 10 Feb 2010 04:39:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Chong Yidong 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:39: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.126579472011324 (code B ref 5552); Wed, 10 Feb 2010 09:39:02 +0000 Original-Received: (at 5552) by debbugs.gnu.org; 10 Feb 2010 09:38:40 +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 1Nf91r-0002wb-T5 for submit@debbugs.gnu.org; Wed, 10 Feb 2010 04:38:40 -0500 Original-Received: from pantheon-po34.its.yale.edu ([130.132.50.80]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nf91q-0002wQ-7X for 5552@debbugs.gnu.org; Wed, 10 Feb 2010 04:38:38 -0500 Original-Received: from furry (bb116-15-9-83.singnet.com.sg [116.15.9.83]) (authenticated bits=0) by pantheon-po34.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1A9cW6X002186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Feb 2010 04:38:34 -0500 Original-Received: by furry (Postfix, from userid 1000) id F0E1EC05D; Wed, 10 Feb 2010 04:38:31 -0500 (EST) In-Reply-To: <4B727787.5080106@swipnet.se> ("Jan =?UTF-8?Q?Dj=C3=A4rv"'s?= message of "Wed, 10 Feb 2010 10:08:23 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 10 Feb 2010 04:39: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:35014 Archived-At: Jan Dj=C3=A4rv writes: > When you log out, the X connection is closed and emacs exits. > However, it does not run kill-emacs-hooks. Desktop.el depends on that > hook to clean up after itself. > > Should we run kill-emacs instead of shut_down_emacs when exiting due > to X connection lost? There was a related thread about this a year ago, regarding how Emacs responds to SIGTERM by calling shut_down_emacs rather than kill-emacs: http://lists.gnu.org/archive/html/emacs-devel/2009-01/msg00530.html The thread did not have a clear conclusion, but I'm in favor of changing things to run kill-emacs in such situations. But I think this is best done after the release, unless someone can come up with a very convincing argument otherwise.