From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#29619: Fwd: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` Date: Mon, 11 Dec 2017 12:38:31 +0200 Message-ID: <7e523f9c-6b80-edeb-1982-33f156e3d8f4@yandex.ru> References: <0e97609a-eefc-6e0d-ce2b-6c69651d9990@yandex.ru> <20171211071854.qfrignlnlj57yzgl@hacking> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1512988750 2500 195.159.176.226 (11 Dec 2017 10:39:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2017 10:39:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: 29619@debbugs.gnu.org To: Fangrui Song Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 11:39:07 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 1eOLUI-0000Ur-Id for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 11:39:06 +0100 Original-Received: from localhost ([::1]:52127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOLUP-0007tl-Na for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Dec 2017 05:39:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOLUJ-0007tV-WE for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 05:39:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOLUE-0005cf-Hu for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 05:39:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOLUE-0005cU-CB for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 05:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOLUE-00077J-2W for bug-gnu-emacs@gnu.org; Mon, 11 Dec 2017 05:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Dec 2017 10:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29619 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 29619-submit@debbugs.gnu.org id=B29619.151298872227327 (code B ref 29619); Mon, 11 Dec 2017 10:39:02 +0000 Original-Received: (at 29619) by debbugs.gnu.org; 11 Dec 2017 10:38:42 +0000 Original-Received: from localhost ([127.0.0.1]:56065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOLTu-00076g-FO for submit@debbugs.gnu.org; Mon, 11 Dec 2017 05:38:42 -0500 Original-Received: from mail-wm0-f41.google.com ([74.125.82.41]:38035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOLTs-00076T-Hy for 29619@debbugs.gnu.org; Mon, 11 Dec 2017 05:38:40 -0500 Original-Received: by mail-wm0-f41.google.com with SMTP id 64so13120409wme.3 for <29619@debbugs.gnu.org>; Mon, 11 Dec 2017 02:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=O2JMGFuifJ2RENsxvcqXSsu1T7Y4/Q+RTfVx9dJxKes=; b=RC3HiWDjZwK8ynR5agdlnLxKm5HsdguR9L1I0zLTTXt3YmRKo7aiFauqf2rMIQliBG 6ewMLjU0N6ZGd9tVfByXwtuVIVJPzpe0cSnpskZ9MzYVR/5vsabmsf8sROFUSkTYmQg/ 0JdoVicIWXRCcxD0La8q07bcj8kvEQbEc2iWdUdtDSX3KBFHGNf7JsXM+tW7ZZ7oVmWq F7gHP7pT3olLRCHaAtmVLGHAbSGIDz/YRz4GV6zqhqeJ/u51HA0fXMuvJjuWTQMqKkSX WWLwfIERShfK2NG2Oirh/SnqJGSrf4LIW+wuKXeUIVTRD2MEW846JLUGbWACQn5nRc0h 3KJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=O2JMGFuifJ2RENsxvcqXSsu1T7Y4/Q+RTfVx9dJxKes=; b=h7rKdhDfjwizg3nJuQKYY8BeQJ0LKT9LYPBPcJUmMS0vvOyLFjYHoqPPN2gEXPCUmI FQgo+6XwxnMEK459lOn0qlnJdcPDi7B+kU9bng3aIebpeMmZrgwmjRC77mgorfiSvkf8 hJIuTDBhiU8aY9anAv9WSRd9SOVIDw5AaLs6Xu5pYbCMBtw8998Td5Oa2v6mzlMFRZCF MRcOk4rQs/MQELmdEaK1YhU0IHq1gnsNwOFb+30CAV83kQcRGU95XHnxc63yCJz06awO ZQ+8QljjGOEfc6BcSS/WDS+aufGQn2zXx7B9vYD1/iI0YYKM4LPKmLh3bNp/YDDQbN3r TN7w== X-Gm-Message-State: AKGB3mK+uEHZuIzDNb6pHXxlUu2Qnamb5tx92FXzJNbnXruYAhJBOYP3 4MWxxfNJdAeS/24elJkw8Q6YQx0L X-Google-Smtp-Source: ACJfBovZCmw1FQU78ZUAaDWpjlbqmf7Vq7cY94HOpHZtjnSLP+1x1dVuDaW4dmopvQWYSQsHyTpz5Q== X-Received: by 10.80.208.26 with SMTP id j26mr469149edf.109.1512988714528; Mon, 11 Dec 2017 02:38:34 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id j3sm6242052edh.55.2017.12.11.02.38.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Dec 2017 02:38:33 -0800 (PST) In-Reply-To: <20171211071854.qfrignlnlj57yzgl@hacking> Content-Language: en-US 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:140919 Archived-At: On 12/11/17 9:18 AM, Fangrui Song wrote: > The identifier (if chosen from xref prompt) is ignored by Language > Server Protocol and only the position information is what matters. The value is not ignored. Only its text properties are used, but that's fine. Looking at xref-backend-identifier-completion-table, it allows navigation to all (?) symbols in the "document", so the xref API seems to be used as intended.