GNU bug report logs -
#21612
24.5; Configuration variable to delete auto-save file when intentionally killing buffer
Previous Next
Reported by: Marcus <mrok4a <at> gmail.com>
Date: Sat, 3 Oct 2015 16:37:01 UTC
Severity: wishlist
Tags: moreinfo
Found in version 24.5
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 21612 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> On Sat, Oct 3, 2015 at 7:03 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Sat, 3 Oct 2015 16:51:12 +0200
> > From: Marcus <mrok4a <at> gmail.com>
> >
> > This might even be useful default behavior.
> People sometimes answer YES by mistake.
Isn't that why the "Modified buffers exist" question is yes/no rather than
y/n?
> I guess it could be OK as an option for people who like to live
dangerously.
I do, and have so far implemented the functionality as (not with an option,
I don't know how):
(add-hook 'kill-buffer-hook 'delete-auto-save-file-if-necessary)
(add-hook 'kill-emacs-hook 'delete-auto-save-file-if-necessary)
If I figure out how to have this controlled by an option, where (and how)
would I send a patch request?
BTW, is my mailing list etiquette (formatting of replies etc.) acceptable?
This is my first bug report to a free software project.
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 266 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.