all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A fundamental problem with defcustoms that are lists
@ 2008-09-06 17:34 Lennart Borgman (gmail)
  2008-09-06 18:40 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Lennart Borgman (gmail) @ 2008-09-06 17:34 UTC (permalink / raw)
  To: Emacs Devel

If you have a defcustom which uses variable length lists

  (defcustom my-option
    :type '(repeat ...)
    )

then you may want the default values from the list but also add some of
your own.

If you customize such an option and the default values are changed you
will not notice because when your setting is used Emacs never sees the
changes in default.

This mean that any enhancements or bug corrections to the default will
never be used.

Wouldn't it be worthwhile to give some way to add entries at the
begining or end of the list but add those to the default value instead
of just replacing the default value?




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

end of thread, other threads:[~2008-09-07  4:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 17:34 A fundamental problem with defcustoms that are lists Lennart Borgman (gmail)
2008-09-06 18:40 ` Drew Adams
2008-09-06 18:59   ` Lennart Borgman (gmail)
2008-09-06 19:56     ` Drew Adams
2008-09-06 20:04       ` Lennart Borgman (gmail)
2008-09-06 20:13 ` Stefan Monnier
2008-09-06 21:45 ` martin rudalics
2008-09-06 22:28   ` Lennart Borgman (gmail)
2008-09-07  4:01     ` Stefan Monnier

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.