GNU bug report logs - #20739
25.0.50; Dired switches have no effect when explicit list of files provided

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 #952; dated Fri, 5 Jun 2015 08:35: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.

Message received at 20739 <at> debbugs.gnu.org:


Received: (at 20739) by debbugs.gnu.org; 5 Jun 2015 14:56:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 10:56:14 2015
Received: from localhost ([127.0.0.1]:41913 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z0t2b-0005RU-UI
	for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 10:56:14 -0400
Received: from aserp1040.oracle.com ([141.146.126.69]:22868)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0t2Z-0005RE-ID
 for 20739 <at> debbugs.gnu.org; Fri, 05 Jun 2015 10:56:12 -0400
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 t55Eu32s032440
 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Fri, 5 Jun 2015 14:56:04 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t55Eu3oY011810
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
 Fri, 5 Jun 2015 14:56:03 GMT
Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9])
 by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t55Eu3PZ025972;
 Fri, 5 Jun 2015 14:56:03 GMT
MIME-Version: 1.0
Message-ID: <c99ede23-1d6c-45a6-845d-447ee1bc8a8f@default>
Date: Fri, 5 Jun 2015 07:56:02 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: RE: bug#20739: 25.0.50;	Dired switches have no effect when explicit
 list of files provided
References: <<3362479c-11a3-4559-88d6-666f03933440@default>>
 <<831thqp704.fsf@HIDDEN>>
In-Reply-To: <<831thqp704.fsf@HIDDEN>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9  (901082) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: userv0021.oracle.com [156.151.31.71]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 20739
Cc: 20739 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

> Isn't this bug#16533?

I don't know, but I don't think so, after reading that bug thread.

FWIW, in my case the same problem holds for Emacs 24.1.  My impression
from the #16533 thread is that that bug was introduced sometime after
24.1 (but that's not clear to me).

The value of `dired-actual-switches' does get changed, in my case.
For example, in the build for which I reported this bug it gets changed
from "-alF" to "-alFt".  And in Emacs 24.1 it gets changed to "-alF -t".

And the mode line indication does change correctly.  But the file order
does not change - the order is still by file name.

Note that the case I reported is where Dired is reporting about an
explicit list of files, i.e., the DIRNAME argument to `dired' is a
cons, e.g., ("the-Dired-buffer-name" FILE1 FILE2...).  The Dired
listing seems to always show the files in the same order as they
appear in this argument, regardless of `dired-actual-switches'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20739; Package emacs. Full text available.

Message received at 20739 <at> debbugs.gnu.org:


Received: (at 20739) by debbugs.gnu.org; 5 Jun 2015 14:25:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 10:25:29 2015
Received: from localhost ([127.0.0.1]:41871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z0sYq-0004i1-Tw
	for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 10:25:29 -0400
Received: from mtaout29.012.net.il ([80.179.55.185]:34167)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1Z0sYn-0004hl-EO
 for 20739 <at> debbugs.gnu.org; Fri, 05 Jun 2015 10:25:26 -0400
Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il
 (HyperSendmail v2007.08) id <0NPH00O0067IKO00@HIDDEN> for
 20739 <at> debbugs.gnu.org; Fri, 05 Jun 2015 17:24:40 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0NPH00NDO6P4CR40@HIDDEN>; Fri, 05 Jun 2015 17:24:40 +0300 (IDT)
Date: Fri, 05 Jun 2015 17:25:15 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#20739: 25.0.50;
 Dired switches have no effect when explicit list of files provided
In-reply-to: <3362479c-11a3-4559-88d6-666f03933440@default>
X-012-Sender: halo1@HIDDEN
To: Drew Adams <drew.adams@HIDDEN>
Message-id: <831thqp704.fsf@HIDDEN>
References: <3362479c-11a3-4559-88d6-666f03933440@default>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 20739
Cc: 20739 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> Date: Fri, 5 Jun 2015 01:34:40 -0700 (PDT)
> From: Drew Adams <drew.adams@HIDDEN>
> 
> emacs -Q
> 
> Given two files whose names are a.el and b.el, with b.el more recent
> than a.el.
> 
> M-: (dired '("foo" "a.el" "b.el") "-lstF")
> 
> The files are listed in alphabetic order, not by date as specified by
> arg SWITCHES and as indicated in the mode line.
> 
> Hitting `s' any number of times has no effect on the order of the
> files.  But it updates the mode line in a misleading way, saying
> alternately that the files are ordered by dated.

Isn't this bug#16533?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20739; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jun 2015 08:34:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 04:34:57 2015
Received: from localhost ([127.0.0.1]:41080 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z0n5d-0003Gf-2R
	for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 04:34:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41751)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0n5a-0003GS-Rt
 for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 04:34:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0n5U-00010i-S1
 for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 04:34:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:40450)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0n5U-00010e-P9
 for submit <at> debbugs.gnu.org; Fri, 05 Jun 2015 04:34:48 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55258)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0n5T-0002qa-8d
 for bug-gnu-emacs@HIDDEN; Fri, 05 Jun 2015 04:34:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0n5P-000105-8Q
 for bug-gnu-emacs@HIDDEN; Fri, 05 Jun 2015 04:34:47 -0400
Received: from userp1040.oracle.com ([156.151.31.81]:29735)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <drew.adams@HIDDEN>) id 1Z0n5P-000101-22
 for bug-gnu-emacs@HIDDEN; Fri, 05 Jun 2015 04:34:43 -0400
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 t558Yf72005717
 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Fri, 5 Jun 2015 08:34:42 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
 by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t558YfrU001369
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
 for <bug-gnu-emacs@HIDDEN>; Fri, 5 Jun 2015 08:34:41 GMT
Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9])
 by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t558Yfq5026735
 for <bug-gnu-emacs@HIDDEN>; Fri, 5 Jun 2015 08:34:41 GMT
MIME-Version: 1.0
Message-ID: <3362479c-11a3-4559-88d6-666f03933440@default>
Date: Fri, 5 Jun 2015 01:34:40 -0700 (PDT)
From: Drew Adams <drew.adams@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.50; Dired switches have no effect when explicit list of files
 provided
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9  (901082) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

emacs -Q

Given two files whose names are a.el and b.el, with b.el more recent
than a.el.

M-: (dired '("foo" "a.el" "b.el") "-lstF")

The files are listed in alphabetic order, not by date as specified by
arg SWITCHES and as indicated in the mode line.

Hitting `s' any number of times has no effect on the order of the
files.  But it updates the mode line in a misleading way, saying
alternately that the files are ordered by dated.



In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@HIDDEN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1'




Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20739; 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.