unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56038: Unable to edit booleans with 'help-fns-edit-variable'
@ 2022-06-17 13:46 Stefan Kangas
  2022-06-17 14:31 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kangas @ 2022-06-17 13:46 UTC (permalink / raw)
  To: 56038

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)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#56038: Unable to edit booleans with 'help-fns-edit-variable'
  2022-06-17 13:46 bug#56038: Unable to edit booleans with 'help-fns-edit-variable' Stefan Kangas
@ 2022-06-17 14:31 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-17 14:31 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 56038

Stefan Kangas <stefan@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-17 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17 13:46 bug#56038: Unable to edit booleans with 'help-fns-edit-variable' Stefan Kangas
2022-06-17 14:31 ` 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).