ECB issues with CEDET in Emacs 23.1

View: New views
12 Messages — Rating Filter:   Alert me  

ECB issues with CEDET in Emacs 23.1

by Joe Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry if this is already talked about, but sourceforge archived email search appears to be...missing?

So, if I install latest builds of Emacs it appears that cedet is already a part of the package. This is great except that the cedet in Emacs has different package names (and functionality?) than CEDET at cedet.sourceforge.net. This means that using ECB out of the box from the sight is just not going to work.

The only way I could "fix" this was to remove cedet from the installation lisp and then install it manually from the sourceforge sight. However, this feel kludgy to me.

So, is there a version of ECB that is working against this?

Thanx,
joe


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by klaus.berndl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
No, currently not - i'm too busy to work on ECB theses days...
But i will contact Eric from cedet to get the informations what has changed and what is the best way, to prepare a tool like ECB to work with Emacs-included cedet as well as with self installed...
 
maybe a solution in about two weeks
 
Ciao
Klaus

Von: Joe Jones [darkdescendant@...]
Gesendet: Donnerstag, 5. November 2009 04:57
An: ecb-list@...
Betreff: [ECB-list] ECB issues with CEDET in Emacs 23.1

Sorry if this is already talked about, but sourceforge archived email search appears to be...missing?

So, if I install latest builds of Emacs it appears that cedet is already a part of the package. This is great except that the cedet in Emacs has different package names (and functionality?) than CEDET at cedet.sourceforge.net. This means that using ECB out of the box from the sight is just not going to work.

The only way I could "fix" this was to remove cedet from the installation lisp and then install it manually from the sourceforge sight. However, this feel kludgy to me.

So, is there a version of ECB that is working against this?

Thanx,
joe


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by Yann Hodique :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 5, 2009 at 8:22 AM, Berndl, Klaus
<klaus.berndl@...> wrote:
> No, currently not - i'm too busy to work on ECB theses days...
> But i will contact Eric from cedet to get the informations what has changed
> and what is the best way, to prepare a tool like ECB to work with
> Emacs-included cedet as well as with self installed...
>
> maybe a solution in about two weeks

FYI, here is a patch with my modifications to make ECB 2.40 work with
my CVS version of Emacs.
No big deal actually, just some semantic reorg.

hope this helps

Yann.

[ecb.patch]

diff -u -w /home/yann/downloads/ecb-snap/ecb-analyse.el ./ecb-analyse.el
--- /home/yann/downloads/ecb-snap/ecb-analyse.el 2009-06-21 10:08:37.000000000 +0200
+++ ./ecb-analyse.el 2009-11-02 10:20:56.869845372 +0100
@@ -31,7 +31,7 @@

 ;;; Code:

