GNU bug report logs -
#66219
29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
Previous Next
Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
Date: Tue, 26 Sep 2023 20:45:01 UTC
Severity: normal
Found in version 29.1.50
Done: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66219 in the body.
You can then email your comments to 66219 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Tue, 26 Sep 2023 20:45:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
:
New bug report received and forwarded. Copy sent to
monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org
.
(Tue, 26 Sep 2023 20:45:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
X-Debbugs-CC: Stefan Monnier <monnier <at> iro.umontreal.ca>
CCing Stefan who seems TRO for this.
emacs -Q
M-x find-function elisp-mode-syntax-propertize RET
C-U C-M-x
results in the following backtrace:
------------------------- snip -------------------------
Debugger entered--Lisp error: (error "Eager macro-expansion failure: (void-function edeb...")
error("Eager macro-expansion failure: %S" (void-function edebug-after))
internal-macroexpand-for-load((setq elisp--eval-defun-result (let ((print-level nil) (print-length nil)) (progn (defalias 'elisp-mode-syntax-propertize #'(lambda (start end) (edebug-enter ... ... ...)))))) t)
elisp--eval-defun()
#<subr eval-defun>(nil)
edebug--eval-defun(#<subr eval-defun> (4))
apply(edebug--eval-defun #<subr eval-defun> (4))
eval-defun((4))
funcall-interactively(eval-defun (4))
command-execute(eval-defun)
------------------------- snip -------------------------
Not analyzed any further, but the combination of
`syntax-propertize-rules' and `rx' seems to trigger this error.
In GNU Emacs 29.1.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0) of 2023-09-26 built on sappc2
Repository revision: 34550ea8ce4b5e306a537abd9457bba5c72fca94
Repository branch: bug#58396-silence-macro-expansion-in-elisp--local-variables
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)
Configured using:
'configure -C --with-native-compilation'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB
Important settings:
value of $LC_COLLATE: POSIX
value of $LC_TIME: POSIX
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: ELisp/l
Minor modes in effect:
bug-reference-prog-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
line-number-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr help-fns radix-tree cl-print edebug debug
backtrace emacsbug message mailcap yank-media puny dired dired-loaddefs
rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config
gnus-util text-property-search time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode
easy-mmode vc-dispatcher bug-reference byte-opt thingatpt cl-loaddefs
comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cl-lib find-func rmc iso-transl tooltip
cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
native-compile emacs)
Memory information:
((conses 16 99606 11860)
(symbols 48 8653 0)
(strings 32 24706 1334)
(string-bytes 1 752499)
(vectors 16 18560)
(vector-slots 8 375964 20420)
(floats 8 30 100)
(intervals 56 930 0)
(buffers 976 13))
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Wed, 27 Sep 2023 04:12:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:
> emacs -Q
> M-x find-function elisp-mode-syntax-propertize RET
> C-U C-M-x
>
> results in the following backtrace:
>
> ------------------------- snip -------------------------
> Debugger entered--Lisp error: (error "Eager macro-expansion failure: (void-function edeb...")
This looks like Bug#65620 which has been fixed recently. I don't get an
error for your recipe with master.
Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Wed, 27 Sep 2023 04:12:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Wed, 27 Sep 2023 20:03:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 66219 <at> debbugs.gnu.org (full text, mbox):
forcemerge 64459 66219
thanks
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> This looks like Bug#65620 which has been fixed recently. I don't get an
> error for your recipe with master.
Actually, it more seems like bug#64459 fixed by Stefan in 26f31fe3b584.
Merging accordingly since it is not worth separately fixing in 29, IMO.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Wed, 27 Sep 2023 20:18:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 66219 <at> debbugs.gnu.org (full text, mbox):
close 66219 30.0.50
thanks
Um, forcemerge only for admins? Or was there something wrong with my
previous control command? Hopefully I can at least close it.
Reply sent
to
Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
:
You have taken responsibility.
(Wed, 27 Sep 2023 20:24:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
:
bug acknowledged by developer.
(Wed, 27 Sep 2023 20:24:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 66219-done <at> debbugs.gnu.org (full text, mbox):
Next attempt to close this bug.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Thu, 28 Sep 2023 19:48:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 66219 <at> debbugs.gnu.org (full text, mbox):
Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:
> close 66219 30.0.50
> thanks
>
> Um, forcemerge only for admins? Or was there something wrong with my
> previous control command? Hopefully I can at least close it.
Did you put control <at> debbugs.gnu.org in Bcc?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Thu, 28 Sep 2023 20:03:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 66219 <at> debbugs.gnu.org (full text, mbox):
On 2023-09-28 21:46, Stefan Kangas wrote:
> Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs <at> gnu.org> writes:
>
>> close 66219 30.0.50
>> thanks
>>
>> Um, forcemerge only for admins? Or was there something wrong with my
>> previous control command? Hopefully I can at least close it.
>
> Did you put control <at> debbugs.gnu.org in Bcc?
Ah, *that* is how you do it! Thanks for the tip.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#66219
; Package
emacs
.
(Fri, 29 Sep 2023 14:53:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 66219 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 28 Sep 2023 22:02:00 +0200
> From: Jens Schmidt via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> On 2023-09-28 21:46, Stefan Kangas wrote:
> > Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of
> > text editors" <bug-gnu-emacs <at> gnu.org> writes:
> >
> >> close 66219 30.0.50
> >> thanks
> >>
> >> Um, forcemerge only for admins? Or was there something wrong with my
> >> previous control command? Hopefully I can at least close it.
> >
> > Did you put control <at> debbugs.gnu.org in Bcc?
>
> Ah, *that* is how you do it! Thanks for the tip.
It's all in admin/notes/bugtracker.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 28 Oct 2023 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.