unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 5512 <5512@debbugs.gnu.org>
Subject: bug#5512: Automatically saving and restoring an Emacs session in GNOME
Date: Tue, 09 Feb 2010 19:55:51 +0100	[thread overview]
Message-ID: <4B71AFB7.6030501@swipnet.se> (raw)
In-Reply-To: <f92540e31002090947s4a556b08w83ae6a531073a9b8@mail.gmail.com>



Reuben Thomas skrev 2010-02-09 18.47:
> On 9 February 2010 10:02, Jan Djärv<jan.h.d@swipnet.se>  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 too 
long time to do so.  I have an idea about this, I'll have to check it out.

	Jan D.

>






  reply	other threads:[~2010-02-09 18:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02 15:21 bug#5512: Automatically saving and restoring an Emacs session in GNOME Reuben Thomas
2010-02-02 19:45 ` Jan Djärv
2010-02-02 20:10   ` Reuben Thomas
2010-02-08  7:49     ` Jan Djärv
2010-02-08 20:45       ` Reuben Thomas
2010-02-09 10:02         ` Jan Djärv
2010-02-09 17:47           ` Reuben Thomas
2010-02-09 18:55             ` Jan Djärv [this message]
2022-01-31 17:09 ` Lars Ingebrigtsen
2022-01-31 17:17   ` Reuben Thomas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-31 17:30     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B71AFB7.6030501@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=5512@debbugs.gnu.org \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).