| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1772 人关注过本帖
标题:emacs 安装cedet问题
只看楼主 加入收藏
captain_leil
Rank: 2
等 级:论坛游民
帖 子:10
专家分:12
注 册:2012-4-4
结帖率:100%
收藏
已结贴  问题点数:20 回复次数:10 
emacs 安装cedet问题
#tar -zxf cedet-1.1.tar.gz
#cd cedet-1.1
#make



然后在.emacs加上了

;; Load CEDET.
;; See cedet/common/cedet.info for configuration details.
;; IMPORTANT: For Emacs >= 23.2, you must place this *before* any
;; CEDET component (including EIEIO) gets activated by another
;; package (Gnus, auth-source, ...).
(load-file "~/root/emacs/expand/cedet-1.1/common/cedet.el")

;; Enable EDE (Project Management) features
(global-ede-mode 1)

;; Enable EDE for a pre-existing C++ project
;; (ede-cpp-root-project "NAME" :file "~/myproject/Makefile")


;; Enabling Semantic (code-parsing, smart completion) features
;; Select one of the following:

;; * This enables the database and idle reparse engines
(semantic-load-enable-minimum-features)

;; * This enables some tools useful for coding, such as summary mode,
;; imenu support, and the semantic navigator
(semantic-load-enable-code-helpers)

;; * This enables even more coding tools such as intellisense mode,
;; decoration mode, and stickyfunc mode (plus regular code helpers)
;; (semantic-load-enable-gaudy-code-helpers)

;; * This enables the use of Exuberant ctags if you have it installed.
;; If you use C++ templates or boost, you should NOT enable it.
;; (semantic-load-enable-all-exuberent-ctags-support)
;; Or, use one of these two types of support.
;; Add support for new languages only via ctags.
;; (semantic-load-enable-primary-exuberent-ctags-support)
;; Add support for using ctags as a backup parser.
;; (semantic-load-enable-secondary-exuberent-ctags-support)

;; Enable SRecode (Template management) minor-mode.
;; (global-srecode-minor-mode 1)
搜索更多相关主题的帖子: features including activated 安装 project 
2012-05-06 23:52
captain_leil
Rank: 2
等 级:论坛游民
帖 子:10
专家分:12
注 册:2012-4-4
收藏
得分:0 
按以上步骤安装后,没有任何变化
开打emacs什么也没有

请教下
2012-05-06 23:53
pangding
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
来 自:北京
等 级:贵宾
威 望:94
帖 子:6784
专家分:16751
注 册:2008-12-20
收藏
得分:10 
你是头一次用吗?还是以前用过?
2012-05-07 20:50
zklhp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:china
等 级:贵宾
威 望:254
帖 子:11485
专家分:33241
注 册:2007-7-10
收藏
得分:0 
我记得cedet现在是内置的?
2012-05-08 10:06
captain_leil
Rank: 2
等 级:论坛游民
帖 子:10
专家分:12
注 册:2012-4-4
收藏
得分:0 
以下是引用pangding在2012-5-7 20:50:54的发言:

你是头一次用吗?还是以前用过?


我刚刚开始用emacs

能讲详细一点么,谢谢
2012-05-09 11:50
captain_leil
Rank: 2
等 级:论坛游民
帖 子:10
专家分:12
注 册:2012-4-4
收藏
得分:0 
以下是引用zklhp在2012-5-8 10:06:13的发言:

我记得cedet现在是内置的?


是有,不过我是23.1.1版本的,
2012-05-09 11:51
zklhp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:china
等 级:贵宾
威 望:254
帖 子:11485
专家分:33241
注 册:2007-7-10
收藏
得分:0 
你可以去专门讨论emacs的地方问问

我用emacs也就打打字 呵呵
2012-05-09 14:37
pangding
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
来 自:北京
等 级:贵宾
威 望:94
帖 子:6784
专家分:16751
注 册:2008-12-20
收藏
得分:0 
我倒是用 emacs,可惜不用它写程序。所以也没用过 cedet。
2012-05-10 23:02
zklhp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:china
等 级:贵宾
威 望:254
帖 子:11485
专家分:33241
注 册:2007-7-10
收藏
得分:0 
以下是引用pangding在2012-5-10 23:02:09的发言:

我倒是用 emacs,可惜不用它写程序。所以也没用过 cedet。

我也是。。

配置好了写程序很好 可惜配置太麻烦

大大不贴贴dotemacs让我们学习学习么
2012-05-11 11:28
pangding
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
来 自:北京
等 级:贵宾
威 望:94
帖 子:6784
专家分:16751
注 册:2008-12-20
收藏
得分:0 
我的 .emacs 里啥也没有,基本上就是用的默认配置,然后自己安装了一个五笔输入法。晒晒到是可以,但没啥可学的。
其实能在网上找到好多 emacs 的配置文件,还有很多达人讲解。我看了看,大部分的东西,对我来说都没什么用。
我主要是拿 emacs 当 shell 和用它看文档。用的比较多的是 dired, eshell, info, man, calender, calculator, org 这个几 major-mode。
哦。还有一个用得比较多的是拿 emacs 的 gdb-mode 调试程序。不过总的来说,我还是用 vim 用得更频繁。emacs 只是有规律的干固定的那么几件事。
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(column-number-mode t)
 '(compilation-scroll-output (quote first-error))
 '(default-input-method "chinese-wubi")
 '(dired-dwim-target t)
 '(dired-listing-switches "-alh")
 '(display-time-format "%Y/%m/%d(%a) %H:%M")
 '(display-time-load-average-threshold 0.05)
 '(display-time-mode t)
 '(icomplete-mode t)
 '(inhibit-startup-screen t)
 '(make-backup-files nil)
 '(tool-bar-mode nil))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

(setq-default major-mode 'text-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)

(global-set-key "\C-x\C-b" 'bs-show)
(global-set-key "\C-cc" 'calendar)
(global-set-key "\C-cf" 'find-dired)
(global-set-key [f9] 'bookmark-set)
(global-set-key [f10] 'bookmark-jump)

(fset 'yes-or-no-p 'y-or-n-p)

(add-to-list 'load-path "~/.emacs.d/wubi")
(require 'wubi)
(wubi-load-local-phrases) ; add user's Wubi phrases
(register-input-method
 "chinese-wubi" "Chinese-GB" 'quail-use-package
 "WuBi" "WuBi"
 "wubi")


 

[ 本帖最后由 pangding 于 2012-5-13 09:47 编辑 ]
2012-05-13 09:44
快速回复:emacs 安装cedet问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015389 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved