GNU bug report logs -
#13566
24.1; Too easy to forget things with remember
Previous Next
Reported by: Reuben Thomas <rrt <at> sc3d.org>
Date: Sun, 27 Jan 2013 17:44:02 UTC
Severity: normal
Found in version 24.1
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 13566 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 14 May 2013 08:42, Glenn Morris <rgm <at> gnu.org> wrote:
> Reuben Thomas wrote:
>
> > The *Remember* buffer, as a non-file-visiting buffer, does not cause a
> > prompt when you kill it or exit Emacs with the contents unsaved. This is
> > unfortunate: I just lost 15 minutes' work when I hit C-x C-c in
> > remember-mode by mistake instead of C-c C-c.
> >
> > I can fix this particular problem by adding
> >
> > (lambda nil (setq buffer-offer-save t))
> >
> > to remember-mode-hook, but shouldn't this be the default behavior?
>
> Sounds right, please apply.
> Or maybe (I don't use remember) you want to add remember-finalize to
> kill-emacs-hook or kill-emacs-query-functions.
>
It seems to me that it's more consistent to make Emacs prompt to save the
remember buffer, as it does for other unsaved buffers (the alternative
suggested here would make Emacs silently save the remember buffer if
exited), but I'd appreciate some guidance.
--
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]
This bug report was last modified 11 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.