From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#57334: 28.1; Fix wdired with (dired '(dir f1 f2 ...)) Date: Mon, 22 Aug 2022 14:51:31 +0000 Message-ID: <871qt849et.fsf@posteo.net> References: <878rng23aq.fsf@posteo.net> <83czcsbjst.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57334@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 22 17:23:58 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 1oQ9HO-0009aK-OU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 17:23:54 +0200 Original-Received: from localhost ([::1]:54160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ9HM-00087z-VL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 11:23:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ9Gv-0007FL-8P for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 11:23:25 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ9Gu-00074X-Ur for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 11:23:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ8oU-00031Q-BH for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2022 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57334-submit@debbugs.gnu.org id=B57334.166118001011578 (code B ref 57334); Mon, 22 Aug 2022 14:54:02 +0000 Original-Received: (at 57334) by debbugs.gnu.org; 22 Aug 2022 14:53:30 +0000 Original-Received: from localhost ([127.0.0.1]:41447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ8ny-00030f-CP for submit@debbugs.gnu.org; Mon, 22 Aug 2022 10:53:30 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:58337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ8nw-00030S-UO for 57334@debbugs.gnu.org; Mon, 22 Aug 2022 10:53:29 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5FC19240027 for <57334@debbugs.gnu.org>; Mon, 22 Aug 2022 16:53:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1661180003; bh=wYWKQCDgFi1qBFJ9evOqNisFxAjPDNyX6SX2O+likBw=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=bK5uKd1Vg9TLaouunnJciWf1wd/Hwn0AOm+t3krzPPnVjW8GuP5wLJpkY9GvjxHl2 GwKdJpWze29mhst7m89X2igBSL/aVI+N1WwuXHxbP5bb5GUtmw8ZZg4V1kMFNTvfoL YmTKeRBw0Tw1Okr2xlQJkxoUGLRyvFKK5UfEJ/ByLcn1PHGPSfUjuwZSqceZd0zz1w asPcgcf5TbW9x9u6paXXfiemmb3B6IcA4sRrAXZP0XrFQ4UIPM0HqP+/3FlUXf8HNB J0p6LxTmXpZI6oEp9/qlw6Oo6knojRelZNByQ9SJwhZbjPZ3X5+0YzQ8P+ugBUOTP1 Yki2idTJ0slag== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MBFjG2rMzz6tmJ; Mon, 22 Aug 2022 16:53:19 +0200 (CEST) In-reply-to: <83czcsbjst.fsf@gnu.org> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHOBBMBCgA4AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmL3HCoACgkQDsVtFB0W75OVEAv/f6XxmtIFz08fUb8h Bp/zJP6IC4/rhhh+0GMRIRzLN8DK0jV8JCzYdFHiRJOy2lNIOpmrrCmjRRxferc2G42+ePFIsslx hU46VSz1Z83NwIG3mpdYNV5WUTUdgzxExHTNTFCd7NKv0nlHKQa OpenPGP: url=https://posteo.de/keys/thievol@posteo.net.asc; preference=encrypt 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:240425 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Thierry Volpiatto >> Date: Mon, 22 Aug 2022 06:23:52 +0000 >>=20 >> there is an action in helm that allows creating a dired buffer with >> marked files for further editing with wdired. >> For this I have to call dired with its dirname argument as a list: >> (dired ' (dir f1 f2 f3)) >> Unfortunately this is broken since years and until now I had to use an a= dvice >> to fix it. >> The advice is working up to emacs-28.1 but now it becomes difficult to >> write an advice compatible with all emacs versions, here is a patch to >> apply on 29.0.50. >>=20 >> To reproduce the bug from emacs -Q: >>=20 >> 1) Ensure ~/tmp/test.txt and ~/tmp/test2.txt exist >> 2) (dired '("~/tmp" "/home/thierry/tmp/test.txt" "/home/thierry/tmp/test= 2.txt")) >> 3) M-x wdired-change-to-dired-mode (C-x C-q) >> 4) Rename test.txt to test1.txt >> 5) C-x C-s > > Is this the same problem as reported here: > > https://lists.gnu.org/archive/html/help-gnu-emacs/2022-08/msg00093.html Not really, the dired call is more or less the same but the action is different, here it is wdired which is involved. > And if so, does the patch I posted in response, here: > > https://lists.gnu.org/archive/html/help-gnu-emacs/2022-08/msg00102.html > > solve it, perhaps? Didn't try but I guess no. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmMDmFoTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk0ZHC/wPisUIMbBRORhyGI0F9GQsMHztw2Ti p5kg+f0YNXu0Y4BzRiwO1743jMN0KAFIbXXncMZbcO5LVbUCR1UmdKnp/PWbKoTL 6fSvUeQcJ2H7Loe6m3r7cfSPLf6o10//W/r8cLo/Jv2a1xiWq/WLJgDxNnBfqqPS 9H5BmyDElY37W1+5/QIcP4YuFLuBIHbLMA9WJyd2Jy5JOF0OYJKMKNIuNVgXS9YG lluvnecvSawUfJv5dVnQoVn6hUZMOsh6M0fM8S7ZSdfusC2azKqB3BIDHakPc782 Rn6R1a9VK4PSBTjmlZkvZfIL4S+szWEVOTXAQ+C61NUOKIEEoEbNSseuiCbMiTuO 8xDcjLOb2EjCSumWTP8AvVIfhh8vEAoDyOg37BVOu9GhqfAgL/IwXkKn3ksrHSKw ayQ3p2JQsUxkv0TXlLDaH2C631BkOITjPlpMnpVJGF/YE6UfC2DgoZNmHBjVDodb nPUh8p4noflnPh4InF7y+LAgn+6afey5tIU= =OLhl -----END PGP SIGNATURE----- --=-=-=--