From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: A unified project root interface Date: Sat, 23 Mar 2013 22:02:10 +0400 Message-ID: <87d2uqkna5.fsf@yandex.ru> References: <20130309174419.6e1cadb4@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> <20130323182648.059f2e2a@forcix.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364061758 32447 80.91.229.3 (23 Mar 2013 18:02:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2013 18:02:38 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , "Eric M. Ludlam" To: Jorgen Schaefer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 23 19:03:00 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 1UJSmO-0005RD-8J for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2013 19:02:56 +0100 Original-Received: from localhost ([::1]:53781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJSm0-0005OF-LF for ged-emacs-devel@m.gmane.org; Sat, 23 Mar 2013 14:02:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJSlj-000582-UY for emacs-devel@gnu.org; Sat, 23 Mar 2013 14:02:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJSlg-0006ZV-2v for emacs-devel@gnu.org; Sat, 23 Mar 2013 14:02:15 -0400 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:42825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJSlf-0006ZK-Gt for emacs-devel@gnu.org; Sat, 23 Mar 2013 14:02:12 -0400 Original-Received: by mail-la0-f49.google.com with SMTP id fs13so9162695lab.36 for ; Sat, 23 Mar 2013 11:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-antivirus :x-antivirus-status; bh=xFacRRxOVaTQOq4BpRXqw1nBVjgIiIcjc6kmkug/n50=; b=zsmLtmcpsvsbU/U+HHHekohJ0UfKrkvOSpU0PLBUm1lemQpo1CoTNQFFF+rfROgdiz 73yqkeuBDHGgwt+KGhuqFE8mxwT/ULsZo6i6sWiJ8CWvHGDqK4XRiulj7Khvz0Hruzh3 tUXi6R4vWaNABCY2bYGtbncInfLZZWHxDxmTxGILAMpZIPtJ5s7to8dI+tLlYtY3q+vA Z9KPne3+jF7v1lYLmP0ThlYY97GNhv0L27nlUt6WcjpliS6ine2m4Stank2vG+OXIuwi i/TyCxLg5vqyvFNpTD7HglF1uu0JNJns5PK2tksjUAD0Nm6WKkzbAI8Wm+vIWfFo30cN WD2Q== X-Received: by 10.112.18.168 with SMTP id x8mr3171851lbd.102.1364061730288; Sat, 23 Mar 2013 11:02:10 -0700 (PDT) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id mq7sm2568758lab.1.2013.03.23.11.02.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Mar 2013 11:02:09 -0700 (PDT) In-Reply-To: <20130323182648.059f2e2a@forcix.kollektiv-hamburg.de> (Jorgen Schaefer's message of "Sat, 23 Mar 2013 18:26:48 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Antivirus: avast! (VPS 130323-1, 23.03.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::231 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:158088 Archived-At: Jorgen Schaefer writes: > 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) I think it would work better if insted of the second function, we'll have a variable `project-root-functions', along the lines of `completion-at-point-functions'. It will contain some simple function by default (that will look for .dir-locals.el, for example), and EDE, when loaded, can push its own function on top.