I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
_________________________________________________________________ NEW! Get Windows Live FREE. http://www.get.live.com/wl/all
On Fri, 29 May 2009 11:22:49 +0800, Stephen Lee leejianm@hotmail.com wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
I have the same setup and the same bug on the same OS, too, and am also interested in a solution.
This bug is almost certainly Windows-specific. I'm using Windows XP Professional, Service Pack 3; which version of Windows are you using?
-- Benjamin L. Russell
Hi I am using Windows XP SP 2. Gave up and changed to CLISP,now it works.
My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
To: slime-devel@common-lisp.net From: DekuDekuplex@Yahoo.com Date: Fri, 29 May 2009 17:22:45 +0900 Subject: Re: [slime-devel] REPL problems
On Fri, 29 May 2009 11:22:49 +0800, Stephen Lee leejianm@hotmail.com wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
I have the same setup and the same bug on the same OS, too, and am also interested in a solution.
This bug is almost certainly Windows-specific. I'm using Windows XP Professional, Service Pack 3; which version of Windows are you using?
-- Benjamin L. Russell
Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 80-3603-6725 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
_________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/
I use SLIME (latest cvs) with SBCL 1.0.22 on Windows XP SP 2 and it works fine.
What's in your .emacs file? Do you have
(eval-after-load "slime" (slime-setup '(slime-repl)))
Or something equivalent (e.g. slime-fancy)?
On Fri, May 29, 2009 at 8:09 AM, Stephen Lee leejianm@hotmail.com wrote:
Hi I am using Windows XP SP 2. Gave up and changed to CLISP,now it works.
My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
To: slime-devel@common-lisp.net From: DekuDekuplex@Yahoo.com Date: Fri, 29 May 2009 17:22:45 +0900 Subject: Re: [slime-devel] REPL problems
On Fri, 29 May 2009 11:22:49 +0800, Stephen Lee leejianm@hotmail.com wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22
on Windows.
Managed to configure and start SLIME. But REPL is not working. after i
entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here
http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
I have the same setup and the same bug on the same OS, too, and am also interested in a solution.
This bug is almost certainly Windows-specific. I'm using Windows XP Professional, Service Pack 3; which version of Windows are you using?
-- Benjamin L. Russell
Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 80-3603-6725 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messageshttp://www.microsoft.com/windows/windowslive/
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
On Fri, 29 May 2009 23:09:30 +0800, Stephen Lee leejianm@hotmail.com wrote:
Hi I am using Windows XP SP 2. Gave up and changed to CLISP,now it works.
Are you sure? I thought so, too, but when I evaluated the following program for computing the solution to the Towers of Hanoi problem with "(hanoi 3)", the output from the "format" statement directed to standard output that should have been sent to the REPL got sent to the "*inferior-lisp*" buffer, instead:
(defun hanoi (n) (hanoi-helper n 'A 'B 'C))
(defun hanoi-helper (n source dest using) (cond ((equalp n 1) (format t "Move disc from ~A to ~A.~%" source dest)) (t (progn (hanoi-helper (- n 1) source using dest) (hanoi-helper 1 source dest using) (hanoi-helper (- n 1) using dest source)))))
Are you sure that "format" doesn't redirect output directed to standard output to the "*inferior-lisp*" buffer instead of the REPL?
-- Benjamin L. Russell
My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
To: slime-devel@common-lisp.net From: DekuDekuplex@Yahoo.com Date: Fri, 29 May 2009 17:22:45 +0900 Subject: Re: [slime-devel] REPL problems
On Fri, 29 May 2009 11:22:49 +0800, Stephen Lee leejianm@hotmail.com wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
I have the same setup and the same bug on the same OS, too, and am also interested in a solution.
This bug is almost certainly Windows-specific. I'm using Windows XP Professional, Service Pack 3; which version of Windows are you using?
-- Benjamin L. Russell
Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 80-3603-6725 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/
On Mon, 01 Jun 2009 16:52:29 +0900, Benjamin L. Russell DekuDekuplex@Yahoo.com wrote:
On Fri, 29 May 2009 23:09:30 +0800, Stephen Lee leejianm@hotmail.com wrote:
Hi I am using Windows XP SP 2. Gave up and changed to CLISP,now it works.
Are you sure? I thought so, too, but when I evaluated the following program for computing the solution to the Towers of Hanoi problem with "(hanoi 3)", the output from the "format" statement directed to standard output that should have been sent to the REPL got sent to the "*inferior-lisp*" buffer, instead:
(defun hanoi (n) (hanoi-helper n 'A 'B 'C))
(defun hanoi-helper (n source dest using) (cond ((equalp n 1) (format t "Move disc from ~A to ~A.~%" source dest)) (t (progn (hanoi-helper (- n 1) source using dest) (hanoi-helper 1 source dest using) (hanoi-helper (- n 1) using dest source)))))
Are you sure that "format" doesn't redirect output directed to standard output to the "*inferior-lisp*" buffer instead of the REPL?
Actually, whether you have this problem probably depends on your setup; I only have it with my regular GNU Emacs (which reads in my .emacs file) when calling "M-x slime RET", but not when using the default Lispbox (which ignores that file). Here's the relevant section from my .emacs file:
;; Setup for SLIME (setq inferior-lisp-program "C:/bin/clisp-2.45/full/lisp.exe -B C:/bin/clisp-2.45/full -M C:/bin/clisp-2.45/full/lispinit.mem -ansi -q") (add-to-list 'load-path "C:/bin/emacs/site-lisp/slime/") (require 'slime) (slime-setup '(slime-fancy slime-asdf slime-banner))
-- Benjamin L. Russell
-- Benjamin L. Russell
My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
To: slime-devel@common-lisp.net From: DekuDekuplex@Yahoo.com Date: Fri, 29 May 2009 17:22:45 +0900 Subject: Re: [slime-devel] REPL problems
On Fri, 29 May 2009 11:22:49 +0800, Stephen Lee leejianm@hotmail.com wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
I have the same setup and the same bug on the same OS, too, and am also interested in a solution.
This bug is almost certainly Windows-specific. I'm using Windows XP Professional, Service Pack 3; which version of Windows are you using?
-- Benjamin L. Russell
Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 80-3603-6725 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/
On Mon, 01 Jun 2009 17:07:54 +0900, Benjamin L. Russell DekuDekuplex@Yahoo.com wrote:
On Mon, 01 Jun 2009 16:52:29 +0900, Benjamin L. Russell DekuDekuplex@Yahoo.com wrote:
[...]
Actually, whether you have this problem probably depends on your setup; I only have it with my regular GNU Emacs (which reads in my .emacs file) when calling "M-x slime RET", but not when using the default Lispbox (which ignores that file). Here's the relevant section from my .emacs file:
;; Setup for SLIME (setq inferior-lisp-program "C:/bin/clisp-2.45/full/lisp.exe -B C:/bin/clisp-2.45/full -M C:/bin/clisp-2.45/full/lispinit.mem -ansi -q") (add-to-list 'load-path "C:/bin/emacs/site-lisp/slime/") (require 'slime) (slime-setup '(slime-fancy slime-asdf slime-banner))
I finally discovered a patch, posted by Samium Gromoff in the thread "PATCH Output redirection in the SIMPLE SERVE EVENTS case." (see http://article.gmane.org/gmane.lisp.slime.devel/8513), documenting this bug and patching it.
However, it introduced a new bug: This time, the banner does not appear, and I get the following lines in my REPL at startup, instead:
CL-USER> ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-asdf.fas ... ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-asdf.fas ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-package-fu.fas ... ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-package-fu.fas ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-fuzzy.fas ... ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-c-p-c.fas ... ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-c-p-c.fas ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-fuzzy.fas ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-fancy-inspector.fas ... ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-fancy-inspector.fas ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-arglists.fas ... ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-arglists.fas ;; Loading file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-presentations.fas ... ;; Loaded file C:\home.slime\fasl\2009-05-19\clisp-2.45-win32-pc386\contrib\swank-presentations.fas CL-USER> CL-USER>
Anybody know how to patch this patch? Apparently, this patch does not seem to have been applied in the CVS version of swank.lisp downloadable from http://common-lisp.net/project/slime/snapshots/slime-current.tgz.
-- Benjamin L. Russell
-- Benjamin L. Russell
-- Benjamin L. Russell
My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
To: slime-devel@common-lisp.net From: DekuDekuplex@Yahoo.com Date: Fri, 29 May 2009 17:22:45 +0900 Subject: Re: [slime-devel] REPL problems
On Fri, 29 May 2009 11:22:49 +0800, Stephen Lee leejianm@hotmail.com wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
I have the same setup and the same bug on the same OS, too, and am also interested in a solution.
This bug is almost certainly Windows-specific. I'm using Windows XP Professional, Service Pack 3; which version of Windows are you using?
-- Benjamin L. Russell
Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 80-3603-6725 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/
* Benjamin L. Russell 6q572514ruc9h0td4fv6391hbtvqkmpa8v@4ax.com : Wrote on Mon, 01 Jun 2009 17:59:44 +0900:
|>Actually, whether you have this problem probably depends on your |>setup; I only have it with my regular GNU Emacs (which reads in my |>.emacs file) when calling "M-x slime RET", but not when using the |>default Lispbox (which ignores that file). Here's the relevant |>section from my .emacs file:
IIRC the problem should happen only with CVS SLIME and NOT with SLIME-2.0
| I finally discovered a patch, posted by Samium Gromoff in the thread | "PATCH Output redirection in the SIMPLE SERVE EVENTS case." (see | http://article.gmane.org/gmane.lisp.slime.devel/8513), documenting | this bug and patching it. | | However, it introduced a new bug: This time, the banner does not | appear, and I get the following lines in my REPL at startup, instead:
[snip]
| Anybody know how to patch this patch? Apparently, this patch does not | seem to have been applied in the CVS version of swank.lisp
No, I do not know how to fix the patch, and do not see your problem. But I'm appending a WIP patch on the lines of Samium's patch which I've tested on Lispworks/Linux. 1. I've not tried it with CLISP 2. This will not work on CMUCL. 3. I do not expect this will address the problems which were [snipped] above. In case you care to try it and in the unlikely event it fixed something, I'd appreciate a note, so maybe I can clean it up and follow up this approach with more testing.
I've been wailing on this since 2006 but the streams design in swank is utter crap and instead of getting fixed has been pushed in the direction of becoming an "unmaintainable mess". Sadly I do not see the design flaws being fixed in the future to support the various existing interaction modes, instead i expect to see the crap-design justified by support for those interaction modes dropped.
Furthermore the REPL printing is broken: If you switch to the REPL enter (+ 2 3), you get the result `5' printed. Now if you switch to lisp buffer, (say *slime-scratch*) and evaluate an expression (format t "foo") by C-M-x or C-x C-e (slime-eval-last-expression) You'll find the output of "foo" BEFORE the `5'
--Madhu
diff --git a/swank.lisp b/swank.lisp index 4df8020..1dec402 100644 --- a/swank.lisp +++ b/swank.lisp @@ -1394,9 +1394,21 @@ The processing is done in the extent of the toplevel restart." :serve-requests #'install-fd-handler :cleanup #'deinstall-fd-handler)) ((nil) - (make-connection :socket-io socket-io - :serve-requests #'simple-serve-requests)) - ))) + (let ((c (make-connection :socket-io socket-io + :serve-requests #'simple-serve-requests))) +;; ;madhu 090601 + (initialize-streams-for-connection c) + (with-struct* (connection. @ c) + (setf (@ env) + `((*standard-output* . ,(@ user-output)) + (*standard-input* . ,(@ user-input)) + (*trace-output* . ,(or (@ trace-output) (@ user-output))) + (*error-output* . ,(@ user-output)) + (*debug-io* . ,(@ user-io)) + (*query-io* . ,(@ user-io)) + (*terminal-io* . ,(@ user-io))))) + c))))) + (setf (connection.communication-style c) style) (setf success t) c) @@ -1556,6 +1568,7 @@ NIL if streams are not globally redirected.") ;;; We always redirect the standard streams to Emacs while evaluating ;;; an RPC. This is done with simple dynamic bindings.
+#+nil ;madhu 090601 (defslimefun create-repl (target) (assert (eq target nil)) (let ((conn *emacs-connection*)) @@ -1575,6 +1588,31 @@ NIL if streams are not globally redirected.") (list (package-name *package*) (package-string-for-prompt *package*)))))
+(defslimefun create-repl (target) ;madhu 090601 + (assert (eq target nil)) + (let ((conn *emacs-connection*)) + (if (connection.user-io conn) + (format t "Skipping ~S" conn) + (progn + (initialize-streams-for-connection conn) + (with-struct* (connection. @ conn) + (setf (@ env) + `((*standard-output* . ,(@ user-output)) + (*standard-input* . ,(@ user-input)) + (*trace-output* . ,(or (@ trace-output) (@ user-output))) + (*error-output* . ,(@ user-output)) + (*debug-io* . ,(@ user-io)) + (*query-io* . ,(@ user-io)) + (*terminal-io* . ,(@ user-io)))) + (maybe-redirect-global-io conn) + (when (use-threads-p) + (setf (@ repl-thread) (spawn-repl-thread conn "repl-thread"))) + (list (package-name *package*) + (package-string-for-prompt *package*))))))) + +#+nil +(open-streams (make-connection :socket-io nil :serve-requests t)) + (defun initialize-streams-for-connection (connection) (multiple-value-bind (dedicated in out io repl-results) (open-streams connection)
[I intended to send the patch and rants by private mail. I'm afraid, the frustration blinded me temporarily and I followed up to the slime-devel list by mistake. oops] -- Madhu
* Madhu m3r5y1ivt9.fsf@moon.robolove.meer.net : Wrote on Wed, 03 Jun 2009 13:38:18 +0530:
| * Benjamin L. Russell 6q572514ruc9h0td4fv6391hbtvqkmpa8v@4ax.com : | Wrote on Mon, 01 Jun 2009 17:59:44 +0900: | | | I finally discovered a patch, posted by Samium Gromoff in the thread | | "PATCH Output redirection in the SIMPLE SERVE EVENTS case." (see | | http://article.gmane.org/gmane.lisp.slime.devel/8513), documenting | | this bug and patching it. | | | | However, it introduced a new bug: This time, the banner does not | | appear, and I get the following lines in my REPL at startup, | | instead: | | [snip] | | | Anybody know how to patch this patch? Apparently, this patch does | | not seem to have been applied in the CVS version of swank.lisp | | No, I do not know how to fix the patch, and do not see your | problem. But I'm appending a WIP patch on the lines of Samium's patch | which I've tested on Lispworks/Linux. 1. I've not tried it with CLISP | 2. This will not work on CMUCL.
FTR There were errors in the patch I posted here by mistake. But for the general idea in Samium Gramoff's patch to work, under CMUCL and CLISP, and under the swank-stream-model-de-jour, the behaviour of SWANK:MAKE-REPL-INPUT-STREAM needs to be change, along the lines of:
diff --git a/swank.lisp b/swank.lisp index 4df8020..391c573 100644 --- a/swank.lisp +++ b/swank.lisp @@ -1358,18 +1359,16 :socket-open :socket-closed) (if (open-stream-p stdin) :stdin-open :stdin-closed)) - (loop - - (let* ((socket (connection.socket-io connection)) - (inputs (list socket stdin)) - (ready (wait-for-input inputs))) - (cond ((eq ready :interrupt) - (check-slime-interrupts)) - ((member socket ready) - (handle-requests connection t)) - ((member stdin ready) - (return (read-non-blocking stdin))) - (t (assert (null ready))))))))) + (loop (let* ((socket (connection.socket-io connection)) + (ready (or (and (listen stdin) (list stdin)) + (wait-for-input (list socket))))) + (cond ((eq ready :interrupt) + (check-slime-interrupts)) + ((member socket ready) + (handle-requests connection t)) + ((member stdin ready) + (return (read-non-blocking stdin))) + (t (assert (null ready)))))))))
(defun read-non-blocking (stream) (with-output-to-string (str)
Can you send the contents of the *inferior-lisp* buffer after you try to evaluate the expression?
Thanks
On May 28, 2009, at 10:22 PM, Stephen Lee wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
Make the most of what you can do on your PC and the Web, just the way you want. Windows Live_______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Brian Mastenbrook brian@mastenbrook.net http://brian.mastenbrook.net/
Hi below is my buffer output
---- (progn (load "c:/lisp/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/slime.3776" :coding-system "iso-latin-1-unix"))
This is SBCL 1.0.22, an implementation of ANSI Common Lisp. More information about SBCL is available at http://www.sbcl.org/.
SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information.
This is experimental prerelease support for the Windows platform: use at your own risk. "Your Kitten of Death awaits!" * ; loading #P"c:\lisp\slime\swank-loader.lisp" ; loading #P"C:\Documents and Settings\Administrator\Application Data\.slime\fasl\2009-05-24\sbcl-1.0.22-win32-x86\swank-backend.fasl" ; loading #P"C:\Documents and Settings\Administrator\Application Data\.slime\fasl\2009-05-24\sbcl-1.0.22-win32-x86\swank-source-path-parser.fasl" ; loading #P"C:\Documents and Settings\Administrator\Application Data\.slime\fasl\2009-05-24\sbcl-1.0.22-win32-x86\swank-source-file-cache.fasl" ; loading #P"C:\Documents and Settings\Administrator\Application Data\.slime\fasl\2009-05-24\sbcl-1.0.22-win32-x86\swank-sbcl.fasl" STYLE-WARNING: redefining EMACS-INSPECT (#<BUILT-IN-CLASS T>) in DEFMETHOD ; loading #P"C:\Documents and Settings\Administrator\Application Data\.slime\fasl\2009-05-24\sbcl-1.0.22-win32-x86\swank-gray.fasl" STYLE-WARNING: Implicitly creating new generic function STREAM-READ-CHAR-WILL-HANG-P. ; loading #P"C:\Documents and Settings\Administrator\Application Data\.slime\fasl\2009-05-24\sbcl-1.0.22-win32-x86\swank.fasl" WARNING: These Swank interfaces are unimplemented: (ALL-THREADS CALLS-WHO DISASSEMBLE-FRAME INTERRUPT-THREAD RECEIVE-IF SAVE-IMAGE SEND SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN SPAWN WHO-SPECIALIZES) ;; Swank started at port: 1079. CL-USER> (+1 2)
(+ 3 4)
----- My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
CC: slime-devel@common-lisp.net From: brian@mastenbrook.net To: leejianm@hotmail.com Subject: Re: [slime-devel] REPL problems Date: Fri, 29 May 2009 10:18:19 -0500
Can you send the contents of the *inferior-lisp* buffer after you try to evaluate the expression?
Thanks
On May 28, 2009, at 10:22 PM, Stephen Lee wrote:
I have manage to install SLIME (latest cvs), Emacs 22.3 and SBCL 1.0.22 on Windows.
Managed to configure and start SLIME. But REPL is not working. after i entered the code and press enter the code dosen't seem to execute
Example CL-USER>(+ 1 2) <enter>
No 3 is displayed
I set up SLIME on Ubuntu before and it works so is it a windows thing?
I followed the instructions here http://common-lisp.net/pipermail/slime-devel/2008-May/007331.html
Make the most of what you can do on your PC and the Web, just the way you want. Windows Live_______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
-- Brian Mastenbrook brian@mastenbrook.net http://brian.mastenbrook.net/
_________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/