Getting started with CEDET

Try as I could, I can not get CEDET to do anything. Emacs 24.3. I uploaded the most recent CEDET snapshot. I took the Alex Ott installation file for my part (wrong) "Gentle introduction" and changed the first line to point to my cedet-bzr.

I visited hello_world.cpp. I am executing Mx semantic mode.

Now what should I do? Does anything look different? (This is not true.)

A look at the Alex setup file suggests that Cc? must do something, but Emacs complains that this key combination is not connected. I really need handmade here!

Edit: I really think the problem might be: "What should I do next?" How do I know if it is installed and ready? What should I atone for? Should new menu items appear? Do I have to do something to turn it on? What should be my first steps? Right now, Emacs looks and behaves as if nothing had happened, but I may not be trying to do the right thing. In general: how to use it?

Edit # 2 (still using Alex installation file)

  • It works on Kubuntu if I change the boot directory to ... / cedet -bzr / trunk as opposed to ... / cedet -bzr.
  • There is no luck in OS X. In an attempt to use the embedded version, I tried pointing directly to the cedet directory in the Emacs.app package. Creating a version of the snapshot from the outside of the kit throws warnings: "An unsafe world accessible for writing / Library / Frameworks in PATH, mode 040777", and there are no changes in the menu.
  • In Cygwin, I had to comment on the links to "eassist" and "java", and with this I have two new menus: Development and SRecorder.
+7
source share
1 answer

Here is my setup on emacs 24.3.1 on ubuntu 13.04:

(load "~/cedet-snapshot/cedet-devel-load.el") (semantic-add-system-include "~/misc/include/" 'c++-mode) (set-default 'semantic-case-fold t) 

Here ~/misc/include/ refers to the inclusion of some library that you can use, which is not installed on /usr/include/ .

Sometimes I turn on semantic mode because it can be slow, but after it is turned on, semantic-full-character works.

UPD

I installed the new Ubuntu on my new SSD and I found that CEDET stopped working. Here's how I got him back on track:

 cd ~/.emacs.d/semanticdb rm -rf * 

Then in the C ++ buffer Mx semantic-force-refresh . He may ask you something about debugging hooks, just say type y.

+1
source

All Articles