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: IDE Date: Wed, 28 Oct 2015 04:30:11 +0200 Message-ID: <56303333.5080301@yandex.ru> References: <561C2C17.3090503@cumego.com> <561DC1CA.6090901@siege-engine.com> <561E3FB6.8010407@yandex.ru> <561EEFDE.7000809@gmail.com> <561F29D0.3070605@yandex.ru> <561FA79C.30207@gmail.com> <56200D07.30206@yandex.ru> <5620A99E.7080009@cumego.com> <5620D109.2010006@yandex.ru> <5620DCCD.8030809@cumego.com> <87y4f2u5ef.fsf@fimbulvetr.bsc.es> <5621C701.5030608@yandex.ru> <87d1wdo1la.fsf@fimbulvetr.bsc.es> <5622D5A5.80801@yandex.ru> <87fv18hwau.fsf@fimbulvetr.bsc.es> <562410AD.2020204@yandex.ru> <87mvvff1qy.fsf@fimbulvetr.bsc.es> <56258EC6.7090706@yandex.ru> <5626E513.4000106@yandex.ru> <87fv14qnnq.fsf@fimbulvetr.bsc.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1445999443 4890 80.91.229.3 (28 Oct 2015 02:30:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2015 02:30:43 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 28 03:30:38 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 1ZrGVZ-00070S-NC for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 03:30:37 +0100 Original-Received: from localhost ([::1]:35268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrGVY-0006dh-VQ for ged-emacs-devel@m.gmane.org; Tue, 27 Oct 2015 22:30:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrGVF-0006dc-Tj for emacs-devel@gnu.org; Tue, 27 Oct 2015 22:30:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrGVC-0001st-NC for emacs-devel@gnu.org; Tue, 27 Oct 2015 22:30:17 -0400 Original-Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:37674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrGVC-0001sf-H4 for emacs-devel@gnu.org; Tue, 27 Oct 2015 22:30:14 -0400 Original-Received: by wicfv8 with SMTP id fv8so186362185wic.0 for ; Tue, 27 Oct 2015 19:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Kh21QAUJSrA71NzooosU8Ap8Hjhx4xrNkiMFcRQC5F4=; b=DRCZ97/WOs9OcR2rE0xpCv4XVw0/6cSnWeYcwgbjR0bb2TfKG6LaVVVsl0cW1i94a/ ChXoVYW6YoRatBtRg7TNPWcnbG341DnEPvBgWWrBVv5pnlnx4p7nmFuGdWe+qAbbdymA VSomhwVzawpy2uTNeFUOJQ+Vd+K7x3M1ZXdK69ZB5SGL7qr0qIhapZvCdgkOtZjkswys u3pVJmBxWa/2Hot6jv6UssqIGSI8gFlgTD3uNMHmqgbTV9//vnQBRlShyvzeco5PHwOG iw7KV97gCsMPqqBx+GhIkSyGK9yEXl9ZUiHNvenc3wC3WnqLw9RZPkFbYkK4jKcueqOH esSQ== X-Received: by 10.180.74.238 with SMTP id x14mr351235wiv.39.1445999414062; Tue, 27 Oct 2015 19:30:14 -0700 (PDT) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id ee5sm47769626wjd.17.2015.10.27.19.30.12 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Oct 2015 19:30:13 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <87fv14qnnq.fsf@fimbulvetr.bsc.es> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::229 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:192770 Archived-At: On 10/21/2015 05:52 PM, Lluís wrote: >> I don't understand C. Is module1 still inside project? Is it still a dependency? >> Do we treat it differently WRT to questions I've asked for the option A? > > Ok, so what if we let project-types define project nesting? Every new thing, like projects being allowed to have children (or modules; are modules different from projects?), or paths being possibly non-recursive, raises complexity of the API, and makes it less straightforward to use it. That's why I asking questions: which commands people would want to see implemented, that would consume information about project structure, and how they would expect the said commands to behave WRT to nesting, submodules, etc. For example, if when we're working on a submodule we don't *really* need to know that we're inside a bigger project (or at least don't need to impart that information to most project-related commands), we can avoid the notion of nesting in the API, and just ask any project implementation to return the "module" we're currently in as the current project. And a lot of languages don't have the same kind of modules that Maven-based Java projects use. Would the notion 'children' be only useful for Java projects? > In most cases, it probably makes more sense to construct this nesting > programmatically by adding some logic during project auto-detection (e.g., read > some configuration file that is part of the project). Yes, of course. A project implementation like that would probably read pom.xml (or equivalent), and construct the nesting based on that.