10

archlinux で emacs24 を使用しています。marmalade.org のスライム パッケージを使用している場合、Mx スライムを使用すると次のエラーが表示されます。

debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread
#<THREAD "initial thread" RUNNING {AB007A9}>:
  Couldn't load
  "/home/sinners/.emacs.d/elpa/slime-20100404.1/swank-loader.lisp": file does
  not exist.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT] Exit debugger, returning to top level.

しかし、公式サイトの slime-cvs パッケージを使用すると、エラーは次のようになります。

Debugger entered: (("Error in timer" slime-attempt-connection (#<process inferior-lisp> nil 2) (void-variable --cl-accu--)))
  #[257 "\302\303\304\300\301F\"\207" [slime-attempt-connection (#<process inferior-lisp> nil 2) debug nil "Error in timer"] 7 "\n\n(fn DATA)"]((void-variable --cl-accu--))
  funcall(#[257 "\302\303\304\300\301F\"\207" [slime-attempt-connection (#<process inferior-lisp> nil 2) debug nil "Error in timer"] 7 "\n\n(fn DATA)"] (void-variable --cl-accu--))
  slime-timer-call(slime-attempt-connection #<process inferior-lisp> nil 2)
  apply(slime-timer-call (slime-attempt-connection #<process inferior-lisp> nil 2))
  byte-code("r\301\302H\303H\"\210)\301\207" [timer apply 5 6] 4)
  timer-event-handler([t 20271 59188 161536 0.3 slime-timer-call (slime-attempt-connection #<process inferior-lisp> nil 2) nil])

誰でも私を助けることができますか?

4

3 に答える 3

10

--cl-accu--レキシカルスコープが存在する場合の emacs cl パッケージの破損に関する変数記号の問題。slime.elあなたのスライムディストリビューションに 行き、ファイルの最後のセクションで;; lexical-binding: t文字列を見つけて、それをに変更してみてください。古いファイルがある場合は削除します。;; Local Variables:;; lexical-binding: nilslime.elc

于 2012-02-06T17:52:35.307 に答える
4

byte-recompile-directory を使用して以前にコンパイルした slime.elc ファイルを削除することで解決された、まったく同じ問題がありました。再コンパイルはしませんでした。

于 2013-02-23T17:29:43.767 に答える
2

よくわかりませんが、この問題は と のバージョンが異なることが原因である可能性がSLIMEありSWANKます。ただし、 を使用して Lisp 実装をインストールし ( Linux で最も一般的な実装はSBCLpacmanだと思います)、 を使用して他のすべてをインストールする必要があります。quicklisp

とをインストールする方法については、このブログ投稿を参照してください。SWANKSLIMEquicklisp

于 2012-02-06T15:45:00.860 に答える