GNU bug report logs - #64046
30.0.50; Quoting in customize choice tags

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 13 Jun 2023 14:04:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


Message #98 received at 64046 <at> debbugs.gnu.org (full text, mbox):

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: Stephen Berman <stephen.berman <at> gmx.net>,
 Ola x Nilsson <ola.x.nilsson <at> axis.com>
Cc: 64046 <at> debbugs.gnu.org
Subject: Re: bug#64046: 30.0.50; Quoting in customize choice tags
Date: Wed, 30 Aug 2023 12:29:47 -0300
Stephen Berman <stephen.berman <at> gmx.net> writes:

> On Mon, 28 Aug 2023 11:33:09 +0200 Ola x Nilsson 
<ola.x.nilsson <at> axis.com> wrote:
>
>> I agree that quote substition should be done on the car of simple item
>> definitions.  I have no opinion on susbstitute-command-keys vs
>> substitute-quotes.  But I came to think about the TITLE argument,
>> shouldn't quote substition be performed on it as well?
>
> I think you're right about that as well, since the title is simply a
> display feature.  AFAIK it wouldn't make a noticeable difference for
> existing uses of widget-choose in the Customize UI (in the Value menu
> the title is simply "Choice" and in the State menu it's "Operation on
> <option name>"), but it might be relevant for third party uses or future
> uses in Emacs, as well as for ad-hoc uses of simple item definitions.
> So applying substition to all uses of TITLE seems appropriate.  The
> below patch does this, and also corrects my previous patch by excluding
> substition from the cdr of simple item definitions.

What would be a real-life scenario where we need to use
substitute-command-keys on TITLE? I can't think of any.





This bug report was last modified 1 year and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.