-(require 'semantic-analyze)
+(require 'semantic/analyze)
 (require 'ecb-layout)
 (require 'ecb-common-browser)
 (require 'ecb-method-browser)
diff -u -w /home/yann/downloads/ecb-snap/ecb-cedet-wrapper.el ./ecb-cedet-wrapper.el
--- /home/yann/downloads/ecb-snap/ecb-cedet-wrapper.el 2009-06-21 10:08:37.000000000 +0200
+++ ./ecb-cedet-wrapper.el 2009-11-02 10:21:13.493941164 +0100
@@ -37,11 +37,11 @@


 (require 'semantic)
-(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)

 (defconst ecb-semantic-2-loaded (string-match "^2" semantic-version))

diff -u -w /home/yann/downloads/ecb-snap/ecb-method-browser.el ./ecb-method-browser.el
--- /home/yann/downloads/ecb-snap/ecb-method-browser.el 2009-06-21 10:08:37.000000000 +0200
+++ ./ecb-method-browser.el 2009-11-05 10:12:14.634015994 +0100
@@ -41,8 +41,6 @@
 (require 'ecb-speedbar)

 (require 'ecb-cedet-wrapper)
-;; This loads the semantic-setups for the major-modes.
-(require 'semantic-load)

 ;; various loads
 (require 'assoc)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by klaus.berndl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks a lot - i will take a look at it tomorrow!
Klaus

________________________________________
Von: Yann Hodique [yann.hodique@...]
Gesendet: Donnerstag, 5. November 2009 10:17
An: Berndl, Klaus
Cc: Joe Jones; ecb-list@...
Betreff: Re: [ECB-list] ECB issues with CEDET in Emacs 23.1

On Thu, Nov 5, 2009 at 8:22 AM, Berndl, Klaus
<klaus.berndl@...> wrote:
> No, currently not - i'm too busy to work on ECB theses days...
> But i will contact Eric from cedet to get the informations what has changed
> and what is the best way, to prepare a tool like ECB to work with
> Emacs-included cedet as well as with self installed...
>
> maybe a solution in about two weeks

FYI, here is a patch with my modifications to make ECB 2.40 work with
my CVS version of Emacs.
No big deal actually, just some semantic reorg.

hope this helps

Yann.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by Joe Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks guys. I'll look at the patch and see if it works for me.

joe


On Thu, Nov 5, 2009 at 1:54 AM, Berndl, Klaus <klaus.berndl@...> wrote:
thanks a lot - i will take a look at it tomorrow!
Klaus

________________________________________
Von: Yann Hodique [yann.hodique@...]
Gesendet: Donnerstag, 5. November 2009 10:17
An: Berndl, Klaus
Cc: Joe Jones; ecb-list@...
Betreff: Re: [ECB-list] ECB issues with CEDET in Emacs 23.1

On Thu, Nov 5, 2009 at 8:22 AM, Berndl, Klaus
<klaus.berndl@...> wrote:
> No, currently not - i'm too busy to work on ECB theses days...
> But i will contact Eric from cedet to get the informations what has changed
> and what is the best way, to prepare a tool like ECB to work with
> Emacs-included cedet as well as with self installed...
>
> maybe a solution in about two weeks

FYI, here is a patch with my modifications to make ECB 2.40 work with
my CVS version of Emacs.
No big deal actually, just some semantic reorg.

hope this helps

Yann.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by Joe Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Patch worked like a charm. Thanx!

On Thu, Nov 5, 2009 at 1:54 AM, Berndl, Klaus <klaus.berndl@...> wrote:
thanks a lot - i will take a look at it tomorrow!
Klaus

________________________________________
Von: Yann Hodique [yann.hodique@...]
Gesendet: Donnerstag, 5. November 2009 10:17
An: Berndl, Klaus
Cc: Joe Jones; ecb-list@...
Betreff: Re: [ECB-list] ECB issues with CEDET in Emacs 23.1

On Thu, Nov 5, 2009 at 8:22 AM, Berndl, Klaus
<klaus.berndl@...> wrote:
> No, currently not - i'm too busy to work on ECB theses days...
> But i will contact Eric from cedet to get the informations what has changed
> and what is the best way, to prepare a tool like ECB to work with
> Emacs-included cedet as well as with self installed...
>
> maybe a solution in about two weeks

FYI, here is a patch with my modifications to make ECB 2.40 work with
my CVS version of Emacs.
No big deal actually, just some semantic reorg.

hope this helps

Yann.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by Joe Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, spoke too soon. I forgot to take the old cedet out of the .emacs file. When I do that so it loads up the one on 23.1 i get the following:

Symbol's function definition is void: semantic-load-enable-code-helpers


On Thu, Nov 5, 2009 at 10:18 AM, Joe Jones <darkdescendant@...> wrote:
Patch worked like a charm. Thanx!


On Thu, Nov 5, 2009 at 1:54 AM, Berndl, Klaus <klaus.berndl@...> wrote:
thanks a lot - i will take a look at it tomorrow!
Klaus

________________________________________
Von: Yann Hodique [yann.hodique@...]
Gesendet: Donnerstag, 5. November 2009 10:17
An: Berndl, Klaus
Cc: Joe Jones; ecb-list@...
Betreff: Re: [ECB-list] ECB issues with CEDET in Emacs 23.1

On Thu, Nov 5, 2009 at 8:22 AM, Berndl, Klaus
<klaus.berndl@...> wrote:
> No, currently not - i'm too busy to work on ECB theses days...
> But i will contact Eric from cedet to get the informations what has changed
> and what is the best way, to prepare a tool like ECB to work with
> Emacs-included cedet as well as with self installed...
>
> maybe a solution in about two weeks

FYI, here is a patch with my modifications to make ECB 2.40 work with
my CVS version of Emacs.
No big deal actually, just some semantic reorg.

hope this helps

Yann.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by Yann Hodique :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 5, 2009 at 7:21 PM, Joe Jones <darkdescendant@...> wrote:
> Sorry, spoke too soon. I forgot to take the old cedet out of the .emacs
> file. When I do that so it loads up the one on 23.1 i get the following:
> Symbol's function definition is void: semantic-load-enable-code-helpers

Hmm, this is a function defined in the old semantic-load.el, that was
require'd in ecb-method-browser.el
Are you sure you don't have old .elc files from your ecb install ?
As there is no direct reference to this function in ecb neither in
cedet/emacs, you should probably make sure you M-x ecb-byte-compile
from a clean ecb directory. (rm -f *.elc first)

Hope this helps

Yann.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by Joe Jones-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Removing that from my .emacs appears to make things work OK.

Thanx,
joe


On Thu, Nov 5, 2009 at 11:25 AM, Yann Hodique <yann.hodique@...> wrote:
On Thu, Nov 5, 2009 at 7:21 PM, Joe Jones <darkdescendant@...> wrote:
> Sorry, spoke too soon. I forgot to take the old cedet out of the .emacs
> file. When I do that so it loads up the one on 23.1 i get the following:
> Symbol's function definition is void: semantic-load-enable-code-helpers

Hmm, this is a function defined in the old semantic-load.el, that was
require'd in ecb-method-browser.el
Are you sure you don't have old .elc files from your ecb install ?
As there is no direct reference to this function in ecb neither in
cedet/emacs, you should probably make sure you M-x ecb-byte-compile
from a clean ecb directory. (rm -f *.elc first)

Hope this helps

Yann.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Parent Message unknown Re: ECB issues with CEDET in Emacs 23.1

by klaus.berndl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have updated the CVS-snapshot at the ECB-website - now it should work
in both scenarios - at least i hope because i do not have an Emacs 23.2 ;-)

Could you please download the new snapshot and test if it works with
emacs-integrated cedet as well as with self-installed cvs-cedet?!

Please note:
ECB checks if the feature 'cedet is loaded into Emacs: Ifr yes it assumes
that cvs-cedet is loaded and should be used; if not it assumes the Emacs-cedet
should be used.

So if you want to bytecompile ECB via Makefile you have to set the variable
CEDET to
- empty when Emacs-cedet should be used
- path to cedet-installation if cvs-cedet should be used.
Please read the comment in the ECB Makefile.

Please give me feedback if things now run well...

Ciao,
Klaus

P.S.
BTW: Could you already follow my instructions for localization of the ECB-bug
you sent to me?

-----Ursprüngliche Nachricht-----
Von: Stefano Sabatini [mailto:stefano.sabatini-lala@...]
Gesendet: Montag, 16. November 2009 16:43
An: Berndl, Klaus
Betreff: Re: AW: [ECB-list] ECB issues with CEDET in Emacs 23.1

In data Wednesday 2009-11-11 09:33:27 +0100, Berndl, Klaus ha scritto:

> Hi,
>
> AFAIK the Emacs-leads plan integrating ECB for next big release -
> for now integrating CEDET seems to be much and also enough effort
> ;-)... I would support integrating ECB into Emacs but cause of a lot
> and heavy-weighted advices of ECB this is not so easy - they told me
> that first these advices have to be eliminated which in turn is
> currently not possible because Emacs still lacks of some features
> which would allow to throw away all the ECB-avices... Unfortunately
> it is also not so easy to work out what exactly should be added to
> Emacs so all ECB advices can be removed - To make a long story
> short: It will be a lot of work to integrate ECB into Emacs...
>
> But i will update the CVS ECB-snapshot at the website which allows
> to autodetect if Emacs contains an integrated CEDET which would be
> used in this case. Then ECB work with CVS CEDET as well as with
> Emacs-CEDET - would this satisfy your needs?

Absolutely, I'll stay tuned for that.

Thanks for the great work, best regards.
--
If I were to walk on water, the press would say I'm only doing it
because I can't swim.
                -- Bob Stanfield

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by leon-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-11-23 11:12 +0000, Berndl, Klaus wrote:
> So if you want to bytecompile ECB via Makefile you have to set the variable
> CEDET to
> - empty when Emacs-cedet should be used
> - path to cedet-installation if cvs-cedet should be used.
> Please read the comment in the ECB Makefile.

I edited the Makefile accordingly as follows:

EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
CEDET=

and then run `make' to get this error:

Byte-compiling ECB with LOADPATH=/Users/Shared/sources/ecb ...
/Applications/Emacs.app/Contents/MacOS/Emacs -batch -no-site-file -l ecb-compile-script --eval '(ecb-byte-compile t)'
ECB 2.40 - Error: ECB is missing CEDET - check your CEDET-installation/setup!
make: *** [ecb] Error 255

The ECB was checked out from CVS 20091127.

Leo


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB issues with CEDET in Emacs 23.1

by leon-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-11-27 22:10 +0000, Leo wrote:

> On 2009-11-23 11:12 +0000, Berndl, Klaus wrote:
>> So if you want to bytecompile ECB via Makefile you have to set the variable
>> CEDET to
>> - empty when Emacs-cedet should be used
>> - path to cedet-installation if cvs-cedet should be used.
>> Please read the comment in the ECB Makefile.
>
> I edited the Makefile accordingly as follows:
>
> EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
> CEDET=
>
> and then run `make' to get this error:
>
> Byte-compiling ECB with LOADPATH=/Users/Shared/sources/ecb ...
> /Applications/Emacs.app/Contents/MacOS/Emacs -batch -no-site-file -l ecb-compile-script --eval '(ecb-byte-compile t)'
> ECB 2.40 - Error: ECB is missing CEDET - check your CEDET-installation/setup!
> make: *** [ecb] Error 255
>
> The ECB was checked out from CVS 20091127.
>
> Leo

I need to activate (semantic-mode t) for (featurep 'cedet) to return t.

With this, ecb can compile but there is one error:

ecb-symboldef.el:262:51:Error: Byte-compiling a redefinition of
`print-help-return-message' will not work - use `labels' instead

and lots and lots of warnings.

Leo


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list