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

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

bug#35264: "Match data clobbered by buffer modification hooks" when hook


From: Lars Ingebrigtsen
Subject: bug#35264: "Match data clobbered by buffer modification hooks" when hooks only shifted match-data's markers
Date: Wed, 12 May 2021 17:57:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> I tried the code example in that bug report now (with the patch that
>> removes the sanity check), and it did not crash Emacs.  So that sanity
>> check no longer seems to be necessary?
>
> Probably because some code somewhere uses save-match-data.

I guess.  But we have a case here where the sanity check is definitely
wrong, and we don't have a reproducing case (any more) for the problem
the check is trying to fix...  which seems to indicate to me that we
should apply the patch (i.e., remove the buggy sanity check).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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