GNU bug report logs - #35557
26.1; false positive: Match data clobbered by buffer modification hooks

Previous Next

Package: emacs;

Reported by: David Bremner <david <at> tethera.net>

Date: Sat, 4 May 2019 11:37:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #27 received at 35557 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Bremner <david <at> tethera.net>
Cc: 35557 <at> debbugs.gnu.org
Subject: Re: bug#35557: 26.1; false positive: Match data clobbered by buffer
 modification hooks
Date: Sat, 29 Jan 2022 15:54:30 +0100
David Bremner <david <at> tethera.net> 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




This bug report was last modified 3 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.