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: Tue, 23 Feb 2016 20:00:58 +0200 Message-ID: <83mvqri9wl.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> <83wppwk1tv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456250526 26987 80.91.229.3 (23 Feb 2016 18:02:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 18:02:06 +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 Tue Feb 23 19:02:05 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 1aYHHh-0006Xw-Hz for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2016 19:02:05 +0100 Original-Received: from localhost ([::1]:58961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHHh-0001cC-4K for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2016 13:02:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHGu-0000mU-5q for emacs-devel@gnu.org; Tue, 23 Feb 2016 13:01:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYHGq-0007gQ-4L for emacs-devel@gnu.org; Tue, 23 Feb 2016 13:01:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHGq-0007gL-1e; Tue, 23 Feb 2016 13:01:12 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2684 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aYHGi-00024o-TI; Tue, 23 Feb 2016 13:01:05 -0500 In-reply-to: (message from Richard Stallman on Tue, 23 Feb 2016 12:43:22 -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:200559 Archived-At: > From: Richard Stallman > CC: larsi@gnus.org, emacs-devel@gnu.org > Date: Tue, 23 Feb 2016 12:43:22 -0500 > > > > 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. > > I think we are talking about two different questions. > You seem to be talking about low-level primitives. I am talking > about how users customize the behavior of commands. Fair enough, but which commands were you talking about, specifically? (Lars did talk about invoking functions from Lisp programs, which is why I talked about that as well. But I don't recall commands for sorting files where this issue would be applicable; the only one that comes to mind -- Dired -- delegates sorting to 'ls'.)