GNU bug report logs - #40254
26.1; sgml-mode: Match data clobbered by buffer modification hooks

Previous Next

Package: emacs;

Reported by: Vladimir Alexiev <vladimir.alexiev <at> ontotext.com>

Date: Fri, 27 Mar 2020 18:17:02 UTC

Severity: normal

Found in version 26.1

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

Bug is archived. No further changes may be made.

Full log


Message #15 received at 40254-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Vladimir Alexiev <vladimir.alexiev <at> ontotext.com>,
 40254-done <at> debbugs.gnu.org
Subject: Re: bug#40254: 26.1; sgml-mode: Match data clobbered by buffer
 modification hooks
Date: Wed, 12 Aug 2020 18:33:18 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Vladimir Alexiev <vladimir.alexiev <at> ontotext.com>
>> Date: Fri, 27 Mar 2020 20:16:29 +0200
>>
>> When  sgml-electric-tag-pair-mode is enabled  in nxml-mode
>> and I try query-replace of a tag name, the first match is replaced and
>> then I get this error:
>>
>> Debugger entered--Lisp error: (error "Match data clobbered by buffer modification hooks")
>>   replace-match("name" nil t)
>>   replace-match-maybe-edit("name" nil t nil (1803 1814 #<buffer Fahrstromrückleitung-en.xml>) nil)
>>   perform-replace("designation" "name" t nil nil nil nil nil nil nil nil)
>>   query-replace("designation" "name" nil nil nil nil nil)
>>   funcall-interactively(query-replace "designation" "name" nil nil nil nil nil)
>>   call-interactively(query-replace nil nil)
>>   command-execute(query-replace)
>
> Could you please provide the file which you used in this case?  I
> tried reproducing this with some random XML file I had on my system,
> but the problem didn't happen.
>
> Also, does this happen in "emacs -Q"?  If not, then some of your
> customizations might be relevant as well (or even be the root cause).

More information was requested, but none was given within 19 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas




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

Previous Next


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