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


View this message in rfc822 format

From: David Bremner <david <at> tethera.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 35557 <at> debbugs.gnu.org
Subject: bug#35557: 26.1; false positive: Match data clobbered by buffer modification hooks
Date: Sun, 30 Jan 2022 15:15:29 -0400
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> 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?

I can't duplicate it with Debian's 27.1, so it's probably safe to close,

Cheers

David




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.