GNU bug report logs - #56038
Unable to edit booleans with 'help-fns-edit-variable'

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 17 Jun 2022 13:47:01 UTC

Severity: normal

Fixed in version 29.1

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 56038 in the body.
You can then email your comments to 56038 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#56038; Package emacs. (Fri, 17 Jun 2022 13:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 17 Jun 2022 13:47:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: Unable to edit booleans with 'help-fns-edit-variable'
Date: Fri, 17 Jun 2022 06:46:25 -0700
I'm unable to edit booleans with `help-fns-edit-variable'.

For example, if I have this "*Help*" buffer

    help-enable-variable-value-editing is a variable defined in ‘help-fns.el’.

    Its value is t
    Original value was nil

and put point on `t' on the second to last row, and then type `e', I get
the error "e is undefined".  My expectation is that I should be able to
edit this value.

I see the same with e.g. `project-ignore-buffer-conditions' (whose value
isnil), but not with some other random variable e.g. `comp-num-cpus'.

In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0)
 of 2022-06-17 built on joffe
Repository revision: dc6157bef758cf5ba490219eebccaf33e14430d3
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56038; Package emacs. (Fri, 17 Jun 2022 14:32:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56038 <at> debbugs.gnu.org
Subject: Re: bug#56038: Unable to edit booleans with 'help-fns-edit-variable'
Date: Fri, 17 Jun 2022 16:31:14 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> I'm unable to edit booleans with `help-fns-edit-variable'.
>
> For example, if I have this "*Help*" buffer
>
>     help-enable-variable-value-editing is a variable defined in ‘help-fns.el’.
>
>     Its value is t
>     Original value was nil
>
> and put point on `t' on the second to last row, and then type `e', I get
> the error "e is undefined".  My expectation is that I should be able to
> edit this value.

Hm, yes -- this is fallout of a previous fix that attempted to not
override buttons on values that are functions.  But it was pretty
misguided, so I've now reverted it and fixed that in a different way.

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




bug marked as fixed in version 29.1, send any further explanations to 56038 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 17 Jun 2022 14:32:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 16 Jul 2022 11:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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