[Openmcl-devel] Subject: Re: new to lisp pointers needed

mark robare mark_robare at charter.net
Mon Jan 11 15:30:22 PST 2010

thanks for the help john


but i could use some more of you insight

i did as you stated in your reply,

though i have emacs 22.3 and slime-2010-01-07

i did remane slime to slime when i put in the emacs/site-lisp folder

when i start emacs i get this error




Loading encoded-kb...done



An error has occurred while loading `c:/.emacs':


Symbol's function definition is void: add-to-lisp


To ensure normal operation, you should investigate and remove the

cause of the error in your initialization file.  Start Emacs with

the `--debug-init' option to view a complete error backtrace.


For information about GNU Emacs and the GNU system, type C-h C-a.


when i ran it with --debug-init i got,



Debugger entered--Lisp error: (void-function add-to-lisp)

  (add-to-lisp (quote load-path) "C:/emacs-22.3/site-lisp/slime/")

  eval-buffer(#<buffer  *load*> nil "c:/.emacs" nil t)  ; Reading at buffer
position 107

  load-with-code-conversion("c:/.emacs" "c:/.emacs" t t)

  load("~/.emacs" t t)

  #[nil "¾



i also have a folder named .emacs and one named .slime


thanks again








Date: Sun, 10 Jan 2010 19:26:34 -0500

From: John Federico <johnrico at gmail.com>

Subject: Re: [Openmcl-devel] new to lisp pointers needed

To: openmcl-devel at clozure.com


      <482d44df1001101626g79db283sf878d828e048fde9 at mail.gmail.com>

Content-Type: text/plain; charset=ISO-8859-1




I just went through this recently on Vista 32 bit (although I set up emacs
and slime a while back).  Here is how I remember doing it:


(1) I installed emacs into its own directory on the C: drive, in my case


(2) I installed slime into a subdirectory of the emacs folder:



(3) I installed CCL into its own directory on the C: drive, in my case


(4) I edited my .emacs file to add:


(setq inferior-lisp-program "c:/ccl/wx86cl.exe") (add-to-list 'load-path

(require 'slime)



[To edit my .emacs file, I launched emacs and did c-x, f then entered
"~/.emacs" without the quotes. That put me into the correct location.

Also note that you have to use a "/" and not a "\" in emacs when typing file



Once that is set up, you should be able to M-x slime, and it should work.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20100111/f2affafc/attachment.htm>

More information about the Openmcl-devel mailing list