* 23.0.60; `...' in doc strings of defcustoms
@ 2008-04-20 17:28 Drew Adams
0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2008-04-20 17:28 UTC (permalink / raw)
To: emacs-pretest-bug
(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'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-20 17:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-20 17:28 23.0.60; `...' in doc strings of defcustoms Drew Adams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.