[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Human-readable file sorting
From: |
John Wiegley |
Subject: |
Re: Human-readable file sorting |
Date: |
Fri, 19 Feb 2016 18:33:26 -0800 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) |
>>>>> Lars Ingebrigtsen <address@hidden> writes:
> The practical way to implement this is to provide a `file-string-lessp'
> function that can be configured to sort the way the user prefers, defaulting
> to human readable sorting, and then we adjust `directory-files' and other
> file-ey commands to call that instead of `string-lessp'.
If directory-files were made extensible, so a sorting method could be
provided... that sounds like a nice extension to me. So, having a
customization variable defaulting to `string-lessp', with an option to switch
to `string-human-lessp'.
Whether the default should human-lessp is another matter, and something I'd
instinctively want to defer until feedback. But having the extensibility
does sound nice.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
- Human-readable file sorting, Lars Ingebrigtsen, 2016/02/19
- Re: Human-readable file sorting, John Wiegley, 2016/02/19
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/19
- Re: Human-readable file sorting,
John Wiegley <=
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/20
- Re: Human-readable file sorting, Marcin Borkowski, 2016/02/20
- Re: Human-readable file sorting, Lars Ingebrigtsen, 2016/02/20
- Re: Human-readable file sorting, Marcin Borkowski, 2016/02/20
- Re: Human-readable file sorting, Nikolaus Rath, 2016/02/22
- Re: Human-readable file sorting, Marcin Borkowski, 2016/02/22
- Re: Human-readable file sorting, Yuri Khan, 2016/02/23
- Re: Human-readable file sorting, Andreas Schwab, 2016/02/23
- Re: Human-readable file sorting, Marcin Borkowski, 2016/02/24
- Re: Human-readable file sorting, John Wiegley, 2016/02/20