* How to search in several Dired buffers
@ 2024-09-28 17:23 Kepa via Users list for the GNU Emacs text editor
2024-09-28 17:54 ` [External] : " Drew Adams
0 siblings, 1 reply; 4+ messages in thread
From: Kepa via Users list for the GNU Emacs text editor @ 2024-09-28 17:23 UTC (permalink / raw)
To: Kepa via Users list for the GNU Emacs text editor
Hi
I would like to search in independent folders, like with dired-goto-file.
Is it possible in any way?
I have tried with Dired Plus, using diredp-dired-union, but it doesn't seem to work.
If I opened each folder in a buffer, is a way to browse folders and subfolders of all of them at the same time?
Best regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [External] : How to search in several Dired buffers
2024-09-28 17:23 How to search in several Dired buffers Kepa via Users list for the GNU Emacs text editor
@ 2024-09-28 17:54 ` Drew Adams
2024-09-28 20:28 ` [SOLVED] " Kepa
2024-10-02 17:04 ` [External] " Drew Adams
0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2024-09-28 17:54 UTC (permalink / raw)
To: Kepa; +Cc: 'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
> I would like to search in independent folders, like with dired-goto-
> file.
>
> Is it possible in any way?
>
> I have tried with Dired Plus, using diredp-dired-union, but it doesn't
> seem to work.
Define "doesn't seem to work", please.
`dired-goto-file' depends on an ordinary Dired buffer,
e.g., what's produced by `ls'. It expands your input
FILE name wrt the current subdirectory listing.
A Dired buffer resulting from `diredp-dired-union' is,
however a buffer listing arbitrary files and dirs; it's
not an `ls' listing. `dired-goto-file' won't work in
such buffers. But plain isearch etc. should work fine.
___
Otherwise, I don't have a solution to your question.
Independent folders in the same buffer aren't handled
by ordinary Dired buffers.
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 14236 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [SOLVED] : How to search in several Dired buffers
2024-09-28 17:54 ` [External] : " Drew Adams
@ 2024-09-28 20:28 ` Kepa
2024-10-02 17:04 ` [External] " Drew Adams
1 sibling, 0 replies; 4+ messages in thread
From: Kepa @ 2024-09-28 20:28 UTC (permalink / raw)
To: Drew Adams; +Cc: 'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'
Hi!
It seems that consult-dir can solve it.
https://github.com/karthink/consult-dir
I have added the directories I am working with, and I can go to any file or folder of them in any moment ;D
Best regards
> -----Original Message-----
> Subject: RE: [External] : How to search in several Dired buffers
>
> > I would like to search in independent folders, like with dired-goto-
> > file.
> >
> > Is it possible in any way?
> >
> > I have tried with Dired Plus, using diredp-dired-union, but it doesn't
> > seem to work.
>
> Define "doesn't seem to work", please.
>
> `dired-goto-file' depends on an ordinary Dired buffer, e.g., what's produced by
> `ls'. It expands your input FILE name wrt the current subdirectory listing.
>
> A Dired buffer resulting from `diredp-dired-union' is, however a buffer listing
> arbitrary files and dirs; it's not an `ls' listing. `dired-goto-file' won't work in
> such buffers. But plain isearch etc. should work fine.
> ___
>
> Otherwise, I don't have a solution to your question.
> Independent folders in the same buffer aren't handled by ordinary Dired
> buffers.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [External] : How to search in several Dired buffers
2024-09-28 17:54 ` [External] : " Drew Adams
2024-09-28 20:28 ` [SOLVED] " Kepa
@ 2024-10-02 17:04 ` Drew Adams
1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2024-10-02 17:04 UTC (permalink / raw)
To: Drew Adams, Kepa; +Cc: 'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'
> > I would like to search in independent folders, like with dired-goto-file.
> > Is it possible in any way?
> >
> > I have tried with Dired Plus, using diredp-dired-union, but it doesn't
> > seem to work.
Should work now.
I've now enhanced `dired-goto-file' in Dired+, so it
works also in Dired buffers with listings of arbitrary
files and dirs, i.e., from anywhere.
You can use `diredp-dired-union' to combine listings of
independent folders, as you first tried, then use `j'
(`dired-goto-file') to move to a specific file/dir line.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-02 17:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-28 17:23 How to search in several Dired buffers Kepa via Users list for the GNU Emacs text editor
2024-09-28 17:54 ` [External] : " Drew Adams
2024-09-28 20:28 ` [SOLVED] " Kepa
2024-10-02 17:04 ` [External] " Drew Adams
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).