emacs-devel
[Top][All Lists]
Advanced

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

Re: Defaults for set-variable


From: David Kastrup
Subject: Re: Defaults for set-variable
Date: Tue, 01 Nov 2005 14:35:22 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> What's a bit unfortunate is that the name `set-variable' is already
>> taken (it really means `set-user-option').  `set-any-variable'?
>
> What about adding an interactive spec for `setq' which works for
> any variable:
>
>     M-x setq RET variable RET value RET

That would be a mistake, since "q", the need for quoting, is a feature
of the Lisp evaluator, not of the function.  So the right function to
give an interactive spec would be "set", not "setq".

And I am uneasy about giving a low level primitive this sort of
accessibility.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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