我在emacs 24.5上安装自动完成时遇到了一些问题。
我在位于此处的.emacs.d文件夹中克隆了https://github.com/auto-complete/auto-complete.git个回复:C:\Users\Ben\AppData\Roaming\.emacs.d
我跑:
M-x load-file C:\Users\Ben\AppData\Roaming\.emacs.d\auto-complete\etc\install.el
和anwser将其安装在:C:\Users\Ben\AppData\Roaming\.emacs.d\lisp
Emacs回答:Successfully installed!
然后我将以下行添加到我的.emacs:
(add-to-list 'load-path "c:/Users/Ben/AppData/Roaming/.emacs.d/lisp")
(require 'auto-complete-config)
(ac-config-default)
当我运行emacs时,出现以下错误:
Warning (initialization): An error occurred while loading `c:/Users/Ben/AppData/Roaming/.emacs':
File error: Cannot open load file, no such file or directory, popup.
这是我完整的.emacs文件:
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'load-path "c:/Users/Ben/AppData/Roaming/.emacs.d/lisp")
(require 'auto-complete-config)
(ac-config-default)
怎么了?如何在emacs上安装自动完成?
答案 0 :(得分:1)