[Maxima] Load behaviour on Maxima 5.18.0 and above using ecl
robert.dodier at gmail.com
Tue May 12 10:14:19 CDT 2009
On 5/12/09, Matthew Gwynne <mathew.gwynne at gmail.com> wrote:
> file_search_maxima has entries such as :
Looks like the absolute, real path has been interpolated into the list,
instead of the alias.
>> About symbolic links causing trouble, does the problem go away
>> if there is no symbolic link in sight? It seems plausible that the
>> Lisp functions for file and directory inspection handle symbolic
>> links incorrectly. Just a guess.
> Yes, the problem occurs only when using symlinks on the path.
> So do you think this is purely a problem with ecl? In this case, is
> there some reason things would have worked before maxima version
The code to generate various directory lists was reworked recently.
Now it searches for directories at run time; before it would work from
a hard-coded list.
There is unfortunately substantial variability in the way different
Lisp implementations handle file system functions. I'm pretty
sure that's what we're seeing here. "Common" Lisp? Far from it.
Not sure if we can work around the problem, or convince ECL to
change their code. Easiest is just to go back to the hard-coded list
Try this. Not sure if it will help.
:lisp (setf (symbol-function 'share-subdirs-list) (symbol-function
Does that rebuild file_search_maxima?
For the record, the code in question is in src/init-cl.lisp.
More information about the Maxima