[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: apropos commands for commands, user options, all functions, all vari
From: |
Drew Adams |
Subject: |
RE: apropos commands for commands, user options, all functions, all variables |
Date: |
Tue, 23 Oct 2007 00:11:57 -0700 |
> > You can do (put 'set 'interactive-form
> > '(interactive "Svariable name: \nxValue: "))
> > and then M-x set RET <var> RET <val> RET
> > or just M-: (setq <var> <val>) RET
> > I implemented the functionality for the first, and I personally use the
> > second.
>
> Neither is as convenient as set-variable which
>
> 1. picks up the default variable name from the buffer;
> 2. provides completion;
> 3. provides the old value as default for editing in the minibuffer;
Exactly.
Someone will no doubt argue that you can anyway use M-TAB with `M-: (setq '
to complete Lisp symbols, including variables, but it's not the same level
of convenience at all.
Users should have available: (1) completion for only option names (with a
`set-option' command) and (2) completion for only (arbitrary) variable names
(with a redefined `set-variable' command). Completion of arbitrary Lisp
symbols is an undirected shotgun blast here.
Completion (`completing-read', not `lisp-complete-symbol') lets you deal
with the right set of thingies (domain), and can hand you a reasonable
default value to play with. There should be completion commands for setting
both options and arbitrary variables.
- apropos commands for commands, user options, all functions, all variables, Drew Adams, 2007/10/19
- Re: apropos commands for commands, user options, all functions, all variables, Andreas Röhler, 2007/10/19
- apropos commands for commands, user options, all functions, all variables, Stephen J. Turnbull, 2007/10/21
- Re: apropos commands for commands, user options, all functions, all variables, Richard Stallman, 2007/10/21
- Re: apropos commands for commands, user options, all functions, all variables, Juri Linkov, 2007/10/21
- Re: apropos commands for commands, user options, all functions, all variables, Stefan Monnier, 2007/10/21
- Re: apropos commands for commands, user options, all functions, all variables, Juri Linkov, 2007/10/23
- RE: apropos commands for commands, user options, all functions, all variables,
Drew Adams <=
- Re: apropos commands for commands, user options, all functions, all variables, Richard Stallman, 2007/10/25
- Re: apropos commands for commands, user options, all functions, all variables, Juri Linkov, 2007/10/26
- Re: apropos commands for commands, user options, all functions, all variables, Richard Stallman, 2007/10/27
- Re: apropos commands for commands, user options, all functions, all variables, Richard Stallman, 2007/10/23
- Re: apropos commands for commands, user options, all functions, all variables, Juri Linkov, 2007/10/25