From: Tom <adatgyujto@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Modifying a variable from describe-variable
Date: Sun, 12 Jan 2014 06:41:41 +0000 (UTC) [thread overview]
Message-ID: <loom.20140112T073252-925@post.gmane.org> (raw)
In-Reply-To: 87fvouormm.fsf@gmail.com
João Távora <joaotavora <at> gmail.com> writes:
>
> I see, I see. Then I think you want "c" keybinding that someone
> suggested that takes you to a customize buffer. I think that would be
> the solution most integrated with emacs's solution.
That's not a complete solution, because not all variables are
customizable. This feature should not be limited to only customizable
variables.
BTW, it does not seem hard to implement. One only needs to (prin1 ...)
the value to a buffer where the user can modify it and then it can
be read back with (read).
> I didn't implement that.
Another thing: buffer local variables should be handled somehow.
For example, it could be recorded from which buffer C-h v was
called and the code should switch to that buffer temporarily and
set the variable there, so if the variable has a buffer local binding
then the local variable value is modified, not the global one.
next prev parent reply other threads:[~2014-01-12 6:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-10 20:16 Modifying a variable from describe-variable Tom
2014-01-11 0:02 ` Stefan Monnier
2014-01-11 4:14 ` Ivan Andrus
2014-01-11 4:22 ` Daniel Colascione
2014-01-11 5:18 ` Stefan Monnier
2014-01-11 6:50 ` Tom
2014-01-11 10:12 ` João Távora
2014-01-11 16:45 ` Tom
2014-01-12 2:34 ` João Távora
2014-01-12 6:41 ` Tom [this message]
2014-01-12 22:44 ` Stefan Monnier
2014-01-13 6:49 ` Tom
2014-01-12 20:51 ` Josh
2014-01-11 10:25 ` martin rudalics
2014-01-11 10:29 ` David Kastrup
2014-01-11 14:00 ` martin rudalics
2014-01-11 14:08 ` David Kastrup
2014-01-11 16:50 ` Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140112T073252-925@post.gmane.org \
--to=adatgyujto@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.