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

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

bug#4787: 23.1; in Customize, after showing Lisp expression, how to see


From: Mauro Aranda
Subject: bug#4787: 23.1; in Customize, after showing Lisp expression, how to see normal?
Date: Fri, 2 Oct 2020 12:24:19 -0300

"Drew Adams" <drew.adams@oracle.com> writes:

> emacs -Q
> M-x customize-face default
> In Customize, click State > Show Lisp _expression_.
>  
> It now seems to be impossible to get back the normal display, i.e., to
> not see the Lisp _expression_ anymore.
>  
> In fact, the 3 menu items For Current Display, For All Displays, and
> Show Lisp _expression_ are 3 _alternatives_. They should be radio-button
> menu items, not just normal menu items.

I think it would be nice to display them as radio buttons.  But, this
menus in Custom are displayed with `widget-choose', and `widget-choose'
doesn't support menus in the so-called extended menu format.

So I took a look to see if that would be easy to do.  I attach a patch for review.
If the feature is accepted, then it shouldn't be too hard to change
Custom to pass a menu with radio-buttons for these options.

> And the item names should be parallel. There is no understandable
> relation between "For Current Display", for instance, and "Show Lisp
> _expression_". Those don't seem to have anything to do with each
> other. There is no way to guess that these are alternatives.

Perhaps "Customize Face For Current Display" and "Customize Face For All
Kinds of Display" is better? Kinda long, though.

Anyway, I attach a patch to add support for extended menus in
widget-choose, as a first step to add radio buttons for related options
in these Custom menus.

Attachment: 0001-Support-extended-menus-in-widget-choose.patch
Description: Text Data


reply via email to

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