File searching



>>>>> "CY" == C Y <smustudent1@yahoo.com> writes:


    CY> Have the system scan the subdirectories, and in the case of two or more
    CY> names which match, present the user with a list.  Something like this
    CY> (simulated session):

    CY> Maxima 5.9.0pre-cvs (with enhancements by W. Schelter).
    CY> Licensed under the GNU Public License (see file COPYING)
    CY> (C1) load("diffeq.mac");
    CY> Multiple matches found for filename "diffeq.mac"
    CY> Select the package you want to use:

    CY> 1) diffequations/diffeq.mac
    CY> 2) graphics/diffeq.mac
    CY> 3) numer/diffeq.mac

    CY> 3
    CY> (D1)  /usr/local/share/maxima/5.9.0pre-cvs/share/numeric/diffeq.mac
    CY> (C2) 

    CY> Would that work?

Yes, and I think it's pretty straightforward to implement (spoken by
someone who hasn't tried to implement it).

However, I'm somewhat opposed to this.  I think they should be given
different names.  They can't all be doing exactly the same thing.  If
the user wants something specific, he can specify the full path.  If
he doesn't know which one, offering a list doesn't help.

Ray