我在Windows 7上使用emacs 23.3和clisp 2.49我已經在我的emacs站點-lisp目錄下安裝了軟件包2011-11-15。然後,我已經把這個在我的(否則爲空).emacs文件:我怎樣才能讓粘液在窗戶上工作
(setq inferior-lisp-program "clisp")
(add-to-list 'load-path "C:\\Program Files\\emacs-23.3\\site-lisp\\slime-2011-11-15")
(require 'slime)
(slime-setup)
然後我開始與M-X泥泥。在一個緩衝區稱爲SLDB零/ 0錯誤開始計數:
SWANK-BACKEND:WAIT-FOR-INPUT not implemented
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to sldb level 83.
1: [ABORT] Return to sldb level 82.
2: [ABORT] Return to sldb level 81.
3: [ABORT] Return to sldb level 80.
4: [ABORT] Return to sldb level 79.
5: [ABORT] Return to sldb level 78.
--more--
Backtrace:
0: [10837] frame binding variables (~ = dynamically):
| ~ SWANK::*SLDB-STEPPING-P* <--> NIL
1: [10834] frame binding variables (~ = dynamically):
| ~ SWANK::*SLDB-LEVEL* <--> 83
2: [10831] frame binding variables (~ = dynamically):
| ~ *PACKAGE* <--> #<PACKAGE COMMON-LISP-USER>
3: <1/10824> #<COMPILED-FUNCTION SWANK::DEBUG-IN-EMACS>
[10823] frame binding variables (~ = dynamically):
| ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> NIL
在普通遜色,口齒不清緩衝編譯是這樣的:
(progn (load "c:\\Program Files\\emacs-23.3\\site-lisp\\slime-2011-11-15\\swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "c:\\Users\\User1\\AppData\\Local\\Temp\\slime.10968" :coding-system "iso-latin-1-unix"))
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+'/I 8 8 8 8 8 8
\ `-+-'/ 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Welcome to GNU CLISP 2.49 (2010-07-07) <http://clisp.cons.org/>
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2010
Type :h and hit Enter for context help.
[1]>
;; Loading file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-loader.lisp ...
;; Loaded file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-loader.lisp
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-backend.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-backend.fas
The following functions were used but are deprecated:
SET - This function name is anachronistic. Use SETF SYMBOL-VALUE instead.
0 errors, 0 warnings
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-backend.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-backend.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\xref.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\xref.fas
0 errors, 0 warnings
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\xref.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\xref.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\metering.lisp ...
WARNING: in lines 439..533 : function DELTA4-TIME is not used.
Misspelled or missing IGNORE declaration?
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\metering.fas
0 errors, 1 warning
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\metering.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\metering.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-clisp.lisp ...
WARNING: in ACCEPT-CONNECTION in lines 164..172 : variable BUFFERING is used despite IGNORE declaration.
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-clisp.fas
0 errors, 1 warning
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-clisp.fas ...
WARNING: DEFUN/DEFMACRO: redefining function BREAK in
C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-clisp.fas, was defined in
G:\gnu\home\src\clisp\clisp-2.49\build-full\condition.fas
WARNING: Replacing method #<STANDARD-METHOD (#<BUILT-IN-CLASS T>)> in #<STANDARD-GENERIC-FUNCTION EMACS-INSPECT>
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-clisp.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-gray.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-gray.fas
0 errors, 0 warnings
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-gray.fas ...
WARNING: The generic function #<STANDARD-GENERIC-FUNCTION STREAM-WRITE-CHAR> is being modified, but has already been called.
WARNING: The generic function #<STANDARD-GENERIC-FUNCTION STREAM-LINE-COLUMN> is being modified, but has already been
called.
WARNING: The generic function #<STANDARD-GENERIC-FUNCTION STREAM-FORCE-OUTPUT> is being modified, but has already been
called.
WARNING: The generic function #<STANDARD-GENERIC-FUNCTION STREAM-LINE-COLUMN> is being modified, but has already been
called.
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-gray.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-match.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-match.fas
0 errors, 0 warnings
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-match.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-match.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank-rpc.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-rpc.fas
0 errors, 0 warnings
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-rpc.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank-rpc.fas
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\swank.lisp ...
WARNING: in ACCEPT-CONNECTIONS in lines 879..888 : variable EF is not used.
Misspelled or missing IGNORE declaration?
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank.fas
The following functions were used but are deprecated:
SET - This function name is anachronistic. Use SETF SYMBOL-VALUE instead.
0 errors, 1 warning
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\swank.fas
WARNING: These Swank interfaces are unimplemented:
(ACTIVATE-STEPPING ADD-FD-HANDLER ADD-SIGIO-HANDLER BACKGROUND-SAVE-IMAGE DISASSEMBLE-FRAME DUP EXEC-IMAGE
FRAME-CALL
INTERRUPT-THREAD MAKE-FD-STREAM RECEIVE-IF REMOVE-FD-HANDLERS REMOVE-SIGIO-HANDLERS SEND SLDB-BREAK-AT-START
SLDB-BREAK-ON-RETURN SLDB-STEP-INTO SLDB-STEP-NEXT SLDB-STEP-OUT SOCKET-FD SPAWN TOGGLE-TRACE WAIT-FOR-INPUT)
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-c-p-c.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-c-p-c.fas
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-arglists.lisp ...
;; Loading file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-c-p-c.fas ...
;; Loaded file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-c-p-c.fas
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-arglists.fas
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-fuzzy.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-fuzzy.fas
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-fancy-inspector.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-fancy-inspector.fas
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-presentations.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-presentations.fas
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-presentation-streams.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-presentation-streams.fas
The following functions were used but not defined:
SWANK::SAVE-PRESENTED-OBJECT
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-package-fu.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-package-fu.fas
The following functions were used but not defined:
SWANK::LIST-STRUCTURE-SYMBOLS
0 errors, 0 warnings
;; Compiling file C:\Program Files\emacs-23.3\site-lisp\slime-2011-11-15\contrib\swank-hyperdoc.lisp ...
;; Wrote file C:\Users\User1\AppData\Roaming\.slime\fasl\2011-11-11\clisp-2.49-win32-pc386\contrib\swank-hyperdoc.fas
0 errors, 0 warnings
;; Swank started at port: 5379.
CL-USER>
看看這篇博文,作者向.clisprc展示了一些必要的補充。也許它們適用於你的問題:http://www.mohiji.org/2011/01/modern-common-lisp-on-windows/ – angus
使用來自cvs(2011-12-05)的最新版本的slime解決了問題。不確定是否應該刪除該問題或將其保留以防其他人遇到同樣的問題。 – snowape
添加您自己的解決方案作爲答案並標記爲已接受。如果有人看到同樣的問題,解決方案將是顯而易見的。 –