From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28403: 25.2; find-tag works, but xref-find-definitions Date: Mon, 11 Sep 2017 05:38:30 +0300 Message-ID: <83k216t0wp.fsf@gnu.org> References: <201709092240.v89MeFUo014854@psr.com> <201709100250.v8A2o6nL015568@psr.com> <837ex6vd83.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505097565 2121 195.159.176.226 (11 Sep 2017 02:39:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2017 02:39:25 +0000 (UTC) Cc: wbe@psr.com, 28403@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 11 04:39:17 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drEcr-000843-UX for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Sep 2017 04:39:06 +0200 Original-Received: from localhost ([::1]:55092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drEcz-0005jS-0V for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Sep 2017 22:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drEcr-0005j6-Q4 for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drEco-0007UQ-Ne for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drEco-0007UJ-Jr for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drEco-0002b0-CV for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2017 02:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28403 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28403-submit@debbugs.gnu.org id=B28403.15050975099937 (code B ref 28403); Mon, 11 Sep 2017 02:39:02 +0000 Original-Received: (at 28403) by debbugs.gnu.org; 11 Sep 2017 02:38:29 +0000 Original-Received: from localhost ([127.0.0.1]:60126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drEcH-0002aC-Jj for submit@debbugs.gnu.org; Sun, 10 Sep 2017 22:38:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drEcF-0002a0-Oh for 28403@debbugs.gnu.org; Sun, 10 Sep 2017 22:38:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drEc7-00070z-BS for 28403@debbugs.gnu.org; Sun, 10 Sep 2017 22:38:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drEc7-00070v-8T; Sun, 10 Sep 2017 22:38:19 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1drEc6-0003LZ-MN; Sun, 10 Sep 2017 22:38:19 -0400 In-reply-to: (message from Dmitry Gutov on Mon, 11 Sep 2017 00:43:51 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:136760 Archived-At: > Cc: 28403@debbugs.gnu.org > From: Dmitry Gutov > Date: Mon, 11 Sep 2017 00:43:51 +0300 > > > Dmitry, how about providing a more user-friendly customization to that > > effect? As a "fire escape"? > > We can turn etags-xref-find-definitions-tag-order into a defcustom, with > descriptions of what every possible element means. I rather had in mind a variable with a few simple values, and a :set function which would put what's needed into etags-xref-find-definitions-tag-order. IOW, hide the complexity from the UI. > 1) I have hard time imagining how we're going to have descriptions for > both tag-exact-match-p and tag-implicit-name-match-p that are different > and make sense to the user. Simple values with solve that. For starters, we could use just 2: 'exact' and 'fuzzy'. > 2) The user will have to find out about > etags-xref-find-definitions-tag-order first anyway. Will be solved by having the defcustom under a more descriptive name. And since this is a "fire escape", it will be needed relatively rarely. The point is to have it, so we could point users to it. > Or we could add a custom variable to xref with a higher-level meaning... Yes. > that would require support from backends, then. Why?