all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: A customize idea...
Date: Fri, 07 Jul 2006 21:01:06 +0200	[thread overview]
Message-ID: <85zmfl5jf1.fsf@lola.goethe.zz> (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

             reply	other threads:[~2006-07-07 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 19:01 David Kastrup [this message]
2006-07-08 15:32 ` A customize idea Richard Stallman
2006-07-08 19:37   ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85zmfl5jf1.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.