|
From: Robert D. <rob...@gm...> - 2022-07-19 16:37:09
|
On Tue, Jul 19, 2022 at 8:39 AM Raymond Toy <toy...@gm...> wrote: > Oh, that complicates things. --init just sets the file name; it's still searched in the same places, so it would only be found in the user's home dir. What I did for update-examples is use the -p flag to load maxima-init.lisp from the current dir. We'd need an equivalent flag (-P?) to load up a mac file. Or some other solution. Or leave everything as is. I'm in favor of changing things so that init files are sought only in the user's home directory, since that's the behavior of other programs. I am inclined to expand --preload-lisp to load Maxima files as well as Lisp files. I guess then we'll rename it to --preload (and continue to recognize --preload-lisp for backwards compatibility). Incidentally I'd make it so that multiple --preload options are recognized. --preload can just punt to $LOAD to figure out how to load the file (i.e., not necessary for --preload to distinguish Lisp from Maxima, or figure out the load path). FWIW Robert |