Re: Re: emacs interface to corman

Carlos Ungil <[email protected]> Wed, 1 Oct 2003 14:50:29 +0200 (CEST)
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
Hello,

I think the instructions sent by John were originally written for 
Corman Lisp 2.0, and following them I managed to make 2.5 run 
with ilisp (from CVS) work (emacs 21.3.50.1 running on Windows XP).

I created the cormanEmacs.img as suggested, and I had to comment this 
fragment in ilisp-ccl.el:
;  (ilisp-load-init 'ilisp-package-kludge ilisp-cl-ilisp-package-file)
;  (ilisp-load-init 'common-lisp ilisp-cl-ilisp-init-file)
;  (ilisp-load-init 'cormanlisp ilisp-cormanlisp-init-file)

This is what I see when M-x cormanlisp:

Starting C:\PROGRA~1\CORMAN~2\CORMAN~1.5\clconsole.exe -image 
C:\PROGRA~1\CORMAN~2\CORMAN~1.5\cormanEmacs.img ...
ILISP V5.12.0  Use M-x ilisp-bug for problems and suggestions.
;; Corman Lisp 2.5  Copyright (c) 2003 Corman Technologies. All rights 
reserved.
;; Licensed to Carlos Ungil [version 2.0].
Type :quit to exit.
?
?

And these are the relevant fragments of .emacs:

(autoload 'cormanlisp  "ilisp" "Inferior Corman Common Lisp." t)

(setq *cormanlisp-dir* "C:\\PROGRA~1\\CORMAN~2\\CORMAN~1.5\\")
(setq cormanlisp-program
      (concat *cormanlisp-dir* "clconsole.exe"
	      " -image " *cormanlisp-dir* "cormanEmacs.img"))

(setq common-lisp-hyperspec-root
       "c:/Progra~1/Corman~2/Corman~1.5/HyperSpec/")
(setq common-lisp-hyperspec-symbol-table
      "c:/Progra~1/Corman~2/Corman~1.5/HyperSpec/Data/Map_Sym.Txt")

(add-hook 'ilisp-load-hook
          '(lambda ()
             ;; Change default key prefix to C-c
             (setq ilisp-*prefix* "\C-c")

	     ;; this cludge stops it from popping up windows
             ;; every time I press space in cormanlisp mode
             (setf ilisp-*arglist-message-lisp-space-p* nil)

	     ;; Stop ilisp from using popup windows for lisp return 
values
             (setf lisp-no-popper t)

             ;; Set a keybinding for the COMMON-LISP-HYPERSPEC command
             (defkey-ilisp "\C-ch" 'common-lisp-hyperspec)

             ;; Make sure that you don't keep popping up the 'inferior
             ;; Lisp' buffer window when this is already visible in
             ;; another frame. Actually this variable has more impact
             ;; than that. Watch out.
             ; (setq pop-up-frames t)

             (message "Running ilisp-load-hook")
             ;; Define LispMachine-like key bindings, too.
             ; (ilisp-lispm-bindings) Sample initialization hook.

             ;; Set the inferior Lisp directory to the directory of
             ;; the buffer that spawned it on the first prompt.
             (add-hook 'ilisp-init-hook
                       '(lambda ()
                          (default-directory-lisp ilisp-last-buffer)))
             ))

Cheers,

Carlos

On Wed, 1 Oct 2003, Bill Clementson wrote:

> --- In [email protected], John Thingstad 
> <john.thingstad@c...> wrote:
> > (setq *cormanlisp-dir* "C:/PROGRA~1/CORMAN~1/CORMAN~1.0/")
> > (setq cormanlisp-program
> >         (concat *cormanlisp-dir* "clconsole.exe"
> > 	       " -image " *cormanlisp-dir* "cormanEmacs.img"))
> 
> Your setup instructions seem to imply that you are using a Corman 
> Lisp version 1.x - upto Corman 1.5, I had no problems getting Corman 
> Lisp to work in inferior lisp mode; however, from Corman Lisp version 
> 2.0, I haven't been able to get it to start up in either inferior 
> lisp mode or ilisp on either Win2000 or Win98.
> 
> --
> Bill Clementson
> 
> 
> 
> To unsubscribe from this group, send an email to:
> [email protected]
> 
>  
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Upgrade to 128-Bit SSL Security!
http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/