[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10907: 24.0.94; Updating display of Customize buffer
From: |
Stephen Berman |
Subject: |
bug#10907: 24.0.94; Updating display of Customize buffer |
Date: |
Tue, 28 Feb 2012 18:50:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
On Tue, 28 Feb 2012 18:23:11 +0100 Andreas Schwab <schwab@linux-m68k.org> wrote:
> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> On Tue, 28 Feb 2012 14:46:47 +0100 Andreas Schwab <schwab@linux-m68k.org>
>> wrote:
>>
>>> Stephen Berman <stephen.berman@gmx.net> writes:
>>>
>>>> 7. In the Customize buffer hide and then re-show the value of
>>>> srb-selected-file; now the Customize buffer shows this:
>>>>
>>>> Srb Selected File: "file1"
>>>> State: STANDARD. (mismatch)
>>>> A selected file name from `srb-file-list'.
>>>
>>> The current value does not match any of the empty set of choices.
>>
>> Do you mean that Custom thinks srb-file-list is still empty?
>
> Its :type hasn't changed at all.
>
>> (defcustom srb-selected-file (car srb-file-list)
>> "A selected file name from `srb-file-list'."
>> :type (if srb-file-list
>> `(radio ,@(mapcar (lambda (x) (list 'const x)) srb-file-list)))
>> :group 'srb)
>>
>> then when srb-dir is empty or nonexistant, the Custom buffer shows this:
>>
>> Srb Selected File: nil
>> State: STANDARD.
>> A selected file name from `srb-file-list'.
>
> :type is nil (ie. no type).
>
>> and after I add a file and refresh the display by hiding and unhiding
>> the value, it shows this:
>>
>> Srb Selected File: "file1"
>> State: STANDARD.
>> A selected file name from `srb-file-list'.
>
> :type is still nil.
I don't follow you; can (or someone else who gets it) you please
elaborate? Thanks.
Steve Berman
- bug#10907: 24.0.94; Updating display of Customize buffer, Stephen Berman, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Andreas Schwab, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Stephen Berman, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Andreas Schwab, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer,
Stephen Berman <=
- bug#10907: 24.0.94; Updating display of Customize buffer, Andreas Schwab, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Drew Adams, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Andreas Schwab, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Drew Adams, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Stephen Berman, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Stefan Monnier, 2012/02/28
- bug#10907: 24.0.94; Updating display of Customize buffer, Andreas Schwab, 2012/02/29
- bug#10907: 24.0.94; Updating display of Customize buffer, Stephen Berman, 2012/02/29
- bug#10907: 24.0.94; Updating display of Customize buffer, Glenn Morris, 2012/02/29
- bug#10907: 24.0.94; Updating display of Customize buffer, Stefan Monnier, 2012/02/29