Subject: bug#35557: 26.1; false positive: Match data clobbered by buffer modification hooks

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 29 Jan 2022 15:54:30 +0100

David Bremner <[email-masked]> writes:

> 1. Save the following as test.el
>
> (let ((inhibit-modification-hooks t))
>   (with-temp-buffer
>     (insert "P'")
>     (goto-char (point-min))
>     (while (re-search-forward "\\([^\\]\\)'" nil t)
>       (replace-match    "\\1`"))
>     (buffer-substring (point-min) (point-max))))
>
> 2. run "emacs --batch --quick --load ./test.el"

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I don't seem to be able to reproduce this problem with the current
Emacs.  Are you still seeing this issue in more recent Emacs versions?

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