[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `xterm-mouse-mode' has a bogus Custom group
From: |
Luc Teirlinck |
Subject: |
Re: `xterm-mouse-mode' has a bogus Custom group |
Date: |
Sun, 10 Apr 2005 10:29:37 -0500 (CDT) |
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.
- Re: `xterm-mouse-mode' has a bogus Custom group, (continued)
- Re: `xterm-mouse-mode' has a bogus Custom group, Nick Roberts, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Eli Zaretskii, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Nick Roberts, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Nick Roberts, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/09
- Re: `xterm-mouse-mode' has a bogus Custom group, Eli Zaretskii, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group, Stefan Monnier, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group,
Luc Teirlinck <=
- Re: `xterm-mouse-mode' has a bogus Custom group, Nick Roberts, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/13
- Re: `xterm-mouse-mode' has a bogus Custom group, David Kastrup, 2005/04/13
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/10
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/11
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/11
- Re: `xterm-mouse-mode' has a bogus Custom group, Richard Stallman, 2005/04/12
- Re: `xterm-mouse-mode' has a bogus Custom group, Luc Teirlinck, 2005/04/12
- Re: `xterm-mouse-mode' has a bogus Custom group, Jan D., 2005/04/13