emacs-devel
[Top][All Lists]
Advanced

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

Re: Human-readable file sorting


From: Richard Stallman
Subject: Re: Human-readable file sorting
Date: Sun, 21 Feb 2016 18:36:00 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > That's true.  But we were talking just about sorting file names, and
  > allowing the users to control how file name should be sorted.  And
  > having that customisation apply to non-file functions, too, would be
  > rather odd.

I think we should have a new comparison function that compares
two strings in this "natural" way.  Perhaps 'string-natural-lessp'.

Then we should have a global variable that specifies which function
to use to compare file names.  Its value could be 'string-lessp' or
'string-natural-lessp' or something else.  Its name could be
'file-name-comparison-function'.

Then we want some user interface to make it easy to choose one of
those two functions as the value of 'file-name-comparison-function'.
-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.




reply via email to

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