From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44611: Prefix arg for xref-goto-xref Date: Fri, 25 Dec 2020 09:37:33 +0200 Message-ID: <83h7oanxoi.fsf@gnu.org> References: <87k0up68e4.fsf@mail.linkov.net> <99772eb6-5a4e-7cf6-259d-0e9429e6bf97@yandex.ru> <878sb3n0a9.fsf@mail.linkov.net> <48f942f9-a557-0185-25fe-612e78cd9071@yandex.ru> <875z67gd6z.fsf@mail.linkov.net> <72e9e5e9-651f-401f-2e26-faaac1b7fdb5@yandex.ru> <87v9cxleff.fsf@mail.linkov.net> <834kkhtaxm.fsf@gnu.org> <874kkgswg2.fsf@mail.linkov.net> <83v9cwsct7.fsf@gnu.org> <87k0tab3y0.fsf@mail.linkov.net> <83pn31rg5a.fsf@gnu.org> <877dp9ycq6.fsf@mail.linkov.net> <837dp8r250.fsf@gnu.org> <4a0c8870-e2e7-97c7-5808-afa704ebee13@yandex.ru> <83mty4pj0u.fsf@gnu.org> <878s9o1ck2.fsf@mail.linkov.net> <837dp7q3hi.fsf@gnu.org> <2e07d6d1-5a83-77c3-7915-8efa46fd47c3@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27137"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, joaotavora@gmail.com, 44611@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 25 08:39:30 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kshhC-0006yG-LG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Dec 2020 08:39:30 +0100 Original-Received: from localhost ([::1]:58968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kshhB-00038k-AK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Dec 2020 02:39:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kshgk-00038N-FO for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2020 02:39:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kshgk-0001lC-6d for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2020 02:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kshgj-0001HB-SR for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2020 02:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2020 07:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44611-submit@debbugs.gnu.org id=B44611.16088818834827 (code B ref 44611); Fri, 25 Dec 2020 07:39:01 +0000 Original-Received: (at 44611) by debbugs.gnu.org; 25 Dec 2020 07:38:03 +0000 Original-Received: from localhost ([127.0.0.1]:56707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kshfm-0001Fl-N4 for submit@debbugs.gnu.org; Fri, 25 Dec 2020 02:38:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kshfk-0001FG-00 for 44611@debbugs.gnu.org; Fri, 25 Dec 2020 02:38:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54083) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kshfd-0001HO-R3; Fri, 25 Dec 2020 02:37:53 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3137 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kshfc-0007uv-7Z; Fri, 25 Dec 2020 02:37:53 -0500 In-Reply-To: <2e07d6d1-5a83-77c3-7915-8efa46fd47c3@yandex.ru> (message from Dmitry Gutov on Thu, 24 Dec 2020 23:38:52 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196688 Archived-At: > Cc: joaotavora@gmail.com, 44611@debbugs.gnu.org > From: Dmitry Gutov > Date: Thu, 24 Dec 2020 23:38:52 +0200 > > On 24.12.2020 05:36, Eli Zaretskii wrote: > > > Why does project-find-regexp need to use Xref for displaying the hits? > > why not use Grep-like display we use in *grep* buffers? > > These days the default Xref buffer is pretty much Grep-like. Certainly > much closer to grep-mode than it had been in the first versions. That > old UI was a lot more completion-like in its behavior. > > This happened gradually, after we have addressed feedback from you and > other users, so that xref-find-references and project-find-regexp behave > more in a fashion that you would expect from it. And those > expectations were surely informed by Grep and other built-in modes. Then why do we need to have 2 separate modes? Are there any plans for replacing grep-mode with xref-mode in all the commands that use the former? Do we also want to replace compilation-mode with xref-mode? If the plan is to make such replacements, that could be a good idea, and we can discuss the roadmap towards that goal. Such a roadmap should include a transition plan that will help people migrate as painlessly as possible, including the key bindings and the somewhat different looks. And perhaps _then_ we will have a good enough reason we don't have now to rebind xref-mode's TAB in Emacs 28. I didn't see any discussions to that effect, and in any case such discussions need to be on emacs-devel, not here. If the intent is indeed to make such a migration, let's announce the plan, and let's define the roadmap which we want to follow. It's a significant change, and we should be careful in how we do it.