|
RT~~
我在cedet的semantic补全的时候,发生了下列错误信息
semantic-ctxt-current-symbol-default: Wrong type argument: syntax-table-p, nil
下面是我的配置文件关于代码补全的部分
- ;;补全设置 control-\
- ;;;;配置Sementic的检索范围
- (semantic-load-enable-code-helpers)
- (setq semanticdb-project-roots
- (list
- (expand-file-name "/")))
- (defun my-indent-or-complete ()
- (interactive)
- (if (looking-at "\\>")
- (hippie-expand nil)
- (indent-for-tab-comman))
- )
- (autoload 'senator-try-expand-semantic "senator")
- (setq hippie-expand-try-functions-list
- '(
- senator-try-expand-semantic
- try-expand-dabbrev
- try-expand-dabbrev-visible
- try-expand-dabbrev-all-buffers
- try-expand-dabbrev-from-kill
- try-expand-list
- try-expand-list-all-buffers
- try-expand-line
- try-expand-line-all-buffers
- try-complete-file-name-partially
- try-complete-file-name
- try-expand-whole-kill
- )
- )
- (global-set-key [(meta \\)] 'my-indent-or-complete)
- (global-set-key [(control \\)] 'senator-completion-menu-popup)
复制代码
搞了很久是在没有办法了, 请各位知道的朋友帮个忙。 |
|