emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project detection and configuration (Was: IDE)


From: Dmitry Gutov
Subject: Re: Project detection and configuration (Was: IDE)
Date: Thu, 15 Oct 2015 07:44:33 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0

On 10/14/2015 06:58 PM, Lluís wrote:

* Repository
** Detect the root directory that conforms a checked-out repository
** Ignore repository-specific files on other components
** Interact with repo-management tools?

You might want to look at lisp/progmodes/project.el in the current master, if you haven't already.

* Project information
** Name, version, homepage, etc

I think these are very low priority.

* Build system
** This one seems rather tricky to provide a unified interface
** Detect autotools, hand-made makefiles, ant, maven, linux, etc.
** Build modes of a project (e.g., debug vs release)
** Generate files (targets) of a project
** Create release tarballs?

I'd rather have a flat list of tasks, so that different tasks could do many of these things.

Do we really need to be able to know, programmatically, that a certain task is related to the "debug" build? Otherwise, it would simply be to the build tool integration to include (or not) "debug" in the returned task name.

** Sometimes identifies the root directory of the project

When it does, a project implementation will have to handle this. Using `locate-dominating-file' or `file-exists-p' is not hard.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]