From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: xref-find-references in elisp (Was: Re: grep-at-point) Date: Thu, 12 Jan 2017 02:14:37 +0300 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1484176564 4303 195.159.176.226 (11 Jan 2017 23:16:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2017 23:16:04 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 Cc: Help Gnu Emacs mailing list To: Kaushal Modi , Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 12 00:16:00 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 1cRS6r-0005XF-UU for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jan 2017 00:15:14 +0100 Original-Received: from localhost ([::1]:57762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRS6w-0004f1-DQ for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2017 18:15:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRS6Q-0004eu-0F for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 18:14:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRS6M-0001Jn-1J for help-gnu-emacs@gnu.org; Wed, 11 Jan 2017 18:14:45 -0500 Original-Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cRS6L-0001JW-Pl; Wed, 11 Jan 2017 18:14:41 -0500 Original-Received: by mail-lf0-x241.google.com with SMTP id q89so228796lfi.1; Wed, 11 Jan 2017 15:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=owReDWUTK2pB7UgzkVlQnbRl+5ioL+61v7At9CUDtZE=; b=AqKkcd+KTidzpZml1GqJqrLvZ9PAJOd17FJ9tc6/R8yz+Lu/71/PJKrTfZW+yze/jX azjI+T36YqvmntfCOjh9oBGxmODGvEnKOlc+3zhkHv2gxUTvjUSjsEcfkkrJo5wLJRiE vj2j69YoDtRqUJoPrVaFShad+p5ovlD1nAQX90WTzEWtVKQy+IyQFAkXssrUnmsTI3qJ lpfGNthALLwVV0jut/hwvYntv/o+9u+bTqwAtRTmOO67hgmy8RWt47MC8/CKWN6liEca /GI0QfTkeuwaUReS63oA+TjiXdH61YGgx+GZyIZlufTzIeaPqyw8lbQ+omhmnNh3w1HC qDWQ== 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:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=owReDWUTK2pB7UgzkVlQnbRl+5ioL+61v7At9CUDtZE=; b=cRP2Ek3Bk0lkqKZBb8ZfYDtNgZQI7atjWIsRYqJgmklbyOpQNTUyGpAgblTIPAvVs6 E38+h9m2BhpffsGdqqHdfWpbZgNw5kc7VfJZk7gTWgFnNkb69kYTmcsfavjMtUU5UtKZ j7L+7vTeq4RNsn94AllP+1XPBkNbiJpc5NogSTzLFr7nEiKNW2oVMW+YVoGWj0yhI6Gk uIBDXz1/FSdBH/XXqj6T6NYOn+4YoKCbAsdSi7Y9CGbt25CazqkmMr74rjJA7CX/p28K DAExcyIFqYSpX80dqvlfsfC+2xRtywUBZXgAjlTAA8yzx2nuA5YoKGqTWCW0N6QoCJKn R/oQ== X-Gm-Message-State: AIkVDXLWOcBdqdjXxBSxfAkUX1UHHzZutw33NPfbGqLK1Dy84VDWpE/R1dxBs7RIJPoxlw== X-Received: by 10.25.198.6 with SMTP id w6mr4427865lff.175.1484176479783; Wed, 11 Jan 2017 15:14:39 -0800 (PST) Original-Received: from [192.168.1.174] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id x28sm408043ljd.27.2017.01.11.15.14.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 15:14:38 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::241 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:112103 Archived-At: On 12.01.2017 01:15, Kaushal Modi wrote: > 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?) The package is used. Semantic's parsers are not used, though. > So regardless of availability of idutils or global, it just > uses elisp--xref-find-definitions. Not true. That function is for 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. Both things happen over here.