bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Sat, 03 Mar 2012 18:03:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

On Tue, 28 Feb 2012 21:06:59 -0500 Stefan Monnier <address@hidden> wrote:

>> Ah, thanks.  I feared as much.  Is there really no way to reevaluate a
>> defcustom in a running Emacs?
>
> Agreed that there should be some way to have a defcustom type that is
> a bit more dynamic: no need to completely reevaluate the whole
> expression, but being able to have a dynamic set of `choice's would
> be helpful.

It turns out that, at least for my use case, completely reevaluating the
whole expression in fact DTRT -- see the attached file.  Admittedly,
elegant it isn't, and AFAIK this is virtually never done (I guess that's
why it didn't occur to me when I asked the above question) -- but other
than inelegance, is there a problem with doing this?

Steve Berman

Attachment: srb.el
Description: test updating defcustom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]