From: David Shochat <shochat@ac...> - 2002-05-30 22:43:39
This is my first message to the list as a test to see if I am really
subscribed. However, I do have a question...
I am using a CVS version of ilisp (as of 5/22) since I was told on
comp.lang.lisp that that was what I needed to do to get it to work with
emacs 21.2.1. That did seem to make things work, but when I visit a
.lisp file, I don't get any Ilisp menu. If I do M-x run-ilisp, I get
prompted for a dialect and if I pick common-lisp, I get an ILISP window
(with a cmucl prompt) and an Ilisp menu. Is there a way to make it go
into Ilisp mode (including the menu) automatically when I first visit a
.lisp file (as in other Emacs language modes)? The fact that the Ilisp
menu has an item labeled "Run Ilisp" makes me think that there has to be
a way to get the menu without first doing run-ilisp. Obviously I am a
total newbie with this. Thanks for your patience.
From: Hannu Koivisto <azure@ik...> - 2002-05-31 10:16:13
David Shochat <shochat@...> writes:
> I am using a CVS version of ilisp (as of 5/22) since I was told on
> comp.lang.lisp that that was what I needed to do to get it to work
> with emacs 21.2.1. That did seem to make things work, but when I visit
> a .lisp file, I don't get any Ilisp menu. If I do M-x run-ilisp, I get
It sounds like you didn't install ILISP as instructed in INSTALLATION.
Especially pay attention to the part where ilisp.emacs is mentioned. Then
again, ilisp.emacs sucks like nothing I've ever seen (it does "work" as far
as ILISP installation is concerned, but it is horrible code and may fuck up
your configuration otherwise), so I might as well point out that the relevant
part concerning the menu problem is that you put (require 'ilisp) to the
lisp-mode-hook (you could also put it to the top level of your .emacs but
then ILISP would be loaded always, even when you don't edit Lisp). You
should do that like this...
(defun my-lisp-mode-hook ()
(add-hook 'lisp-mode-hook 'my-lisp-mode-hook)
...and not with setq as it is done in ilisp.emacs.
Since run-ilisp works for you, you seem to have autoload for it already, but
perhaps you also want to add autoloads for the commands that directly invoke
specific implementations. You may also want the ilisp-load-hook stuff (but
don't quote lambda the way ilisp.emacs does) from ilisp.emacs.
Please don't send copies of list mail