尝试从https://github.com/joaotavora/yasnippet为 emacs 23 安装 yasnippet
首先,我尝试了快速安装,但yasnippet-bundle.el
“快速”安装似乎不在存储库中?
其次,我尝试了完整安装。
尝试进行完整安装时,出现以下错误:
[yas] Check your `yas/snippet-dirs': ~/.emacs.d/snippets is not a directory
我已经下载了最新的捆绑包joaotavora-yasnippet-e53c41d/
并解压到.emacs.d/plugins/
我的“.emacs”的补充是:
(add-to-list 'load-path
"~/.emacs.d/plugins/joaotavora-yasnippet-e53c41d")
(require 'yasnippet) ;; not yasnippet-bundle
(yas/initialize)
(yas/load-directory "~/.emacs.d/plugins/joaotavora-yasnippet-e53c41d/snippets")
基本上,安装说明似乎与最新的 src 不同步。有谁知道如何安装它?