From: Madhu <enometh@meer.net>
To: eliz@gnu.org
Cc: michael_heerdegen@web.de, 73018@debbugs.gnu.org,
yantar92@posteo.net, monnier@iro.umontreal.ca, juri@linkov.net
Subject: bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer
Date: Mon, 16 Sep 2024 07:36:11 +0530 (IST) [thread overview]
Message-ID: <20240916.073611.65330355381543629.enometh@meer.net> (raw)
In-Reply-To: <86zfo9c64h.fsf@gnu.org>
[-- Attachment #1: Type: Text/Plain, Size: 250 bytes --]
fwiw in a build on master with the earlier patch i posted (which turns
on font-lock-mode, admittedly overkill), and the autoload cookie patch
(attached) and a fresh compile I do not seem to trigger the
replace-match error (with the wdired recipe)
[-- Attachment #2: 0001-lisp-wdired.el-wdired-before-change-fn-autoload-cook.patch --]
[-- Type: Text/X-Patch, Size: 691 bytes --]
From 41e4505815f58ee69255801a55dc07394f729930 Mon Sep 17 00:00:00 2001
From: Madhu <enometh@net.meer>
Date: Wed, 4 Sep 2024 15:05:26 +0530
Subject: [PATCH] lisp/wdired.el: (wdired--before-change-fn): autoload cookie
prevents a "match data clobbered" error
---
lisp/wdired.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/wdired.el b/lisp/wdired.el
index dd8b8640a89..6f1f7b06e35 100644
--- a/lisp/wdired.el
+++ b/lisp/wdired.el
@@ -306,6 +306,7 @@ wdired--self-insert
(put 'wdired--self-insert 'delete-selection 'delete-selection-uses-region-p)
+;;;###autoload
(defun wdired--before-change-fn (beg end)
(save-match-data
(save-excursion
--
2.46.0.27.gfa3b914457
next prev parent reply other threads:[~2024-09-16 2:06 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 2:33 bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer Madhu
2024-09-04 3:25 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-04 8:58 ` Madhu
2024-09-04 9:08 ` Madhu
2024-09-04 16:13 ` Juri Linkov
2024-09-05 12:12 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-05 16:51 ` Madhu
2024-09-05 16:51 ` Juri Linkov
2024-09-06 12:04 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-06 16:08 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-08 16:28 ` Juri Linkov
2024-09-09 14:55 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-09 17:13 ` Juri Linkov
2024-09-09 17:55 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-09 17:14 ` Juri Linkov
2024-09-10 6:28 ` Juri Linkov
2024-09-10 13:21 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-10 13:27 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-14 9:47 ` Eli Zaretskii
2024-09-15 13:04 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-15 15:02 ` Eli Zaretskii
2024-09-16 2:06 ` Madhu [this message]
2024-09-16 14:24 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-17 18:57 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-17 18:52 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-21 9:34 ` Eli Zaretskii
2024-09-23 3:43 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-23 11:51 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240916.073611.65330355381543629.enometh@meer.net \
--to=enometh@meer.net \
--cc=73018@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
--cc=michael_heerdegen@web.de \
--cc=monnier@iro.umontreal.ca \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.