[Ecls-list] Any support for a ~/.eclinit.lisp?
marcoxa at cs.nyu.edu
Fri Jun 27 10:21:06 UTC 2003
On Friday, Jun 27, 2003, at 12:14 America/New_York, Juan Jose
> On Friday 27 June 2003 17:07, Marco Antoniotti wrote:
>>> | ;(defvar *lisp-init-file-list* '("./init" "~/.ecl"))
>>> | (defvar *lisp-init-file-list* '("./init")
>> (defvar *lisp-init-file-list* (list (make-pathname :name ".ecl"
>> :defaults (user-homedir-pathname))
>> :name ".ecl" :defaults (user-homedir-pathname)))
> What about making ECL understand ".ecl.lsp"? ;-) I have fixed this
> today. Now
> ".ecl.lsp" is equivalent to (MAKE-PATHNAME :NAME ".ecl" :TYPE ".lsp"),
> like CMUCL does. There is no need then for the MAKE-PATHNAME.
Well. I came to trust MAKE-PATHNAME over PARSE-NAMESTRING over the
Anyway. I think you are still missing the USER-HOMEDIR-PATHNAME bit.
If you rely on a PARSE-NAMESTRING somewhere down the line, then you
must take *DEFAULT-PATHNAME-DEFAULTS* into account.
Bottom line: never substitute a MAKE-PATHNAME with a string is you can.
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th FL fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.
More information about the ecl-devel