From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jixiuf Newsgroups: gmane.emacs.devel Subject: Re: Xref completion Date: Mon, 7 Dec 2020 23:12:05 +0800 Message-ID: References: <873617ets1.fsf@ambrevar.xyz> <878sazzsw5.fsf@mail.linkov.net> <7593e751-cff0-7c1a-7d4c-f927a16c07c9@yandex.ru> <3b255b14-6494-99dc-1e78-9607e0d1fcd9@yandex.ru> <87tut351ea.fsf@mail.linkov.net> <9bbe9827-8e96-e45c-2e0f-23a4fb5aea33@yandex.ru> <87pn3q8ulz.fsf@mail.linkov.net> <7e7e6923-851f-c1c0-4816-d84debe6570b@yandex.ru> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?Daniel_Mart=C3=ADn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 07 16:25:50 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kmIOa-00073v-RI for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 16:25:48 +0100 Original-Received: from localhost ([::1]:40394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmIOZ-0008MU-Rx for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Dec 2020 10:25:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmIMZ-0006gF-Ma for emacs-devel@gnu.org; Mon, 07 Dec 2020 10:23:43 -0500 Original-Received: from n9-44.mail.139.com ([221.176.9.44]:8325) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmIMR-0003PC-8R for emacs-devel@gnu.org; Mon, 07 Dec 2020 10:23:43 -0500 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Original-Received: from [192.168.173.22] (unknown[114.255.108.162]) by rmsmtp-rmapp-25-12052 (RichMail) with SMTP id 2f145fce46b18ab-c0645; Mon, 07 Dec 2020 23:14:02 +0800 (CST) X-RM-TRANSID: 2f145fce46b18ab-c0645 In-Reply-To: X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=221.176.9.44; envelope-from=jixiuf@139.com; helo=n9-44.mail.139.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260484 Archived-At: > 2020=E5=B9=B412=E6=9C=887=E6=97=A5 =E4=B8=8B=E5=8D=885:27=EF=BC=8CDaniel= Mart=C3=ADn =E5=86=99=E9=81=93=EF=BC=9A >=20 > Dmitry Gutov writes: >>=20 >> On the one hand, it feels kinda faster, on the other, it lacks the >> ability to "look around" when you really need it. In an ideal world, = I=20 >> guess the UI would be somewhere in the middle. >=20 > One of the reasons I see people integrate Ivy/Helm with Xref is to = have > fuzzy filtering of the results, but I don't see why we couldn't have > that in the *xref* buffer. >=20 > First I thought if we could implement this by extending an existing > Emacs command like flush-lines or occur to "teach" it about the > specificities of the *xref* buffer, but that doesn't seem very clean. I think it=E2=80=99s great to make *xref* supporting wgrep or = occur-edit-mode.