|
From: | Lennart Borgman (gmail) |
Subject: | A fundamental problem with defcustoms that are lists |
Date: | Sat, 06 Sep 2008 19:34:39 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
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?
[Prev in Thread] | Current Thread | [Next in Thread] |