GNU bug report logs - #19328
[PATCH] Add mechanism to prompt about unsaved customizations

Previous Next

Package: emacs;

Reported by: Cameron Desautels <camdez <at> gmail.com>

Date: Tue, 9 Dec 2014 15:47:01 UTC

Severity: wishlist

Tags: fixed, patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Cameron Desautels <camdez <at> gmail.com>
To: Ted Zlatanov <tzz <at> lifelogs.com>
Cc: 19328 <at> debbugs.gnu.org
Subject: bug#19328: [PATCH] Add mechanism to prompt about unsaved customizations
Date: Thu, 11 Dec 2014 19:04:19 -0600
[Message part 1 (text/plain, inline)]
> Could you add a NEWS entry and maybe some docs in the manual?  I think
> it's very helpful for beginners.  The code looks OK to me.

Absolutely!  I've attached an updated version of the patch with the
requested additions.

What about turning something like this on by default?  Any strong
opinions?  Having it available to add to the hook is a step in the
right direction, but the users most likely to be helped by it are (I
assume) less likely to be editing their initialization file by hand.

If it does make sense to turn it on by default then I suspect the
implementation would be rather different from a call to `add-hook' (it
seems a bit odd to have a user call `remove-hook' to turn off the
behavior), so perhaps an addition to `save-buffers-kill-emacs' and a
variable to toggle the feature would be in order?
--
Cameron Desautels <camdez <at> gmail.com>
[0001-Add-mechanism-to-prompt-about-unsaved-customizations.patch (application/octet-stream, attachment)]

This bug report was last modified 9 years and 95 days ago.

Previous Next


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