Subject: Re: bug#72404: 30.0.60; Customization of options is broken

From: Eli Zaretskii <[email-masked]>
Date: Wed, 31 Jul 2024 21:04:54 +0300

> From: Juri Linkov <[email-masked]>
> Date: Wed, 31 Jul 2024 20:25:30 +0300
> 
> I found this bug while testing 'tab-bar-format', but all
> customizable variables that use :options are broken in emacs-30.
> Here is an example for 'log-edit-hook':
> 
> 0. emacs-30 -Q
> 1. Eval: (require 'log-edit)
> 2. Check the value of 'log-edit-hook'.
>    Its value is
>    (log-edit-insert-message-template log-edit-insert-cvs-template log-edit-insert-changelog log-edit-show-files)
> 3. M-x customize-variable RET log-edit-hook RET
> 4. Click the checkbox to enable 'log-edit-insert-cvs-rcstemplate'.
> 5. Apply
> 6. Check the value of 'log-edit-hook'.
>    Its value is (log-edit-insert-cvs-rcstemplate)
> 
> In GNU Emacs 30.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit,
>  cairo version 1.16.0, Xaw3d scroll bars) of 2024-07-31
> Repository revision: ceb5a1522270c41d0c9f5e6b52d61e3173f72f1d
> Repository branch: emacs-30
> Windowing system distributor 'The X.Org Foundation', version 11
> Configured using: 'configure --with-native-compilation --with-x-toolkit=lucid'
> 
> Whereas in GNU Emacs 29.3.50 it was correctly changed to
> (log-edit-insert-message-template log-edit-insert-cvs-rcstemplate
> log-edit-insert-cvs-template log-edit-insert-changelog log-edit-show-files)

Thanks.  Bisection would be useful, I think.

Adding Mauro, in case he has some ideas or even fixes.