GNU bug report logs - #28569
25.2; dired-sort-toggle-or-edit vs. quote marks

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: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Sat, 23 Sep 2017 13:43:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 28569) by debbugs.gnu.org; 23 Sep 2017 14:36:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 10:36:39 2017
Received: from localhost ([127.0.0.1]:54700 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvlXr-0002wT-6R
	for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:36:39 -0400
Received: from homie.mail.dreamhost.com ([208.97.132.208]:45892
 helo=homiemail-a3.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1dvlXp-0002wI-CV
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:36:37 -0400
Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 772A6284081;
 Sat, 23 Sep 2017 07:36:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=mjGpxgA5+9GIJxlb7lRGNro5rW8=; b=NEshxJZmyRK9H
 +lLAp5SoO2EawHlXaHHX1fKE0qC7XBtJu6WllBmfQwQFjBxWVDq1Zy86IUCF6RTu
 z21MNduAuzWA4LlZwjXQe0jonOpO7aoLhFr9psY1oLTUKu+nAAkSW4kG998elIMo
 ZCsXPwIZCOu1C55uFvHuxxtGYy14NQ=
Received: from jidanni.org (36-234-68-111.dynamic-ip.hinet.net [36.234.68.111])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id 3F96A28406A;
 Sat, 23 Sep 2017 07:36:34 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#28569: 25.2; dired-sort-toggle-or-edit vs. quote marks
References: <87efqxhddm.fsf@HIDDEN>
Date: Sat, 23 Sep 2017 22:36:31 +0800
Message-ID: <87ing9fpn4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 28569
Cc: 28569 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -0.0 (/)

I think the user should just be able to enter things to C-u s just like
he does in the shell. And C-u s should parse the arguments for him.
I don't see what the advantage of having him enter
"--option=value with spaces"
instead of
--option="value with spaces" is.
Both should work in my opinion, and whatever dirty work of parsing
should be done behind the scenes by the program.




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

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


Received: (at 28569) by debbugs.gnu.org; 23 Sep 2017 14:25:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 10:25:37 2017
Received: from localhost ([127.0.0.1]:54690 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvlNA-0001rj-Qs
	for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:25:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dvlN9-0001rX-UW
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:25:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dvlN1-0003rx-JE
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:25:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36631)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dvlN1-0003rt-Gb; Sat, 23 Sep 2017 10:25:27 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2699
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1dvlMz-0002n7-KF; Sat, 23 Sep 2017 10:25:27 -0400
Date: Sat, 23 Sep 2017 17:25:14 +0300
Message-Id: <83tvzta3w5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: jidanni@HIDDEN
In-reply-to: <83vak9a53l.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 23
 Sep 2017 16:59:10 +0300)
Subject: Re: bug#28569: 25.2; dired-sort-toggle-or-edit vs. quote marks
References: <87efqxhddm.fsf@HIDDEN> <83vak9a53l.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28569
Cc: 28569 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sat, 23 Sep 2017 16:59:10 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 28569 <at> debbugs.gnu.org
> 
>   Options that include embedded whitespace must be quoted
>   like this: \"--option=value with spaces\"; you can use
>   ‘combine-and-quote-strings’ to produce the correct quoting of
>   each option.

Sorry, that should be

   "--option=value with spaces"

without the backslashes.




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

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


Received: (at 28569) by debbugs.gnu.org; 23 Sep 2017 14:17:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 10:17:28 2017
Received: from localhost ([127.0.0.1]:54686 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvlFI-0001gG-0G
	for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:17:28 -0400
Received: from homie.mail.dreamhost.com ([208.97.132.208]:59328
 helo=homiemail-a3.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1dvlFF-0001g8-NM
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:17:26 -0400
Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 1A4EF284081;
 Sat, 23 Sep 2017 07:17:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type:
 content-transfer-encoding; s=jidanni.org; bh=0wFNh5WHR4+8hH4ycbX
 HA7JpDDc=; b=cvBmqdtdh5IQBnFxw9//6LNbC4ES7ndAZbjFQj9K1SM4G9h3y/G
 XmIm3z580EnEbkij/mL2rPodH0DgHBTxqSZu6UT/yKrkkHziXWI9PduaOOb1O2NO
 C/+T+ODY8uvhdYGc0fdH2x+n6oMP8zzQ3UwCWT0pQ6azaQvz4kaQzYKg=
Received: from jidanni.org (36-234-68-111.dynamic-ip.hinet.net [36.234.68.111])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id D5A1428406A;
 Sat, 23 Sep 2017 07:17:23 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#28569: 25.2; dired-sort-toggle-or-edit vs. quote marks
References: <87efqxhddm.fsf@HIDDEN>
Date: Sat, 23 Sep 2017 22:17:21 +0800
Message-ID: <87shfdfqj2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 28569
Cc: 28569 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -0.0 (/)

Maybe the docstring should remind that --option=3D\"value with spaces\"
won't work.

EZ>   Options that include embedded whitespace must be quoted
EZ>   like this: \"--option=3Dvalue with spaces\"; you can use
EZ>   =E2=80=98combine-and-quote-strings=E2=80=99 to produce the correct =
quoting of
EZ>   each option.

Actually perhaps just parse the line like the shell does... And then
both would work.




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

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


Received: (at 28569) by debbugs.gnu.org; 23 Sep 2017 13:59:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 09:59:26 2017
Received: from localhost ([127.0.0.1]:54680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvkxq-0001F0-Fb
	for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:59:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60700)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dvkxo-0001En-Al
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:59:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dvkxf-0001MQ-3Q
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:59:19 -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.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36374)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dvkxe-0001MK-Vs; Sat, 23 Sep 2017 09:59:15 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2666
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1dvkxd-0005y9-UK; Sat, 23 Sep 2017 09:59:14 -0400
Date: Sat, 23 Sep 2017 16:59:10 +0300
Message-Id: <83vak9a53l.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
In-reply-to: <87efqxhddm.fsf@HIDDEN>
Subject: Re: bug#28569: 25.2; dired-sort-toggle-or-edit vs. quote marks
References: <87efqxhddm.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28569
Cc: 28569 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: 積丹尼 Dan Jacobson
> 	<jidanni@HIDDEN>
> Date: Sat, 23 Sep 2017 19:18:29 +0800
> 
> User sees arguments with embedded spaces on
> (info "(coreutils) Formatting file timestamps")
> and tries one.
> 
> He types C-u s which runs the command dired-sort-toggle-or-edit
> and at the prompt gives:
> 
> ls switches (must contain -l): -olt --time-style='+%Y-%m-%d %H:%M:%S.%N %z'
> 
> Alas, it turns out if the string contains any kind of quote mark, the
> entire dired screen will go blank, with the error
> 
> insert-directory: Listing directory failed but ‘access-file’ worked

Did you read the doc string of dired-listing-switches?  It explains
how to specify long options that include whitespace.  (Hint: Dired is
not a shell, so shell-style quoting is not necessarily appropriate.)

Oh, I see that Emacs 25.2 doesn't yet have that bit in the doc string.
Well, but what will become Emacs 26.1 does.  Here's that text, for
your convenience:

  Options that include embedded whitespace must be quoted
  like this: \"--option=value with spaces\"; you can use
  ‘combine-and-quote-strings’ to produce the correct quoting of
  each option.




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

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


Received: (at submit) by debbugs.gnu.org; 23 Sep 2017 13:42:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 09:42:17 2017
Received: from localhost ([127.0.0.1]:53665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvkhF-0000b4-0W
	for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:42:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1dvkhC-0000ar-U5
 for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:42:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1dvkh7-0007qi-3t
 for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:42:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46275)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1dvkh7-0007qU-0t
 for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 09:42:09 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49951)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1dvkh6-0005hZ-1F
 for bug-gnu-emacs@HIDDEN; Sat, 23 Sep 2017 09:42:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1dvkh1-0007nl-3T
 for bug-gnu-emacs@HIDDEN; Sat, 23 Sep 2017 09:42:08 -0400
Received: from homie.mail.dreamhost.com ([208.97.132.208]:59494
 helo=homiemail-a14.g.dreamhost.com)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1dvkh0-0007n5-R1
 for bug-gnu-emacs@HIDDEN; Sat, 23 Sep 2017 09:42:03 -0400
Received: from homiemail-a14.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a14.g.dreamhost.com (Postfix) with ESMTP id 038CB392076
 for <bug-gnu-emacs@HIDDEN>; Sat, 23 Sep 2017 06:42:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type:
 content-transfer-encoding; s=jidanni.org; bh=4szNlOqjRfTj3lP7m1n
 pncJPczU=; b=W8t/G6f2G/7Fg0xSdgW7mS9+i2FT8xNFtolfaanLK4/kVPe/2QU
 mrKgdGnSzKoj9SxmDC7Y5epxQuabravVoe3x6em/ZZVrhiR6/tO0Gyd7MCfzp/uC
 H/YlX0tQHyj3/pMXIHv4B8iJ6pr4RVSAQM7fpm9Tq5a0/KSd6EXLpPKI=
Received: from jidanni.org (36-234-68-111.dynamic-ip.hinet.net [36.234.68.111])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by homiemail-a14.g.dreamhost.com (Postfix) with ESMTPSA id BC7F4392070
 for <bug-gnu-emacs@HIDDEN>; Sat, 23 Sep 2017 06:41:59 -0700 (PDT)
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; dired-sort-toggle-or-edit vs. quote marks
Date: Sat, 23 Sep 2017 19:18:29 +0800
Message-ID: <87efqxhddm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic] [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -5.0 (-----)

User sees arguments with embedded spaces on
(info "(coreutils) Formatting file timestamps")
and tries one.

He types C-u s which runs the command dired-sort-toggle-or-edit
and at the prompt gives:

ls switches (must contain -l): -olt --time-style=3D'+%Y-%m-%d %H:%M:%S.%N=
 %z'

Alas, it turns out if the string contains any kind of quote mark, the
entire dired screen will go blank, with the error

insert-directory: Listing directory failed but =E2=80=98access-file=E2=80=
=99 worked




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@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#28569; 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: Sat, 23 Sep 2017 14:45:01 UTC

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