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#5512: Automatically saving and restoring an Emacs session in GNOME Date: Tue, 09 Feb 2010 19:55:51 +0100 Message-ID: <4B71AFB7.6030501@swipnet.se> 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; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Trace: ger.gmane.org 1265743382 26212 80.91.229.12 (9 Feb 2010 19:23:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 19:23:02 +0000 (UTC) Cc: 5512 <5512@debbugs.gnu.org> To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 20:22: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 1Nevfa-0002xe-JJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 20:22:46 +0100 Original-Received: from localhost ([127.0.0.1]:42103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NevfZ-0005BW-Oi for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 14:22:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NevfH-00054s-75 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 14:22:27 -0500 Original-Received: from [199.232.76.173] (port=46775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NevfF-000543-Vf for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 14:22:26 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NevfD-0001fb-3g for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 14:22:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48837) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NevfB-0001f0-S1 for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 14:22:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NevFi-00013e-66; Tue, 09 Feb 2010 13:56: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: Tue, 09 Feb 2010 18:56: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.12657417604060 (code B ref 5512); Tue, 09 Feb 2010 18:56:02 +0000 Original-Received: (at 5512) by debbugs.gnu.org; 9 Feb 2010 18:56:00 +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 1NevFg-00013R-2w for submit@debbugs.gnu.org; Tue, 09 Feb 2010 13:56:00 -0500 Original-Received: from proxy1.bredband.net ([195.54.101.71]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NevFd-00013G-QS for 5512@debbugs.gnu.org; Tue, 09 Feb 2010 13:55:58 -0500 Original-Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4B62ECEA0062C264 for 5512@debbugs.gnu.org; Tue, 9 Feb 2010 19:55:52 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnNIABY+cUtV4S1uPGdsb2JhbACBM4ZUkzEBAQEBN75xhFQE X-IronPort-AV: E=Sophos;i="4.49,437,1262559600"; d="scan'208";a="35094941" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 09 Feb 2010 19:55:52 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 85E937FA01A; Tue, 9 Feb 2010 19:55:51 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 09 Feb 2010 13:56: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:34986 Archived-At: Reuben Thomas skrev 2010-02-09 18.47: > On 9 February 2010 10:02, Jan Dj=E4rv wrote: >> Anyway, 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. > >> If 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.) This is usually Emacs not responding to the session manager, or taking to= o=20 long time to do so. I have an idea about this, I'll have to check it out= =2E Jan D. >