[ECB-list] ecb-activate fails with wrong-type-argument,

10 views
Skip to first unread message

Nikolaus Rath

unread,
Nov 6, 2013, 12:50:24 PM11/6/13
to ecb-...@lists.sourceforge.net
Hello,

Thanks for working on ECB, it's a great tool!

I have a bit of a problem activating ECB on an Ubuntu 13.04 system
though. When I do M-x ecb-activate, I'm getting the following in
*Messages*:

| All requirements for ECB 2.40 fulfilled - Enjoy it!
| The ECB is now deactivated.
| ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB. (error-type: wrong-type-argument, error-data: (window-live-p #<window 10>))

..and no ECB window is set up.

I'm using Emacs 23.4.1.

Does anyone have an idea what might cause this problem?

Thanks,
Nikolaus

--
Encrypted emails preferred.
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C

»Time flies like an arrow, fruit flies like a Banana.«


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ecb-list mailing list
Ecb-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecb-list

Alex Ott

unread,
Nov 6, 2013, 3:14:24 PM11/6/13
to ecb-...@lists.sourceforge.net
Hi

which version are you using? Can you try the following one: https://github.com/alexott/ecb ?
--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)
Skype: alex.ott

Ryan Ware

unread,
Nov 7, 2013, 8:17:09 AM11/7/13
to ecb-...@lists.sourceforge.net
Folks,

You may want to try the git repo I have at https://github.com/ware/ecb.  I’ve taken the time to get this working with 24.3.  I’ve been working with Klaus and will be taking over maintainership of ecb.  I will be more than happy to take contributions or feature requests from folks in the ecb community.  

I would also like to get some feedback from the ecb community on if they prefer the current SourceForge Site or would consider moving to a Github site.  Regardless, I want to ensure we move to git from cvs.

Ryan

------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk_______________________________________________ Ecb-list mailing list Ecb-...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecb-list

John Yates

unread,
Nov 7, 2013, 9:30:07 AM11/7/13
to Ryan Ware, ecb-...@lists.sourceforge.net
> will be taking over maintainership of ecb.

Great news!

> prefer the current SourceForge Site or would consider moving to a Github site

Do please move the repository to github.

Out of curiosity...  IIRC Klaus' implementation made heavy use of advising many functions.  Since the time of that original implementation I believe that Martin Rudalics has made significant improvement to emacs' windowing mechanics, specifically with ECB-like UIs in mind.  Do you foresee evolving the implementation to use those new facilities?

/john

Ryan Ware

unread,
Nov 7, 2013, 10:10:13 AM11/7/13
to Berndl, Klaus, John Yates, ecb-...@lists.sourceforge.net
From: "Berndl, Klaus" <klaus....@capgemini.com>
Date: Thursday, November 7, 2013 at 3:41 PM
To: John Yates <jo...@yates-sheets.org>, Ryan Ware <wa...@linux.intel.com>
Cc: "ecb-...@lists.sourceforge.net" <ecb-...@lists.sourceforge.net>
Subject: AW: [ECB-list] ecb-activate fails with wrong-type-argument,

Out of curiosity...  IIRC Klaus' implementation made heavy use of advising many functions.  Since the time of that original implementation I believe that Martin Rudalics has made significant improvement to emacs' windowing mechanics, specifically with ECB-like UIs in mind.  Do you foresee evolving the implementation to use those new facilities?

This would be great… i can not count how often I have argumented to the Emacs maintainers that the old crude window-mechanics is the biggest problem using Emacs as modern IDE… therefore I was forced to re-advice more or less all important basic window-management functions of Emacs…

IMHO I have made this quite safe and well working but of course it would be great if this can be build back and using instead native window-management of Emacs if this allows the window-mechanics needed by ECB…

But one warning: probably this will be quite much effort because you will operate at the heart of ECB ;-)

I’m very interested in bringing in new features like this.  However, I want to make sure everyone knows that before I start diving down this rabbit hole that I’m going to make sure ecb work as it is in a rock solid manner with the latest version of Emacs.

Please keep in mind that the current changes I’ve made are…hacks.  I really just did whatever I could to remove dependencies on deprecated functions.  In some cases the changes really don’t make sense but do work.

Once we have that done, I want to look at building on that and bringing new features like this one.

Ryan

Alex Ott

unread,
Nov 7, 2013, 12:05:45 PM11/7/13
to Ryan Ware, ecb-...@lists.sourceforge.net
HI Ryan

please, merge the changes from my repo - I made many changes since April, and also included changes from other people... My repo now is used for ECB on MELPA...

Alex Ott

unread,
Nov 8, 2013, 5:02:16 AM11/8/13
to hil...@kernelconcepts.de, ecb-...@lists.sourceforge.net
Hi

if we'll move to Github, then it would be nice to register separate organisation - it will be one location as primary source of code, and it would be easier to pass control to other peoples if main maintainer will decide that he/she has no time anymore...


On Fri, Nov 8, 2013 at 10:49 AM, Christian Hilberg <hil...@kernelconcepts.de> wrote:
Hi there,

...just two cents from one happy ECB-user - not an ECB-dev, but a dev
otherwise - who has worked with both, CVS (sort of "worked") and Git:


Am Donnerstag 07 November 2013, um 18:05:45 schrieb Alex Ott:
> HI Ryan
>
> please, merge the changes from my repo - I made many changes since April,
> and also included changes from other people... My repo now is used for ECB
> on MELPA...

That should be just one more good reason for dropping CVS in favour
of Git. No work on ECB should be lost, which is just easier to handle
with Git than it is with CVS.


> On Thu, Nov 7, 2013 at 2:17 PM, Ryan Ware <wa...@linux.intel.com> wrote:
> [...]

