我目前正在尝试在 Emacs 上安装 [gocode][1] 并收到当前错误消息:Warning (initialization): An error occurred while loading `/home/darwin/.emacs':File error: Cannot open load file, no such file or directory, go-autocompleteTo ensure normal operation, you should investigate and remove thecause of the error in your initialization file. Start Emacs withthe `--debug-init' option to view a complete error backtrace.当我使用 --debug-init 运行 Emacs 时,我收到了这个(它不太漂亮):Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "go-autocomplete") require(go-autocomplete) eval-buffer(#<buffer *load*> nil "/home/darwin/.emacs" nil t) ; Reading at buffer position 1831 load-with-code-conversion("/home/darwin/.emacs" "/home/darwin/.emacs" t t) load("~/.emacs" t t) #[0 "\205\262� \306=\203�\307\310Q\202;� \311=\204�\307\312Q\202;�\313\307\314\315#\203*�\316\202;�\313\307\314\317#\203:�\320\nB\321\202;�\316\322\323\322\211#\210\322=\203a�\324\325\326\307\327Q!\"\323\322\211#\210\322=\203`�\210\203\243�\330!\331\232\203\243�\332!\211\333P\334!\203}�\211\202\210�\334!\203\207�\202\210�\314\262\203\241�\335\"\203\237�\336\337#\210\340\341!\210\266\f?\205\260�\314\323\342\322\211#)\262\207" [init-file-user system-type delayed-warnings-list user-init-file inhibit-default-init inhibit-startup-screen ms-dos "~" "/_emacs" windows-nt "/.emacs" directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\\.elc?\\)?$" (initialization "`_emacs' init file is deprecated, please use `.emacs'") "~/_emacs" t load expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-extension "elc" file-name-sans-extension ".el" file-exists-p file-newer-than-file-p message "Warning: %s is newer than %s" sit-for 1 "default"] 7 "\n\n(fn)"]() command-line() normal-top-level()我已经使用包管理器安装了 gocode 所需的 Emacs(常规)自动完成版本(顺便说一下,gocode 在这个管理器上不可用)。如果有人能帮我弄清楚如何让 gocode 工作,那就太棒了。先感谢您。PS 如果需要,我可以添加其他目录。[1]:https : //github.com/nsf/gocode
1 回答
- 1 回答
- 0 关注
- 295 浏览
添加回答
举报
0/150
提交
取消