ecb 2.40: file changes needed to work with emacs 23.2.1 native cedet

Andrea Fedeli <[email protected]> Mon, 26 Jul 2010 02:45:21 +0200
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
Hi there,

I'm a ECB newbie; I am trying to figure out whether I can stay with 
Emacs, my editor of choice, after having tried to change for 
Eclipse+Emacs keybinding without great satisfaction.

First of all I apologize if I am unintentionally repeating something 
already known; I've checked the mailing list skimming messages since 
23.2 official release (8 May 2010) and found nothing about, but maybe 
somebody else already issued a note during 23.2 beta testing...


I've just succeeded installing ecb 2.40 using the FSF emacs 23.2 
natively supported cedet; to complete the task I mainly had to change a few

semantic-<x>

into

semantic/<x>

[I've been driven by the closing (provide ...) statements in native 
cedet .el files]


Files I had to patch are

ecb-2.40/ecb-method-browser.el
ecb-2.40/ecb-cedet-wrapper.el
ecb-2.40/ecb-analyse.el

as follows

diff ./ecb-2.40/ecb-method-browser.el{~,}
44c44,45
< (require 'semantic-load)
---
 > (require 'loaddefs)


diff ./ecb-2.40/ecb-cedet-wrapper.el{~,}
40,44c40,44
< (require 'semantic-ctxt)
< (require 'semantic-analyze)
< (require 'semanticdb)
< (require 'semanticdb-find)
< (require 'semanticdb-mode)
---
 > (require 'semantic/ctxt)
 > (require 'semantic/analyze)
 > (require 'semantic/db)
 > (require 'semantic/db-find)
 > (require 'semantic/db-mode)

diff ./ecb-2.40/ecb-analyse.el{~,}
34c34
< (require 'semantic-analyze)
---
 > (require 'semantic/analyze)


ecb-method-browser.el change does not convince me much, but works.


If I made something (very) silly, please just let me know.


Cheers,


     Andrea.

PS: this all happened on Ubuntu 10.4, with emacs23.2 obtained compiling 
unmodified FSF emacs 23.2 sources.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/