emacs-devel
[Top][All Lists]
Advanced

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

Re: Human-readable file sorting


From: Stefan Monnier
Subject: Re: Human-readable file sorting
Date: Sat, 20 Feb 2016 21:38:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> 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'.

FWIW, mpc.el does use "human sorting" (see mpc-compare-strings).


        Stefan




reply via email to

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