GNU bug report logs -
#31601
Dired/Wdired: Play nicely with recursive list of files and directories.
Previous Next
Full log
View this message in rfc822 format
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" "" 'include-directories))
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 speed.
Keith
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DATE: [05-26-2018 02:02:26] <26 May 2018 18:02:26 +0900>
FROM: Tino Calancha <tino.calancha <at> gmail.com>
>
> * * *
> 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
* * *
This bug report was last modified 7 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.