unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: An easier way to edit variables
Date: Wed, 14 Jan 2015 18:28:28 +0000 (UTC)	[thread overview]
Message-ID: <loom.20150114T192419-605@post.gmane.org> (raw)
In-Reply-To: CAP_d_8WJ0QHe5DXYkkqz4R0A_+Ni=UxkxjWf6ayHZ01fe+odww@mail.gmail.com

Yuri Khan <yuri.v.khan <at> gmail.com> writes:
> 
> It might be even more convenient if pressing the key prepared a nicely
> formatted (setq VARIABLE-NAME CURRENT-VALUE) form and presented *that*
> in a lisp-interaction-mode buffer. Then it could be edited and
> evaluated right there, and/or copy-pasted into an .emacs.d/init.el.
> 

The advantage of in place editing is that you can also see the
documentation which can be useful for more complicated variables.
Of course, you could copy the doc too to the interaction buffer,
but it would be like duplicating the Help buffer.

But I also see that in some situations your version could be useful,
so why not provide both? E.g. press e for in place editing and E 
(S-e) for seeing the whole setq expression in a seperate buffer.





  reply	other threads:[~2015-01-14 18:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 20:16 An easier way to edit variables Tom
2015-01-13 21:22 ` Ted Zlatanov
2015-01-13 21:53   ` Tom
2015-01-13 22:11     ` Tom
2015-01-14 15:20       ` João Távora
2015-01-14 16:36         ` Tom
2015-01-14 15:22     ` Ted Zlatanov
2015-01-14 15:37       ` João Távora
2015-01-14 15:54         ` an " Ivan Shmakov
2015-01-14 16:09       ` An " Tom
2015-01-14 16:56         ` Yuri Khan
2015-01-14 18:28           ` Tom [this message]
2015-01-14 19:10         ` Ted Zlatanov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20150114T192419-605@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 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).