[Openmcl-devel] Openmcl-devel Digest, Vol 125, Issue 14

Thomas Voßen tvossen at mac.com
Sat Mar 29 05:25:11 PDT 2014


> Date: Sat, 29 Mar 2014 15:09:02 +0800 (CST)
> From: ??? <chenjunyi at 139.com>
> To: openmcl-devel <openmcl-devel at clozure.com>
> Subject: [Openmcl-devel] How to run Clozure CL on Windows cmd like
> 	Emacs and	SLIME?
> Message-ID:
> 	<2b0d53364c2d680-00025.Richmail.00029312417857520194 at 139.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I run Clozure CL as a command-line process on Windows cmd. How to run Clozure CL on Windows cmd like Emacs and SLIME?
> 
> My English is not good, so please forgive me about that.
> 
> Best regard,
> Chen Junyi

Hi,

getting CCL, Emacs, and Slime up and running on Windows is quite similar to the Unix platforms.

1. Download the Windows binary of Emacs-24.3 (emacs-24.3-bin-i386.zip)
2. Unzip the emacs archive and put the emacs folder wherever it suits your needs.
3. Optional: You can set an environment variable called HOME to where your $HOME folder is.

4. Download Slime from github (https://github.com/slime/slime) and extract slime to a suitable folder, e.g. .emacs.d/slime/
5. Edit your .emacs file (which is located in your HOME folder) according to the instructions on the github page. You have to edit the two strings supplied to 'load-path and the inferior-lisp-program in the following example.

;; setup load-path and autoloads
(add-to-list 'load-path "~/dir/to/.emacs.d/slime")
(require 'slime-autoloads)

;; Set your lisp system and, optionally, some contribs
(setq inferior-lisp-program "d:/Applications/ccl/bin/dx86cl64.exe")
(setq slime-contribs '(slime-fancy))

6. Start emacs, hit M-x and type slime (that's ALT+x slime or ESC+x slime) to start the Slime REPL. To exit from the REPL, type , (comma) and then sayoonara.

I hope this helps.
Thomas



More information about the Openmcl-devel mailing list