unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: rms@gnu.org
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: apropos commands for commands, user options, all functions, all variables
Date: Thu, 25 Oct 2007 23:59:45 +0300	[thread overview]
Message-ID: <87lk9qx51d.fsf@jurta.org> (raw)
In-Reply-To: <E1IkDw6-0007lF-UU@fencepost.gnu.org> (Richard Stallman's message of "Tue\, 23 Oct 2007 03\:12\:22 -0400")

>     I often use my own implementation of `set-variable' that doesn't restrict
>     its argument only to options.  I wonder what is more easy way to
>     interactively change the variable's value in Emacs?
>
> Do you find it more convenient in practice to use this
> rather than eval a setq?

Yes, `set-variable' is a very convenient method of changing the
variable's value interactively.

> If so, can you explain why it is more convenient for you?

It is convenient for several reasons:

1. picks up the default variable name from the buffer;
2. provides completion for the variable name;
3. provides the old variable's value as default for editing in the
   minibuffer (by typing M-n);

-- 
Juri Linkov
http://www.jurta.org/emacs/

      reply	other threads:[~2007-10-25 20:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 19:08 apropos commands for commands, user options, all functions, all variables Drew Adams
2007-10-19 20:24 ` Andreas Röhler
2007-10-19 20:42   ` Drew Adams
2007-10-21  6:40 ` Stephen J. Turnbull
2007-10-21  7:26 ` Richard Stallman
2007-10-21 20:41   ` Juri Linkov
2007-10-22  0:55     ` Stefan Monnier
2007-10-23  0:35       ` Juri Linkov
2007-10-23  7:11         ` Drew Adams
2007-10-26  3:48           ` Richard Stallman
2007-10-26 22:43             ` Juri Linkov
2007-10-27 13:58               ` Richard Stallman
2007-11-06 22:46                 ` customize-set-(value|variable) [was: apropos commands for commands, user options, all functions, all variables] Drew Adams
2007-11-11 21:11                   ` Drew Adams
2007-11-11 21:34                     ` Lennart Borgman (gmail)
2007-11-12  0:43                       ` Drew Adams
2007-11-12  0:58                         ` Lennart Borgman (gmail)
2007-11-12  5:59                   ` Richard Stallman
2007-11-12 12:33                     ` Robert J. Chassell
2007-11-12 15:30                       ` customize-set-(value|variable) [was: apropos commands forcommands, " Drew Adams
2007-11-12 17:10                         ` Robert J. Chassell
2007-11-12 19:23                           ` customize-set-(value|variable) [was: apropos commandsforcommands, " Drew Adams
2007-11-12 20:32                             ` Robert J. Chassell
2007-10-23  7:12     ` apropos commands for commands, user options, all functions, all variables Richard Stallman
2007-10-25 20:59       ` Juri Linkov [this message]

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=87lk9qx51d.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).