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 17:39:40 +0300 Message-ID: <83fv63mvkj.fsf@gnu.org> References: <83oaksmyc8.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433688085 20358 80.91.229.3 (7 Jun 2015 14:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2015 14:41:25 +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 16:41:14 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 1Z1bl9-00055i-KN for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 16:41:11 +0200 Original-Received: from localhost ([::1]:54425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1bl8-0007n9-Jt for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 10:41:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1bl5-0007n4-7a for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 10:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1bl1-0000BG-UH for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 10:41:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1bl1-00009w-NG for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 10:41:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z1bl1-0002rx-9s for bug-gnu-emacs@gnu.org; Sun, 07 Jun 2015 10:41:03 -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 14:41:03 +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.143368803110983 (code B ref 20739); Sun, 07 Jun 2015 14:41:03 +0000 Original-Received: (at 20739) by debbugs.gnu.org; 7 Jun 2015 14:40:31 +0000 Original-Received: from localhost ([127.0.0.1]:44174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1bkT-0002r3-PH for submit@debbugs.gnu.org; Sun, 07 Jun 2015 10:40:30 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:33355) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1bkQ-0002qd-Pd for 20739@debbugs.gnu.org; Sun, 07 Jun 2015 10:40:27 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NPK00100WAH7W00@mtaout25.012.net.il> for 20739@debbugs.gnu.org; Sun, 07 Jun 2015 17:35:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPK00PMVWJJ8K20@mtaout25.012.net.il>; Sun, 07 Jun 2015 17:35:43 +0300 (IDT) In-reply-to: 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:103692 Archived-At: > Date: Sat, 6 Jun 2015 14:57:05 -0700 (PDT) > From: Drew Adams > Cc: 20739@debbugs.gnu.org > > > > First, the doc should specify what I said above (if it is in fact > > > the case): `ls' behavior that depends on the entire list is not > > > available for this use case - the only switches that affect the > > > display are those that depend only on the info for an individual > > > file or dir; other switches are ignored. > > > > 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'. > And anyway I don't think that sort-order switches are the only > ones that are ignored/irrelevant when DIRNAME is a cons. Which other switches are ignored? > 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. > On MS Windows `ls-lisp.el' is used, and it says that it supports > all of these switches: A a B C c F G g h i n R r S s t U u v X > > I think that besides `t' and the other sort switches (besides `r'), > at least `A', `a', `B', and `C' have no effect. "-C" is about the order; the others are meaningless when you specify the files explicitly. The doc string already says that the list of files to display is specified by the 1st argument in this case. So I think the current doc string, after yesterday's changes, fixes the issues you raised. Your other points are specific to ls-lisp.el, so they don't really belong to this bug report, IMO.