我运行以下命令(M-x):
Install package: haskell-mode然后我得到了错误:
[No match]我的.emacs是:
(require 'package)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-archives
(quote
(("gnu" . "http://elpa.gnu.org/packages/")
("melpa-stable" . "http://stable.melpa.org/packages/")))))
(package-initialize)我还运行了M-x package-refresh-contents。
如何调试此错误?
发布于 2018-01-03 02:35:30
我删除了目录"~/.emacs.d/“中的"rm -rf”,然后它就起作用了。
https://stackoverflow.com/questions/48065838
复制相似问题