From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: xref-find-references in elisp (Was: Re: grep-at-point) Date: Wed, 11 Jan 2017 22:15:27 +0000 Message-ID: References: <20170111094846.122e7235@gauss> <42a1b0b4-b8c2-4eda-a70a-0442c059bb3c@default> <20170111132923.3e18d91f@gauss> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1484172974 1160 195.159.176.226 (11 Jan 2017 22:16:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2017 22:16:14 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 23:16:09 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 1cRRBd-00082x-2i for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 23:16:05 +0100 Original-Received: from localhost ([::1]:57576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRRBh-0007re-Fv for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 17:16:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRRBF-0007rK-KC for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 17:15:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRRBE-0005nW-Qf for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 17:15:41 -0500 Original-Received: from mail-vk0-x235.google.com ([2607:f8b0:400c:c05::235]:35083) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRRBD-0005nC-B8; Wed, 11 Jan 2017 17:15:39 -0500 Original-Received: by mail-vk0-x235.google.com with SMTP id x75so1142609vke.2; Wed, 11 Jan 2017 14:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HlMahbfYx6itTu4QOzT//Os1o1XCXt3whSYVs136V5A=; b=PjzgaTs84ums1gI3R+FeDCuk2fsHv7EsiDVSKg0t+PaopI8L5797EjkPR21Vx3+B0g 3bKwCdeD0KIuTtQkl7MbyuJA/oYjJlN+HWMSq9LHv7VygUUPVJHFSUT8zNXY3qMY0aa6 BzrzGxyU3MDDfljziETVnOFfuAzn94JayeYIjO+Q+OPqEg0qFm6DXjbUfl8KqKozNJmN ddmTVNYYnGdKB1pc4h/Kwzqvs23jiCqjcgkOviV2oTwFjmfY+lZhY5lTZLFeXPJZCHB+ pvLf+tgKz9O9NBJ24HMyliiF6P151avBrONs55iIk2/F8OSGJ295wnkps9ZXNYvBh8l9 byzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HlMahbfYx6itTu4QOzT//Os1o1XCXt3whSYVs136V5A=; b=S+pyoJk9+IZtJa6I6bAompLFEZHDX11xWcjQf60D3iQfBfQisKDhMPIvmdblymCgg8 hHwT86XGBySqgY7ogbHIxJUWwaEh4S40Q9vGfM6eiAL2nLf3XO0gj0g5LxbxGGw4igx4 Bwhe4OPd0F5SFTs9KD61JOSYsCGSzo0MIaiJ2Un+pCcmXF1CadI4T+Qu8DslJ0SOsNH6 JAbXde7y9I2jC6k9W5de76JII0TPIh+2EeiZQ81JXdN7CtavL4rTB6XKMDB52++HCnKQ qXiNTmesXcMp7o9DdTGNmqanH348bRfRPSttoSXacP94b5w3Fby0/+1w1SAjfJDQdi5c 8cww== X-Gm-Message-State: AIkVDXLdqJh++5lqe+Sg8Hljmln9G8tx3a2B1omIbiQXASEkYhsDRCiACo1DK4BzzmXNQLyvkrxzu33WD+bqrg== X-Received: by 10.31.97.1 with SMTP id v1mr5279400vkb.172.1484172938559; Wed, 11 Jan 2017 14:15:38 -0800 (PST) In-Reply-To: <20170111132923.3e18d91f@gauss> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::235 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:112101 Archived-At: Hi Eli, Correct me if I am wrong, but it looks like semantic/symref is not used at all by xref-find-references (probably in emacs-lisp-mode only?) So regardless of availability of idutils or global, it just uses elisp--xref-find-definitions. So if I call xref-find-references in an emacs-lisp-mode buffer, semantic/symref is never required and `semantic-symref-detect-symref-tool' is never called. >> Eli > Install GNU ID-Utils, and this command will be blazingly fast. (By > default it uses Grep, I think.) -- Kaushal Modi