[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unified project interface
From: |
Dmitry Gutov |
Subject: |
Re: Unified project interface |
Date: |
Tue, 28 Jul 2015 17:33:55 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 |
On 07/28/2015 02:05 PM, Stephen Leake wrote:
I just realized project.el is in emacs master; I thought it was only in
the experimental branch.
It would be cleaner to have it separate, but being able to dogfood it
now is quite handy.
So some specific change proposals:
- Rename 'project-directories' to 'project-root-directories' or
'project-roots'.
Either is fine with me, but note that y having "root" in the name we
give up on adding a special "project-root" function in the future, one
that you described earlier.
> The current project root should always be first in the list.
- 'project-search-path' should not include 'project-root-directories'.
I say we document it like that (or say that it's "allowed not to
include"), but the consumers will still take care of the duplication
(call project--prune-directories). That's easier on the implementations.
- 'elisp-search-path' should not include 'package-user-dir';
package-user-dir is not an elisp source directory, and load-path
already includes the subdirs of it, if packages are initialized.
What's the harm? It's an optimization: this way, we only call 'find'
once per elpa dir, instead of doing it for each installed package. Not
sure what's the overhead on that, but it seems wasteful.
- Re: Unified project interface, (continued)
- Re: Unified project interface, Dmitry Gutov, 2015/07/26
- Re: Unified project interface, Stephen Leake, 2015/07/26
- Re: Unified project interface, John Yates, 2015/07/26
- Re: Unified project interface, Dmitry Gutov, 2015/07/26
- Re: Unified project interface, Stephen Leake, 2015/07/27
- Re: Unified project interface, Dmitry Gutov, 2015/07/27
- Re: Unified project interface, Dmitry Gutov, 2015/07/27
- Re: Unified project interface, Dmitry Gutov, 2015/07/27
- Re: Unified project interface, Stephen Leake, 2015/07/27
- Re: Unified project interface, Stephen Leake, 2015/07/28
- Re: Unified project interface,
Dmitry Gutov <=
- Re: Unified project interface, Stephen Leake, 2015/07/28
- Re: Unified project interface, Dmitry Gutov, 2015/07/28
- Re: Unified project interface, Stephen Leake, 2015/07/28
- Re: Unified project interface, Dmitry Gutov, 2015/07/28
- Re: Unified project interface, Dmitry Gutov, 2015/07/28
- Re: Unified project interface, Stephen Leake, 2015/07/28
- Re: Unified project interface, Dmitry Gutov, 2015/07/28
- Re: Unified project interface, Stephen Leake, 2015/07/28
- Re: Unified project interface, Dmitry Gutov, 2015/07/29
- Re: Unified project interface, Stephen Leake, 2015/07/30