>> 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/



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to