Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Allegro lisp setup - emacs lisp interface question

8 views
Skip to first unread message

Surendra Singhi

unread,
Dec 21, 2004, 9:55:13 PM12/21/04
to
Hi,
I was trying to configure allegro lisp on xemacs on a windows xp
machine. I think I have done most of the setup steps correctly, but
there is one place where I am confused and stuck.

While starting acl, the code in the file (subproc.el distributed by
franze) tries to execute the function associated with the variable

fi:start-lisp-interface-arguments

But this variable is bound to the name

fi::start-lisp-interface

But there is no function with the above name defined anyway. So the
startup procedure crashes.

Below is the code listing for the definition of the variable

(defvar fi:start-lisp-interface-arguments
'fi::start-lisp-interface
"*This value of this variable determines whether or not the emacs-lisp
interface is started automatically when fi:common-lisp is used to run
Common Lisp images. If non-nil, then a the value of this variable should
be a function of one argument that returns command line argument sufficient
to start the emacs-lisp interface. The argument is a boolean that
determines whether or not background streams are used (see
fi:use-background-streams).")

What should I set this variable to any?
Weren't franz people suppose to define the function associated with
fi::start-lisp-interface ?

Below is the code in my init file which I am using to start acl

;I had to debug their code and relaize that I need to fix this parameter
;for windows machine

(defun fi::temporary-directory()
"C:\\Documents and Settings\\Owner\\Local Settings\\Temp")


(load "C:\\Program Files\\acl62-trial\\xeli\\fi-site-init")
;; This needs to be set to make fi happy in XEmacs
(setq minibuffer-confirm-incomplete nil)

;; The default buffer name is "*common-lisp*" but this can be changed
(setq fi:common-lisp-buffer-name "*common-lisp*")

;; The directory should be where emacs was started
(setq fi:common-lisp-directory "C:\\Program Files\\acl62-trial")

;; The default buffer image name is "cl" but we use something much longer
(setq fi:common-lisp-image-name "C:\\Program Files\\acl62-trial\\alisp.exe")


;; The image arguments can be modified, new arguments can be added
(setq fi:common-lisp-image-arguments nil)

;; The host can also be specified
;(setq fi:common-lisp-host "rautavaara")

(defun acl ()
"This function starts up Allegro Common Lisp with your defaults"
(interactive)
(fi:common-lisp fi:common-lisp-buffer-name
fi:common-lisp-directory
fi:common-lisp-image-name
fi:common-lisp-image-arguments))

Am I making any mistake in the above code?


Thanks.
--
Surendra Singhi

www.public.asu.edu/~sksinghi/

0 new messages