From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#5512: Automatically saving and restoring an Emacs session in GNOME Date: Tue, 9 Feb 2010 17:47:04 +0000 Message-ID: References: <4B6880D4.4080408@swipnet.se> <4B6FC1FD.1060502@swipnet.se> <4B7132C4.3060806@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265737976 5089 80.91.229.12 (9 Feb 2010 17:52:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 17:52:56 +0000 (UTC) Cc: 5512 <5512@debbugs.gnu.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 Tue Feb 09 18:52:52 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 1NeuGa-0000to-3P for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 18:52:52 +0100 Original-Received: from localhost ([127.0.0.1]:51670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeuGZ-0000sj-Gx for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 12:52:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NeuGM-0000mm-Vv for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 12:52:39 -0500 Original-Received: from [199.232.76.173] (port=48287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeuGM-0000mT-KE for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 12:52:38 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NeuGI-0006wu-P3 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 12:52:38 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57329) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NeuGG-0006w8-0c for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 12:52:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NeuBu-0000OG-FE; Tue, 09 Feb 2010 12:48:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Reuben Thomas Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2010 17:48:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5512 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5512-submit@debbugs.gnu.org id=B5512.12657376371480 (code B ref 5512); Tue, 09 Feb 2010 17:48:02 +0000 Original-Received: (at 5512) by debbugs.gnu.org; 9 Feb 2010 17:47:17 +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 1NeuBA-0000Np-Ii for submit@debbugs.gnu.org; Tue, 09 Feb 2010 12:47:16 -0500 Original-Received: from exprod7og118.obsmtp.com ([64.18.2.8]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NeuB7-0000Nk-2U for 5512@debbugs.gnu.org; Tue, 09 Feb 2010 12:47:15 -0500 Original-Received: from source ([216.239.58.187]) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKS3GfmvIAmr8r9w3R6HUCdbd2ehswxdwK@postini.com; Tue, 09 Feb 2010 09:47:13 PST Original-Received: by gv-out-0910.google.com with SMTP id e6so275139gvc.17 for <5512@debbugs.gnu.org>; Tue, 09 Feb 2010 09:47:06 -0800 (PST) Original-Received: by 10.102.183.14 with SMTP id g14mr5897260muf.71.1265737625865; Tue, 09 Feb 2010 09:47:05 -0800 (PST) In-Reply-To: <4B7132C4.3060806@swipnet.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 09 Feb 2010 12:48: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:34984 Archived-At: On 9 February 2010 10:02, Jan Dj=E4rv wrote: >=A0Anyway, you have session suport compiled in and Emacs talks to > the session manager. > > Do you have a directory ~/.emacs.d and is it writable? Yes. >=A0If you start emacs, > log out and then in again, do you have any session.* files in emacs.d? > Or any ~/.emacs.session.* files? OK, the problem seems to be a bit more complex than I thought. If I close down all my programs, log out, log in, start Emacs, then log out and back in, everything works, and my session is restored. If however I try to log out from a long-running session, GNOME says "A program is still running: Emacs", and offers me the choice to log out anyway, or to cancel the log-out action. If I ignore the warning and log out anyway, then indeed the Emacs session is restored when I log back in. So in fact, my problem is really: why sometimes does Emacs refuse to be killed? I tried for example starting an emacs client session, but that didn't seem to trigger this problem. In summary, it's a minor annoyance now that I understand what is going on better, but it would be nice to work out why Emacs sometimes refuses to die at first, althuogh it doesn't seem to matter if I just log out anyway. (I did come across another minor bug in the process which I'll now file separately.) --=20 http://rrt.sc3d.org occupants, n. professional underwear