From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#57293: 29.0.50; query-replace with Wdired skips symlink target Date: Wed, 24 Aug 2022 01:39:54 +0200 Message-ID: <8735dmil6d.fsf@web.de> References: <40517.1661046885@alto> <86a67xk46m.fsf@mail.linkov.net> <87v8qk246x.fsf@web.de> <86ilmkixbw.fsf@mail.linkov.net> <877d2z2a4u.fsf@web.de> <861qt6oj42.fsf@mail.linkov.net> 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="21135"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57293@debbugs.gnu.org, Stefan Kangas , Mike Kupfer To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 24 01:43:49 2022 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 1oQdYi-0005Kp-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 01:43:48 +0200 Original-Received: from localhost ([::1]:45854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQdYh-0000qQ-S5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 19:43:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQdW3-0007cK-1S for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 19:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQdW2-00063L-KT for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 19:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQdW1-0006BV-W7 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 19:41: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: Tue, 23 Aug 2022 23:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57293 X-GNU-PR-Package: emacs Original-Received: via spool by 57293-submit@debbugs.gnu.org id=B57293.166129802223703 (code B ref 57293); Tue, 23 Aug 2022 23:41:01 +0000 Original-Received: (at 57293) by debbugs.gnu.org; 23 Aug 2022 23:40:22 +0000 Original-Received: from localhost ([127.0.0.1]:45258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQdV9-00069r-Fx for submit@debbugs.gnu.org; Tue, 23 Aug 2022 19:40:22 -0400 Original-Received: from mout.web.de ([212.227.17.11]:55713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQdV7-000698-5d for 57293@debbugs.gnu.org; Tue, 23 Aug 2022 19:40:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1661297995; bh=UEUomNG8WdelGs5N/pbJaI3kinMt8H105KuHNglkOeM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=bsR9x5KqKQ/cSYRfGwuXwOFOS+16He9T3EJsDZTMSRsWMyf9QY2jLHtEMlkV5MdZQ Q1Y4HpXwafQv42n+gbFQe+dmEzRQVb9g3NlQkOCmWwg5rRv4L9dehk2ZDSj8ll2xj/ bGitwrzbot3FC8eCUdLCrCteT7tRMboathiNIE4w= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.57.248.18]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MG994-1oevFn1Rim-00GlMC; Wed, 24 Aug 2022 01:39:55 +0200 In-Reply-To: <861qt6oj42.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 23 Aug 2022 22:27:57 +0300") X-Provags-ID: V03:K1:U8AI9QRi9a4lS78SwDT+sEeQ1JA/bKojwtFnlYoaRXDYmb/bIWZ QR00TsAQcXMiZcsUZfXvh0JCOFRN2DPA8dqgYMGxH9s4Z84SF/tp43IUtEPU4tc1j59DZ8A SivoQD3U5WFjl9a00N7hZAt7dW6n7WmONGezUrqvqQ/1QhlC6dl+KmOyKI8ffmoA91Ymmx1 v5ZhkQANApJr2hsHSNApA== X-UI-Out-Filterresults: notjunk:1;V03:K0:B1zdmGjGTEU=:iZT0yS0a1cUP8Q3lEnSwMB KZeiiP/IsKIjqUrZpcRYwRV/TbL+5KXEFb6mxpVfg3xDkw1oKEQ3EDVWnbh2H6KDy8vt1hKFK S1V3fysflNsraeEfIUFb9cJ/8exO9MFoV36+Bv26HECXFmg8U5vucHtxTWSmhLhChO9NOZR9x uG/1Uaz84gBd4Zqj7B5FZysZ3Zkcj/CcyRn1ouvjPUiN9Obm6rmkpGE0V5gUP1wAdklhTD3PC KrjGLtPL8c0poxw4o/30QGHBJJeKOkRoz51kv6WjurCjDX81rGTbwk7kQnyDv7xRkGQIZFtNb VYn74yykJxWHjuXo1VXxXS7WeBM/X73s2rco/6RfurkkLpn/rt5xSHUAra7WaLrNFFszHg8bc Ja18dpPaCaX1nZAhfANTdTFOOIKgUvMY2Uj8NEHmBRXoJFdCirytQ4TdBq8s7opvs4fCP+Jok 9mSQtfDHI9H4BoIS0D9SyiGqoFymHr0BrVVb5paLZXBwZ9hRf2Jr2Jce+Og+XLht3E/95aluw lHgzzfNJ7ftxYH/ewDd3UnbZYwJ9O7OgVCFC4aeaKq63rt/N6hNJ8Xoq4z1G/t2YVZcrFJ+c7 egddWJP/86Umdig06jiN7P3Dcbi140n5XOoR/8Qc7MuPnXqXPlWcv57HqTKmGGU9AuO7JtVRG qcvKkz4ZBR1QOwdXqCFexar+JkJozJrg1RrJCT2XyOX8Zop8FXsjKvX7/HwxVSqEhPx5vCgJW bDQCfXRNydUBotHR7pMaJPb6H0M23kggDvbeGo3kflzgA4h3gsc38tGu+2m8+cYign3eeYhP 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:240580 Archived-At: Juri Linkov writes: > Ok, here is the fix to support search and query-replace of e.g. "fo* =E2= =86=92 > baz": Great - thanks. Mike, can you maybe give it a try? > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -2002,7 +2002,9 @@ the buffer will take you to that directory. > *** Search and replace in Dired/Wdired supports more regexps. > For example, the regexp ".*" will match only characters that are part > of the file name. Also "^.*$" can be used to match at the beginning > -of the file name and at the end of the file name. > +of the file name and at the end of the file name. In Wdired this can > +be used when the new user option 'wdired-search-replace-filenames' is > +non-nil (which is the default). Can we say that the behavior in dired is optional, too, and maybe just list the options (and commands) at the end? > -(defun isearch-search-fun-in-text-property (search-fun property) > - "Return the function to search inside text that has the specified PROP= ERTY. > +(defun isearch-search-fun-in-text-property (search-fun properties) > + "Return the function to search inside text that has the specified PROP= ERTIES. > The function will limit the search for matches only inside text which has > -this property in the current buffer. > +these list of PROPERTIES in the current buffer. "which has at least one of the text PROPERTIES" may be better (I also added "text" so that the docstring at least once tells that this is only about text props). The rest of the patch looks good to me, but I didn't test. Thanks, Michael.