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: Mon, 22 Feb 2016 21:00:12 +0200 Message-ID: <83wppwk1tv.fsf@gnu.org> References: <87povs41xg.fsf@gnus.org> <87bn7c3yms.fsf@gnus.org> <83si0npxtn.fsf@gnu.org> <87si0nlirx.fsf@gnus.org> <8360xjpq91.fsf@gnu.org> <87oabbli5g.fsf@gnus.org> <831t87pnjo.fsf@gnu.org> <87d1rqkdx1.fsf@gnus.org> <87lh6dzc16.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456167641 22365 80.91.229.3 (22 Feb 2016 19:00:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 19:00:41 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 20:00:40 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 1aXvio-0006R3-J9 for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 20:00:38 +0100 Original-Received: from localhost ([::1]:51279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvio-000083-8b for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 14:00:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvil-00006l-4w for emacs-devel@gnu.org; Mon, 22 Feb 2016 14:00:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXvih-0003Dd-Cd for emacs-devel@gnu.org; Mon, 22 Feb 2016 14:00:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvih-0003DY-9E; Mon, 22 Feb 2016 14:00:31 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1482 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXviX-0000Xz-H2; Mon, 22 Feb 2016 14:00:22 -0500 In-reply-to: (message from Richard Stallman on Mon, 22 Feb 2016 13:01:25 -0500) 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:200492 Archived-At: > From: Richard Stallman > CC: eliz@gnu.org, emacs-devel@gnu.org > Date: Mon, 22 Feb 2016 13:01:25 -0500 > > > > 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'. > > > Yes, I agree. But Eli pointed out (I think :-)) that this setting may > > actually be something that will (or should) affect more than file name > > sorting. > > I don't think we should do that. I think rather that we should > have separate variables to select a sort method for other things. Why do we need a variable? The relevant functions accept an argument that is the comparison function, so the callers could simply pass the function they wanted.