From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#36110: find-dired not sorted on any field nor provides a way Date: Fri, 14 Jun 2019 08:26:57 +0200 Message-ID: <87a7ekfzri.fsf@igel.home> References: <875zpjipe7.8.fsf@jidanni.org> <87y32efp01.fsf@mail.linkov.net> <87tvd2p7gi.5.fsf@jidanni.org> <87r27xglua.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="160029"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) Cc: 36110@debbugs.gnu.org, Juri Linkov To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 08:28:26 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 1hbfhJ-000fSt-9n for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2019 08:28:25 +0200 Original-Received: from localhost ([::1]:48748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbfhI-000501-8Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2019 02:28:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54442) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbfgy-0004xq-Dm for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 02:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbfgx-00061r-Hb for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 02:28:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbfgv-000612-VD for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 02:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbfgv-0000yN-PU for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 02:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jun 2019 06:28:01 +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.15604936223661 (code B ref 36110); Fri, 14 Jun 2019 06:28:01 +0000 Original-Received: (at 36110) by debbugs.gnu.org; 14 Jun 2019 06:27:02 +0000 Original-Received: from localhost ([127.0.0.1]:36494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbffy-0000wz-E0 for submit@debbugs.gnu.org; Fri, 14 Jun 2019 02:27:02 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:44923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbffw-0000wZ-Fl for 36110@debbugs.gnu.org; Fri, 14 Jun 2019 02:27:01 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45Q9cf6wYbz1rHDD; Fri, 14 Jun 2019 08:26:58 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45Q9cf5Km7z1qqkS; Fri, 14 Jun 2019 08:26:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id JewnUo9-fAgd; Fri, 14 Jun 2019 08:26:57 +0200 (CEST) X-Auth-Info: Qie7eoXDQdrfCjABy5/9f61BVHGdLYASEOha4gcSVtHO+Mrx0q7TRS9nraEpQfWk Original-Received: from igel.home (ppp-46-244-172-177.dynamic.mnet-online.de [46.244.172.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 14 Jun 2019 08:26:57 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 36B5B2C1086; Fri, 14 Jun 2019 08:26:57 +0200 (CEST) X-Yow: Why was I BORN? In-Reply-To: (Glenn Morris's message of "Thu, 13 Jun 2019 20:12:14 -0400") 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:160540 Archived-At: On Jun 13 2019, Glenn Morris wrote: > Glenn Morris wrote: > >>> +@code{'("-exec ls -ld @{@} +" . "-ld")} >> >> Oh, I see you've changed it to the "+" form. >> It looks like this does give sorted output, but I find it surprising. >> Is it assured? > > I verified on a directory with a large number of files that the output > is not sorted. (I didn't see how it could be, given how find works.) > But it does appear as if individual "chunks" are sorted, which can give > the appearance of the whole output being sorted if you don't have a lot > of files. They are sorted by ls, for each invocation of it. But it is unspecified how find will split the invocations if there are more files than fit on the command line. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."