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: Sat, 06 Apr 2013 13:13:57 -0400 Message-ID: <516057D5.6060208@siege-engine.com> References: <20130309174419.6e1cadb4@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> <20130323182648.059f2e2a@forcix.kollektiv-hamburg.de> <87d2uqkna5.fsf@yandex.ru> <87d2upon55.fsf@kuiper.lan.informatimago.com> <87li9d2zlp.fsf@yandex.ru> <20130324111310.192618bc@forcix.kollektiv-hamburg.de> <20130406152531.31d940b9@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 1365278431 27110 80.91.229.3 (6 Apr 2013 20:00:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Apr 2013 20:00:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jorgen Schaefer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 06 22:00:31 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 1UOZHP-0007UX-Bs for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2013 22:00:03 +0200 Original-Received: from localhost ([::1]:35912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOWgu-0000Ba-OT for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2013 13:14:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOWgn-0008RS-5G for emacs-devel@gnu.org; Sat, 06 Apr 2013 13:14:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOWgj-0002wD-M4 for emacs-devel@gnu.org; Sat, 06 Apr 2013 13:14:05 -0400 Original-Received: from mail-ve0-f181.google.com ([209.85.128.181]:63587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOWgj-0002w3-Ho for emacs-devel@gnu.org; Sat, 06 Apr 2013 13:14:01 -0400 Original-Received: by mail-ve0-f181.google.com with SMTP id pa12so4305967veb.26 for ; Sat, 06 Apr 2013 10:14:00 -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 :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=U9GuGqF+gqGY4zXtgc2cRd6GKwczmEBCSDwRG1KgcxY=; b=PwazKqQ7uMAMn60wgPW1ncG8gQw8AbwrNWfppZ1vXB9n2XTE4fqOQ9OF1APDaQSp3L t1TctT1ZcTriIgd9J4ONcmQQjG5yjxxmWVzIgSg0EZ+J8ifumWj4k59s/4AejNO37aQi Z5zPHjGt9BG+sMNm7oTD3zCB40kVb41Gwau7AMDYc9JoiZX1OsAbYv7Phy4VR/QMHiAJ bCcDxcxL68mP0HiCriNCo4m4JOExpWiOH3q/b4hK0ymNjv/5Gcch8ubnIL08We4+xaMN fQY8KiqMOTgBY6OoP2eKaRM3xAlvJ9n5JwWfkFskv69y9Vy9FE+Lq5LFhxN6SJZq1ZjQ tURQ== X-Received: by 10.220.203.130 with SMTP id fi2mr11337669vcb.52.1365268440445; Sat, 06 Apr 2013 10:14:00 -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 l18sm18525600vdh.10.2013.04.06.10.13.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Apr 2013 10:13:59 -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: <20130406152531.31d940b9@forcix.kollektiv-hamburg.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.181 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:158686 Archived-At: On 04/06/2013 09:25 AM, Jorgen Schaefer wrote: > On Sun, 24 Mar 2013 11:13:10 +0100 > Jorgen Schaefer wrote: > >> I did a quick implementation of my current ideas on the topic: >> >> https://raw.github.com/jorgenschaefer/project-el/master/project.el >> >> Quick run-down: >> >> - If you only want to know the project root, you call (project-root) >> and never have to worry about anything else. >> - This will call functions in `project-guess-root-functions' until one >> returns a non-nil value. This value is cached for future calls. >> - The default functions use the current EDE project if any, or VC >> directory markers, or ask the user; can be extended as needed. >> - When an extension provides a way to change the project root, they >> can call `project-set-root', which will run >> `project-root-changed-hook' so that other extensions (e.g. EDE) can >> intercept that and adjust themselves accordingly. Or even throw an >> error. >> >> Other extensions should be able to build on that. > > As the discussion died down: What would be the next step here? I am probably too close to EDE to be very helpful in solving the wider problem, but I can offer a branch in the CEDET repository as a testing ground so that any changes needed in EDE can be easily made and tested in our test suites. We can remove it from CEDET for maintenance elsewhere once the initial development is done. We can keep new tests around in CEDET to make sure EDE stays compatible. Eric