GNU bug report logs - #57334
28.1; Fix wdired with (dired '(dir f1 f2 ...))

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Mon, 22 Aug 2022 06:37:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #43 received at 57334 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Thierry Volpiatto <thievol <at> posteo.net>
Cc: 57334 <at> debbugs.gnu.org
Subject: Re: bug#57334: 28.1; Fix wdired with (dired '(dir f1 f2 ...))
Date: Tue, 23 Aug 2022 03:01:59 +0200
Thierry Volpiatto <thievol <at> posteo.net> writes:

> Hello Emacs,
>
> 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.

I do also have such an advice.  My approach is to make
`wdired-finish-edit' _not_ call `revert-buffer'.  This is faster and
doesn't mess the original file order.  AFAIR one also has to avoid the
`dired-advertize' call for such buffers, else they are confused with
normal buffers displayed the DIR.  And file changes are not propagated
to other dired buffers, that's also something I do manually.

And a different thing is that changes in other dired buffers are not
propagated to these special file-list buffers.  This is a tricky matter.
I think fixing all problems will require some work.  They are not
independent.

Michael.




This bug report was last modified 3 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.