Need info on how to load init files for CLISP
Brought to you by:
jthing
Using Xemacs 2.4.13 on WinXP, with ILISP 5.12 and CLISP
2.30. Can start CLISP in inferior process, but get
error that CLISP cannot find init files (e.g.
ilisp-pkg.lisp). Appears to be due to fact that file
name being passed to CLISP includes '\' as path
separator, instead of '/'. Have done some research in
ilisp-snd.el and ilisp-hi.el, but have not figured out
how to prevent file name problem.
Logged In: NO
Are you using the Win32 version of CLISP or are you running
a Unix-y version under cygwin? I think one difference is in
the way path separators are handled. -win32.zip, not tar.gz.
That's just a vague recollection, hope it works.
Logged In: YES
user_id=10078
In answer to the question, I am using the win32 version of
CLISP. Further update: I think I have solved the problem (or
at least, found a fix). I modified file-name-hack in ilisp-hi.el
to check for system-type of 'windows-nt, and ilisp-dialect
of 'clisp-hs. If both conditions satisfied, I use replace-in-
string to change "\\" to "/".
This may not be the most elegant fix, but it works, and at
least the changes are localized to a function that already
kludges filenames.
Logged In: YES
user_id=10078
In answer to the question, I am using the win32 version of
CLISP. Further update: I think I have solved the problem (or
at least, found a fix). I modified file-name-hack in ilisp-hi.el
to check for system-type of 'windows-nt, and ilisp-dialect
of 'clisp-hs. If both conditions satisfied, I use replace-in-
string to change "\\" to "/".
This may not be the most elegant fix, but it works, and at
least the changes are localized to a function that already
kludges filenames.
Logged In: YES
user_id=10078
Attaching a copy of a modified ilisp-hi.el with hack so that
init filenames can be handled by clisp.
Modified ilisp-hi.el with hack so that init filenames are passed to CLISP in a format it can handle.