From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ray Newsgroups: gmane.emacs.bugs Subject: bug#29619: Fwd: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` Date: Fri, 8 Dec 2017 13:27:58 -0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512770121 10137 195.159.176.226 (8 Dec 2017 21:55:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 21:55:21 +0000 (UTC) To: 29619@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 22:55:16 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 1eNQbz-0002Fw-9y for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 22:55:15 +0100 Original-Received: from localhost ([::1]:39186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQbx-0002Qr-SG for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 16:55:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQbq-0002Ql-BY for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:55:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNQbm-0007Pb-GN for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:55:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNQbm-0007PS-CR for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNQbl-00084i-UV for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ray Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2017 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29619 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151277004330967 (code B ref -1); Fri, 08 Dec 2017 21:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Dec 2017 21:54:03 +0000 Original-Received: from localhost ([127.0.0.1]:52957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNQao-00083P-UQ for submit@debbugs.gnu.org; Fri, 08 Dec 2017 16:54:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNQBj-0007Sk-Qe for submit@debbugs.gnu.org; Fri, 08 Dec 2017 16:28:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNQBd-0004Js-Q2 for submit@debbugs.gnu.org; Fri, 08 Dec 2017 16:28:02 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eNQBd-0004Je-MS for submit@debbugs.gnu.org; Fri, 08 Dec 2017 16:28:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQBc-00067J-Lr for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:28:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNQBb-0004JA-Qi for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:28:00 -0500 Original-Received: from mail-ot0-x235.google.com ([2607:f8b0:4003:c0f::235]:42346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNQBb-0004J4-MC for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:27:59 -0500 Original-Received: by mail-ot0-x235.google.com with SMTP id i1so10252093oth.9 for ; Fri, 08 Dec 2017 13:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=c27PiuazCCyHouvuih3XtjuClgcx6/TJ6Ud72KCGeGI=; b=g5QC0UKaKBII25IdqPlcMetYRNLI5bT+TOyDm3HvnN4MqC9nQktQb8iNwA3XxgRs23 PnDWC+ElX+fFbcxTnTMZ27glEGzZpHR4Rtxg1MHonXElWooNA8UHWndxjfQYwdbKs7BH TQS5oX1Q0LyINIfjD/e34oCxYWszfI4LWQZswkaUeSNIFFsHfiNaTEd+yO+91nKUFbgB jd8g3zNADO02XkksEeEMYAqWvF/5ttdFklOUe3hyL/NRwLVpVwCpHitvHlZYTNfffsdw eIUTOlu3UmXrZntLhWLf5+zYVRuYzDPn1Ch/9kG7NAQcyhQbu27rDJfAxtPv9sruqXeF IeFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=c27PiuazCCyHouvuih3XtjuClgcx6/TJ6Ud72KCGeGI=; b=DJBSrueVQmWKJa9oTvMs7DpBNUGQ0liwmjZQn1qEGdtnDAFVJS+sJVWTYB8PQOGp8Y w5VS11QX7nWccjVZl1lBEQ50PAgjfS4RVzgXQMAp1RKKo7oYOXqwAbwksFjA89wNE24p 1Yh+KbyaGo4BU+aq8lduhQAX1zuKvmSkYUR4fhrb5AZBaMSNkmupMQL3elCvffd3BSzl EqDJbnbc6svyZHvjz6/dQnWi1Sc+ge2ybli59Ki3VTHjSvK3b9l64kcO8MlfudqP1XfR Ogd4Vs+/WjCLuDZELJsMSet5CRXu2dlBwgiZN3tybDVKZdrFffXTNCCJWXo0BrsaFp2I 9LWw== X-Gm-Message-State: AKGB3mI0Y8koaJk8AD7P29nzwS7uSBa1tgTWLFsROuhihF8a5F1NDIMI pz3/ZHUwMw5wp58MdiPRYSsPxKWQIqXE7lbyLZ+dCg== X-Google-Smtp-Source: AGs4zMbn50sXg03UI6yGdUcccqHxcnc1W3qkP+NsL5EJj7M8kVdxmGYh5nDVRsDxLjCKP2uAqTLh83a7Mj7Usvp3Jt4= X-Received: by 10.157.83.38 with SMTP id g38mr7377490oth.340.1512768478730; Fri, 08 Dec 2017 13:27:58 -0800 (PST) Original-Received: by 10.74.71.212 with HTTP; Fri, 8 Dec 2017 13:27:58 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 08 Dec 2017 16:54:02 -0500 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:140840 Archived-At: Currently, xref-find-references prompts for the identifier to look up, because it is not listed in xref-prompt-for-identifier: (defcustom xref-prompt-for-identifier '(not xref-find-definitions xref-find-definitions-other-window xref-find-definitions-other-frame) It will be much core convenient to add xref-find-references in the list. Many language servers now support finding references. lsp-mode is a clinet implementation for Emacs and there is some work to make it into Emacs. https://github.com/emacs-lsp/lsp-mode/issues/83 The typical usage of lsp-mode is to put point at some identifier and hit a shortcut (by default M-?) to trigger xref-find-references. The prompt is in many cases undesired.