all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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:51:17 -0400	[thread overview]
Message-ID: <55C1F8B5.7000003@siege-engine.com> (raw)
In-Reply-To: <86egjick23.fsf@stephe-leake.org>

On 08/05/2015 02:43 AM, Stephen Leake wrote:
>>> >>      The EDE info manual in Emacs master mentions ede-proj-elisp.el in
>>> >>      section 8 Extending EDE, but I don't see that file in Emacs master
>>> >>      git.
>> >
>> >That is a piece of the large Make/Automake project system that builds
>> >makefiles for you.
> I think you are saying the file ede-proj-elisp.el is in some CEDET
> repository, but not in Emacs core? I'll go look.

Sorry, I wasn't clear.

You can think of EDE as being broken into some different groups.  There 
is project detection, for finding projects on disk, and there is 'core' 
EDE functionality that just manages file names, menus, keybindings and 
the like.  There are also project implementations, such as a project for 
emacs, linux, and a project type that builds Makefiles for you based on 
meta data you provide.

ede/proj-elisp.el is part of a bigger project that creates Project.ede 
files.  The proj-elisp.el part is for managing Emacs Lisp code in that 
project type, and has code for creating makefile targets.

Anyone who digs into any of the proj-*.el files will find code that 
starts dealing with file name patterns.  These are used for building up 
make rules.  There are some abstractions in there for 'source' files in 
ede/source.el for supporting that.

I suppose that infrastructure could be used to build file patterns based 
on your current target, but it isn't bound to other project types.  I'll 
also guess you won't want EDE dropping Project.ede files or creating 
Makefiles as you go along, so some some development of EDE would be 
needed to start bring the concepts across between the feature sets.

Other project type also have emacs lisp targets, such as the Emacs 
project type.  To use, just enabled ede with

(global-ede-mode 1)

And go edit some Emacs.  Everything you might want to tweak that is 
project specific is in ede/emacs.el

You could also consider

(ede-enable-generic-projects)

to get other basic projects to start being used.  It will track .el 
files, but doesn't have any special features for it.


Eric



  parent reply	other threads:[~2015-08-05 11:51 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
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 [this message]
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=55C1F8B5.7000003@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.