From: Eric Ludlam <eric@siege-engine.com>
To: Stephen Leake <stephen_leake@stephe-leake.org>, emacs-devel@gnu.org
Subject: Re: running EDE from a file that is not under a project root dir
Date: Wed, 05 Aug 2015 07:42:32 -0400 [thread overview]
Message-ID: <55C1F6A8.8030901@siege-engine.com> (raw)
In-Reply-To: <86egjick23.fsf@stephe-leake.org>
On 08/05/2015 02:43 AM, Stephen Leake wrote:
>> >I find the global project concept scary. I can't say how many times
>> >I've edited Emacs code that was wasn't on my load path because I had
>> >multiple checkouts of the same code. Mostly just too many times.
> You misunderstand my point. I don't want a project that includes all
> files on the disk (which is what I think you are refering to); I want a
> single project that is active in all buffers.
>
> Most other IDEs I've used have the notion of a single active project;
> the splash screen asks for the project to open.
>
> That's how Emacs Ada mode works; the user selects the single active
> project. They can later select another one.
I have used IDEs with "global" projects, and I consider Emacs an IDE
with a single global project for "emacs lisp" code (among other things,
of course. :) It has handy functions like 'find-function' and
'find-library' that lets you move to definitions and files.
The reason I don't like global projects is that if you are in one
resource (for Emacs any old .el, .txt, etc) and call `find-function', it
will jump off to the code, but unless you pay attention, you might end
up somewhere you don't expect. For example, if I have two versions of
my source code open, such as ede.el in Emacs vs ede.el in CEDET's
repository, and I blindly jump from a symbol, I'll could end up in the
wrong place based on what my load path is.
In my mind, all files should be deterministically bound to a project so
when you perform an operation, you always know where you're going. Some
files are "in" projects. In your case, a way to associate a notes file
outside a project to a project sounds important.
Having a 'global' project could be useful if you only ever edit one
project at a time in a given emacs instance, and you want everything to
behave as if it were. I don't picture most Emacs users operating like
that. If it is feature to be added, it should be optional.
Eric
next prev parent reply other threads:[~2015-08-05 11:42 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-04 18:13 running EDE from a file that is not under a project root dir Stephen Leake
2015-08-04 23:18 ` Dmitry Gutov
2015-08-05 7:48 ` Stephen Leake
2015-08-05 9:30 ` Dmitry Gutov
2015-08-06 8:01 ` Stephen Leake
2015-08-06 10:34 ` Dmitry Gutov
2015-08-06 14:39 ` Stephen Leake
2015-08-06 21:45 ` Dmitry Gutov
2015-08-07 14:15 ` Stephen Leake
2015-08-05 1:57 ` Eric Ludlam
2015-08-05 6:43 ` Stephen Leake
2015-08-05 7:20 ` Stephen Leake
2015-08-05 15:09 ` Eli Zaretskii
2015-08-05 11:42 ` Eric Ludlam [this message]
2015-08-06 8:37 ` Stephen Leake
2015-08-06 10:55 ` David Engster
2015-08-06 14:55 ` Stephen Leake
2015-08-07 10:48 ` David Engster
2015-08-07 14:28 ` Stephen Leake
2015-08-07 14:53 ` David Engster
2015-08-10 10:09 ` Steinar Bang
2015-08-06 11:44 ` Eric Ludlam
2015-08-06 15:03 ` Stephen Leake
2015-08-05 11:51 ` Eric Ludlam
2015-08-06 8:58 ` Stephen Leake
2015-08-08 15:26 ` Stephen Leake
2015-08-08 21:07 ` Eric Ludlam
2015-08-05 9:54 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55C1F6A8.8030901@siege-engine.com \
--to=eric@siege-engine.com \
--cc=emacs-devel@gnu.org \
--cc=stephen_leake@stephe-leake.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.