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: Fri, 14 Jun 2019 22:12:07 +0300 Organization: LINKOV.NET Message-ID: <87sgscyoag.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> <83sgscy9iq.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="219257"; 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 To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 21:18:17 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 1hbriJ-000ure-UO for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2019 21:18:16 +0200 Original-Received: from localhost ([::1]:54570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbriI-0003e0-WF for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2019 15:18:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39321) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbriA-0003aU-Ql for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 15:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbri9-0002K6-On for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 15:18:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hbri9-0002Js-JW for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 15:18:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hbri7-0006w9-L3 for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2019 15:18:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jun 2019 19:18:03 +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.156053985126577 (code B ref 36110); Fri, 14 Jun 2019 19:18:03 +0000 Original-Received: (at 36110) by debbugs.gnu.org; 14 Jun 2019 19:17:31 +0000 Original-Received: from localhost ([127.0.0.1]:37822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrhb-0006ub-2p for submit@debbugs.gnu.org; Fri, 14 Jun 2019 15:17:31 -0400 Original-Received: from caracal.birch.relay.mailchannels.net ([23.83.209.30]:24970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbrhZ-0006uF-Bb for 36110@debbugs.gnu.org; Fri, 14 Jun 2019 15:17:29 -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 74CBC2C0868; Fri, 14 Jun 2019 19:17:28 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a62.g.dreamhost.com (100-96-88-48.trex.outbound.svc.cluster.local [100.96.88.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E93932C05D0; Fri, 14 Jun 2019 19:17:27 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a62.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); Fri, 14 Jun 2019 19:17:28 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Print-Left: 3c08d9c578715839_1560539848299_588696005 X-MC-Loop-Signature: 1560539848299:372117357 X-MC-Ingress-Time: 1560539848299 Original-Received: from pdx1-sub0-mail-a62.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a62.g.dreamhost.com (Postfix) with ESMTP id 03B4D80592; Fri, 14 Jun 2019 12:17:25 -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=aabAKDlr1QUBeODVYsccutKhLIU=; b= je6Q2MAINtw3LIPTnxdKtnQvljTSmJarz+5D2x0ea0Lfa3U1tIlYHw49IKbkj1VD OMQhC042tS7tvDv7we9k+jnEhnkI2B6mQXf/fcqT+yk7LbyFeN3YSvLfv5yUJse7 ZxDef8y2oy+v8yTBMzmifE8YD2umJGT/JzoFpB2pFNw= 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-a62.g.dreamhost.com (Postfix) with ESMTPSA id 6C2F38059D; Fri, 14 Jun 2019 12:17:22 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a62 In-Reply-To: <83sgscy9iq.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Jun 2019 09:18:53 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudeiuddgudefkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtledrvddtleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdelrddvtdelpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd 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:160571 Archived-At: >> Anyway, this issue has been very recently fixed in bug#29513 >> (of which this is a duplicate) via find-dired-refine-function. >> So I suggest not documenting the above. > > We could document both ways. > > Btw, the commit which fixed bug#29513 didn't call out the change in > NEWS, let alone in the manual, so we should definitely improve the > docs regarding this issue anyway. Also I see no way to disable its default value with something like: diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 2c76179da0..c563ae533a 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el @@ -123,7 +138,10 @@ find-dired-refine-function output of `find' (one file per line) when this function is called." :version "27.1" :group 'find-dired - :type 'function) + :type '(choice (const :tag "Sort file names lexicographically" + find-dired-sort-by-filename) + (function :tag "Refining function") + (const :tag "No refining" nil))) (defvar find-args nil "Last arguments given to `find' by \\[find-dired].")