From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ray Newsgroups: gmane.emacs.help Subject: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` Date: Fri, 8 Dec 2017 13:13:49 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512769365 26094 195.159.176.226 (8 Dec 2017 21:42:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 21:42:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 22:42:42 2017 Return-path: Envelope-to: geh-help-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 1eNQPp-0006da-Jw for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 22:42:41 +0100 Original-Received: from localhost ([::1]:39140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNQPw-0005GM-U7 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 16:42:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNPxw-0007GZ-JK for help-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:13:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNPxv-000509-PD for help-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:13:52 -0500 Original-Received: from mail-ot0-x234.google.com ([2607:f8b0:4003:c0f::234]:40205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNPxv-0004yr-JY for help-gnu-emacs@gnu.org; Fri, 08 Dec 2017 16:13:51 -0500 Original-Received: by mail-ot0-x234.google.com with SMTP id e74so10225156ote.7 for ; Fri, 08 Dec 2017 13:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UE1SeczERxWJtjXH3Bj4Cav4owFkvu0ZW3+Fl0Wv90c=; b=OVi24JmWOly2TzmTKIXTkd/CXCEb5inZOZwpy2BXDSPvb30ALUBlpyQs+qVfjJnpuV vwrOkNN93adLwF8OeLkRTnjkZytDVqlcG+3AxxWn42Hv347jCzeFBCgRWoaMRX+XBr5l 5NdH32877sDONrBuOFcjeMW0p6JwlM8azVXsM5atSEkBTYIgSb/wQEgaqFw93cTIyUMW IyE6S5mxL0frzE33gfyh4FcnHRvLV2I9fRwomyutWHxde9Kp4Kfek/qA5YFYqei73Jb+ ifyGB1S3JdiCiVL3xt3KIAfrsb8N+c6+tLjuism0D+WvOw6mafNLKzQrttnAqsdc/UY5 Y0NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UE1SeczERxWJtjXH3Bj4Cav4owFkvu0ZW3+Fl0Wv90c=; b=mXOGxKRnwjo+ImYBusO9JnMDeJE2jCorgCDykTumomuZGm5Qvu4ELuAifjGf3XuHoh BRUffQy+oRxti4uMnWsgB6i7B4K0GcLsUbOsQEQbZVBDGIAwrFmJssxn70F20QAA+KLl 2Lmr35/4S76yCd2hsAruMZRCkNlgyySwmM4WBbnRXJH9lft4/IlB3RETGAfO8Tbcs38S PqRtkdolozIE1D1+XzF7AbUFYnBirdwn57NAiuMHPQ4qfs9flRkhvgvNGR0O1De7Y1So K3BpZNyetRmtGILT2YGWW01BvgNBSP1SATOLFumVmKEN8D1K8GXHIWwwPDRQG0WhOR/Y yl2Q== X-Gm-Message-State: AJaThX49QYoa/84EDLxlvW6Vh8FuR84cbl138clVr6nsS1omamcp6TjK 1dJZWccCdC0O1/Lqw7EomcrYrWOpSV3XkDFvSQauUQ== X-Google-Smtp-Source: AGs4zMZauz9pY8x+94Dpk11N+fUrE9eYLhzrzVQcIKt72uGA5sX/z9iSCnbRXwCscnxejPeX05GcnsfLfBYTXmpjYig= X-Received: by 10.157.40.142 with SMTP id s14mr27086644ota.159.1512767630143; Fri, 08 Dec 2017 13:13:50 -0800 (PST) Original-Received: by 10.74.71.212 with HTTP; Fri, 8 Dec 2017 13:13:49 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::234 X-Mailman-Approved-At: Fri, 08 Dec 2017 16:42:04 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115311 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. 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.