Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


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

Closed by  Sergej Pupykin (sergej)
Saturday, 09 June 2012, 05:16 GMT
Reason for closing:  Fixed
Comment by Ma Jiehong (jiehong) - Wednesday, 06 June 2012, 22:40 GMT
It appears I have found a way to make it work:

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!