[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31601: Dired/Wdired: Play nicely with recursive list of files and di

From: Keith David Bershatsky
Subject: bug#31601: Dired/Wdired: Play nicely with recursive list of files and directories.
Date: Sat, 26 May 2018 11:51:35 -0700

Thank you for the alternative approaches.  I applied the new diff and was able 
to successfully use the second option with `find-dired`.

As to the first option, however, I would need to spend time learning about zsh, 
fish and em-ls.  So, that exploration would need to wait for a rainy day.

Oh, by the way, please consider adding a `nil` to the end of `(defvar 
wdired-old-marks)` so that the user does not experience this:

funcall-interactively: Symbol’s value as variable is void: wdired-old-marks

In my spare time, I will most likely continue implementing functionality for 
wdired playing nice with:

(dired (directory-files-recursively "/path/to/directory" "" 

That will entail:  (1) placing read-only text properties over areas that cannot 
be changed; (2) when I modify a directory, I will need to propagate that change 
throughout the applicable entries of `dired-directory'; (3) I will consider 
implementing a hash-table approach with `dired-directory` entries for increased 



DATE:  [05-26-2018 02:02:26] <26 May 2018 18:02:26 +0900>
FROM:  Tino Calancha <address@hidden>
> * * *

> I)
> If you are lucky and "sh" points to a shell that
> supports globstar (zsh, fish), or if you are using dired
> via `em-ls', then you can do:
> M-x dired /path/to/directory/**/* RET
> ;; Now both, wdired and `dired-do-rename' works fine.
> [If you are using bash or ksh, that support globstar but
> disable it by default, then you might be interestd in my
> proposal in Bug#31495: it gives the chance to enable such
> feature on dired via an user option.]
> II)
> Another way could be to use a command of the `find-dired' family:
> M-x find-name-dired /path/to/directory/ RET * RET

* * *

reply via email to

[Prev in Thread] Current Thread [Next in Thread]