unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
@ 2023-09-26 20:43 Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-27  4:10 ` Michael Heerdegen
  2023-09-27 20:23 ` bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx =>, " Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 8+ messages in thread
From: Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-26 20:43 UTC (permalink / raw)
  To: 66219; +Cc: stefan monnier

X-Debbugs-CC: Stefan Monnier <monnier@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))





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
  2023-09-26 20:43 bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-27  4:10 ` Michael Heerdegen
  2023-09-27 20:01   ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-27 20:23 ` bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx =>, " Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 8+ messages in thread
From: Michael Heerdegen @ 2023-09-27  4:10 UTC (permalink / raw)
  To: 66219; +Cc: jschmidt4gnu, monnier

Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
  2023-09-27  4:10 ` Michael Heerdegen
@ 2023-09-27 20:01   ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-27 20:16     ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-27 20:01 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: monnier, 66219

forcemerge 64459 66219
thanks

Michael Heerdegen <michael_heerdegen@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
  2023-09-27 20:01   ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-27 20:16     ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-28 19:46       ` Stefan Kangas
  0 siblings, 1 reply; 8+ messages in thread
From: Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-27 20:16 UTC (permalink / raw)
  To: 66219

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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx =>, eager macro expansion failure
  2023-09-26 20:43 bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-27  4:10 ` Michael Heerdegen
@ 2023-09-27 20:23 ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 8+ messages in thread
From: Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-27 20:23 UTC (permalink / raw)
  To: 66219-done

Next attempt to close this bug.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
  2023-09-27 20:16     ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-28 19:46       ` Stefan Kangas
  2023-09-28 20:02         ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Kangas @ 2023-09-28 19:46 UTC (permalink / raw)
  To: Jens Schmidt, 66219

Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@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@debbugs.gnu.org in Bcc?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
  2023-09-28 19:46       ` Stefan Kangas
@ 2023-09-28 20:02         ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-29 14:51           ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-28 20:02 UTC (permalink / raw)
  To: Stefan Kangas, 66219

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@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@debbugs.gnu.org in Bcc?

Ah, *that* is how you do it!  Thanks for the tip.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure
  2023-09-28 20:02         ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-29 14:51           ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2023-09-29 14:51 UTC (permalink / raw)
  To: Jens Schmidt; +Cc: stefankangas, 66219

> 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@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@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@debbugs.gnu.org in Bcc?
> 
> Ah, *that* is how you do it!  Thanks for the tip.

It's all in admin/notes/bugtracker.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-29 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-26 20:43 bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx => eager macro expansion failure Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-27  4:10 ` Michael Heerdegen
2023-09-27 20:01   ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-27 20:16     ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-28 19:46       ` Stefan Kangas
2023-09-28 20:02         ` Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-29 14:51           ` Eli Zaretskii
2023-09-27 20:23 ` bug#66219: 29.1.50; edebug + syntax-propertize-rules + rx =>, " Jens Schmidt via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).