From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: A unified project root interface Date: Tue, 12 Mar 2013 22:02:14 -0400 Message-ID: <513FDE26.8030206@siege-engine.com> References: <20130309174419.6e1cadb4@forcix.kollektiv-hamburg.de> <87hakh2299.fsf@fimbulvetr.bsc.es> <513FBA1C.5040100@siege-engine.com> <20130313004206.5c799402@forcix.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363140151 2193 80.91.229.3 (13 Mar 2013 02:02:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2013 02:02:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 13 03:02:52 2013 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 1UFb1k-00082V-Mx for ged-emacs-devel@m.gmane.org; Wed, 13 Mar 2013 03:02:48 +0100 Original-Received: from localhost ([::1]:35925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFb1O-0006Nw-6s for ged-emacs-devel@m.gmane.org; Tue, 12 Mar 2013 22:02:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFb1L-0006Nm-2t for emacs-devel@gnu.org; Tue, 12 Mar 2013 22:02:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFb1G-0008Mh-Hq for emacs-devel@gnu.org; Tue, 12 Mar 2013 22:02:23 -0400 Original-Received: from mail-qe0-f51.google.com ([209.85.128.51]:64141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFb1G-0008Mb-DQ for emacs-devel@gnu.org; Tue, 12 Mar 2013 22:02:18 -0400 Original-Received: by mail-qe0-f51.google.com with SMTP id nd7so329064qeb.10 for ; Tue, 12 Mar 2013 19:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Th1UQ9b0ax1C+8ebRKLrDO3WEhjMQenCJK4LUTC+Q0Q=; b=txrA5ydsRAvWVY3+9kXC8Pxbrpyj5C2iqGlaQqSk8EUrwUPDq+1KBL/KA44QMS+pka Pu2ZWuUUDBnhpWmXQ7l9NSxXdYuQFbtS4CBdyGCyikqM52VVGZ/oCAx0vlHk6d1U3Zja 43NjpTfqVKw5m6QLTGVsEzI55m3djgJ4Go9DJwuh6Y5lnniDPdUzb745fInRaAfbN2pZ I00EeHaVCL9g8d20tCPBnG34Z01PAsiscKFX3+/5L0EL6Gl1rKuAt9iUynSqhN+FAr8D EvipRMwOSQwl83/lv64r6q98u68nw6zmMMQZEtJuSGaN47kXw/9W1Gp6hh5fv4SiMmMR biSA== X-Received: by 10.224.61.143 with SMTP id t15mr10814234qah.4.1363140137836; Tue, 12 Mar 2013 19:02:17 -0700 (PDT) Original-Received: from [192.168.1.201] (pool-72-74-140-235.bstnma.fios.verizon.net. [72.74.140.235]) by mx.google.com with ESMTPS id dt10sm35210843qab.0.2013.03.12.19.02.15 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 19:02:16 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre In-Reply-To: <20130313004206.5c799402@forcix.kollektiv-hamburg.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.51 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:157808 Archived-At: On 03/12/2013 07:42 PM, Jorgen Schaefer wrote: > On Tue, 12 Mar 2013 19:28:28 -0400 > "Eric M. Ludlam" wrote: > >> I know some people think of EDE as being this big thing for creating >> your Makefiles, but its most common use really is to just tag the >> root of a project, and hang some configuration features for semantic >> auto completion. Adding new detectable projects to EDE would be a >> win all around. > > Also extracting the project part so you can use it without depending on > all of EDE. Right now, that seems either not doable or badly > documented, as none of the project-based extensions I have seen actually > uses that functionality. > > Regards, > -- Jorgen It's not clear to me what you mean. When a project is detected, it instantiates an instance of that project for that directory. It doesn't load any other projects but the one it detected. Thus, if it finds and Emacs project, it loads that project type which is pretty small. It doesn't load the big Makefile generating project. If you mean that "all of EDE" represents the core EDE project classes, then no, you can't use the project detection piece without that. The project detection code first needs to look up a project. If a project is already open, it will instead find it in the list of currently open projects without using the file system based search. Eric