Emacs 24.3.1 CEDET 2.0 (built in) and ECB 20131116

2019-05-02 09:07发布

问题:

Using the CEDET that comes with Emacs 24.3.1 and the ECB that is in Melpa, I get the following trying ecb-activate:

All requirements for ECB 2.40 fulfilled - Enjoy it! [2 times]
The ECB is now deactivated.
ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the layout setup of ECB.  
    (error-type: void-variable, error-data: (ecb-examples-bufferinfo-buffer-name))

Here is the info from the emacs pacakage manager:

ecb is an installed package.

     Status: Installed in `/home/Smith/.emacs.d/elpa/ecb-20131116.1319/'.
     Version: 20131116.1319
     Summary: a code browser for Emacs

cedet is a built-in package.

    Status: Built-in.
    Version: 2.0
    Summary: Setup CEDET environment

My question, how to get this to work. Alex Ott's fork of ECB seems to indicate it should.

回答1:

I was able to get past this error after executing this command in the *scratch*

(setq ecb-examples-bufferinfo-buffer-name nil)

YMMV.