[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> I've been slowly, but surely working my way through my first significant
> LISP program, and I've been using ILISP as an interface to do my development.
> One thing I've noticed is that ILISP doesn't like evaluating defuns correctly
> if I'm not in the USER package when I go to evaluate the defun. In fact,
> I have to kill the akcl sub-process and re-run akcl in order to get things
> up and running again. Does anyone else have this problem?

After exchanging some mail with Craig, it appears to me that the
problem may be that ILISP does not recognize the KCL prompt when
the current package is not the USER package.  That is, a prompt
like "FOO>" will confuse ILISP.  

If so, then many people will have the same problem (though they
may not have encountered it yet) and the solution would be to
add something like the following to your ".emacs":

(setq ilisp-load-hook                   ; or ilisp-site-hook
      '(lambda ()
         (add-hook 'kcl-hook
	   '(lambda ()
              (setq comint-prompt-regexp "^.*>+")))))

This worked for me using ILISP 4.11, AKCL 1-505, and GNU Emacs 18.55.

Jeff Dalton,                      JANET: J.Dalton@uk.ac.ed             
AI Applications Institute,        ARPA:  J.Dalton@ed.ac.uk
Edinburgh University.             UUCP:  ...!ukc!ed.ac.uk!J.Dalton