From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: master 71783e9: Add the string-numeric-lessp function Date: Mon, 7 Mar 2016 18:06:26 -0800 Organization: UCLA Computer Science Department Message-ID: <56DE33A2.20402@cs.ucla.edu> References: <20160221043348.25201.81719@vcs.savannah.gnu.org> <87twl2fzaw.fsf@gnus.org> <56CA2C66.7040306@cs.ucla.edu> <87povpzc9c.fsf@gnus.org> <56CA8578.2030004@cs.ucla.edu> <87twl1xul1.fsf@gnus.org> <56CA8BB8.6040908@cs.ucla.edu> <8737s3jfrr.fsf@mail.linkov.net> <56DCD115.30707@cs.ucla.edu> <87r3fllusk.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457402833 19613 80.91.229.3 (8 Mar 2016 02:07:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 02:07:13 +0000 (UTC) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 03:07:04 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 1ad735-0000jH-RE for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2016 03:07:00 +0100 Original-Received: from localhost ([::1]:59603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad72z-0007ry-Rb for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2016 21:06:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad72l-0007rd-Cw for emacs-devel@gnu.org; Mon, 07 Mar 2016 21:06:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad72g-0007au-DD for emacs-devel@gnu.org; Mon, 07 Mar 2016 21:06:39 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad72g-0007a9-6e for emacs-devel@gnu.org; Mon, 07 Mar 2016 21:06:34 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 916B1160504; Mon, 7 Mar 2016 18:06:32 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id W1ECJW5EmuG6; Mon, 7 Mar 2016 18:06:31 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 94F7D160E46; Mon, 7 Mar 2016 18:06:31 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AjlGlV639IG0; Mon, 7 Mar 2016 18:06:31 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6F54C160504; Mon, 7 Mar 2016 18:06:31 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <87r3fllusk.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:201103 Archived-At: Juri Linkov wrote: > Still this is the weirdest sorting order that I've ever seen > where single backups come before, but numbered backups after: > > -rw-r--r-- 1 158,018 Mar 8 01:04 dired.el~ > -rw-r--r-- 1 158,018 Mar 8 01:05 dired.el > -rw-r--r-- 1 158,018 Mar 8 01:01 dired.el.~1~ > -rw-r--r-- 1 158,018 Mar 8 01:02 dired.el.~2~ > -rw-r--r-- 1 158,018 Mar 8 01:03 dired.el.~3~ I like it, as it clearly separates the two backup styles in the hopefully rare case where people have edited the same file with different backup styles. (I don't use numbered backups so I don't run into the latter sort of names much.) As it happens, someone complained about this GNU ls behavior many years ago: https://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00250.html with a response essentially the same as mine (great minds think alike ...): https://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00254.html Presumably the behavior could be changed in GNU 'ls', though this sounds low priority. Anyway, I'd rather have Emacs and 'ls' behave the same by default, when sorting by version; that seems like a no-brainer.