GNU bug report logs -
#29513
sorting find-dired
Previous Next
Reported by: "Roland Winkler" <winkler <at> gnu.org>
Date: Fri, 1 Dec 2017 00:51:01 UTC
Severity: wishlist
Merged with 36110,
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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 11 Jun 2019 16:15:44 -0500
with message-id <6656.97466.965533.23808 <at> gargle.gargle.HOWL>
and subject line Re: bug#29513: 25.2; find-dired-centinel
has caused the debbugs.gnu.org bug report #29513,
regarding find-dired not sorted on any field nor provides a way
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
29513: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29513
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
find-dired (info "(emacs) Dired and Find") is great, except it is not
sorted on any field, except coincidentally.
find-ls-option is a variable defined in ‘find-dired.el’, alas it only
governs each line and not how those lines are sorted.
Yes that is how find(1) works, but there should be a filter (default "|
sort ...") that sorts on the last field (name). Those people who prefer
jumbled order could unset it.
P.S., the modeline says (Dired by name:exit) which looks weird.
emacs-version "26.1"
[Message part 3 (message/rfc822, inline)]
On Fri Dec 1 2017 Roland Winkler wrote:
> On Fri Dec 1 2017 Eli Zaretskii wrote:
> > Maybe we should simply provide a defcustom, which is a function called
> > by the sentinel. Then users could customize what happens after the
> > files are all collected, be it sort the results or anything else. The
> > advantage will be that we won't need to support every possible tweak
> > of post-processing in core.
>
> Again: fine with me. This could be done such that the *Find* buffer
> is narrowed to the portion containing the output of the shell
> command (as in my patch). Also, as a further option (or default
> value of the defcustom) we could provide a function that sorts by
> file name (thus providing a real-world example of how this new
> defcustom can be used).
See commit 249902d5ad5d3ae3e25323c23a2f442913729ceb.
This bug report was last modified 5 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.