From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer Date: Thu, 05 Sep 2024 14:12:19 +0200 Message-ID: <874j6uz4d8.fsf@web.de> References: <20240904.080321.1100373523429404965.enometh@meer.net> <87seug85hh.fsf@web.de> <86y147gzx0.fsf@mail.linkov.net> Reply-To: Michael Heerdegen Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25832"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Madhu , 73018@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 05 14:12:15 2024 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 1smBLR-0006TZ-9a for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Sep 2024 14:12:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smBLD-000859-RE; Thu, 05 Sep 2024 08:12:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smBLB-00084V-RB for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 08:11:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smBLB-0007dF-Gn for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 08:11:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=sCNmEKsy/uHikEM1yOJvPfgrl7zTIYvo0LudtDK3/xY=; b=WNgYZZznIpNpE1JBz6uHiXOUEEuKTFGT1ynpY8SSPlcxi8n6+BOFLg2bYYYvERnVf0HnRONWXGR7ii1/31AEUZGV3pi3rnPLolPY7BWjBsaKpX3hGHT9dtWQhSBmKwFlalUCnyaJKBB2PrT5mFMwspfHZDqYq6p3dGz4zmxPRWzv6fI/zTg+bFQDiU9DhlT+4rwMUQTKb1yqzHrFfCEy5z4w85J47pGueqayK1aq/oP4MawGla5pVW3NCjN0qLckegB0ebUspqA8kApEbfSkWix5h1lw78PoJOILtee0C6KUKvSJRUi+bZ4wMOKyRS1YquyOuFi9ZmnxsoQWeq/5TA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smBME-0003cD-5h for bug-gnu-emacs@gnu.org; Thu, 05 Sep 2024 08:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Sep 2024 12:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73018 X-GNU-PR-Package: emacs Original-Received: via spool by 73018-submit@debbugs.gnu.org id=B73018.172553837613880 (code B ref 73018); Thu, 05 Sep 2024 12:13:02 +0000 Original-Received: (at 73018) by debbugs.gnu.org; 5 Sep 2024 12:12:56 +0000 Original-Received: from localhost ([127.0.0.1]:36325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smBM7-0003bn-R9 for submit@debbugs.gnu.org; Thu, 05 Sep 2024 08:12:56 -0400 Original-Received: from mout.web.de ([212.227.17.11]:50289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smBM5-0003bR-QX for 73018@debbugs.gnu.org; Thu, 05 Sep 2024 08:12:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1725538292; x=1726143092; i=michael_heerdegen@web.de; bh=sCNmEKsy/uHikEM1yOJvPfgrl7zTIYvo0LudtDK3/xY=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=p21OnatTDXxqEEk8l6QsEvPPTspo9mvjCloS+T4kLwq/AQSKVa3xA3oI1iWUYjcs /u2b57TyWUq+tCl90LmpZPJ+PulpApdJGl8jh48y2G1AAQDiK9xLqxuHeD/UZCVLN t/OBr3VdDSCjA64sm0LAf5E/a1qoCP4a0iM0XsmZjFCZalyULIKzsj2qtS5WGrDKj KmPGAQaA3kZFLXDE1tEl8q3c9nhQRtxJVaEuM2Zog6qQACvzpCyBFO6HX/qNC29GT LANm20RG8Ip7Su1w65kxt94WKbenvGa8gbpts2sVyT9ULD5vQlFDJ0O/oKwoACClz HQ4wVmnWXYtMuvpn+A== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([84.59.210.176]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N7QUJ-1ryLMH08ir-0177of; Thu, 05 Sep 2024 14:11:32 +0200 In-Reply-To: <86y147gzx0.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 04 Sep 2024 19:13:31 +0300") X-Provags-ID: V03:K1:N8H0xpnm/a/yI3CsmcCkyE7JzhD52At5NkBkJInu5hCE/D0Dg+d GUWaAQgoHqunn0oDWTY17aYbKGVIQSIZn7b+qNqBiQNAIaTXAJEFHMq/as0xl8+tV9ocCyD Uzu9mH5lwbdImR7YSla3Zbp50YJnrnEYp6/GvLy84VY7x5A6NXbnOsD7vlGZ82bZGxeFvQq Hr/1zxCn5kyiP1nHOdqaQ== UI-OutboundReport: notjunk:1;M01:P0:rRMiVAlkSTE=;cW7BrV9MiaAb7PfAKBzBAspBpUS p258FcPEyxiXADYTM0GlsgAGU29WrnYFqT2ubbXNCGrV/cgsTAciFL5Magz04gkYKzfrIC22H xCDQZ3FxqCGt8Mwo42pZxJ5IUKoyQeOSAtJ5zjvak870KoFmE8kalxQmb/EijDtCxwrF7J+76 8JotMBshdjnzrz8oV+L1WWImIb6/v5nh3/L7MnRmdH5OcKgtvN2YdATTM5/QE+Sg1DgM4YGoR GCsZPzWHPrTuus93pPysbHmbqkpGiQJ3Lu3w2IpxU4yuM87aiK03Uui3D6rqJKzoInhGLhnD7 eZMd0pDJKbce0YKdRI3WsqK2ocC7kjboo/mUajAGwUOqAwdScHVDa3EnMokCiHqlEo50xiJjv 3C9CZZ0wD8pfKFvTUduf6+vsqbsVX5R9xdnSbrLgxqVx5PRf4urDSwzq1aeTImiPFRNDRdrMR JJ0i/pjrOcjR5F5oT7uEghkzfCvCQAmdUOJ7KmnTMZRnCaS5RBBmUBSjtrUW1S7dIvtCns94P HnP3vuBF2zxS8YEEkaBV6nSCZtp2OfbHTgOPgSjqrt7xvsv/7eEGw/3dD/5J55IP6/mWzGyQp Vg5qayaFxr7tZn+RQlXkF0thGgd8hKeDgbIcy0PsJW+8rB7kYpCRs7uzC+sUKquxT45G5weGZ UY4u6pEVFJsHP+yb0j7majbl1S6/GExDNqyVHJWwBk4Q80UvBIDoYD6nwJvk3eBfjdn8d76Qw QiJ+V/DT8wO901DX4YP3AmAxGQYwddAMp/QkWhXG1SNl3pLGIIVKijDh+gGkde3OsnYfopeX 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291250 Archived-At: Juri Linkov writes: > So you prefer to slow down only when the user types C-s? > This is possible by adding a local hook in > wdired-change-to-wdired-mode: > > (add-hook 'isearch-mode-hook #'font-lock-ensure nil t) A step back: I now tried to reproduce the recipe, but I only see the clobbered match data error (randomly) - I don't see only the visible buffer portion operated on. With other words: I can't reproduce the issue, at least not with the "visible buffer portion" interpretation, and I don't see that we would need to call `font-lock-ensure' at all. Second: I'm confused. Apparently, when `dired-isearch-filenames-mode' is on, why do `search-forward-regexp' and `replace-regexp' behave differently? `search-forward-regexp' does find matches outside of file names that `replace-regexp' ignores. Michael.