Stefan Monnier wrote: There are other ways to avoid this duplication. See patch below.
Stefan --- startup.el 08 avr 2005 10:38:07 -0400 1.344 +++ startup.el 10 avr 2005 10:35:33 -0400 @@ -737,7 +737,8 @@ emacs-quick-startup (not (display-graphic-p)) (not (fboundp 'x-show-tip))) - (tooltip-mode 1)) + (tooltip-mode 1) + (put 'tooltip-mode 'standard-value '(t))) If I remember (and understood) correctly, Richard rejected this kind of solution when we first discussed this problem. It gives at least two problems I am aware of: 1. Loading tooltip again will set the standard value to nil again. 2. Selecting "Show initial Lisp expression" in a Custom buffer will not show the correct expression. This expression is useful if you want to customize variables whose default depends on a bunch of stuff, because looking at that expression will ensure that you are aware of all aspects of the problem. There may very well be other problems. Custom just assumes that the standard value is the expression given in the defcustom. It certainly would simplify things if we could simply set the standard values of all 20+ remaining options in the `emacs -q M-x customize-rogue' buffer to the actual values they have just before the init files are read in startup.el, as Lennart Borgman proposed (if I remember correctly). But Richard rejected that and, as pointed out above, there are some problems with that approach. Sincerely, Luc. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel