From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20739: 25.0.50; Dired switches have no effect when explicit list of files provided Date: Sun, 07 Jun 2015 22:09:31 +0300 Message-ID: <838ubvmj2s.fsf@gnu.org> References: <186494c2-6958-42eb-a351-6543237bfb75@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433704241 1690 80.91.229.3 (7 Jun 2015 19:10:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2015 19:10:41 +0000 (UTC) Cc: 20739@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 21:10:26 2015 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 1Z1fxf-0005a9-53 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 21:10:23 +0200 Original-Received: from localhost ([::1]:55034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1fxY-0000Tn-Vp for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 15:10:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1fxV-0000Tf-CI for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 15:10:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1fxO-0006n8-0C for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 15:10:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1fxN-0006lG-Th for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 15:10:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z1fxM-00070I-TM for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 15:10:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2015 19:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20739 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20739-submit@debbugs.gnu.org id=B20739.143370419726904 (code B ref 20739); Sun, 07 Jun 2015 19:10:04 +0000 Original-Received: (at 20739) by debbugs.gnu.org; 7 Jun 2015 19:09:57 +0000 Original-Received: from localhost ([127.0.0.1]:44312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1fxE-0006zs-3b for submit@debbugs.gnu.org; Sun, 07 Jun 2015 15:09:56 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:56777) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1fxB-0006zd-2b for 20739@debbugs.gnu.org; Sun, 07 Jun 2015 15:09:54 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NPL00M008UKHO00@a-mtaout22.012.net.il> for 20739@debbugs.gnu.org; Sun, 07 Jun 2015 22:09:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPL00M0I98ACC50@a-mtaout22.012.net.il>; Sun, 07 Jun 2015 22:09:46 +0300 (IDT) In-reply-to: <186494c2-6958-42eb-a351-6543237bfb75@default> X-012-Sender: halo1@inter.net.il 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:103713 Archived-At: > Date: Sun, 7 Jun 2015 10:34:18 -0700 (PDT) > From: Drew Adams > Cc: 20739@debbugs.gnu.org > > > > > I've found no switches that are ignored as result of this > > > > implementation, except those that control the order of the > > > > files in the listing, so that's what I stated in the doc string. > > > > I think this makes the actual behavior clear enough. > > > > > > It is not about the order. `r' works, for example - it reverses > > > the order. > > > > No, it doesn't. The order is always the same as in the list you > > pass to 'dired'. > > That's not what I see. > > (dired ("foo" "/path/to/bbbbb" "/path/to/foo.el" "/path/to/bar.el") > "-alFr") > > shows the files in Dired in the reverse order: bar.el, foo.el, > bbbbb. Not in my Emacs, built from the latest development sources. > > > It's not about switches that control the order. It's about > > > switches that deal with directory (or directories) themselves, > > > their entire contents, as opposed to switches that deal only > > > with an individual entry to be listed or that (like `r') deal > > > only with the set of entries without needing any knowledge of > > > the directory. > > > > Yes, and those are all the switches that control the order of > > presenting the files in the listing. > > I don't agree. Unless you are interpreting "switches that control > the order" as including any switch that affects the display. I do. > You say that -C, for instance, "controls the order". At least > here (I'm using Cygwin), -C lists the entries by columns. It > does not change/control the order. It shows them in column-wise order. > > "-C" is about the order; the others are meaningless when you specify > > the files explicitly. > > Whether -A, -a, and -B are meaningless is in the eye of the user. > The point is that if you specify an explicit . or .., switch -A > still lists those directories. They are also shown without -A or -a. Specifying any files lists them regardless. > Why do you think that what is controlled by the ls-lisp.el code > has nothing to do with this bug report? Because 'dired' the function is not defined in ls-lisp.el, and it works even without ls-lisp. > The bug is about certain Dired switches having no effect when > DIRNAME is a cons, even though they could work (have the usual > effect). Exactly. And they have or don't have effect regardless of ls-lisp.