GNU bug report logs - #952
23.0.60; cons DIRNAME arg to `dired' makes it ignore SWITCHES arg

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Drew Adams" <drew.adams@HIDDEN>; merged with #20739; dated Wed, 10 Sep 2008 02:30:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 952 20739. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package 'emacs,ls-lisp,w32' to 'emacs,w32'. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package `emacs,w32' to `emacs,ls-lisp,w32'. Request was from Jason Rumney <jasonr@HIDDEN> to control@HIDDEN. Full text available.
bug reassigned from package `emacs' to `emacs,w32'. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,
	RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 10 Sep 2008 02:24:58 +0000
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 <submit@HIDDEN>; Tue, 9 Sep 2008 19:24:55 -0700
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 <drew.adams@HIDDEN>)
	id 1KdFMJ-0004YQ-Hw
	for emacs-pretest-bug@HIDDEN; Tue, 09 Sep 2008 22:23:07 -0400
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <drew.adams@HIDDEN>)
	id 1KdFNy-0001w7-Qw
	for emacs-pretest-bug@HIDDEN; Tue, 09 Sep 2008 22:24:53 -0400
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 <drew.adams@HIDDEN>)
	id 1KdFNy-0001vp-Dl
	for emacs-pretest-bug@HIDDEN; Tue, 09 Sep 2008 22:24:50 -0400
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 <emacs-pretest-bug@HIDDEN>; Tue, 9 Sep 2008 21:24:47 -0500
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 <emacs-pretest-bug@HIDDEN>; Tue, 9 Sep 2008 20:24:46 -0600
Received: from dradamslap1 (/141.144.53.208)
	by default (Oracle Beehive Gateway v4.0)
	with ESMTP ; Tue, 09 Sep 2008 19:24:44 -0700
From: "Drew Adams" <drew.adams@HIDDEN>
To: <emacs-pretest-bug@HIDDEN>
Subject: 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@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
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

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'
 





Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#952; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 5 Jun 2015 18:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.