GNU bug report logs - #36110
find-dired not sorted on any field nor provides a way

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 5 Jun 2019 23:37:01 UTC

Severity: wishlist

Merged with 29513, 36123

Found in version 25.2

Fixed in version 27.1

Done: "Roland Winkler" <winkler <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 36110 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#36110: find-dired not sorted on any field nor provides a way
Date: Sun, 16 Jun 2019 05:39:05 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: jidanni <at> jidanni.org,  36110 <at> debbugs.gnu.org
> Date: Sun, 16 Jun 2019 01:36:45 +0300
> 
> >> diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
> >> index 9f454ea2ad..2befcf1bbd 100644
> >> --- a/doc/emacs/dired.texi
> >> +++ b/doc/emacs/dired.texi
> >> @@ -1340,7 +1340,9 @@ Dired and Find
> >>    The format of listing produced by these commands is controlled by
> >>  the variable @code{find-ls-option}.  This is a pair of options; the
> >>  first specifying how to call @command{find} to produce the file listing,
> >> -and the second telling Dired to parse the output.
> >> +and the second telling Dired to parse the output.  To sort file names
> >> +lexicographically, you can customize @code{find-ls-option} to the value
> >> +@code{'("-exec ls -ld @{@} +" . "-ld")}
> >
> > This should qualify the suggestion to using GNU Find, right?
> 
> grep-find-use-xargs defines such a command as `exec',
> whereas GNU Find is defined as a combination of `find -print0'
> and `xargs -0'.  From docstring of grep-find-use-xargs:
> 
>  If `exec', use `find -exec {} ;'.
>  If `exec-plus' use `find -exec {} +'.
>  If `gnu', use `find -print0' and `xargs -0'.

I meant the "+" part, I think it's GNU-specific?




This bug report was last modified 5 years and 342 days ago.

Previous Next


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