From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master 71783e9: Add the string-numeric-lessp function Date: Mon, 22 Feb 2016 13:51:30 +1100 Message-ID: <87twl1zcct.fsf@gnus.org> References: <20160221043348.25201.81719@vcs.savannah.gnu.org> <87twl2fzaw.fsf@gnus.org> <87oabafwv5.fsf@gnus.org> <87twl2e5ys.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456110045 592 80.91.229.3 (22 Feb 2016 03:00:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 03:00:45 +0000 (UTC) Cc: Stephan Mueller , "emacs-devel@gnu.org" To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 04:00:35 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 1aXgjh-0002hO-VB for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 04:00:34 +0100 Original-Received: from localhost ([::1]:46257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXgjh-0007qw-H5 for ged-emacs-devel@m.gmane.org; Sun, 21 Feb 2016 22:00:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXgbT-0007y0-5M for emacs-devel@gnu.org; Sun, 21 Feb 2016 21:52:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXgbO-0000lw-5q for emacs-devel@gnu.org; Sun, 21 Feb 2016 21:52:03 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:44140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXgbN-0000lp-VB for emacs-devel@gnu.org; Sun, 21 Feb 2016 21:51:58 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aXgb0-0008Sc-T2; Mon, 22 Feb 2016 03:51:35 +0100 In-Reply-To: (Yuri Khan's message of "Mon, 22 Feb 2016 01:35:29 +0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aXgb0-0008Sc-T2 MailScanner-NULL-Check: 1456714296.43384@qRw7t70f4Rp72EuULUeKZg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:200422 Archived-At: Yuri Khan writes: > Skipping zeroes will make strings that differ only in the number of > leading zeros (e.g. 001 and 01) equivalent under that sorting order. > Are you okay with that? Yeah, I think those should be equivalent. If you have a directory with foo003.png and foo1.png, I would expect the latter to be sorted before the former. I think. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no