[Top][All Lists]

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

Re: Defaults for set-variable

From: Kim F. Storm
Subject: Re: Defaults for set-variable
Date: Wed, 09 Nov 2005 14:17:43 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

>>      > I see only one way to avoid this inconsistency - to have two
>>      > commands: `set-variable' for setting variables, and
>>      > `set-user-option' for setting user options.
>>     Why not `C-u M-x set-variable' to set any variable (not just user
>>     options), just like `C-u M-x apropos-variable' shows all variables.
>> I would have proposed that long ago, but `C-u' is already defined to
>> set the variable buffer locally.
> `C-u C-u M-x set-variable'?

And `C-u C-u C-u M-x set-variable' 
is used to set the buffer-local value of any variable... 

1/2 :-)

I would rather reserve C-u M-x set-variable for set any
variable, and make a new command

  M-x set-variable-buffer-local

to set the buffer local value.  It would also have a C-u prefix to
allow setting any variable.

However, if we _don't_ change this, I think it would make a lot
of sense if C-u M-x set-variable changed to prompt from
"Set variable" to "Set variable in <buffer>".

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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