From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#40254: 26.1; sgml-mode: Match data clobbered by buffer modification hooks Date: Wed, 12 Aug 2020 18:33:18 -0700 Message-ID: References: <83wo747ucs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29811"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Vladimir Alexiev , 40254-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 13 03:34:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k628I-0007av-25 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Aug 2020 03:34:18 +0200 Original-Received: from localhost ([::1]:44920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k628H-0002w0-0R for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 21:34:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6284-0002ma-OB for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 21:34:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6284-0007r9-Ek for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 21:34:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6284-000744-CV for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 21:34:04 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Aug 2020 01:34:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40254 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 40254@debbugs.gnu.org, stefan@marxist.se, vladimir.alexiev@ontotext.com Original-Received: via spool by 40254-done@debbugs.gnu.org id=D40254.159728240626967 (code D ref 40254); Thu, 13 Aug 2020 01:34:04 +0000 Original-Received: (at 40254-done) by debbugs.gnu.org; 13 Aug 2020 01:33:26 +0000 Original-Received: from localhost ([127.0.0.1]:46259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k627S-00070t-BO for submit@debbugs.gnu.org; Wed, 12 Aug 2020 21:33:26 -0400 Original-Received: from mail-yb1-f178.google.com ([209.85.219.178]:45654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k627Q-00070f-Qj for 40254-done@debbugs.gnu.org; Wed, 12 Aug 2020 21:33:25 -0400 Original-Received: by mail-yb1-f178.google.com with SMTP id x2so2398225ybf.12 for <40254-done@debbugs.gnu.org>; Wed, 12 Aug 2020 18:33:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=SqN4OmFspMjA2EmBw0JRylYvHlzQ9mEp63NqLyrRA8s=; b=kzs+u9+eUKDKxGiHzclA70+UWh54mASUTpiY60tE8045lX6fj258GnjlkHjTQL6f5J sp2h8NDhQhMPQ+LSHI9bhtjb4SplYU2EHnCT8Zo62sAqf2kFoadX5iixVahzm/Rn00Fh w7UNE4c0m3LQH8Nn+150JGqaQCk3atB1NraR+SuhsX/5Y1+5qREbwldFY8n51h1R7vCh qqgOsUtt4D0Hrck0hfDsDvpcSi9AP3E/DFhl1VSs+7O3/15BLo0IheZ1X5zofdbWcwk+ zs02FVPX1WoYCaPr1m8melOo3ecNtHcqnsamBaJajUqhNWLP4vza+n2SX0wYW4kYhLEm gYDw== X-Gm-Message-State: AOAM533WiPzoMZphgU8yPKaTZbXsvMyKJ83bHz83zn8JtLrgWvmHCmlP aEc+yoay26u7y0myu2Qu4IC+0+jwmskoocASX9I= X-Google-Smtp-Source: ABdhPJwIG3ncPZbB63LGARKyosyfRL6EHjayE9BTflhFLuIjfjJniSn0H4B+SZPb9rm5fzIgiFdYcMCiu67UxjyuPys= X-Received: by 2002:a5b:508:: with SMTP id o8mr3528002ybp.43.1597282399157; Wed, 12 Aug 2020 18:33:19 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 18:33:18 -0700 In-Reply-To: <83wo747ucs.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Mar 2020 11:32:19 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184931 Archived-At: Eli Zaretskii writes: >> From: Vladimir Alexiev >> 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 mod= ification hooks") >> replace-match("name" nil t) >> replace-match-maybe-edit("name" nil t nil (1803 1814 #) 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 n= il 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