emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: tooltip custom group: duplicate labels


From: Juri Linkov
Subject: Re: tooltip custom group: duplicate labels
Date: Sun, 11 Dec 2005 02:51:17 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>  > The tag "Use echo area" is used twice in the same customization buffer.
>  >
>  > Its first occurrence comes from emacs/lisp/tooltip.el:
>    ...
>  > and the second occurrence comes from emacs/lisp/progmodes/gud.el:
>    ...
>  > I propose to remove :tag from all GUD tooltip options to reveal their
>  > true identities to the users of Customize.
>
> I don't see the need to remove them both, so I've just removed the tag for
> gud-tooltip-echo-area.  I've also added the gud groupname for the customize
> variables for GUD tooltips

Now after adding the group name `gud' to the GUD tooltips customize
variables, the group `gud' contains the following misleading labels:

GUD modes: Show Value

GUD buffers predicate: Show Value

Among other GUD-related options they don't indicate that really they
are used for tooltips.

I suggest removing their tags to show unambiguous labels that have the
word "tooltip".

> and moved tooltip-mode and gud-tooltip-mode forward so that they
> appear first in their part of the customize buffers.  I think the
> first question to ask is "Do you want the mode on or off".

I think you are right.  The first option in a customization group
should turn the whole mode on/off.  But the same problem exists in
many other mode customization groups.  Moving `define-minor-mode' to be
before all `defcustom' definitions in these modes would be a lot of work.

Perhaps there should be some generic solution, e.g. using a heuristic
to place an option with the substring "-mode" before other options in
the customization buffer or something like this.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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