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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63290: 30.0.50; Customize UI shows extra fields for (choice (const .


From: Thomas Fitzsimmons
Subject: bug#63290: 30.0.50; Customize UI shows extra fields for (choice (const ...) (alist ...))
Date: Sun, 16 Jul 2023 22:37:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Mauro Aranda <maurooaranda@gmail.com> writes:

Thomas Fitzsimmons <fitzsim@fitzsim.org> writes:

[...]
It seems like after a const is shown, Customize considers the variable "edited". I don't know why it is adding those extra INS/DEL key/value UI boxes though.

The code currently ignores the value if it's present but nil. That's not good, obviously. But it might be tricky to fix it because other widgets depend on the code ignoring it... I think it might be good to have a different property specify a default value (defaulting to :value upon creation, if not provided), and let :value be treated as of today, like the current value holder.

OK, thanks for taking a look; let me know if you want me to try a patch. Sounds like a good way of maintaining backward compatibility with respect to other widgets.

Or you can test it against excorporate-configuration in GNU ELPA; just search for the FIXME that mentions this bug report.

Thanks,
Thomas





reply via email to

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