GNU bug report logs -
#36826
26.1; request: add variable value editing feature to the *Help* buffer
Previous Next
Reported by: ndame <emacsuser <at> freemail.hu>
Date: Sun, 28 Jul 2019 06:09:02 UTC
Severity: wishlist
Found in version 26.1
Fixed in version 29.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
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I think this sounds useful. I'm often rooting around not quite sure
> what variable I'm looking for in the help buffers, and trying
> different values, and having a command to make this faster would be
> nice. There's `customize-variable', but I... just don't like it.
> (And besides, not all variables are customisable...)
There are also some downsides:
- Changing variables might break Emacs if you are not knowing what you
are doing. Customize at least has some safety checks. Users might not
expect that clicking on the button and changing values might have
dangerous consequences. Likewise, Emacs might change or modify the
value and users wonder why their setting had been "rejected". With
other words: it is potentially dangerous and might confuse users.
- It is no fun for variables with complicated values, like large lists
of lists. Just a minibuffer prompt would not be nice. Here you
probably still would use scratch or so. And even in the situation you
described, I would prefer having an expression in scratch, edit and eval
it, compared to clicking a button in the help buffer and edit in the mb
or a popup buffer.
- There are nitpicks which may complicate doing what at first sounds
simple, e.g. what if the value includes things were printing and reading
comes into play? E.g. buffers: they have a print syntax, but it's not a
read syntax. Objects may be replaced by equal objects (e.g. lists will
be recreated) which might confuse Emacs. There is buffer local
vs. global bindings of variables (and hooks), etc.
But my main point is the question if we should really invite the typical
user, which is not an Emacs developer (ok, here I'm not really sure if
I'm right) to change variables on the fly, or if it's not better if
these users are directed to customize, and the others use just M-: or
ielm or what they use now.
Michael.
This bug report was last modified 3 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.