Setting up CEDET

Setting up CEDET

Setting up a tool as large and complex as CEDET can seem daunting. Fortunately, a minimal CEDET initialization can take up only a couple lines of code in your .emacs file. If you are brave and enjoy customizing your CEDET past this, then you are in luck as there are more options and small features to play with than anyone sane person might want.

Alex Ott has written a great article called A Gentle Introduction to CEDET that shows both the simple CEDET configuration process, and a wide array of customizations that helps tune your Emacs for programming the smart way.

The image to the right shows the CEDET internal package and revision testing output. Making sure all the package revisions needed are accurate is important, and fully automatic.

Basic Setup

Step 1
Download CEDET from the Sourceforge downloads page. Choose theversion from the side-bar on the left of this page.
Step 2
Use your favorite tool to unpack CEDET into your favorite placeto install new Emacs Lisp packages. The .tar.gz file willautomatically create a directory called cedet-VERSION/ forall the sources, where VERSION is the version of the package youdownloaded.
Step 3
Build CEDET. On a unix based system such as Linux, you can do itusing make.
  make EMACS=emacs
If you are on Windows, and or don't have make for some reason, you canuse CEDET's built in project management system to force CEDETto bootstrap itself. You can initiate the build process like this:
  cd cedet-1.0pre6

  emacs -Q -l cedet-build.el -f cedet-build
For more on the build process, see the INSTALL file in the root of theCEDET distribution.
Step 4
Configure CEDET in your .emacs file by adding codelike this:
(load-file "~/cedet-1.0pre6/common/cedet.el")
(global-ede-mode 1)                      ; Enable the Project management system
(semantic-load-enable-code-helpers)      ; Enable prototype help and smart completion 
(global-srecode-minor-mode 1)            ; Enable template insertion menu
For more simple configuration options, see the INSTALL file in theroot of the CEDET distribution.
Step 5

Still confused?

Alex Ott has written a great article called A Gentle Introduction to CEDET that shows both the simple CEDET configuration process, and a wide array of customizations that helps tune your Emacs for programming the smart way.

Downloading CEDET

All the CEDET tools are available from a single distribution file.

CEDET 1.0 is finally available!Send in bug reports on the build process, or anythingelse to the mailing list.

Try outcedet-1.0.tar.gz.

After building CEDET, consider posting tothe mailinglist to let us know how it went!

Please Note:

If you encounter build problems with a CEDET release, those issues may have already been fixed in Bazaar! CEDET has an active community of users that help identify and fix these issues quickly. You can check the mailing list archives or just try the Bazaar version directly.

Emacs Version Support:

CEDET 1.0 has two automated build processes, one via Make, and the other via starting Emacs, and executing a build command. These have been tested on Linux with Emacs 22 and 23.1. CEDET will also build and work for Emacs 23.2, though the version of CEDET that comes with Emacs 23.2 has been reported to conflict for some.

Neither build process works with XEmacs 21.4. It is possible to build parts of it by hand it so it works however. If anyone knows how to fix the build, please let us know.

In Emacs 21, CEDET's test suite will fail, but most parts still work.

On windows, you will likely need to use the cedet-build.el script to build CEDET.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值