emacs-devel
[Top][All Lists]
Advanced

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

Re: Getting more info on a variable in Customize buffers


From: Luc Teirlinck
Subject: Re: Getting more info on a variable in Customize buffers
Date: Sun, 2 Jan 2005 07:27:51 -0600 (CST)

Drew Adams wrote (taking ediff-before-setup-windows-hook as example):

   So, I suggest:

    - To the Customize buffer for a group containing a variable, we add:
      1) the real variable name, in such a way that it can be copied
         for pasting and searching and picked up by variable-at-point

I personally agree that it would be better not to prettify variable
names in Custom, but this probably has been discussed before.  You can
get the variable name by first clicking on "Show Value", then on
"State" and then selecting "Show initial Lisp expression".

      2) a link to the variable definition in the source code

If you need to read the source code to customize a variable, then
there is a really bad problem with the docstring.  Somebody wanting to
study source code is going to do C-h v.

      3) a button to display the Lisp value of the variable (Hide/
         Show/Show Lisp would do the trick).

Can be done as explained under 1).  In this case, the pretty form is
sometimes more helpful to the user than the actual Lisp value.

      4) perhaps a link to the variable's explanation in Info
         (when appropriate)

The person writing the defcustom can already make such a link.
(Using the :link keyword.)

    - To the Customize buffer for an individual variable only, we add:
      1) everything listed above for the Customize group buffer
      2) a link to the Customize group buffer

There already is such a link.

It says:

Parent groups:     Ediff Hook

where "Ediff Hook" is a link you can follow.

Sincerely,

Luc.




reply via email to

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