GNU bug report logs - #8300
save-some-buffers no longer asks user about each one

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 20 Mar 2011 05:24:01 UTC

Severity: minor

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Engster <deng <at> randomsample.de>
To: jidanni <at> jidanni.org
Cc: fourquet.d <at> gmail.com, 8300 <at> debbugs.gnu.org, ding <at> gnus.org, deniz.a.m.dogan <at> gmail.com
Subject: bug#8300: save-some-buffers no longer asks user about each one
Date: Sun, 20 Mar 2011 13:45:02 +0100
'jidanni' writes:
> OK fine. Better get used to
>   Gnus auto-save file exists.  Do you want to read it? (y or n)  y
> often the next time you start emacs. Because there is nothing left to
> remind you you haven't closed gnus properly last session.

(add-hook 'kill-emacs-hook
	  (lambda ()
	    (when (gnus-alive-p)
	      (unless (y-or-n-p "Gnus still running! Really quit?")
		(error "User aborted kill-emacs. Quit Gnus and exit again.")))))

Although using this implies that Emacs thinks it's smarter than
you... ;-)

-David




This bug report was last modified 14 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.