[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth
From: |
Allen Li |
Subject: |
bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth |
Date: |
Thu, 04 Mar 2021 19:21:39 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> Shouldn't it be compatible with 'rgrep', so 'C-u M-x find-dired' will read
> the whole constructed command line where the user can add more args,
> and 'C-u C-u M-x find-dired' will rerun the same command in another directory.
The way rgrep works right now is very different from how find-dired
works right now:
(rgrep REGEXP &optional FILES DIR CONFIRM)
"When called programmatically and FILES is nil, REGEXP is expected
to specify a command to run."
For comparison:
(find-dired DIR ARGS)
I guess we could make ARGS optional and overload DIR to take a command?
What do you think, Eli?
The new signature would look like:
(find-dired DIR &optional ARGS CONFIRM)
- bug#46884: 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/02
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/02
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/02
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Eli Zaretskii, 2021/03/03
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/03
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Eli Zaretskii, 2021/03/03
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/03
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Juri Linkov, 2021/03/04
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth,
Allen Li <=
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Eli Zaretskii, 2021/03/05
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/12
- bug#46884: [External] : bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Drew Adams, 2021/03/12
- bug#46884: [External] : bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/12
- bug#46884: [External] : bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Drew Adams, 2021/03/12
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Eli Zaretskii, 2021/03/13
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Andreas Schwab, 2021/03/13
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/13
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Juri Linkov, 2021/03/13
- bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth, Allen Li, 2021/03/13