bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61395: 28.2; bug-reference warning seems incorrect


From: Tassilo Horn
Subject: bug#61395: 28.2; bug-reference warning seems incorrect
Date: Fri, 10 Feb 2023 19:15:42 +0100
User-agent: mu4e 1.9.19; emacs 30.0.50

Tom Tromey <tom@tromey.com> writes:

> Tassilo> many times in buffer.c but `syntax-ppss' doesn't seem to
> Tassilo> clobber match-data.
>
> Seems like it would depend on whether the major mode uses regexps
> here?  My case is using tcl-mode FWIW.

Hah, indeed!  It was easy to reproduce with a tcl file.

> However a superficial look at the syntax-ppss code shows it's calling
> save-match-data in some spots, so perhaps this isn't the bug.

It is.  I've fixed it on the emacs-29 branch.

Thanks a lot and 100 bonus points to Kévin who has been right with his
analysis.

Bye,
Tassilo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]