Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GNU Emacs-23.3.1 won't load CEDET-1.0

Tags:

emacs

cedet

I've just updated my emacs and recompliled in byte-code some of its extensions. I also have updated some packages like subversion via emacs-updater, as is suggested to me after update. But now i got

Symbol's value as variable is void: cedet-menu-map

There is more fun: if we cut the line loading cedet.el, ECB says

    error: ECB 2.40 - Error: ECB can only be used with 
cedet [1.0pre6, 1.0.9]! Please install it and restart Emacs!

Is there CEDET-1.0.9 anywhere? If it is, where it is?

OS: Gentoo

upd:

The use of packages app-emacs/ecb and app-emacs/cedet solved the problem.

like image 282
tijagi Avatar asked Jun 05 '11 00:06

tijagi


2 Answers

Just change the version of CEDET in

<cedet_dir>/common/cedet.el 

to 1.0.9

like image 75
Longdt Avatar answered Nov 19 '22 12:11

Longdt


Solved this by changing these lines in ecb-upgrade.el

from

(defconst ecb-required-cedet-version-min '(1 0 2 6)) 
(defconst ecb-required-cedet-version-max '(1 0 4 9))

to

(defconst ecb-required-cedet-version-min '(1 0 2 6))
(defconst ecb-required-cedet-version-max '(1 1 4 9))

from comments (pasted below) in code this fix seems to be a good one

Convert the version-str VER-STR to the internal version-list format with the following elements of the version-list: 1. Major-version 2. Minor-version 3. 0 = alpha, 1 = beta, 2 = pre, 3 = nothing (e.g. \"1.4\"), 4 = . (e.g. \"1.4.3\" 4. Subversion after the alpha, beta, pre or .

like image 3
krishc Avatar answered Nov 19 '22 11:11

krishc