FS#30154 - [ecb] and emacs versions issue
Attached to Project:
Community Packages
Opened by Ma Jiehong (jiehong) - Wednesday, 06 June 2012, 15:04 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 09 June 2012, 05:16 GMT
Opened by Ma Jiehong (jiehong) - Wednesday, 06 June 2012, 15:04 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 09 June 2012, 05:16 GMT
|
Details
Description:
CEDET is currently version 1.1. However, ECB is bytecompiled with version 1.0.1. Thus, (ecb-activate), in Emacs, lead to an issue of version since CEDET version and the bytecompiled version of ECB don't match. But, (ecb-bytecompile) doesn't work with the following error message: "ECB 2.40 - Error: ECB can only be used with cedet [1.0pre6, 1.0.9]! Please, install it and restart Emacs". Steps to reproduce: 1. install emacs 2. install ecb 3. launch emacs and execute (require 'ecb) 4. M-x ecb-activate -> first version missmatch 5. M-x ecb-bytecompile |
This task depends upon
You must change the value of "ecb-cedet-required-version-max" in /usr/share/emacs/site-lisp/ecb/ecb-cedet-wrapper.el.
Change it's value to (1 2 0 0) for example (more than (1 1 0 0)).
Then remode all *.elc file in ecb directory.
Launch emacs as root, execute (require 'ecb).
Then bytecompile with M-x ecb-bytecompile. (it should word fine now).
As a normal user, you can now launch emacs, (require 'ecb) and M-x ecb-activate will work just fine!