From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#36110: find-dired not sorted on any field nor provides a way Date: Sun, 16 Jun 2019 01:36:45 +0300 Organization: LINKOV.NET Message-ID: <8736kala7u.fsf@mail.linkov.net> References: <875zpjipe7.8.fsf@jidanni.org> <87y32efp01.fsf@mail.linkov.net> <87tvd2p7gi.5.fsf@jidanni.org> <87r27xglua.fsf@mail.linkov.net> <83tvcsya2r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57293"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 36110@debbugs.gnu.org, jidanni@jidanni.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 16 01:18:50 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcHwf-000Ei2-Qa for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2019 01:18:50 +0200 Original-Received: from localhost ([::1]:36924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcHwe-0004wy-RK for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jun 2019 19:18:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36422) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcHvw-0004kI-EX for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 19:18:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcHvv-0002a6-Bq for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 19:18:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcHvu-0002YX-Ux for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 19:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcHvu-0006cj-Pl for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 19:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2019 23:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36110 X-GNU-PR-Package: emacs Original-Received: via spool by 36110-submit@debbugs.gnu.org id=B36110.156064068225453 (code B ref 36110); Sat, 15 Jun 2019 23:18:02 +0000 Original-Received: (at 36110) by debbugs.gnu.org; 15 Jun 2019 23:18:02 +0000 Original-Received: from localhost ([127.0.0.1]:39395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcHvt-0006cI-DU for submit@debbugs.gnu.org; Sat, 15 Jun 2019 19:18:01 -0400 Original-Received: from antelope.elm.relay.mailchannels.net ([23.83.212.4]:49907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcHvr-0006c8-G8 for 36110@debbugs.gnu.org; Sat, 15 Jun 2019 19:18:00 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C5CE4500700; Sat, 15 Jun 2019 23:17:57 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a24.g.dreamhost.com (100-96-38-146.trex.outbound.svc.cluster.local [100.96.38.146]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2B204500E73; Sat, 15 Jun 2019 23:17:57 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a24.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sat, 15 Jun 2019 23:17:57 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Bitter-Society: 39c0ec355c3926dd_1560640677539_2557350249 X-MC-Loop-Signature: 1560640677539:1924030307 X-MC-Ingress-Time: 1560640677539 Original-Received: from pdx1-sub0-mail-a24.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTP id 3FE6181FE7; Sat, 15 Jun 2019 16:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=s6CtuLVVgY3icbEVRRx8wNp49fE=; b= Arq82LrxPYyj4sJ0uusy2HpXqCG4Q1XKWSoyTj3/ylbTCjmc40It4CkSoEW13Mwq r+owmThHxeJ6uvnfWNrMbcX3fxgfDJifmt95fUh9B+2cESK2NPLku+YsD8UZ2UKI A8t9jnhsH199w81z3Mjtoi38o1DsndU9yI4aj8VTYGU= Original-Received: from mail.jurta.org (m91-129-109-209.cust.tele2.ee [91.129.109.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTPSA id 0F518826C7; Sat, 15 Jun 2019 16:17:43 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a24 In-Reply-To: <83tvcsya2r.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Jun 2019 09:06:52 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudeigedgvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdelrddvtdelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtledrvddtledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160637 Archived-At: >> diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi >> index 9f454ea2ad..2befcf1bbd 100644 >> --- a/doc/emacs/dired.texi >> +++ b/doc/emacs/dired.texi >> @@ -1340,7 +1340,9 @@ Dired and Find >> The format of listing produced by these commands is controlled by >> the variable @code{find-ls-option}. This is a pair of options; the >> first specifying how to call @command{find} to produce the file listing, >> -and the second telling Dired to parse the output. >> +and the second telling Dired to parse the output. To sort file names >> +lexicographically, you can customize @code{find-ls-option} to the value >> +@code{'("-exec ls -ld @{@} +" . "-ld")} > > This should qualify the suggestion to using GNU Find, right? grep-find-use-xargs defines such a command as `exec', whereas GNU Find is defined as a combination of `find -print0' and `xargs -0'. From docstring of grep-find-use-xargs: If `exec', use `find -exec {} ;'. If `exec-plus' use `find -exec {} +'. If `gnu', use `find -print0' and `xargs -0'.