From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#18051: 24.3.92; ls-lisp: Sorting; make ls-lisp-string-lessp a normal function? Date: Fri, 18 Jul 2014 09:33:21 +0200 Message-ID: <871ttj5dfi.fsf@web.de> References: <87ha2f5gp8.fsf@web.de> <838unr6ttu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405668866 1602 80.91.229.3 (18 Jul 2014 07:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jul 2014 07:34:26 +0000 (UTC) Cc: 18051@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 18 09:34:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1X82gL-0002O9-Uf for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jul 2014 09:34:18 +0200 Original-Received: from localhost ([::1]:48417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X82gL-0003EX-Ih for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jul 2014 03:34:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X82gC-0003C7-Td for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2014 03:34:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X82g6-0008R5-Bs for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2014 03:34:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X82g6-0008R1-8N for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2014 03:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X82g5-0003lO-Qr for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2014 03:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Jul 2014 07:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18051-submit@debbugs.gnu.org id=B18051.140566882114438 (code B ref 18051); Fri, 18 Jul 2014 07:34:01 +0000 Original-Received: (at 18051) by debbugs.gnu.org; 18 Jul 2014 07:33:41 +0000 Original-Received: from localhost ([127.0.0.1]:57874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X82fh-0003kk-D4 for submit@debbugs.gnu.org; Fri, 18 Jul 2014 03:33:41 -0400 Original-Received: from mout.web.de ([212.227.15.3]:49859) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X82fb-0003kT-Ku for 18051@debbugs.gnu.org; Fri, 18 Jul 2014 03:33:35 -0400 Original-Received: from drachen.dragon ([94.217.127.201]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MUEoU-1WzlC424Yc-00R2j8; Fri, 18 Jul 2014 09:33:22 +0200 In-Reply-To: <838unr6ttu.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Jul 2014 09:53:49 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-Provags-ID: V03:K0:GazOo9jA0fsNuXxmjQbCC7ph3AH9AH9RWtKS9MMaeDLXaMAtdRU UQxZFFFL+smQ0Eq7kmHwGrcvpRhriLvk2jTXYCaN7P6VICWvOhzcNRs88ti5CAC8xd+jFeb R9NffywXx5HNGVT7fr2yVo6t8JExCEcDb5c8/2H/nQg5gFelXu71SIrEgYdHyVOmA/PQFnk ihP8VQKp9RN76Z4Asb16Q== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91625 Archived-At: Eli Zaretskii writes: > ls-lisp emulates the Unix and GNU 'ls'. So I will generally oppose to > introducing any option into it that cannot be had with an external > 'ls' program, as long as the latter is the main method of getting a > Dired buffer. (If Emacs ever decides that ls-lisp becomes the main > method, and will use it by default on all supported platforms, this > objection will no longer be valid, of course.) That's a bit what I expected, and makes sense. I would welcome ls-lisp to become the default, btw. Sorting in dired could generally be improved a lot. If you want sorting by size, you need to edit the switches, which is not very handy (there are addons for that job). I needed to define the whole `dired-sort-toggle-or-edit' because it hardcodes -t whereby I prefer -c. > An alternative to what you want would be a Dired-level feature, which > then will be available also to those who don't use ls-lisp. That would be a really good thing (if it doesn't slow down things). But before this is reality ... could I please get my `ls-lisp-string-lessp' defined as a function? Michael.