* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
@ 2013-10-29 15:09 Drew Adams
2021-10-23 18:49 ` Howard Melman
0 siblings, 1 reply; 14+ messages in thread
From: Drew Adams @ 2013-10-29 15:09 UTC (permalink / raw)
To: 15748
This bug was introduced in Emacs 24 (in Emacs 23, at least some
values were shown by default).
To see all option values, a user must now click *each*
`Show Value' link. Likewise, to hide all, a user must click
*each* `Hide' link.
Please provide buttons to `Show All Values' and `Hide All Values'.
And please add such items to the `Custom' menu-bar menu.
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-10-19 on LEG570
Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2013-10-29 15:09 bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values Drew Adams
@ 2021-10-23 18:49 ` Howard Melman
2022-05-10 15:48 ` Lars Ingebrigtsen
0 siblings, 1 reply; 14+ messages in thread
From: Howard Melman @ 2021-10-23 18:49 UTC (permalink / raw)
To: 15748
When exploring new packages I often use customize-group to see what
settings I can change but it defaults to not showing the values and also
showing only the first line of each docstring requiring me to click on
"More" for every option. Having a command to show/hide all values
would be very convenient in this case.
It would be nice to model this on org-cycle and the new outline-cycle
command so that S-TAB cycles through the various display states of all
options at once. Such a cycle command should also appear in the
Custom menu.
Currently <S-tab> is bound to widget-backward in customize buffers but
perhaps it and widget-forward could move to C-c C-n/p or M-n/p
or something else instead.
Howard
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2021-10-23 18:49 ` Howard Melman
@ 2022-05-10 15:48 ` Lars Ingebrigtsen
2022-05-10 16:44 ` Howard Melman
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-10 15:48 UTC (permalink / raw)
To: Howard Melman; +Cc: 15748
Howard Melman <hmelman@gmail.com> writes:
> When exploring new packages I often use customize-group to see what
> settings I can change but it defaults to not showing the values and also
> showing only the first line of each docstring requiring me to click on
> "More" for every option. Having a command to show/hide all values
> would be very convenient in this case.
I've now added this to Emacs 29 (as custom-toggle-hide-all-variables/`H/).
> It would be nice to model this on org-cycle and the new outline-cycle
> command so that S-TAB cycles through the various display states of all
> options at once. Such a cycle command should also appear in the
> Custom menu.
>
> Currently <S-tab> is bound to widget-backward in customize buffers but
> perhaps it and widget-forward could move to C-c C-n/p or M-n/p
> or something else instead.
I don't think we can move the S-<tab> bindings -- we use them all over
the place. I see the charm of reusing Org bindings here, but it's
unfortunate that they clash with navigation commands common to most
other modes.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-10 15:48 ` Lars Ingebrigtsen
@ 2022-05-10 16:44 ` Howard Melman
2022-05-10 17:04 ` Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Howard Melman @ 2022-05-10 16:44 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 15748
> On May 10, 2022, at 11:48 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> Howard Melman <hmelman@gmail.com> writes:
>
>> When exploring new packages I often use customize-group to see what
>> settings I can change but it defaults to not showing the values and also
>> showing only the first line of each docstring requiring me to click on
>> "More" for every option. Having a command to show/hide all values
>> would be very convenient in this case.
>
> I've now added this to Emacs 29 (as custom-toggle-hide-all-variables/`H/).
That's great, thanks!
Howard
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-10 15:48 ` Lars Ingebrigtsen
2022-05-10 16:44 ` Howard Melman
@ 2022-05-10 17:04 ` Eli Zaretskii
2022-05-11 11:44 ` Lars Ingebrigtsen
2022-05-10 17:15 ` Drew Adams
2022-05-11 7:05 ` Juri Linkov
3 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2022-05-10 17:04 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: hmelman, 15748
> Cc: 15748@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 10 May 2022 17:48:18 +0200
>
> Howard Melman <hmelman@gmail.com> writes:
>
> > When exploring new packages I often use customize-group to see what
> > settings I can change but it defaults to not showing the values and also
> > showing only the first line of each docstring requiring me to click on
> > "More" for every option. Having a command to show/hide all values
> > would be very convenient in this case.
>
> I've now added this to Emacs 29 (as custom-toggle-hide-all-variables/`H/).
Thanks, but can we have some documentation about its usage? For
starters, in which buffers it is supposed to be used, and how? I
thought this was for the buffer created by customize-group, but there
it seems I can use 'H' only once: after that one time, which reveals
all the variables, any subsequent 'H' press says "Invalid widget type"
and does nothing. (I used the buffer created for the 'display' group,
in case it matters.)
'H' does toggle in a buffer created by customize-variable, but is that
the intent?
I tried to understand whether I did something wrong by reading the doc
string of the new command, but it didn't add anything to my
understanding; it doesn't even say which "widgets" is it talking
about.
I think we need to improve the user documentation of this new feature.
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-10 17:04 ` Eli Zaretskii
@ 2022-05-11 11:44 ` Lars Ingebrigtsen
2022-05-11 13:49 ` Eli Zaretskii
0 siblings, 1 reply; 14+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-11 11:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: hmelman, 15748
Eli Zaretskii <eliz@gnu.org> writes:
> Thanks, but can we have some documentation about its usage? For
> starters, in which buffers it is supposed to be used, and how? I
> thought this was for the buffer created by customize-group, but there
> it seems I can use 'H' only once: after that one time, which reveals
> all the variables, any subsequent 'H' press says "Invalid widget type"
> and does nothing. (I used the buffer created for the 'display' group,
> in case it matters.)
Yes, it matters -- I was testing in a group with a different widget
selection, so I didn't see this bug. Now fixed on the trunk.
> 'H' does toggle in a buffer created by customize-variable, but is that
> the intent?
Sure, why not?
> I tried to understand whether I did something wrong by reading the doc
> string of the new command, but it didn't add anything to my
> understanding; it doesn't even say which "widgets" is it talking
> about.
>
> I think we need to improve the user documentation of this new feature.
It just toggles the visibility, like that arrow thing. I don't know
what further can be said.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-11 11:44 ` Lars Ingebrigtsen
@ 2022-05-11 13:49 ` Eli Zaretskii
2022-05-12 0:28 ` Lars Ingebrigtsen
0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2022-05-11 13:49 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: hmelman, 15748
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: hmelman@gmail.com, 15748@debbugs.gnu.org
> Date: Wed, 11 May 2022 13:44:20 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Thanks, but can we have some documentation about its usage? For
> > starters, in which buffers it is supposed to be used, and how? I
> > thought this was for the buffer created by customize-group, but there
> > it seems I can use 'H' only once: after that one time, which reveals
> > all the variables, any subsequent 'H' press says "Invalid widget type"
> > and does nothing. (I used the buffer created for the 'display' group,
> > in case it matters.)
>
> Yes, it matters -- I was testing in a group with a different widget
> selection, so I didn't see this bug. Now fixed on the trunk.
It now works in "*Customize Group*" buffers I tried, but the problem
is still there in some other similar cases. For example, try
M-x customize-apropos RET window RET
In the resulting buffer, the second 'H' still gets the same Invalid
widget error. The same happens in a buffer created by
customize-faces.
Also, what about "M-x customize-browse"? The buffer looks
differently, but don't we want 'H' to do the same there?
> > I tried to understand whether I did something wrong by reading the doc
> > string of the new command, but it didn't add anything to my
> > understanding; it doesn't even say which "widgets" is it talking
> > about.
> >
> > I think we need to improve the user documentation of this new feature.
>
> It just toggles the visibility, like that arrow thing. I don't know
> what further can be said.
I've now made the doc string more detailed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-11 13:49 ` Eli Zaretskii
@ 2022-05-12 0:28 ` Lars Ingebrigtsen
2022-05-12 6:40 ` Eli Zaretskii
0 siblings, 1 reply; 14+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-12 0:28 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: hmelman, 15748
Eli Zaretskii <eliz@gnu.org> writes:
> It now works in "*Customize Group*" buffers I tried, but the problem
> is still there in some other similar cases. For example, try
>
> M-x customize-apropos RET window RET
>
> In the resulting buffer, the second 'H' still gets the same Invalid
> widget error. The same happens in a buffer created by
> customize-faces.
I was apparently calling the wrong interface function; now adjusted.
> Also, what about "M-x customize-browse"? The buffer looks
> differently, but don't we want 'H' to do the same there?
Probably not.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-12 0:28 ` Lars Ingebrigtsen
@ 2022-05-12 6:40 ` Eli Zaretskii
0 siblings, 0 replies; 14+ messages in thread
From: Eli Zaretskii @ 2022-05-12 6:40 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: hmelman, 15748
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: hmelman@gmail.com, 15748@debbugs.gnu.org
> Date: Thu, 12 May 2022 02:28:24 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > It now works in "*Customize Group*" buffers I tried, but the problem
> > is still there in some other similar cases. For example, try
> >
> > M-x customize-apropos RET window RET
> >
> > In the resulting buffer, the second 'H' still gets the same Invalid
> > widget error. The same happens in a buffer created by
> > customize-faces.
>
> I was apparently calling the wrong interface function; now adjusted.
Thanks.
For some reason, 'H' to expand the settings is much slower than 'H' to
hide the expansions, even in buffers that are not very large. Not
sure we care about this.
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-10 15:48 ` Lars Ingebrigtsen
2022-05-10 16:44 ` Howard Melman
2022-05-10 17:04 ` Eli Zaretskii
@ 2022-05-10 17:15 ` Drew Adams
2022-05-11 15:02 ` Howard Melman
2022-05-11 7:05 ` Juri Linkov
3 siblings, 1 reply; 14+ messages in thread
From: Drew Adams @ 2022-05-10 17:15 UTC (permalink / raw)
To: Lars Ingebrigtsen, Howard Melman; +Cc: 15748@debbugs.gnu.org
> Howard Melman <hmelman@gmail.com> writes:
>
> > When exploring new packages I often use customize-group to see what
> > settings I can change but it defaults to not showing the values and
> also
> > showing only the first line of each docstring requiring me to click
> on
> > "More" for every option. Having a command to show/hide all values
> > would be very convenient in this case.
>
> I've now added this to Emacs 29 (as custom-toggle-hide-all-
> variables/`H/).
>
> > It would be nice to model this on org-cycle and the new outline-cycle
> > command so that S-TAB cycles through the various display states of
> all
> > options at once. Such a cycle command should also appear in the
> > Custom menu.
> >
> > Currently <S-tab> is bound to widget-backward in customize buffers
> but
> > perhaps it and widget-forward could move to C-c C-n/p or M-n/p
> > or something else instead.
>
> I don't think we can move the S-<tab> bindings -- we use them all over
> the place. I see the charm of reusing Org bindings here, but it's
> unfortunate that they clash with navigation commands common to most
> other modes.
You didn't reply to the OP in your closing message.
Instead, you replied to an extraneous enhancement
request inserted in the thread. That should have
been a separate bug #.
This report isn't an enhancement request to add Org
or outline keys. This is about showing/hiding all.
The bug was introduced in Emacs 24.
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-10 17:15 ` Drew Adams
@ 2022-05-11 15:02 ` Howard Melman
2022-05-11 15:12 ` Lars Ingebrigtsen
0 siblings, 1 reply; 14+ messages in thread
From: Howard Melman @ 2022-05-11 15:02 UTC (permalink / raw)
To: 15748
Drew Adams <drew.adams@oracle.com> writes:
>> Howard Melman <hmelman@gmail.com> writes:
>>
>> > When exploring new packages I often use customize-group to see what
>> > settings I can change but it defaults to not showing the values and also
>> > showing only the first line of each docstring requiring me to click on
>> > "More" for every option. Having a command to show/hide all values
>> > would be very convenient in this case.
>>
>> I've now added this to Emacs 29 (as custom-toggle-hide-all-
>> variables/`H/).
>>
>
> You didn't reply to the OP in your closing message.
> Instead, you replied to an extraneous enhancement
> request inserted in the thread. That should have
> been a separate bug #.
>
> This report isn't an enhancement request to add Org
> or outline keys. This is about showing/hiding all.
> The bug was introduced in Emacs 24.
The original bug asked for buttons in the buffer to show and
hide all. I agree that if custom-toggle-hide-all-variables
works in all these various *customize* buffers that a button
added to the section "Operate on all settings in this buffer:"
that called this command would be a good thing.
--
Howard
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-11 15:02 ` Howard Melman
@ 2022-05-11 15:12 ` Lars Ingebrigtsen
0 siblings, 0 replies; 14+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-11 15:12 UTC (permalink / raw)
To: Howard Melman; +Cc: 15748
Howard Melman <hmelman@gmail.com> writes:
> The original bug asked for buttons in the buffer to show and
> hide all. I agree that if custom-toggle-hide-all-variables
> works in all these various *customize* buffers that a button
> added to the section "Operate on all settings in this buffer:"
> that called this command would be a good thing.
I think the Customize buffers are messy enough as they are, so I don't
want to add a visible button for this. `H' is handier anyway.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-10 15:48 ` Lars Ingebrigtsen
` (2 preceding siblings ...)
2022-05-10 17:15 ` Drew Adams
@ 2022-05-11 7:05 ` Juri Linkov
2022-05-11 11:45 ` Lars Ingebrigtsen
3 siblings, 1 reply; 14+ messages in thread
From: Juri Linkov @ 2022-05-11 7:05 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Howard Melman, 15748
>> When exploring new packages I often use customize-group to see what
>> settings I can change but it defaults to not showing the values and also
>> showing only the first line of each docstring requiring me to click on
>> "More" for every option. Having a command to show/hide all values
>> would be very convenient in this case.
>
> I've now added this to Emacs 29 (as custom-toggle-hide-all-variables/`H/).
`H' on a group with subgroups gives on the subgroup widget:
Debugger entered--Lisp error: (error "Invalid widget type")
error("Invalid widget type")
custom-toggle-hide-variable((...))
custom-toggle-hide-all-variables()
funcall-interactively(custom-toggle-hide-all-variables)
command-execute(custom-toggle-hide-all-variables)
>> It would be nice to model this on org-cycle and the new outline-cycle
>> command so that S-TAB cycles through the various display states of all
>> options at once. Such a cycle command should also appear in the
>> Custom menu.
>>
>> Currently <S-tab> is bound to widget-backward in customize buffers but
>> perhaps it and widget-forward could move to C-c C-n/p or M-n/p
>> or something else instead.
>
> I don't think we can move the S-<tab> bindings -- we use them all over
> the place. I see the charm of reusing Org bindings here, but it's
> unfortunate that they clash with navigation commands common to most
> other modes.
If it's possible to find such a regexp that matches the heading
of every variable section, then outline-minor-mode could be enabled
to bind these keys only on headings.
^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values
2022-05-11 7:05 ` Juri Linkov
@ 2022-05-11 11:45 ` Lars Ingebrigtsen
0 siblings, 0 replies; 14+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-11 11:45 UTC (permalink / raw)
To: Juri Linkov; +Cc: Howard Melman, 15748
Juri Linkov <juri@linkov.net> writes:
> `H' on a group with subgroups gives on the subgroup widget:
>
> Debugger entered--Lisp error: (error "Invalid widget type")
> error("Invalid widget type")
> custom-toggle-hide-variable((...))
> custom-toggle-hide-all-variables()
> funcall-interactively(custom-toggle-hide-all-variables)
> command-execute(custom-toggle-hide-all-variables)
Now fixed.
>> I don't think we can move the S-<tab> bindings -- we use them all over
>> the place. I see the charm of reusing Org bindings here, but it's
>> unfortunate that they clash with navigation commands common to most
>> other modes.
>
> If it's possible to find such a regexp that matches the heading
> of every variable section, then outline-minor-mode could be enabled
> to bind these keys only on headings.
It's possible, but it's even more confusing to have these navigation
commands do something completely different at certain points in the
buffer. Navigation should be easy and predictable.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2022-05-12 6:40 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 15:09 bug#15748: 24.3.50; `customize-group': Provide a way to hide/show all values Drew Adams
2021-10-23 18:49 ` Howard Melman
2022-05-10 15:48 ` Lars Ingebrigtsen
2022-05-10 16:44 ` Howard Melman
2022-05-10 17:04 ` Eli Zaretskii
2022-05-11 11:44 ` Lars Ingebrigtsen
2022-05-11 13:49 ` Eli Zaretskii
2022-05-12 0:28 ` Lars Ingebrigtsen
2022-05-12 6:40 ` Eli Zaretskii
2022-05-10 17:15 ` Drew Adams
2022-05-11 15:02 ` Howard Melman
2022-05-11 15:12 ` Lars Ingebrigtsen
2022-05-11 7:05 ` Juri Linkov
2022-05-11 11:45 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).