From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#952: 23.0.60; cons DIRNAME arg to `dired' makes it ignore SWITCHES arg Date: Tue, 9 Sep 2008 19:24:46 -0700 Message-ID: <004601c912ec$65610a10$0200a8c0@us.oracle.com> Reply-To: Drew Adams , 952@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221014880 21067 80.91.229.12 (10 Sep 2008 02:48:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 02:48:00 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 04:48:55 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KdFlE-00027G-SL for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 04:48:53 +0200 Original-Received: from localhost ([127.0.0.1]:46414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdFkE-0001Ei-PF for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Sep 2008 22:47:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdFk1-00014l-4v for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 22:47:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdFjz-00013h-VL for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 22:47:36 -0400 Original-Received: from [199.232.76.173] (port=43382 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdFjz-00013W-HM for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 22:47:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39446) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdFjy-0004Nn-VT for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2008 22:47:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A2lWJ3013371; Tue, 9 Sep 2008 19:47:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8A2U3Cs006847; Tue, 9 Sep 2008 19:30:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 10 Sep 2008 02:30:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 952 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12210134985061 (code B ref -1); Wed, 10 Sep 2008 02:30:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 10 Sep 2008 02:24:58 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8A2Os3R005054 for ; Tue, 9 Sep 2008 19:24:55 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:36020 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KdFMJ-0004YQ-Hw for emacs-pretest-bug@gnu.org; Tue, 09 Sep 2008 22:23:07 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KdFNy-0001w7-Qw for emacs-pretest-bug@gnu.org; Tue, 09 Sep 2008 22:24:53 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:10762) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdFNy-0001vp-Dl for emacs-pretest-bug@gnu.org; Tue, 09 Sep 2008 22:24:50 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m8A2OkqA019015 for ; Tue, 9 Sep 2008 21:24:47 -0500 Original-Received: from acsmt700.oracle.com (acsmt700.oracle.com [141.146.40.70]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m8A2OjAK021349 for ; Tue, 9 Sep 2008 20:24:46 -0600 Original-Received: from dradamslap1 (/141.144.53.208) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 09 Sep 2008 19:24:44 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckS7GTGZLyeMBgUSIWZuCylay8ELw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Tue, 09 Sep 2008 22:47:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20420 gmane.emacs.pretest.bugs:23029 Archived-At: emacs -Q M-: (dired '("c:/some/dir" "file1.el" "file2.el") "-lC") where c:/some/dir is a directory containing files file1.el and file2.el. The SWITCHES arg is ignored. I've searched the doc and code but found no mention of this. The only doc I've found for the `dired' args is the doc string, and according to that the SWITCHES arg should always be respected. I'm using MS Windows, so ls-lisp.el is involved here. I don't know whether the same thing happens on GNU/Linux. However, switches such as -lC and others that are ignored in this context work fine for (dired "c:/some/dir" "-lC") and (dired "c:/some/dir/file*.el" "-lC"). I see no logical reason why the switches, or at least most of them, shouldn't work also for an explicit list of files. This same bug exists in Emacs 22, 21, and 20. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-29 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'