4 Sep 2003 05:08
Problems using ECB with escreen -- and a feature request
<myrkraverk <at> users.sourceforge.net>
2003-09-04 03:08:54 GMT
2003-09-04 03:08:54 GMT
Hello, Well, I just installed the latest release of ECB and I like it -- so far. But -- there is a but -- it goes kyukyo* when using it with escreen ;( Switching screens and changing buffers is a real pain in the butt! I use ERC to irc, vm for mail, and w3m to browse and until I can use ECB with escreen I'm afraid to turn it on! I guess I can add some stuff to escreen switching hooks, but I don't know what -- yet. I need to be able to switch ECB off and restore all/most of the stuff that changed, such as dedicated windows -- I was no longer able to use back in w3m ;( Another thing, I use M-0 to M-9 to switch windows and I'd like to see the window numbers in the ECB modelines -- see http://www.emacswiki.org/cgi-bin/wiki.pl?SwitchingWindows for details and functions that do this. * Just a word I instead of foobar Best, Johann -- --(Continue reading)
>
> Switching screens and changing buffers is a real pain in the butt!
>
> I use ERC to irc, vm for mail, and w3m to browse and until I can use
> ECB with escreen I'm afraid to turn it on! I guess I can add some
> stuff to escreen switching hooks, but I don't know what -- yet.
>
> I need to be able to switch ECB off and restore all/most of the stuff
> that changed, such as dedicated windows -- I was no longer able to use
> back in w3m ;(
OK, let me tell you some general point about the layout-engine of ECB:
It *completely* manages splitting windows, deleting window, switching to
buffers, displaying buffers. This is done with a lot of advices of functions
like `delete-window', `delete-other-window' `split-window' etc.. see the
option `ecb-advice-window-functions'. In the not-user variable
`ecb-basic-adviced-functions' are also function which are adviced by ECB.
Sorry, but for now i can not help you...The main problem is, because escreen
simulates in fact somehow Emacs-frames but uses internally always the same
frame ECB (if active) can not distinguish if current screen is the ECB-screen
or not (at least not reliable) and therefore all the ECB-advices are always
active even in not-ECB-screens ... This is the reason for your
dedicated-window etc... problem you described.
The only possible and imaginable solution would be to advice
Now the dedicated windows bug in the escreen-integration is fixed
(A lot of thanks to Johann who has pointed me to this bug). It is a
probably never occuring bug if not using a mechanism like escreen but
nevertheless it is a bug which has to be fixed to make ECB saver and
especially to make the cleanup of ECB (after deactivating) complete!
So i have checked in all in CVS.
To use the new escreen-integration you MUST use all the latest CVS-sources
of ECB (or waiting to the forthcoming version 1.96 - which will be come
soon i hope).
Then simply add to your .emacs
(ecb-escreen-enable-integration)
(escreen-install)
After that you can use escreen and ECB! ECB will always being displayed in
the escreen with number `ecb-escreen-number' (default = 1) and in no other
escreens. This means that only in the "ECB-escreen" is active and in all other
escreen it is deactivated.
Read the new section in "Conflicts and Bugs" in the latest info-manual of ECB!
Please test the integration and send me all bugs you find.
RSS Feed