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; Severity: minor; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 28569 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 28569) by debbugs.gnu.org; 30 Nov 2021 15:08:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 30 10:08:42 2021
Received: from localhost ([127.0.0.1]:42134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ms4kL-00051V-UJ
	for submit <at> debbugs.gnu.org; Tue, 30 Nov 2021 10:08:42 -0500
Received: from quimby.gnus.org ([95.216.78.240]:42700)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1ms4kK-00051D-7T
 for 28569 <at> debbugs.gnu.org; Tue, 30 Nov 2021 10:08:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=eK0yn7fYw9SJNS3IVhiwG+kiM3XEeXpamqtbVW1JGpI=; b=jRynpMtaPwDNXq09/GzMOQTEol
 J9VQIQCdqP76IOKajvx6Hrl6zhquk4yULvRnNIVz4gICYKioNG+E1aokbFVhtL8yFul4klatMy244
 s0FI4mKTrj8u6xTO+CzAN/WDcm+FZVE8nOvJGNP1oS6VptG2D7v3lssHNViizYD6Ws3o=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1ms4kB-0007Ee-D1; Tue, 30 Nov 2021 16:08:33 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#28569: 25.2; dired-sort-toggle-or-edit vs. quote marks
References: <87efqxhddm.fsf@HIDDEN> <87ing9fpn4.fsf@HIDDEN>
 <83shfda2d3.fsf@HIDDEN>
X-Now-Playing: Normil Hawaiians's _More Wealth Than Money_: "Words Are Not
 Enough"
Date: Tue, 30 Nov 2021 16:08:30 +0100
In-Reply-To: <83shfda2d3.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 23 Sep
 2017 17:58:16 +0300")
Message-ID: <87k0gpd6kx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> I don't see what the
 advantage of having him enter >> "--option=value with spaces" >> instead
 of >> --option="value with spaces" is. > > Dired is not a shell, so what works
 and/or is equivalent for [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 28569
Cc: 28569 <at> debbugs.gnu.org,
 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
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: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> I don't see what the advantage of having him enter
>> "--option=value with spaces"
>> instead of
>> --option="value with spaces" is.
>
> Dired is not a shell, so what works and/or is equivalent for a shell
> doesn't need to work the same in Dired.  Just follow the docs.

So there doesn't seem to be anything to fix here, and I'm closing this
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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:58:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 23 10:58:40 2017
Received: from localhost ([127.0.0.1]:54720 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dvltA-0005K2-02
	for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:58:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39857)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1dvlt8-0005Jq-MP
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:58:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1dvlt0-0001qY-CN
 for 28569 <at> debbugs.gnu.org; Sat, 23 Sep 2017 10:58:33 -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_05, MIME_CHARSET_FARAWAY,
 RP_MATCHES_RCVD autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37325)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1dvlt0-0001qS-9H; Sat, 23 Sep 2017 10:58:30 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2710
 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 1dvlsy-0004vs-Ll; Sat, 23 Sep 2017 10:58:30 -0400
Date: Sat, 23 Sep 2017 17:58:16 +0300
Message-Id: <83shfda2d3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: =?shift_jis?B?kM+ST5Py?= Dan Jacobson <jidanni@HIDDEN>
In-reply-to: <87ing9fpn4.fsf@HIDDEN> (message from =?shift_jis?B?kM8=?=
 =?shift_jis?B?kk+T8g==?= Dan Jacobson on
 Sat, 23 Sep 2017 22:36:31 +0800)
Subject: Re: bug#28569: 25.2; dired-sort-toggle-or-edit vs. quote marks
References: <87efqxhddm.fsf@HIDDEN> <87ing9fpn4.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=shift_jis
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: ϒO Dan Jacobson <jidanni@HIDDEN>
> Cc: 28569 <at> debbugs.gnu.org
> Date: Sat, 23 Sep 2017 22:36:31 +0800
> 
> I don't see what the advantage of having him enter
> "--option=value with spaces"
> instead of
> --option="value with spaces" is.

Dired is not a shell, so what works and/or is equivalent for a shell
doesn't need to work the same in Dired.  Just follow the docs.




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: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: Tue, 30 Nov 2021 15:15:01 UTC

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