kindahero
kindahero

Reputation: 5867

cedet ede project for emacs

I am trying learn how to work with CEDET. I don't have any project to mess around so I want to shoot Emacs itself.

It seems CEDET automatically detects Emacs as a project when I open Emacs repository in dir. But when I do M-x ede-find-file there is no file to open.

Question is, How can I exactly setup Emacs as a project in CEDET to make use of EDE and other goodies of CEDET.?

Seems the documentation for this hasn't been completed yet.

Upvotes: 4

Views: 513

Answers (2)

Eric
Eric

Reputation: 3949

The command ede-find-file doesn't provide completion. If you are visiting some file in the Emacs source (like INSTALL) and do this:

M-x ede-find-file RET emacs.c RET

it should pop up emacs.c.

Different CEDET features all have different kinds of dependencies so it's hard to answer the question specifically, but generically, all you have to do is visit a file in your Emacs project, and the other features should be enabled.

Upvotes: 5

Alex Ott
Alex Ott

Reputation: 87174

I think, that it should be added the same way as other EDE projects, with something like:

(setq emacs-project
      (ede-emacs-project "emacs-head"
           :file "/home/ott/work/emacs-head/README"))

At least this works for me...

Upvotes: 1

Related Questions