From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: progmodes/project.el and search paths Date: Tue, 04 Aug 2015 00:15:07 +0200 Message-ID: <87h9ogyq6s.fsf@isaac.fritz.box> References: <55BE209F.1000009@siege-engine.com> <55BE509B.2080307@yandex.ru> <87r3nkjxby.fsf@isaac.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438640133 4615 80.91.229.3 (3 Aug 2015 22:15:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 22:15:33 +0000 (UTC) Cc: Emacs Development , Eric Ludlam , Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 04 00:15:18 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 1ZMO0s-000446-9v for ged-emacs-devel@m.gmane.org; Tue, 04 Aug 2015 00:15:18 +0200 Original-Received: from localhost ([::1]:60650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMO0r-0002k1-FJ for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2015 18:15:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMO0o-0002jt-Fl for emacs-devel@gnu.org; Mon, 03 Aug 2015 18:15:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMO0l-00045P-8v for emacs-devel@gnu.org; Mon, 03 Aug 2015 18:15:14 -0400 Original-Received: from randomsample.de ([5.45.97.173]:59976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMO0k-000457-Vv for emacs-devel@gnu.org; Mon, 03 Aug 2015 18:15:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=PicXqm7S+Cd5RH2KcK+tpX07FoxSP3GHdE6rAxz8RgA=; b=o0DbWRxk4rnbTZCL6okd5DvzzmELSuQd1h3RdtTjxCdDAGIp6BXdaz3maI0FOQVPNHB+q1cbIaReR17gltBaGDFwxwHWxeEOn9/nQXQcpjPfCHKGvjsp+xtq+CxVGDWV; Original-Received: from ip4d145d5e.dynamic.kabel-deutschland.de ([77.20.93.94] helo=isaac.fritz.box) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZMO0i-0005Mx-Pw; Tue, 04 Aug 2015 00:15:08 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 03 Aug 2015 17:33:36 -0400") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 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:188374 Archived-At: Stefan Monnier writes: >> From what I see in project.el, this is an API for defining a set of >> directories. I'm not saying that Emacs does not need such an API, but I >> would not call this a "project API". What about things like setting up >> toolchains (compiler, linker, debugger), configurations (debug/release), >> support for external build systems, setting up environment variables and >> pre-processor symbols, and so on? > > The point of view is very different: project.el is meant to provide to > the rest of Emacs the information needed to perform operations that > require knowledge about "the current project". And what constitutes "the current project", exactly? Only the list of directories associated with it? > So the API is designed as a kind of "intersection (rather than union) of > all possible project systems". That intersection is tiny. -David