Gnus development mailing list
 help / color / mirror / Atom feed
From: David Engster <deng@randomsample.de>
To: ding@gnus.org
Subject: Re: too easy to quit emacs without proper saving of gnus files
Date: Sat, 05 Mar 2011 12:00:29 +0100	[thread overview]
Message-ID: <87vczxsugi.fsf@randomsample.de> (raw)
In-Reply-To: <m362rx97hy.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sat, 05 Mar 2011 11:39:05 +0100")

Lars Magne Ingebrigtsen writes:
> David Engster <deng@randomsample.de> writes:
>
>> My suggestion would be to add a function to the kill-emacs-hook which
>> checks if Gnus is still running. This should be customizable, of course.
>
> I'm slightly wary of adding stuff to `kill-emacs-hook', since if you do
> something wrong there, then you can't ever kill Emacs...

Oh yes, I know exactly what you mean. Currently, my kill-emacs-hook has
12 functions in it from all kinds of packages...

I also wonder if you can cleanly return from the
kill-emacs-hook. Probably not. So please forget what I said.

-David



  reply	other threads:[~2011-03-05 11:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04  9:54 jidanni
2011-03-04 11:11 ` Steinar Bang
2011-03-04 11:26   ` Tassilo Horn
2011-03-05 10:19     ` Lars Magne Ingebrigtsen
2011-03-05 10:25       ` David Engster
2011-03-05 10:39         ` Lars Magne Ingebrigtsen
2011-03-05 11:00           ` David Engster [this message]
2011-03-05 11:07       ` Julien Danjou
2011-03-05 20:03         ` Steinar Bang
2011-03-04 12:43   ` Richard Riley

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

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

  git send-email \
    --in-reply-to=87vczxsugi.fsf@randomsample.de \
    --to=deng@randomsample.de \
    --cc=ding@gnus.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.
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 NNTP newsgroup(s).