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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62256: closed (28.2; Invalid edebug spec gv-define-simple-setter)
Date: Sun, 26 Mar 2023 11:41:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 26 Mar 2023 14:40:04 +0300
with message-id <83tty7agh7.fsf <at> gnu.org>
and subject line Re: bug#62256: 28.2; Invalid edebug spec gv-define-simple-setter
has caused the debbugs.gnu.org bug report #62256,
regarding 28.2; Invalid edebug spec gv-define-simple-setter
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62256: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62256
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Matúš Goljer <matus.goljer <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.2; Invalid edebug spec gv-define-simple-setter
Date: Sat, 18 Mar 2023 14:25:10 +0100
[Message part 3 (text/plain, inline)]
Insert

(gv-define-simple-setter aref aset)

in a buffer and try to edebug-eval it (C-u C-M-x).

It gives an error which I don't understand, because the second argument
`aset' should match symbolp...

I also tried this on the build from master and the error is the same.

Debugger entered--Lisp error: (invalid-read-syntax "Expected" (&or symbolp lambda-expr))
  signal(invalid-read-syntax ("Expected" (&or symbolp lambda-expr)))
  edebug-syntax-error("Expected" (&or symbolp lambda-expr))
  apply(edebug-syntax-error ("Expected" (&or symbolp lambda-expr)))
  edebug-no-match(((aset) (176 . 180) . 181) "Expected" (&or symbolp lambda-expr))
  edebug-match-list(((aset) (176 . 180) . 181) (&or symbolp lambda-expr))
  edebug-match-one-spec(((aset) (176 . 180) . 181) (&or symbolp lambda-expr))
  edebug-match-specs(((aset) (176 . 180) . 181) ((&or symbolp lambda-expr) &optional sexp) edebug-match-specs)
  edebug-match-specs(((aset) (176 . 180) . 181) (sexp (&or symbolp lambda-expr) &optional sexp) edebug-match-specs)
  edebug-match-sublist(((aset) (176 . 180) . 181) (sexp (&or symbolp lambda-expr) &optional sexp))
  #f(compiled-function (head cursor) #<bytecode 0x194f427789f7f1ec>)(gv-define-simple-setter ((aset) (176 . 180) . 181))
  edebug-list-form(((aset) (176 . 180) . 181))
  edebug-form((((gv-define-simple-setter aref aset)) (146 (147 . 170) (171 . 175) (176 . 180) . 181)))
  edebug-make-form-wrapper((((gv-define-simple-setter aref aset)) (146 (147 . 170) (171 . 175) (176 . 180) . 181)) 146 181 nil)
  edebug-read-and-maybe-wrap-form1()
  edebug-read-and-maybe-wrap-form()
  edebug--read(read #<buffer *scratch*>)
  apply(edebug--read read #<buffer *scratch*>)

-- 
Best regards,
  Matúš Goljer
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Matúš Goljer <matus.goljer <at> gmail.com>
Cc: 62256-done <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#62256: 28.2; Invalid edebug spec gv-define-simple-setter
Date: Sun, 26 Mar 2023 14:40:04 +0300
> From: Matúš Goljer <matus.goljer <at> gmail.com>
> Cc: monnier <at> iro.umontreal.ca, 62256 <at> debbugs.gnu.org
> Date: Sun, 26 Mar 2023 13:28:06 +0200
> 
> I was thinking about the form in `(get 'compiler-macro
> 'edebug-declaration-spec)` but actually that one is correct.  It's a bit
> confusing that top level is always wrapped in () even though that list
> wrapper is ignored.
> 
> So in the end there's only this one fix.

Thanks, installed on the emacs-29 branch, and closing the bug.


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

Previous Next


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