GNU bug report logs - #47669
Customize option setting with key should be more lenient

Previous Next

Package: emacs;

Reported by: scame <laszlomail <at> protonmail.com>

Date: Fri, 9 Apr 2021 08:32:01 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47669 in the body.
You can then email your comments to 47669 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Fri, 09 Apr 2021 08:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to scame <laszlomail <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 09 Apr 2021 08:32:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: "scame via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
Subject: Customize option setting with key should be more lenient
Date: Fri, 09 Apr 2021 08:31:21 +0000
[Message part 1 (text/plain, inline)]
If I press return on the text indicated by an arrow on the attached
picture I get the error:

You can’t edit this part of the Custom buffer

Why? Why do I have to stand on the box specifically to toggle the
option? Customize should allow me to press return on the text
too to toggle the option.
[Message part 2 (text/html, inline)]
[2FhAs.png (image/png, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Fri, 09 Apr 2021 09:36:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: "scame via Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
Subject: Re: Customize option setting with key should be more lenient
Date: Fri, 09 Apr 2021 09:35:17 +0000
[Message part 1 (text/plain, inline)]
> Customize should allow me to press return on the text
> too to toggle the option.

Clarification: not just on the text, but anywhere on the line (maybe before
the colon), so at the beginning of the line too, etc.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 09:08:01 GMT) Full text and rfc822 format available.

Message #11 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: scame <laszlomail <at> protonmail.com>
Cc: 47669 <at> debbugs.gnu.org
Subject: Re: bug#47669: Customize option setting with key should be more
 lenient
Date: Mon, 12 Apr 2021 11:07:05 +0200
scame <laszlomail <at> protonmail.com> writes:

> If I press return on the text indicated by an arrow on the attached 
> picture I get the error:
>
>    You can’t edit this part of the Custom buffer
>
> Why? Why do I have to stand on the box specifically to toggle the
> option? Customize should allow me to press return on the text
> too to toggle the option.

Since there can be several buttons on a single line, I think it makes
sense to make just the buttons be interactive -- adding DWIM here would
be potentially confusing, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 47669 <at> debbugs.gnu.org and scame <laszlomail <at> protonmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 12 Apr 2021 09:08:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 09:59:01 GMT) Full text and rfc822 format available.

Message #16 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "47669 <at> debbugs.gnu.org" <47669 <at> debbugs.gnu.org>
Subject: Re: bug#47669: Customize option setting with key should be more
 lenient
Date: Mon, 12 Apr 2021 09:58:38 +0000
>
> Since there can be several buttons on a single line, I think it makes
> sense to make just the buttons be interactive -- adding DWIM here would
> be potentially confusing, so I'm closing this bug report.

Could you show a customize page which has multiple buttons on a line?
I'd like to take a look.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 19:28:01 GMT) Full text and rfc822 format available.

Message #19 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "47669 <at> debbugs.gnu.org" <47669 <at> debbugs.gnu.org>
Subject: Re: bug#47669: Customize option setting with key should be more
 lenient
Date: Mon, 12 Apr 2021 19:27:26 +0000
>
> Since there can be several buttons on a single line, I think it makes
> sense to make just the buttons be interactive -- adding DWIM here would
> be potentially confusing, so I'm closing this bug report.

Looks like there can't be multiple buttons on a line, because the implementation puts a newline after every widget:

  https://github.com/emacs-mirror/emacs/blob/master/lisp/cus-edit.el#L1759

Check the

  (widget-insert "\n")

lines.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 19:54:02 GMT) Full text and rfc822 format available.

Message #22 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: scame <laszlomail <at> protonmail.com>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "47669 <at> debbugs.gnu.org" <47669 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#47669: Customize option setting with key should
 be more lenient
Date: Mon, 12 Apr 2021 19:53:04 +0000
> > Since there can be several buttons on a single line, I think it makes
> > sense to make just the buttons be interactive -- adding DWIM here would
> > be potentially confusing, so I'm closing this bug report.
> 
> Looks like there can't be multiple buttons on a line, because the
> implementation puts a newline after every widget:
> 
>   https://urldefense.com/v3/__https://github.com/emacs-
> mirror/emacs/blob/master/lisp/cus-
> edit.el*L1759__;Iw!!GqivPVa7Brio!LgH406C11Ne6UCztJSRZN8LHudK1tdotnkEnyA6P-
> ljK9kz3BvgcYFIFD-wYFt6l$
> 
> Check the (widget-insert "\n") lines.

Apologies for not following this thread.

If the question is general, asking whether the Customize UI
ever has more than one button on a line, the answer is yes.

Any :type of (repeat sexp), for example, has both INS and DEL
buttons on the same line.  E.g. `auto-coding-functions'.

And of course the buttons after "Operate on all..." are on
the same line.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 20:27:01 GMT) Full text and rfc822 format available.

Message #25 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>,
 "47669 <at> debbugs.gnu.org" <47669 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#47669: Customize option setting with key should
 be more lenient
Date: Mon, 12 Apr 2021 20:26:11 +0000
>
> If the question is general, asking whether the Customize UI
> ever has more than one button on a line, the answer is yes.

The report was about the checkbox option which usually has a tiny box and a much longer text label and only the tiny box can be activated.

See the attached screenshot and report in the first post.

Are there multiple such checkboxes in one line somwehere in Customize?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 20:39:02 GMT) Full text and rfc822 format available.

Message #28 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: scame <laszlomail <at> protonmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>,
 "47669 <at> debbugs.gnu.org" <47669 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#47669: Customize option setting with key should
 be more lenient
Date: Mon, 12 Apr 2021 20:38:17 +0000
> Are there multiple such checkboxes in one line somwehere in Customize?

Not that I know of.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#47669; Package emacs. (Mon, 12 Apr 2021 20:43:02 GMT) Full text and rfc822 format available.

Message #31 received at 47669 <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>,
 "47669 <at> debbugs.gnu.org" <47669 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#47669: Customize option setting with key should
 be more lenient
Date: Mon, 12 Apr 2021 20:41:54 +0000
> > Are there multiple such checkboxes in one line somwehere in Customize?
>
> Not that I know of.

Thanks.

So the reason of closing this bug was invalid and therefore it should be reopened.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 11 May 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 351 days ago.

Previous Next


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