all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 10907@debbugs.gnu.org
Subject: bug#10907: 24.0.94; Updating display of Customize buffer
Date: Tue, 28 Feb 2012 18:50:28 +0100	[thread overview]
Message-ID: <87k4367spn.fsf@escher.home> (raw)
In-Reply-To: <m2linmc1og.fsf@igel.home> (Andreas Schwab's message of "Tue, 28 Feb 2012 18:23:11 +0100")

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





  reply	other threads:[~2012-02-28 17:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 13:07 bug#10907: 24.0.94; Updating display of Customize buffer Stephen Berman
2012-02-28 13:46 ` Andreas Schwab
2012-02-28 15:19   ` Stephen Berman
2012-02-28 17:23     ` Andreas Schwab
2012-02-28 17:50       ` Stephen Berman [this message]
2012-02-28 18:00         ` Andreas Schwab
2012-02-28 18:33           ` Stephen Berman
2012-02-29  2:06             ` Stefan Monnier
2012-02-29  9:05               ` Andreas Schwab
2012-02-29 12:26                 ` Stephen Berman
2012-02-29 19:45               ` Glenn Morris
2012-03-01  2:42                 ` Stefan Monnier
2012-03-03 17:03               ` Stephen Berman
2022-04-21 13:49                 ` Lars Ingebrigtsen
2012-02-29  4:00             ` Eli Zaretskii
2012-02-29 12:20               ` Stephen Berman
2012-02-28 22:11           ` Drew Adams
2012-02-28 23:11             ` Andreas Schwab
2012-02-29  1:01               ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k4367spn.fsf@escher.home \
    --to=stephen.berman@gmx.net \
    --cc=10907@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.