1 Nov 2011 01:18
Re: feature wish: init file
Fernando L. Canizo <conan <at> lugmen.org.ar>
2011-11-01 00:18:58 GMT
2011-11-01 00:18:58 GMT
On Mon, 31 Oct 2011 22:56:44 +0100, "Pascal J. Bourguignon"
<pjb <at> informatimago.com> wrote:
> Anton Vodonosov <avodonosov <at> yandex.ru> writes:
>
> > Is it possible to have some init file for CLISP which is executed
>
> clisp -q -norc -ansi
> (load "quicklisp/setup.lisp")
> (ext:save-init-mem "~/bin/ql-clisp" :executable t)
> (ext:quit)
>
> and now on use ~/bin/ql-clisp instead of clisp.
>
> Not tested, it may not work. Notably, quicklisp/setup.lisp probably
> hard-wires pathnames, so it probably won't work if launched from
> another account.
I tried it verbatim and it didn't worked, it seems in my installation
ext:save-init-mem is mapped to saveinitmem, in fact I have no package
EXT.
But I made it work like this:
$ clisp -q -norc -ansi
;; this is suggested configuration for rc file by quicklisp docs
(let ((quicklisp-init (merge-pathnames
"quicklisp/setup.lisp" (user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
(Continue reading)

Sorry about that.
> But I made it work like this:
>
> $ clisp -q -norc -ansi
RSS Feed