Re: ECB 2.40: Errors during the layout setup of ECB.

<[email protected]> Wed, 15 Jul 2009 17:57:51 +0200
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
Yes, i have alos posted the solution (s.b.) - this comes when you are using  Emacs 21.X with official ECB 2.40...

Either you upgrade your Emacs to version >= 22 or you install latest CVS-snapshot of ECB from the website which contains a fix for Emacs 21.X...

Regards
Klaus

Hi Klaus

---- posted solution ------------

you are right.

21: (get-lru-window &optional FRAME)

22: (get-lru-window &optional FRAME DEDICATED)

And you help me to find another problem.

CEDET was compiled with 21 so starting with you snap and the 22 complain.

I recompiled CEDET with 22 and all worked perfectly.


Thanks you.

f. 


On Fri, Jun 26, 2009 at 12:00 PM, <[email protected]> wrote:

I bet get-lru-window in Emacs 21.3 has only one argument - see from NEWS in Emacs 22:
 
*** The functions `get-lru-window' and `get-largest-window' take an optional
argument `dedicated'.  If non-nil, those functions do not ignore
dedicated windows.
 
This is the reason of the problem you have - this indicates further you make something wrong when ECB using with Emacs 22.3 because with Emacs 22 this error CAN NOT occur!
Probably tghere is some mess with byte-compiled versions - probably you have byte-compiled ECB with Emacs 21.3 and use this also with Emacs 22.3 (without byte-compiling it again with Emacs 22.3)!
 
Well, now i see that ECB is currently not compatible with Emacs 21 - but i can fix this very easily... 
 
Klaus
 



--------------------------------------------------------------------------------
Von: Berndl, Klaus 
Gesendet: Freitag, 26. Juni 2009 12:55
An: 'Fabrizio Fabbri'
Betreff: AW: [ECB-list] ECB 2.40: Errors during the layout setup of ECB.


well, now things are going on:
 
Please do in your emacs C-h f get-lru-window RET, i.e. send me the docstring of this function your Emacss displays!
 
Do this with Emacs 21 as well as with Emacs 22.3! Thanks!
 
Klaus




-----Ursprüngliche Nachricht-----
Von: Simon [mailto:[email protected]] 
Gesendet: Mittwoch, 15. Juli 2009 16:13
An: [email protected]
Betreff: Re: [ECB-list] ECB 2.40: Errors during the layout setup of ECB.

Hi, I have the same problem.

Is your problem solved? If solved, could you please share some experiences with me?

Thanks.



[email protected] wrote:
> yes, it should work in console too.. but if i understand you right, the problem occurs also with X?!
>
> Is this is the only setup your Emacs has? Or contains your .emacs more than this?
>
> Do you use official 2.40 release or CVS-snapshots?
>
> Please send me:
> - exact version number of your Emacs
> - your OS
> - full problem report with command `ecb-submit-problem-report'
> - minimal .emacs which reproduces the problem
>
> Thanks!
> Klaus
>
> ________________________________
>
> Von: Fabrizio Fabbri [mailto:[email protected]]
> Gesendet: Donnerstag, 25. Juni 2009 15:14
> An: [email protected]
> Betreff: [ECB-list] ECB 2.40: Errors during the layout setup of ECB.
>
>
> Hi
> I tried with
> GNU Emacs 21.3.1
> and
> emacs-22.3
>
> with console and X.
>
> but after ecb-activate
> emacs show the error:
>
> ECB 2.40: Errors during the layout setup of ECB. (error-type: error, 
> error-data: ("ad-set-argument: No argument at position 1 of 
> `(&optional frame)'"))
>
>
> What I'm missing here?
>
> my config is
>
> (add-to-list 'load-path
>                      "/home/bixbox/emacs/ecb-2.40") (load-file 
> "/home/bixbox/emacs/cedet-1.0pre6/common/cedet.el")
> (global-ede-mode t)
> (semantic-load-enable-excessive-code-helpers)
> (require 'semantic-ia)
> (require 'semantic-gcc)
>
> (require 'ecb)
>
>
> Is ECB supposed to work in console mode?
>
> Thanks for the help.
>
>
> ----------------------------------------------------------------------
> --------
>
> _______________________________________________
> Ecb-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ecb-list

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge