[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10773: set-variable can't change values of user options
From: |
Juri Linkov |
Subject: |
bug#10773: set-variable can't change values of user options |
Date: |
Wed, 22 Feb 2012 02:16:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (x86_64-pc-linux-gnu) |
>> In my opinion, the best way to eliminate the distinction
>> between user variables (with the leading '*' in the docstring)
>> and customizable variables in 24.2 is:
>>
>> 1. Make `user-variable-p' an alias for `custom-variable-p'.
>>
>> 2. Remove the `user-variable-p' condition from `set-variable'.
>>
>> This will fix the reported case where `set-variable' can change
>> the value of `outline-mode-hook', but not `outline-minor-mode-hook';
>> and many other similar cases.
>
> And how will that help code that uses
> (defvar foo "*A user variable.")?
IIUC, the plan is to deprecate this feature, to not maintain two parallel
systems of user customizable variables.
> Users have always been able to set such a user variable using `set-variable'.
With the proposed change above, users can continue to set variables
using `set-variable'.
- bug#10773: set-variable can't change values of user options, (continued)
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/09
- bug#10773: set-variable can't change values of user options, Kevin Rodgers, 2012/02/10
- bug#10773: set-variable can't change values of user options, Juri Linkov, 2012/02/10
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/10
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/10
- bug#10773: set-variable can't change values of user options, Stefan Monnier, 2012/02/12
- bug#10773: set-variable can't change values of user options, Glenn Morris, 2012/02/12
- bug#10773: set-variable can't change values of user options, Stefan Monnier, 2012/02/12
bug#10773: set-variable can't change values of user options, Juri Linkov, 2012/02/20