unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A customize idea...
@ 2006-07-07 19:01 David Kastrup
  2006-07-08 15:32 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2006-07-07 19:01 UTC (permalink / raw)



Hi,

I was just thinking of the following: in AUCTeX, there is a large
customizable list TeX-command-list.  When people customize it,
obviously after updating AUCTeX the next time, any changes of the
default value get lost.

It would be probably nice if customizing such a variable would also
record the sxhash value of its _default_ value.  If at a later time it
is found that the hash of the default value has changed, the user gets
notified and can choose whether he wants to keep his customized value
(in which case the sxhash gets updated to that of the new default),
delete his customization, or get diff-buffers started on two
customization buffers run on both the customized and new default value
(a three-way diff is not possible unless the complete old default gets
recorded instead of just the sxhash, but that sounds like overkill).

Another possibility would be to have a library for this which acts
only on demand.  The library would then have a command to record the
complete defaults for everything that has been customized, writing
them out to a separate file.  After updating Emacs, one would then be
able to call a "Custom-consolidate" which would then be able to do the
three-way merge on old defaults, new defaults and customized settings.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A customize idea...
  2006-07-07 19:01 A customize idea David Kastrup
@ 2006-07-08 15:32 ` Richard Stallman
  2006-07-08 19:37   ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2006-07-08 15:32 UTC (permalink / raw)
  Cc: emacs-devel

    It would be probably nice if customizing such a variable would also
    record the sxhash value of its _default_ value.  If at a later time it
    is found that the hash of the default value has changed, the user gets
    notified and can choose whether he wants to keep his customized value
    (in which case the sxhash gets updated to that of the new default),
    delete his customization, or get diff-buffers started on two

That is a good idea.  Would you put it in etc/TODO?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A customize idea...
  2006-07-08 15:32 ` Richard Stallman
@ 2006-07-08 19:37   ` David Kastrup
  0 siblings, 0 replies; 3+ messages in thread
From: David Kastrup @ 2006-07-08 19:37 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

>     It would be probably nice if customizing such a variable would also
>     record the sxhash value of its _default_ value.  If at a later time it
>     is found that the hash of the default value has changed, the user gets
>     notified and can choose whether he wants to keep his customized value
>     (in which case the sxhash gets updated to that of the new default),
>     delete his customization, or get diff-buffers started on two
>
> That is a good idea.  Would you put it in etc/TODO?

Done.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-08 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 19:01 A customize idea David Kastrup
2006-07-08 15:32 ` Richard Stallman
2006-07-08 19:37   ` David Kastrup

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).