Robert Dodier wrote:
> On 12/22/06, Raymond Toy <raymond.toy at ericsson.com> wrote:
>
>
>> We should probably fix that so that anything in the share directory and
>> subdirectories thereof are searched.
>>
>
> Agreed. Is there a way to search for directories in Lisp?
>
DIRECTORY with appropriate wildcards can return a list of all files.
Some filtering of the result could produce the desired list of directories.
I think it might require some customization for each lisp, but it should
be fairly simple.
The easiest solution is to use configure and find to get the list of
directories. However, that list would be fixed at build time.
A Lisp implementation would have an advantage that, when maxima starts,
we can get an updated list, which is useful if you just add a directory
after installation.
Ray