简体   繁体   English

Emacs / CIDER错误

[英]Emacs/CIDER Error

I'm trying to do some Clojure development using Emacs and cider , and following this tutorial . 我正在尝试使用Emacs和cider进行一些Clojure开发,并遵循本教程 I've gotten to the point where I need to do Mx cider-jack-in , which is supposed to start a *cider-repl* buffer, but instead gives me the error 我已经到了需要做Mx cider-jack-in的地步,它应该启动一个*cider-repl*缓冲区,但是却给了我错误

error in process filter: Symbol's function definition is void: clojure-mode-variables

I'm running emacs 24.3.1 , cider-20150412.827 (out of melpa ), Leiningen 2.3.4 , and I get the error whether I specify [cider/cider-repl "0.7.0"] or [cider/cider-repl "0.8.2"] . 我正在运行emacs 24.3.1 cider-20150412.827cider-20150412.827 (在melpa ), Leiningen 2.3.4 ,我得到错误是否指定[cider/cider-repl "0.7.0"][cider/cider-repl "0.8.2"] I'm able to successfully run lein run on the project I'm trying to edit. 我能够在我正在尝试编辑的项目上成功运行lein run

Any ideas what I'm doing wrong? 我有什么想法我做错了吗?

You're using an outdated version of clojure-mode . 您使用的是过时版本的clojure-mode Update to a recent version (eg the latest) and everything should be fine. 更新到最新版本(例如最新版本),一切都应该没问题。 Btw, you should also use [cider/cider-nrepl "0.9.0-SNAPSHOT"] together with CIDER from MELPA. 顺便说一句,您还应该将[cider/cider-nrepl "0.9.0-SNAPSHOT"]与MELPA的CIDER一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM