GNU bug report logs - #4787
23.1; in Customize, after showing Lisp expression, how to see normal?

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 22 Oct 2009 22:10:05 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: 4787 <at> debbugs.gnu.org
Cc: Drew Adams <drew.adams <at> oracle.com>
Subject: bug#4787: 23.1; in Customize, after showing Lisp expression, how to see normal?
Date: Fri, 2 Oct 2020 12:24:19 -0300
[Message part 1 (text/plain, inline)]
"Drew Adams" <drew.adams <at> 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.
[Message part 2 (text/html, inline)]
[0001-Support-extended-menus-in-widget-choose.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.