[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: toggling a minor mode should not tell Customize that the value has b
From: |
Stefan Monnier |
Subject: |
Re: toggling a minor mode should not tell Customize that the value has been set |
Date: |
Sun, 06 Jan 2008 20:26:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
>> > Putting `customize-customized' on `kill-emacs-query-functions'
>> > is analogous to Emacs telling you that you have unsaved modified
>> > buffers, and asking if you want to quit anyway and lose your
>> > changes. Toggling a mode variable is not an act of customization;
>> > there is no loss if you exit without saving the latest value.
>>
>> There is. Suppose you have done "set for current session only" and some
>> action changes this to "CHANGED outside Customize; operating on it here
>> may be unreliable". When you now exit Emacs you will _not_ get warned
>> that you have unsaved customizations.
> Fair enough. Would you then change all commands that change option
> values so that they too tell Customize that the value has been
> customized?
Yes, I think they should, whenever possible.
> Would you somehow make sure that not only commands but all
> Lisp code does the same thing?
The "whenever possible" is key.
Stefan
- toggling a minor mode should not tell Customize that the value has been set, Drew Adams, 2008/01/05
- Re: toggling a minor mode should not tell Customize that the value has been set, Stefan Monnier, 2008/01/05
- RE: toggling a minor mode should not tell Customize that the value has been set, Drew Adams, 2008/01/06
- Re: toggling a minor mode should not tell Customize that the value has been set, Stefan Monnier, 2008/01/06
- RE: toggling a minor mode should not tell Customize that the value has been set, Drew Adams, 2008/01/06
- Re: toggling a minor mode should not tell Customize that the value has been set, Stefan Monnier, 2008/01/06
- RE: toggling a minor mode should not tell Customize that the value has been set, Drew Adams, 2008/01/06
- Re: toggling a minor mode should not tell Customize that the value has been set, Stefan Monnier, 2008/01/06
- Re: toggling a minor mode should not tell Customize that the value has been set, martin rudalics, 2008/01/06
- RE: toggling a minor mode should not tell Customize that the value has been set, Drew Adams, 2008/01/06
- Re: toggling a minor mode should not tell Customize that the value has been set,
Stefan Monnier <=
- Re: toggling a minor mode should not tell Customize that the value has been set, martin rudalics, 2008/01/07
- Re: toggling a minor mode should not tell Customize that the value has been set, Richard Stallman, 2008/01/07
Re: toggling a minor mode should not tell Customize that the value has been set, Richard Stallman, 2008/01/06