From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Helpful in Emacs? Date: Fri, 10 Sep 2021 09:06:53 +0300 Message-ID: <83czphj75u.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19150"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, me@wilfred.me.uk, stefan@marxist.se, mardani29@yahoo.es To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 10 08:07:47 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOZhS-0004o4-UB for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Sep 2021 08:07:46 +0200 Original-Received: from localhost ([::1]:43702 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOZhR-00082q-Nh for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Sep 2021 02:07:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOZgu-0007ON-3L for emacs-devel@gnu.org; Fri, 10 Sep 2021 02:07:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33566) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOZgr-0003BX-3t; Fri, 10 Sep 2021 02:07:09 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4738 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOZgq-0005Ye-M1; Fri, 10 Sep 2021 02:07:09 -0400 In-Reply-To: (message from Arthur Miller on Thu, 09 Sep 2021 22:23:08 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274491 Archived-At: > From: Arthur Miller > Date: Thu, 09 Sep 2021 22:23:08 +0200 > Cc: me@wilfred.me.uk, Stefan Kangas , > Emacs developers > > "xref-find-references: This command is included in Emacs 25.1, but it's based on > a text search. It is confused by comments and strings, and cannot distinguish > between functions and variables." This is inaccurate and misleading. It might be true for the default back-end (which AFAIR is Grep), but certainly not for all of them. What exactly is a "reference" is determined by the back-end search tool, and some of them understand quite a lot of the programming language of the source files. So please correct that blog to avoid misleading people.