emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying a variable from describe-variable


From: Daniel Colascione
Subject: Re: Modifying a variable from describe-variable
Date: Fri, 10 Jan 2014 20:22:12 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/10/2014 08:14 PM, Ivan Andrus wrote:
On Jan 10, 2014, at 1:16 PM, Tom <address@hidden> wrote:

The other day I checked a variable with describe-variable (C-h v)
and I wanted to do a minor change (like changing a character) in
the value. It was a complicated variable with lots of
sublists (e.g. font-lock-keywords), so it would have been natural
and easy to change it on the spot in the *Help* buffer.

E.g. the user presses e (for edit) in the *Help* buffer which
either becomes writable or a new buffer pops up with the variable
value. The user modifies the value, presses C-c C-c and the
modifications are applied to the variable.

It does not seem hard to implement and it would be quite
convenient for quick experimenting with the value of some variable.

I checked the bindings (surely someone has thought of this
before), but I didn't find an existing function to do that.


Even simpler (to implement) would be a binding to customize-variable

XEmacs uses "c" for this purpose. We might as well too.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]