From: d2003xx
Subject: CormanLisp with ilisp problem solved!
Date: 
Message-ID: <3dd5593c.0311230848.331785c0@posting.google.com>
Hi all!

I just got CormanLisp (v2.5) to work properly with ilisp! (no hanging
anymore)

Open the file "C:\Program Files\Corman....\init.lisp", then remove or
comment out this line (#3):

(setf (current-directory) *cormanlisp-directory*)



Cheers!

From: Bill Clementson
Subject: Re: CormanLisp with ilisp problem solved!
Date: 
Message-ID: <1b3ac8a3.0311241138.6ff8bdd2@posting.google.com>
·······@hotmail.com (d2003xx) wrote in message news:<····························@posting.google.com>...
 
> I just got CormanLisp (v2.5) to work properly with ilisp! (no hanging
> anymore)
> 
> Open the file "C:\Program Files\Corman....\init.lisp", then remove or
> comment out this line (#3):
> 
> (setf (current-directory) *cormanlisp-directory*)

I don't know who you are d2003xx; however, thank you very much for
posting this! I have been unable to use Corman with Emacs since Corman
version 1.5 and your solution seems to be the elusive fix that I've
been searching for. By making this change, I am now able to use Corman
in inferior lisp mode and in shell mode in emacs. I am still having a
couple of problems with ilisp mode but hope to have those resolved
shortly. When I do, I'll post an update to the CL Cookbook page.

Thanks again!

--
Bill Clementson
From: d2003xx
Subject: Re: CormanLisp with ilisp problem solved!
Date: 
Message-ID: <3dd5593c.0311260600.5981b5ba@posting.google.com>
···············@yahoo.com (Bill Clementson) wrote in message news:<····························@posting.google.com>...
> ·······@hotmail.com (d2003xx) wrote in message news:<····························@posting.google.com>...
>  
> > I just got CormanLisp (v2.5) to work properly with ilisp! (no hanging
> > anymore)
> > 
> > Open the file "C:\Program Files\Corman....\init.lisp", then remove or
> > comment out this line (#3):
> > 
> > (setf (current-directory) *cormanlisp-directory*)
> 
> I don't know who you are d2003xx;

I'm a lisp newbie :)

> however, thank you very much for
> posting this! I have been unable to use Corman with Emacs since Corman
> version 1.5 and your solution seems to be the elusive fix that I've
> been searching for. By making this change, I am now able to use Corman
> in inferior lisp mode and in shell mode in emacs. I am still having a
> couple of problems with ilisp mode but hope to have those resolved
> shortly. When I do, I'll post an update to the CL Cookbook page.

There is another problem in xemacs (maybe in emacs too?): The "\" in
file path is trimmed when ilisp sends commands to cormanlisp/clisp.
The solution is here:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defun my-ilisp-file-name-hack (file-name)
  "Modofied from original file-name-hack in ilisp/ilisp-hi.el"
  (cond ((string-match ·····@.*:" file-name)
         (substring file-name (match-end 0)))
        ((not (eq system-type 'cygwin32)) file-name)
        ((eq ilisp-dialect 'clisp-hs) file-name)
        ((string-equal "/cygdrive/" (subseq file-name 0 10))
         (concat (subseq file-name 10 11) ":" (subseq file-name 11)))
        (t file-name))
  (while (string-match "\\\\" file-name)                  ;;;;; I add
the two
    (setq file-name (replace-match "/" t nil file-name))) ;;;;; lines
  file-name)

(defun my-ilisp-load-setup ()
  (fset 'file-name-hack 'my-ilisp-file-name-hack))

(add-hook 'ilisp-load-hook 'my-ilisp-load-setup)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


> 
> Thanks again!

:))