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: Tue, 04 Aug 2015 04:40:48 -0500 Message-ID: <86mvy7e6hr.fsf@stephe-leake.org> References: <55BE209F.1000009@siege-engine.com> <55BE509B.2080307@yandex.ru> <87r3nkjxby.fsf@isaac.fritz.box> <87h9ogyq6s.fsf@isaac.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438681290 32198 80.91.229.3 (4 Aug 2015 09:41:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2015 09:41:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 11:41:20 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 1ZMYik-0004na-SS for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2015 11:41:19 +0200 Original-Received: from localhost ([::1]:34361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMYik-0001L1-Cj for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2015 05:41:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMYig-0001K4-Qw for emacs-devel@gnu.org; Tue, 04 Aug 2015 05:41:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMYiY-0001FB-8w for emacs-devel@gnu.org; Tue, 04 Aug 2015 05:41:10 -0400 Original-Received: from gproxy6-pub.mail.unifiedlayer.com ([67.222.39.168]:37863) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZMYiX-0000rp-QT for emacs-devel@gnu.org; Tue, 04 Aug 2015 05:41:06 -0400 Original-Received: (qmail 27790 invoked by uid 0); 4 Aug 2015 09:41:01 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy6.mail.unifiedlayer.com with SMTP; 4 Aug 2015 09:41:01 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id 0Zgu1r00E2UdiVW01Zgx3h; Tue, 04 Aug 2015 03:41:01 -0600 X-Authority-Analysis: v=2.1 cv=OJm0g0qB 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=JpUnRbCex_NCwjBwGZ0A:9 Original-Received: from [76.218.37.33] (port=62816 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZMYiL-0002bJ-Uk for emacs-devel@gnu.org; Tue, 04 Aug 2015 03:40:54 -0600 In-Reply-To: (Stefan Monnier's message of "Tue, 04 Aug 2015 03:13:21 -0400") 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.39.168 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:188387 Archived-At: Stefan Monnier writes: > This is not meant to replace/reimplement EDE, but only to provide > a common API between different systems, EDE being hopefully one of > them. It would help if the header comment in project.el said something along those lines. There is a big difference between: "provide an interface between projects and the rest of Emacs" and "provide a core API for implementing projects". The current project.el header is unclear as to which it is intended to be. I was assuming projects.el was the latter, and thus in competition with EDE, projectile, etc. If it's really the former, that puts a much different light on things; it should be providing wrappers/adaptors for EDE, projectile, etc, so grep, compile etc can use project information. In particular, there should be no "xref-find-regexp"; instead, "grep" and similar commands should be enhanced to optionally use project functions to get the search path. -- -- Stephe