emacs-ecb

Quickly finding project files using Emacs EDE

痴心易碎 提交于 2019-12-25 03:17:11
问题 I've recently started using EDE (via CEDET via ECB) in an attempt to get Emacs set up as a reasonable IDE for development on a largish C/C++/Python project. Something that was a bit fiddly to get set up (as I'm an Emacs and Lisp novice) was rapid file finding. The solution I currently have is to set up a raw/blank project (one EDE doesn't need to know how to manage makefiles or builds for) like so in my .emacs file: ;; Enable EDE mode (global-ede-mode 1) ;; EDE knows nothing of my project

How to remove directory window and add a cscope window in Emacs ECB?

99封情书 提交于 2019-12-11 01:46:08
问题 Yesterday I installed ECB on my Emacs, and I find method window and history window quite useful. But directory tree window and source window less useful, if I can hide them I will save more space for method window and history. Another problem is that I use cscope to search through the project for definitions and callers, the result of cscope is shown by splitting the main window into two. I'd like to know is it possible to make cscope result window fixed in ECB window, just like method window

How do I run a command just after the emacs frame has been rendered?

只愿长相守 提交于 2019-12-11 01:29:34
问题 I'm trying to figure out how to use Emacs Code Browser (ECB) and one of the things you can do with it is set ecb-windows-width to decide how wide the ecb windows are. The problem is this sequence: Frame pops up on screen. ecb-activate gets called, scaled according to ecb-windows-width. default-frame-alist parameters kick in, frame gets resized. The problem is that due to this order the width of the ecb window is set before the frame gets resized, and then doesn't get scaled. So I'd like to

Can't set Emacs Speedbar buffer display mode

半腔热情 提交于 2019-12-10 10:28:01
问题 I often work with differents active buffer on emacs like : source files SQL buffer shell buffer I try to get speedbar always display buffer mode but I can't find any option that can load this display when emacs is started (default is file mode), and keep it during all session. I also tried ecb history window that can display opened/recently closed edit buffers but there's no way to make it display specials buffers like SQL or shell. How can I customize emacs to get this behavior? 回答1: I know

Emacs 24.3.1 CEDET 2.0 (built in) and ECB 20131116.1319: Errors during the layout setup of ECB

两盒软妹~` 提交于 2019-12-10 05:26:34
问题 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

First steps after activating ECB first time

半城伤御伤魂 提交于 2019-12-08 19:53:41
问题 I have ECB installed and autostarted in emacs: (require 'semantic/analyze) (provide 'semantic-analyze) (provide 'semantic-ctxt) (provide 'semanticdb) (provide 'semanticdb-find) (provide 'semanticdb-mode) (provide 'semantic-load) (semantic-mode 1) (setq stack-trace-on-error t) (require 'ecb) (require 'ecb-autoloads) (setq ecb-auto-activate 1) (ecb-winman-winring-enable-support) ECB shows its "First steps after activating ECB first time" info node each time. How do I stop it doing that? Edit :

Installing ECB in emacs 24 in ubuntu

﹥>﹥吖頭↗ 提交于 2019-12-07 03:42:10
问题 I understand from this question that CEDET is installed in emacs 24 without additional installation, so I don't need to follow those instructions here, or the CEDET part here. I am not using the emacs starter kit, like this answer. So, when I use elpa to install ecb, I get the following error: Compiling file /home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/jn-file-tree.el at Mon Dec 30 16:13:57 2013 Entering directory `/home/mittenchops/.emacs.d/elpa/ecb-20131116.1319/ecb2/' jn-file

Can't set Emacs Speedbar buffer display mode

喜欢而已 提交于 2019-12-05 19:21:04
I often work with differents active buffer on emacs like : source files SQL buffer shell buffer I try to get speedbar always display buffer mode but I can't find any option that can load this display when emacs is started (default is file mode), and keep it during all session. I also tried ecb history window that can display opened/recently closed edit buffers but there's no way to make it display specials buffers like SQL or shell. How can I customize emacs to get this behavior? I know this question is really old, but I'm going to answer it for anyone searching out there. I did this with a

Emacs 24.3.1 CEDET 2.0 (built in) and ECB 20131116.1319: Errors during the layout setup of ECB

余生颓废 提交于 2019-12-05 11:42:51
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