emacs24下auto-complete的三个问题
2012-10-11 12:19
274 查看
一个是与linum共用时,每当出现补全菜单,linum会更新(增加)行号,虽不影响使用但很不美观而且晃眼,解决办法如下:
(defun ac-linum-workaround ()
"linum-mode tries to display the line numbers even for the
completion menu. This workaround stops that annoying behavior."
(interactive)
(defadvice linum-update (around ac-linum-update-workaround activate)
(unless ac-completing
ad-do-it)))
;开启linum时调用
(ac-linum-workaround)
另一个问题是当(setq ac-auto-start nil),手动启动auto-complete出现补全菜单时会开住(无法上/下移动选择补全项),没找到具体原因,
反复尝试后加入如下设置可以解决之:(setq ac-expand-on-auto-complete nil)
最后一个显示补全信息时提示warning: defvar ignored because help-xref-following is let-bound,这是因为未能及时加载help-mode.el
打开auto-complete.el(版本1.3.1)在49行下面加入(require 'help-mode)即可,不要忘了重新编译一下。
(defun ac-linum-workaround ()
"linum-mode tries to display the line numbers even for the
completion menu. This workaround stops that annoying behavior."
(interactive)
(defadvice linum-update (around ac-linum-update-workaround activate)
(unless ac-completing
ad-do-it)))
;开启linum时调用
(ac-linum-workaround)
另一个问题是当(setq ac-auto-start nil),手动启动auto-complete出现补全菜单时会开住(无法上/下移动选择补全项),没找到具体原因,
反复尝试后加入如下设置可以解决之:(setq ac-expand-on-auto-complete nil)
最后一个显示补全信息时提示warning: defvar ignored because help-xref-following is let-bound,这是因为未能及时加载help-mode.el
打开auto-complete.el(版本1.3.1)在49行下面加入(require 'help-mode)即可,不要忘了重新编译一下。
相关文章推荐
- Emacs上安装JDEE后Auto-complete失效问题的解决方法
- jqueryui autoComplete 组合下拉框过长问题的解决
- emacs+autocomplete+semantic实现自动补全
- AutoCompleteTextView自动提示输入框问题
- emacs安装auto-complete
- 解决ajax autocomplete自动完成功能,传参数问题
- Emacs 安装 auto-complete
- emacs 安装auto-complete
- emacs中使用auto-complete的详细设置
- AutoCompleteTextView不能使用的问题
- 在angularJS中用jquery.bigautocomplete.js的问题
- EMACS下 弹出窗口式的 Auto-Complete 自动补全工具简单介绍
- 关于jquery.autocomplete.js自动提示插件中文乱码问题
- ubantu 配置 erlang 18.0 + emacs + autocomplete
- emacs 安装 auto-complete 自动补全功能
- [emacs] auto-complete上使用scite的api文件进行补全
- ubuntu下auto-complete和auto-complete-clang出错的问题
- Emacs安装auto-complete
- jQuery UI Autocomplete 使用 ajax 方法传输Json数据出现乱码问题的解决
- 黑马学习笔记——jQuery UI Autocomplete 输入中文不自动完成问题解决方案