emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug, probably related to Custom Themes.


From: Luc Teirlinck
Subject: Re: Bug, probably related to Custom Themes.
Date: Wed, 4 Jan 2006 19:31:26 -0600 (CST)

Richard Stallman wrote:

       Maybe we could change "Reset to Current" to "Discard Edits", as
       somebody suggested at one point ("Reset to current" is not going to
       reset any setting, only text in the Custom buffer.)

   How about "Show Current Settings" or "Show Current Values"?
   And "Reset to Saved" could be "Show Saved Settings" or
   "Show Saved Values"?

These buttons do _not_ always show the current values.  So both the
current "Reset to Current" and your suggestions above are wrong.
What the buttons do is _undo the user's edits_.  To see the difference
do  `emacs -q' (under X) and `M-x customize-option RET tooltip-mode'.
It should be "on (non-nil)" which is STANDARD. 
  
Toggle to nil.  Set it for current session.  Select "Show as Lisp
expression" from the State button.  Now the saved value, (which
happens to be the standard value in this case) is shown as a Lisp
expression, which evaluates to t (which is why the recent change Chong
made is bad: it suggests that the current value, nil, would be shown
as a Lisp expression).

In addition to reverting or correcting Chong's change, I also suggest
to change the (lisp) which appears in the Custom buffer next to:

Set for current session only 

to:  (shown: saved Lisp expression)

to further reduce confusion.  Now edit the shown value and then select
"Reset to Current".  Now _not_ the current value is shown, but the
saved value as a Lisp expression.  So what the "Reset to Current"
button does is revert to whichever text occurred in the buffer before
your edits started.

So why not make it say what it really does:  "Revert Edits".

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]