From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Schaefer Newsgroups: gmane.emacs.devel Subject: Re: A unified project root interface Date: Sat, 23 Mar 2013 18:26:48 +0100 Message-ID: <20130323182648.059f2e2a@forcix.kollektiv-hamburg.de> References: <20130309174419.6e1cadb4@forcix.kollektiv-hamburg.de> <5143C11D.8070705@siege-engine.com> <87sj3vv35h.fsf@engster.org> <20130316160203.6b889aba@forcix.kollektiv-hamburg.de> <87ehffuf1g.fsf@engster.org> <20130317001630.125e1987@forcix.kollektiv-hamburg.de> <87y5dmsz5u.fsf@engster.org> <20130317191817.764a44f5@forcix.kollektiv-hamburg.de> <87ppywtj9s.fsf@engster.org> <87li9juabi.fsf@engster.org> <87d2uvtdeb.fsf@engster.org> <874ng6tugb.fsf@engster.org> <87ppyurpxa.fsf@engster.org> <514A5A68.3070907@siege-engine.com> <87hak4af33.fsf@engster.org> <514BAA14.7060702@siege-engine.com> <87li9fyy6v.fsf@engster.org> <514DE1FC.4020805@siege-engine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364059618 13999 80.91.229.3 (23 Mar 2013 17:26:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2013 17:26:58 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , "Eric M. Ludlam" To: "Eric M. Ludlam" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 23 18:27:23 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 1UJSDy-00010N-LT for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2013 18:27:22 +0100 Original-Received: from localhost ([::1]:45444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJSDb-0006DX-37 for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2013 13:26:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJSDX-0006DO-Hz for emacs-devel@gnu.org; Sat, 23 Mar 2013 13:26:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJSDU-0003g4-Vw for emacs-devel@gnu.org; Sat, 23 Mar 2013 13:26:55 -0400 Original-Received: from istinn.electusmatari.com ([83.169.37.145]:36321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJSDU-0003ek-Ps for emacs-devel@gnu.org; Sat, 23 Mar 2013 13:26:52 -0400 Original-Received: from forcix.kollektiv-hamburg.de (hmbg-4d06cdce.pool.mediaWays.net [77.6.205.206]) by istinn.electusmatari.com (Postfix) with ESMTPSA id 27FF7D10001E; Sat, 23 Mar 2013 18:26:50 +0100 (CET) In-Reply-To: <514DE1FC.4020805@siege-engine.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.37.145 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:158086 Archived-At: On Sat, 23 Mar 2013 13:10:20 -0400 "Eric M. Ludlam" wrote: > If this project concept is created as a simple thing, that's fine, > but EDE won't be able to use it, though it could contribute. If > that's the overall story where simple uses need the simple project, > and EDE is used when you need more, that seems like a fine > compromise, but it won't simplify the plethora of project projects. Let's say we create two primary API functions - (project-root) - (project-set-root DIR) so that PROJECT-ROOT returns the current project root if set, and if not, sets it to something a simple hook returns. Then, if EDE's project system simply calls (project-set-root DIR) when it loads, we end up with a upwards-compatible system so that some extensions can just use P-R to find the project root, and will continue to work when EDE is in use. If they need more functionality than P-R, they can simply transition over to using EDE. Am I missing something? -- Jorgen