From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23223: 25.0.92; Can xref-find-references be sped up? Date: Thu, 07 Apr 2016 05:49:33 +0300 Message-ID: <83oa9mku9u.fsf@gnu.org> References: <83pou4m6h7.fsf@gnu.org> <902ac022-3a76-c363-0c77-12b1cdb8d521@yandex.ru> <8351f540-d999-125c-9ad2-2e1b221f9bf5@yandex.ru> <834mbemz78.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459997481 16725 80.91.229.3 (7 Apr 2016 02:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2016 02:51:21 +0000 (UTC) Cc: 23223@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 07 04:51:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ao02I-0001Rl-7G for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Apr 2016 04:51:10 +0200 Original-Received: from localhost ([::1]:47106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao02H-0007tC-Mq for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Apr 2016 22:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao02E-0007sd-Rv for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 22:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ao02A-0002uI-2H for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 22:51:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao029-0002uE-VB for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 22:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ao029-0004Sz-O2 for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2016 22:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Apr 2016 02:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23223 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23223-submit@debbugs.gnu.org id=B23223.145999740417106 (code B ref 23223); Thu, 07 Apr 2016 02:51:01 +0000 Original-Received: (at 23223) by debbugs.gnu.org; 7 Apr 2016 02:50:04 +0000 Original-Received: from localhost ([127.0.0.1]:52304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ao01E-0004Rp-4j for submit@debbugs.gnu.org; Wed, 06 Apr 2016 22:50:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ao01B-0004RH-IN for 23223@debbugs.gnu.org; Wed, 06 Apr 2016 22:50:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ao011-0002hN-Mk for 23223@debbugs.gnu.org; Wed, 06 Apr 2016 22:49:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ao011-0002hJ-JE; Wed, 06 Apr 2016 22:49:51 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2586 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ao010-0005YC-VW; Wed, 06 Apr 2016 22:49:51 -0400 In-reply-to: (message from Dmitry Gutov on Thu, 7 Apr 2016 02:11:39 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:116147 Archived-At: > Cc: 23223@debbugs.gnu.org > From: Dmitry Gutov > Date: Thu, 7 Apr 2016 02:11:39 +0300 > > On 04/06/2016 08:20 PM, Eli Zaretskii wrote: > > > Sounds like a bug in reporting matches. > > A bug in the matcher, maybe? Could be, but less likely. I looked at the Lisp scanner code and didn't say anything that could explain this. Moreover, the fid command correctly shows both defmacro and cl-defmacro being present in, say, lisp/ibuf-macs.el. > > We invoke lid with the -w > > switch, which should have reported only complete symbols, AFAIU > > (although the documentation confusingly talks about "words"). Perhaps > > report this to the developers. > > I suspected the wording would mean that it just invokes Grep and uses > the "boundary" anchors (\b), but no, doing a Grep search for > "\beval-when\b" yields a bigger (and more consistent) set of matches. No, lid doesn't invoke Grep, AFAIR.