emacs-devel
[Top][All Lists]
Advanced

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

23.0.60; `...' in doc strings of defcustoms


From: Drew Adams
Subject: 23.0.60; `...' in doc strings of defcustoms
Date: Sun, 20 Apr 2008 10:28:29 -0700

(defcustom foo 'alpha
  "Value `alpha' means...
Value `beta' means...
Value `gamma' means..."
  :type '(choice
          (const :tag "First tag"  alpha)
          (const :tag "Second tag" beta)
          (const :tag "Third tag"  gamma)))
 
M-x customize-option foo
 
Each of the `...' in the doc string gets a mouseover property and
becomes a link (call it a button, if you like). This is inappropriate.
 
If you click such a link, you get this:
 
  alpha is void as a variable.
 
  Documentation:
  Not documented as a variable.
 
This is ridiculous. Emacs should be able to do better than this. If it
can't be smart enough to distinguish variables, then it should not add
the mouse-face and links at all for `...'. It is not uncommon for an 
option doc to describe the acceptable Lisp values, enclosing them with 
`...' when they are symbols.

 
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-04-04 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 





reply via email to

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