Re: test and newbie question
Hannu Koivisto <[email protected]> Fri, 31 May 2002 13:16:04 +0300
| Newsgroups | gmane.lisp.ilisp.general |
|---|---|
| Message-ID | <[email protected]> |
David Shochat <[email protected]> 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 () (require 'ilisp)) (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. -- Hannu Please don't send copies of list mail _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm