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#23179: 25.0.92; Restore `M-,' to continue etags search Date: Sun, 14 Apr 2019 22:55:21 +0300 Organization: LINKOV.NET Message-ID: <875zrgxsye.fsf@mail.linkov.net> References: <48066d7c-e4d3-acf5-fdcf-1aa9a108cb90@yandex.ru> <1554100819364-0.post@n8.nabble.com> <1554216459522-0.post@n8.nabble.com> <83mul8fn8d.fsf@gnu.org> <7d450c54-d4f5-b871-91e5-b00019ff323a@yandex.ru> <87pnpy6cau.fsf@mail.linkov.net> <32a0a910-772e-add8-0042-8a7faaea0eb7@yandex.ru> <875zrk46or.fsf@mail.linkov.net> <61b7ea1c-115c-48b7-804e-6cd39578cac3@yandex.ru> <87ftql8t6m.fsf@mail.linkov.net> <78fc92e9-08a2-9bc3-ad8d-1f4817d28f98@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="5293"; 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: 23179@debbugs.gnu.org, pklammer To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 14 22:16:18 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFlY2-0001F5-Fr for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 22:16:18 +0200 Original-Received: from localhost ([127.0.0.1]:40521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFlY1-0004AW-DC for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 16:16:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFlXq-00049d-Ne for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 16:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFlXo-00078n-Qi for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 16:16:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFlXl-000785-TW for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 16:16:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFlXl-000424-Ks for bug-gnu-emacs@gnu.org; Sun, 14 Apr 2019 16:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Apr 2019 20:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23179 X-GNU-PR-Package: emacs Original-Received: via spool by 23179-submit@debbugs.gnu.org id=B23179.155527292415444 (code B ref 23179); Sun, 14 Apr 2019 20:16:01 +0000 Original-Received: (at 23179) by debbugs.gnu.org; 14 Apr 2019 20:15:24 +0000 Original-Received: from localhost ([127.0.0.1]:33212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFlXA-000411-Ea for submit@debbugs.gnu.org; Sun, 14 Apr 2019 16:15:24 -0400 Original-Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:29289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFlX8-00040n-3E for 23179@debbugs.gnu.org; Sun, 14 Apr 2019 16:15:23 -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 DF3DF5C4565; Sun, 14 Apr 2019 20:15:20 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (unknown [100.96.20.50]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 74F385C4608; Sun, 14 Apr 2019 20:15:20 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 14 Apr 2019 20:15:20 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Abiding-Chemical: 45e8eda5348ad717_1555272920627_3033761147 X-MC-Loop-Signature: 1555272920626:2357841497 X-MC-Ingress-Time: 1555272920626 Original-Received: from pdx1-sub0-mail-a10.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a10.g.dreamhost.com (Postfix) with ESMTP id 1DEF782DEB; Sun, 14 Apr 2019 13:15:20 -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=ZlX1mM+ni8aKF1qXu5/VQbxQl04=; b= iFpPfq3yk1JGHxaG/dPJeG2fyRGtbB+1pFC70DhCMmk+w1ZEpleg8tYH7qPAV/hK M8HzLofKcQd09RJFK/Y8ttbt1wffBjC4tGwy+T+T2DTaIoTDbw5fXbA2itcSVGG8 6dDTwKAcVNCAioeYXSvAcm+ry83Yz/7L8gm4zo6ifvg= Original-Received: from mail.jurta.org (m91-129-111-111.cust.tele2.ee [91.129.111.111]) (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-a10.g.dreamhost.com (Postfix) with ESMTPSA id 9972C82DE1; Sun, 14 Apr 2019 13:15:15 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a10 In-Reply-To: <78fc92e9-08a2-9bc3-ad8d-1f4817d28f98@yandex.ru> (Dmitry Gutov's message of "Sun, 14 Apr 2019 15:52:35 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrvdejgddugeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdduuddurdduuddunecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrudduuddrudduuddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruhenucevlhhushhtvghrufhiiigvpedu 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:157641 Archived-At: >> I tried to run rgrep in `emacs -Q' and see that its output is unsorted >> indeed. I forgot that I customized the sorting of the output long ago: >> >> (setq grep-find-template >> "find -type f -print0 | sort -z | xargs -0 -e grep --color -inH -e ") >> ======= > > I see. > > But actually, I looked at the code again, and there's little reason not to > sort in the current implementation. Please try and see if doing that in > project--files-in-directory gives any kind of perceptible slowdown. No perceptible slowdown, thanks. > Doing it in Lisp seems to be the fastest choice (benchmark still shows > a bit of a difference if I do that via "| sort -z"): And also avoids any possible incompatibilities in options of the external command.