emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Human-readable file sorting


From: Eli Zaretskii
Subject: Re: Human-readable file sorting
Date: Sat, 20 Feb 2016 12:53:32 +0200

> Date: Sat, 20 Feb 2016 11:24:43 +0100
> From: martin rudalics <address@hidden>
> Cc: address@hidden
> 
>  > Btw, MS-Windows filesystems sort files internally in the order you
>  > want.  E.g., here's what I get for a directory I set up for testing
>  > this:
>  >
>  >    (directory-files "~/data/tsort")
>  >    => ("." ".." "file1.png" "file10.png" "file11.png" "file2.png" 
> "file3.png" "file31.png" "file4.png" "file5.png" "file6.png" "file8.png" 
> "file9.png")
> 
> I suppose the OP wants "file2.png" listed before "file10.png".

The Explorer already does that, using a special system API, and we
could use it in Emacs as well.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]