From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: running EDE from a file that is not under a project root dir Date: Fri, 07 Aug 2015 09:28:32 -0500 Message-ID: <86zj236ulr.fsf@stephe-leake.org> References: <861tfiexaz.fsf@stephe-leake.org> <55C16D73.6080801@siege-engine.com> <86egjick23.fsf@stephe-leake.org> <55C1F6A8.8030901@siege-engine.com> <8637zwbynq.fsf@stephe-leake.org> <87fv3w1ya2.fsf@isaac.fritz.box> <86y4ho8o1k.fsf@stephe-leake.org> <87bnej1ii0.fsf@isaac.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438957750 27448 80.91.229.3 (7 Aug 2015 14:29:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Aug 2015 14:29:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 07 16:29:00 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 1ZNidm-00029J-98 for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 16:28:58 +0200 Original-Received: from localhost ([::1]:49398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNidl-00014M-FT for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 10:28:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNidh-000143-TO for emacs-devel@gnu.org; Fri, 07 Aug 2015 10:28:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNidd-0004i3-Se for emacs-devel@gnu.org; Fri, 07 Aug 2015 10:28:53 -0400 Original-Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:38767) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZNidd-0004hr-M3 for emacs-devel@gnu.org; Fri, 07 Aug 2015 10:28:49 -0400 Original-Received: (qmail 31938 invoked by uid 0); 7 Aug 2015 14:28:44 -0000 Original-Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy2.mail.unifiedlayer.com with SMTP; 7 Aug 2015 14:28:43 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw2 with id 1qUe1r00q2UdiVW01qUh4x; Fri, 07 Aug 2015 08:28:41 -0600 X-Authority-Analysis: v=2.1 cv=O9qq4nNW c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=y7kgw_RnJtkA:10 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=uRRa74qj2VoA:10 a=zsnnBBVQIHt0CD-FOiAA:9 Original-Received: from [76.218.37.33] (port=63372 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZNidU-0007IK-Kg for emacs-devel@gnu.org; Fri, 07 Aug 2015 08:28:40 -0600 In-Reply-To: <87bnej1ii0.fsf@isaac.fritz.box> (David Engster's message of "Fri, 07 Aug 2015 12:48:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.18.3 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:188546 Archived-At: David Engster writes: > Stephen Leake writes: > >> But that doesn't give me the full search path, because I don't know >> which higher level project the user is working on. >> >> In Emacs Ada mode, the top level project is the current project; the lower >> level projects are present as far as gprbuild is concerned, but the >> Emacs code doesn't need to know about them. There are still many >> top-level Ada projects that share lower-level code, so if more than one >> top-level project was open, there would not be a one-to-one mapping from >> file to project. >> >> If Eclipse and Visual Studio are like that, so the collection of >> projects contains only top level projects, then _if_ they have disjoint >> file sets, you can get the project from a file. But that seems unlikely, >> and highly use case dependent. > > In Eclipse, you simply cannot share files or folders between projects, > at least not with the same path. Ok, so the file sets are (nominally) disjoint between projects (except for system files, which are special). Apparently that's more likely/common than I realized. And if you are working on several top level projects that share core code subprojects, you have to manually switch between the top level projects, possibly by quitting that instance of Eclipse and starting another. So we still need that ability in Emacs, preferably without requiring quiting Emacs :). > You either copy them, or you symlink them from one project into > another. Yuck. That totally defeats CM! This all sounds like a desperate effort to pretend that we are _not_ working on projects that have an inherent hierarchical structure, with shared code at the base. Apparently that would be too hard to understand, or something. It does require the top level teams to actually talk to each other to manage the core code; maybe that's the problem (software engineers are not good at talking to each other?). I prefer to embrace the hierarchy, and develop tools to let me manage it efficiently. -- -- Stephe