From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: xref-collect-references picks wrong search backend Date: Fri, 11 Sep 2015 10:57:42 -0500 Message-ID: <864mj10wzt.fsf@stephe-leake.org> References: <86fv2m1dwa.fsf@stephe-leake.org> <55F22A6D.10905@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441987400 3983 80.91.229.3 (11 Sep 2015 16:03:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2015 16:03:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 11 18:03:09 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZaQiM-0005xb-MH for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 17:58:14 +0200 Original-Received: from localhost ([::1]:57116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQiL-0006Sp-Q1 for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 11:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQiH-0006Ni-5x for emacs-devel@gnu.org; Fri, 11 Sep 2015 11:58:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaQiE-0007iT-1F for emacs-devel@gnu.org; Fri, 11 Sep 2015 11:58:09 -0400 Original-Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:36103) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZaQiD-0007hF-Qt for emacs-devel@gnu.org; Fri, 11 Sep 2015 11:58:05 -0400 Original-Received: (qmail 26045 invoked by uid 0); 11 Sep 2015 15:57:58 -0000 Original-Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy5.mail.unifiedlayer.com with SMTP; 11 Sep 2015 15:57:58 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw2 with id Frxs1r00K2UdiVW01rxvc5; Fri, 11 Sep 2015 09:57:56 -0600 X-Authority-Analysis: v=2.1 cv=C6F6l2/+ c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=ff-B7xzCdYMA:10 a=vaJtXVxTAAAA:8 a=i8Lv_XhWhFhcUFRC-kQA:9 Original-Received: from [76.218.37.33] (port=53963 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZaQi2-0006oZ-08 for emacs-devel@gnu.org; Fri, 11 Sep 2015 09:57:54 -0600 In-Reply-To: <55F22A6D.10905@yandex.ru> (Dmitry Gutov's message of "Fri, 11 Sep 2015 04:12:13 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 67.222.38.55 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189838 Archived-At: Dmitry Gutov writes: > On 09/10/2015 06:40 PM, Stephen Leake wrote: > >> I'm actually using an experimental multi-language project setup that >> provides an xref-find-function that calls xref-collect-references >> directly for elisp searches, so I suggest the following solution: >> >> - Add an optional symref-tool arg to xref-collect-references; my >> xref-find-function can set that to 'grep for elisp searches. > > If you'll find that useful, sure. Ok. >> elisp--xref-find-references could also set it to 'grep. > > Since its definition is pretty much the same as the etags one, I was > going to merge them and put in the new "default" backend. I don't follow. -- -- Stephe