[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ilisp Problem
From: |
Paulo J. Matos aka PDestroy |
Subject: |
Ilisp Problem |
Date: |
06 Dec 2001 17:39:33 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Hi all,
I'm having trouble getting ilisp to work, emacs issues an error
each time I open a lisp source file.
The error is:
File mode specification error: (file-error "Cannot open load
file" "ilisp")
ilisp is in ~/emacslisp/ilisp
This is what I have about ilisp in my .emacs:
;; ILisp Configuration
(setq load-path (cons "~/emacslisp/ilisp" load-path))
(load-file "~/emacslisp/ilisp/ilisp-all.elc")
(autoload 'run-ilisp "ilisp" "Select a new inferior Lisp." t)
(autoload 'cmulisp "ilisp" "Inferior CMU Common Lisp." t)
(setq cmulisp-lisp-program "/usr/bin/lisp")
(setq cmulisp-local-source-directory "/usr/local/cmucl/")
(set-default 'auto-mode-alist
(append '(("\\.lisp$" . lisp-mode)
("\\.lsp$" . lisp-mode)
("\\.cl$" . lisp-mode))
auto-mode-alist))
(setq lisp-mode-hook '(lambda ()
(require 'ilisp)
(setq indent-tabs-mode nil)))
(set-default 'auto-mode-alist
(append '(("\\.scm$" . scheme-mode)
("\\.ss$" . scheme-mode)
("\\.stk$" . scheme-mode)
("\\.stklos$" . scheme-mode))
auto-mode-alist))
(setq scheme-mode-hook '(lambda () (require 'ilisp)))
(add-hook 'ilisp-load-hook
'(lambda ()
;; Change default key prefix to C-c
(setq ilisp-*prefix* "\C-c")
;; Set a keybinding for the COMMON-LISP-HYPERSPEC command
(defkey-ilisp "" '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)))))
Any ideas of what the problem might be?
Best regards,
--
Paulo J. Matos aka PDestroy : pocm(_at_)rnl.ist.utl.pt
Instituto Superior Tecnico - Lisbon
Software & Computer Engineering - A.I.
- > http://www.rnl.ist.utl.pt/~pocm
---
Yes, God had a deadline...
So, He wrote it all in Lisp!
- Ilisp Problem,
Paulo J. Matos aka PDestroy <=