From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Human-readable file sorting Date: Sat, 20 Feb 2016 17:52:13 +0200 Message-ID: <83povrnzv6.fsf@gnu.org> References: <87povs41xg.fsf@gnus.org> <87bn7c3yms.fsf@gnus.org> <83si0npxtn.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455983568 383 80.91.229.3 (20 Feb 2016 15:52:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 15:52:48 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Pierpaolo Bernardi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 20 16:52:41 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aX9po-0004TK-FL for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 16:52:40 +0100 Original-Received: from localhost ([::1]:33716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX9pn-00049u-T2 for ged-emacs-devel@m.gmane.org; Sat, 20 Feb 2016 10:52:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX9ph-00049a-H4 for emacs-devel@gnu.org; Sat, 20 Feb 2016 10:52:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX9pc-0006Pt-RV for emacs-devel@gnu.org; Sat, 20 Feb 2016 10:52:33 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX9pc-0006Po-Ok; Sat, 20 Feb 2016 10:52:28 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2558 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aX9pc-0008Uz-0E; Sat, 20 Feb 2016 10:52:28 -0500 In-reply-to: (message from Pierpaolo Bernardi on Sat, 20 Feb 2016 16:35:42 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200322 Archived-At: > Date: Sat, 20 Feb 2016 16:35:42 +0100 > From: Pierpaolo Bernardi > Cc: Lars Ingebrigtsen , Emacs developers > > On Sat, Feb 20, 2016 at 9:53 AM, Eli Zaretskii wrote: > > > Please don't call that function `file-string-lessp', or anything that > > has "file" in it. This sorting order has nothing to do with files. > > Names I can suggest include "logical", "intuitive", and "numerical". > > The established name is "natural sort". There's no reason to invent a new one? > > https://en.wikipedia.org/wiki/Natural_sort_order I didn't invent anything. The names I suggested are established as well, in various environments. Of course, "natural" is also fine. My point was that "file sorting order" is not something we should use for this feature, as doing so would unnecessarily narrow its intended application domain.