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: find-file-project Date: Wed, 16 Sep 2015 09:13:36 -0500 Message-ID: <86twquzc33.fsf@stephe-leake.org> References: <86pp1j4ejm.fsf@stephe-leake.org> <55F899EA.7050700@yandex.ru> <86lhc73wog.fsf@stephe-leake.org> <55F8F2FA.6060902@yandex.ru> <867fnq1oe9.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442412863 31220 80.91.229.3 (16 Sep 2015 14:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2015 14:14:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 16 16:14:13 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 1ZcDTN-0000EV-RO for ged-emacs-devel@m.gmane.org; Wed, 16 Sep 2015 16:14:09 +0200 Original-Received: from localhost ([::1]:51047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcDTN-0001f5-Jd for ged-emacs-devel@m.gmane.org; Wed, 16 Sep 2015 10:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcDTB-0001Rr-OD for emacs-devel@gnu.org; Wed, 16 Sep 2015 10:13:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcDT5-0006HA-Hf for emacs-devel@gnu.org; Wed, 16 Sep 2015 10:13:57 -0400 Original-Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:42887) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZcDT5-0006Ge-By for emacs-devel@gnu.org; Wed, 16 Sep 2015 10:13:51 -0400 Original-Received: (qmail 28952 invoked by uid 0); 16 Sep 2015 14:13:46 -0000 Original-Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy9.mail.unifiedlayer.com with SMTP; 16 Sep 2015 14:13:46 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw3 with id HwDg1r0062UdiVW01wDjCq; Wed, 16 Sep 2015 14:13:45 -0600 X-Authority-Analysis: v=2.1 cv=GpXRpCFC 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=lw1iWSckPMZAqiqP_BIA:9 Original-Received: from [76.218.37.33] (port=55666 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZcDSu-0008Qf-Rw for emacs-devel@gnu.org; Wed, 16 Sep 2015 08:13:41 -0600 In-Reply-To: <867fnq1oe9.fsf@stephe-leake.org> (Stephen Leake's message of "Wed, 16 Sep 2015 08:31:42 -0500") 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.20.122 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:190013 Archived-At: Stephen Leake writes: > Dmitry Gutov writes: > >> On 09/16/2015 05:49 AM, Stephen Leake wrote: >> >>> (defvar project-emacs >>> (let ((cedet-root (file-name-directory (locate-file "cedet.el" load-path)))) >>> (project-elisp-make >>> (project-recursive-ignores-to-flat >>> (list >>> (concat cedet-root "ede") >>> (concat cedet-root "semantic") >>> (concat cedet-root "srecode")) >>> nil) >>> ))) >> >> And this is ridiculous. Emacs obviously isn't a "flat" project. > > I don't know what you mean by "a flat project". > > load-path is neither purely flat (cedet requires recursion) nor purely > recursive (it has both emacs/lisp and emacs/lisp/progmodes etc). So it > has to be converted one way or another. And the user has to provide additional information as to what parts are flat vs recursive, for the conversion to be done properly. For example, SourceForge CEDET contains the "cogre" directory under "cedet". Since that is not part of Emacs core yet, if I'm testing SourceForge Emacs prior to a merge with Emacs core, it is not appropriate to include "cogre" in the project search path. -- -- Stephe