GNU bug report logs - #62256
28.2; Invalid edebug spec gv-define-simple-setter

Previous Next

Package: emacs;

Reported by: Matúš Goljer <matus.goljer <at> gmail.com>

Date: Sat, 18 Mar 2023 13:26:02 UTC

Severity: normal

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Matúš Goljer <matus.goljer <at> gmail.com>,
 62256 <at> debbugs.gnu.org
Subject: Re: bug#62256: 28.2; Invalid edebug spec gv-define-simple-setter
Date: Thu, 23 Mar 2023 14:07:21 -0400
>> From: Matúš Goljer <matus.goljer <at> gmail.com>
>> Date: Sat, 18 Mar 2023 14:36:53 +0100
>> 
>> Actually, I think the problem is using the spec
>> 
>> (&or symbolp lambda-expr)
>> 
>> instead of
>> 
>> [&or symbolp lambda-expr]
>> 
>> Because the list construct here always makes "a list with content".  So
>> this spec says "a list with one thing in it, either a symbol or a
>> lambda" which would match
>> 
>> (gv-define-simple-setter aref (aset))
>
> Stefan, any comments?

He's right!


        Stefan





This bug report was last modified 2 years and 109 days ago.

Previous Next


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