> > I would also like to get some feedback from the ecb community on if they
> > prefer the current SourceForge Site or would consider moving to a Github
> > site.  Regardless, I want to ensure we move to git from cvs.

Given the fact that SourceForge is no longer the organization it used
to be, and given that moving Git repos from here to there is cheap,
I'm all in for an Alternative to SF (caution: that's just my personal
preference and as said I'm no ECB-dev, so formally I don't have a voice
here =).

(Bye)^2,

        Christian

--
kernel concepts GmbH       Tel: +49-271-771091-11
Sieghuetter Hauptweg 48
D-57072 Siegen
http://www.kernelconcepts.de/

Christian Hilberg

unread,
Nov 8, 2013, 4:49:59 AM11/8/13
to ecb-...@lists.sourceforge.net
Hi there,

...just two cents from one happy ECB-user - not an ECB-dev, but a dev
otherwise - who has worked with both, CVS (sort of "worked") and Git:

Am Donnerstag 07 November 2013, um 18:05:45 schrieb Alex Ott:
> HI Ryan
>
> please, merge the changes from my repo - I made many changes since April,
> and also included changes from other people... My repo now is used for ECB
> on MELPA...

That should be just one more good reason for dropping CVS in favour
of Git. No work on ECB should be lost, which is just easier to handle
with Git than it is with CVS.

> On Thu, Nov 7, 2013 at 2:17 PM, Ryan Ware <wa...@linux.intel.com> wrote:
> [...]
> > I would also like to get some feedback from the ecb community on if they
> > prefer the current SourceForge Site or would consider moving to a Github
> > site. Regardless, I want to ensure we move to git from cvs.

signature.asc

Nikolaus Rath

unread,
Nov 8, 2013, 11:56:07 AM11/8/13
to ecb-...@lists.sourceforge.net
Hi,

Ok, I'm officially totally confused. After I temporarily tested the ecb
version from github, my original ecb version is now apparently working
just fine (there was no connection to removing ~/.emacs, it works just
fine with the original .emacs as well).

Could the new ecb have rewritten some other file in $HOME that may have
caused issues for the old ecb?

Best,
Nikolaus

Nikolaus Rath <Niko...@rath.org> writes:
> Hi Alex,
>
> I'm using 2.40+cvs20110608-3. I just tried the one from github, and it
> works nicely. Thanks!
>
> I also noticed, however, that it works with my old version if I delete
> my ~/.emacs.
>
> Is there an easy way to figure out what setting is causing the problem?
> I'd rather stay with my distributions ecb package instead of installing
> and updating manually...
>
> Best,
> Nikolaus


>
>
> Alex Ott <ale...@gmail.com> writes:
>> Hi
>>
>> which version are you using? Can you try the following one:
>> https://github.com/alexott/ecb ?
>>
>>
>> On Wed, Nov 6, 2013 at 6:50 PM, Nikolaus Rath <Niko...@rath.org> wrote:
>>
>>> Hello,
>>>
>>> Thanks for working on ECB, it's a great tool!
>>>
>>> I have a bit of a problem activating ECB on an Ubuntu 13.04 system
>>> though. When I do M-x ecb-activate, I'm getting the following in
>>> *Messages*:
>>>
>>> | All requirements for ECB 2.40 fulfilled - Enjoy it!
>>> | The ECB is now deactivated.
>>> | ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the
>>> layout setup of ECB. (error-type: wrong-type-argument, error-data:
>>> (window-live-p #<window 10>))
>>>
>>> ..and no ECB window is set up.
>>>
>>> I'm using Emacs 23.4.1.
>>>
>>> Does anyone have an idea what might cause this problem?
>>>

--

Nikolaus Rath

unread,
Nov 8, 2013, 11:40:44 AM11/8/13
to ecb-...@lists.sourceforge.net
Hi Alex,

I'm using 2.40+cvs20110608-3. I just tried the one from github, and it
works nicely. Thanks!

I also noticed, however, that it works with my old version if I delete
my ~/.emacs.

Is there an easy way to figure out what setting is causing the problem?
I'd rather stay with my distributions ecb package instead of installing
and updating manually...

Best,
Nikolaus

Alex Ott

unread,
Nov 8, 2013, 12:15:31 PM11/8/13
to ecb-...@lists.sourceforge.net
Hi

I don't remember that were any issues caused by particular file...

Przemysław Wojnowski

unread,
Nov 9, 2013, 9:22:26 AM11/9/13
to ecb-...@lists.sourceforge.net
Hi.

I merged changes from Ryan's repository into Alex Ott's and sent pull
request to him. It was easier to do this way, because Ryan's contains
less commits and in that direction there were less conflicts. After the
pull request is merged Ryan can fork Alex's repo and make an official
for ECB. Is it ok for you guys?

BTW is there some compatibility policy for XEmacs?

Cheers,
Przemek

W dniu 08.11.2013 11:02, Alex Ott pisze:
> <tel:%2B49-271-771091-11>
> Sieghuetter Hauptweg 48
> D-57072 Siegen
> http://www.kernelconcepts.de/
>
>
>
>
> --
> With best wishes, Alex Ott
> http://alexott.net/
> Twitter: alexott_en (English), alexott (Russian)
> Skype: alex.ott
>
>

Alex Ott

unread,
Nov 9, 2013, 10:11:57 AM11/9/13
to Przemysław Wojnowski, ecb-...@lists.sourceforge.net
Hi

Thank you for pull request - I've merged it to my repo...

Regarding the XEmacs - this is an interesting question - I don't know what is the current state of XEmacs, but if I remember correctly, CEDET folks don't take it into account...

Reply all
Reply to author
Forward
0 new messages