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: progmodes/project.el and search paths Date: Wed, 05 Aug 2015 01:02:11 -0500 Message-ID: <86mvy6cly4.fsf@stephe-leake.org> References: <55BE209F.1000009@siege-engine.com> <55BE509B.2080307@yandex.ru> <87r3nkjxby.fsf@isaac.fritz.box> <87h9ogyq6s.fsf@isaac.fritz.box> <86mvy7e6hr.fsf@stephe-leake.org> <55C0F9C7.8010006@yandex.ru> <86vbcudebp.fsf@stephe-leake.org> <55C11A81.7040403@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438754577 16894 80.91.229.3 (5 Aug 2015 06:02:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2015 06:02:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 08:02:46 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 1ZMrmm-00073I-Gk for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2015 08:02:44 +0200 Original-Received: from localhost ([::1]:39215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMrml-0005We-NU for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2015 02:02:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMrmd-0005WX-5E for emacs-devel@gnu.org; Wed, 05 Aug 2015 02:02:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMrmZ-0002sZ-Vf for emacs-devel@gnu.org; Wed, 05 Aug 2015 02:02:35 -0400 Original-Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:50994) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZMrmZ-0002s3-OI for emacs-devel@gnu.org; Wed, 05 Aug 2015 02:02:31 -0400 Original-Received: (qmail 20532 invoked by uid 0); 5 Aug 2015 06:02:25 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy1.mail.unifiedlayer.com with SMTP; 5 Aug 2015 06:02:25 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw3 with id 102H1r0092UdiVW0102LoJ; Wed, 05 Aug 2015 06:02:24 -0600 X-Authority-Analysis: v=2.1 cv=Qc314Krv 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=y7kgw_RnJtkA:10 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=uRRa74qj2VoA:10 a=vaJtXVxTAAAA:8 a=vT-Zd7TUjgKjML64egoA:9 Original-Received: from [76.218.37.33] (port=55156 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZMrmL-0002RQ-QD for emacs-devel@gnu.org; Wed, 05 Aug 2015 00:02:17 -0600 In-Reply-To: <55C11A81.7040403@yandex.ru> (Dmitry Gutov's message of "Tue, 4 Aug 2015 23:03: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: 69.89.25.95 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:188424 Archived-At: Dmitry Gutov writes: > On 08/04/2015 10:49 PM, Stephen Leake wrote: > >> I suggest adding "and Emacs core functions", to emphasize that grep etc >> should use the project facilities, and also mention existing backends: > > I don't particularly like that. We're obviously talking about only > some of the "core functions" (and it's debatable whether Grep is one > of them). At least "Lisp programs" is a superset of them. > >> I thought you agreed that the compilation-mode output of grep was better >> for this than the xref display. > > You stated that. I never agreed. I just mentioned that it has an > advantage (each result is displayed as soon as the process finds it), > but we should be able to implement it for xref as well, using > generators. Ok, so xref-find-regexp uses the project search path by default, and the xref display; it uses a user-specified root dir with C-u. Do you aggree it would be good if rgrep supported an option to use the project search path? Possibly only via the command grep-project (or project-grep)? -- -- Stephe