From: Thierry Volpiatto <thievol@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 57334@debbugs.gnu.org
Subject: bug#57334: 28.1; Fix wdired with (dired '(dir f1 f2 ...))
Date: Mon, 22 Aug 2022 14:51:31 +0000 [thread overview]
Message-ID: <871qt849et.fsf@posteo.net> (raw)
In-Reply-To: <83czcsbjst.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Thierry Volpiatto <thievol@posteo.net>
>> Date: Mon, 22 Aug 2022 06:23:52 +0000
>>
>> 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 advice
>> 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.
>>
>> To reproduce the bug from emacs -Q:
>>
>> 1) Ensure ~/tmp/test.txt and ~/tmp/test2.txt exist
>> 2) (dired '("~/tmp" "/home/thierry/tmp/test.txt" "/home/thierry/tmp/test2.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.
--
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 686 bytes --]
next prev parent reply other threads:[~2022-08-22 14:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 6:23 bug#57334: 28.1; Fix wdired with (dired '(dir f1 f2 ...)) Thierry Volpiatto
2022-08-22 10:27 ` Lars Ingebrigtsen
2022-08-22 14:42 ` Thierry Volpiatto
2022-08-22 14:54 ` Lars Ingebrigtsen
2022-08-22 14:59 ` Lars Ingebrigtsen
2022-08-22 15:45 ` Thierry Volpiatto
2022-08-22 15:56 ` Lars Ingebrigtsen
2022-08-22 18:46 ` Thierry Volpiatto
2022-08-22 18:49 ` Lars Ingebrigtsen
2022-08-22 20:05 ` Thierry Volpiatto
2022-08-23 4:50 ` Thierry Volpiatto
2022-08-23 10:04 ` Lars Ingebrigtsen
2022-08-23 10:53 ` Thierry Volpiatto
2022-08-22 11:26 ` Eli Zaretskii
2022-08-22 14:51 ` Thierry Volpiatto [this message]
2022-08-23 1:01 ` Michael Heerdegen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qt849et.fsf@posteo.net \
--to=thievol@posteo.net \
--cc=57334@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).