From the web page:
PracticalECB attempts to give a practical guide on how to use ECB and what it can do
Developers
To get the development version easily and set it up you can use nXhtml which has a tool for this in the nXhtml menus (see nXhtml / Tools / ECB).
The latest ECB version (2.40) does not work with the CEDET in Emacs 23.2. The CVS version of ECB, however, works with 23.2. You can get it with the following command:
cvs -z3 -d:pserver:anonymous@ecb.cvs.sourceforge.net:/cvsroot/ecb co -P ecb
As of september 2012, the CVS ecb version does not work with the bzr Emacs version: ECB 2.40 - Error: ECB can only be used with cedet [1.0pre6, 1.0.9]! Please install it and restart Emacs!. The current CEDET is 1.1
There is patched version of ECB that works with fresh Emacs & CEDET. See http://alexott.blogspot.com/2012/06/ecb-fresh-emacscedet.html for more details on installation
The patched version of ECB is also available on the MELPA package repository.
CategoryModes CategoryProgrammerUtils CategoryProject
I came up with a solution to satisfy my need to use ECB in multiple frames, and would like to share it here. The solution just deactivate ECB, then ectivates it again in current selected frame.
The following is the lisp code. It is an command. So just put it in your Emacs configuration file and call it as any other commands.
(defun ecb-activated-in-selected-frame () "A hack to use ECB in multiple frames. It first deactivates ECB, then activate it in current frame." (interactive) (let ((current-frame (selected-frame))) ; The frame foucs change when activating or deactivating ECB is weird, so ; activate current selected frame explicitly. (if (and (boundp 'ecb-minor-mode) (ecb-minor-mode)) (ecb-deactivate) ) (select-frame current-frame) (ecb-activate) ) )
The code is also on Github: https://github.com/shawnLeeZX/emacs.d/blob/master/lisp/init-ecb.el
Happy coding 😊
Shuai Li
Best