[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation not clear for the Lisp function set-variable
From: |
Juri Linkov |
Subject: |
Re: Documentation not clear for the Lisp function set-variable |
Date: |
Thu, 30 Jun 2005 02:57:44 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> I agree that filtering is not very necessary, and
>> think that it would be sufficient to display a warning for obsolete
>> variables and obsolete aliases after selecting the variable but before
>> setting its value.
>
> Cool. That's what my latest patch does. Please take a look to see if
> it matches your expectations.
I like it.
BTW, there is another problem in `set-variable'. When setting
a customizable variable with `set-variable' it doesn't use its
`:set' keyword to set the value. For example,
M-x set-variable RET frame-background-mode RET dark RET
doesn't update the background mode until `frame-set-background-mode'
is run explicitly.
`set-variable' already uses internal functions of the `custom' package
to test the custom type, so why wouldn't it also run a setter specified
by the `:set' custom keyword?
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Documentation not clear for the Lisp function set-variable, (continued)
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Luc Teirlinck, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Luc Teirlinck, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Richard M. Stallman, 2005/06/28
- Re: Documentation not clear for the Lisp function set-variable, Juri Linkov, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/28
- Re: Documentation not clear for the Lisp function set-variable, Juri Linkov, 2005/06/29
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/29
- Re: Documentation not clear for the Lisp function set-variable,
Juri Linkov <=
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/30
- Re: Documentation not clear for the Lisp function set-variable, Luc Teirlinck, 2005/06/30
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/30
- Re: Documentation not clear for the Lisp function set-variable, Richard M. Stallman, 2005/06/28
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/28
- Re: Documentation not clear for the Lisp function set-variable, Richard M. Stallman, 2005/06/29
- Re: Documentation not clear for the Lisp function set-variable, Eli Zaretskii, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Luc Teirlinck, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Juanma Barranquero, 2005/06/27
- Re: Documentation not clear for the Lisp function set-variable, Eli Zaretskii, 2005/06/27