>>>>> "Gerardo" == Gerardo Sarria <[EMAIL PROTECTED]> writes:

    Gerardo> I have some troubles with the wildcards.

    Gerardo> I created a simple lisp file with the line:
    Gerardo>         (print "hello world!")
    Gerardo> The file is test.lisp

    Gerardo> Now, I wanted to load it but first I created a logical-pathname:

    Gerardo> * (setf (logical-pathname-translations "agnula") (quote (("**;*.*.*" 
    Gerardo> "/u/agnula/sarria/tmp/**/*.*.*"))))

What version are you using?

Anyway, you probably should change the translations to either

        ("**;*.*.*" "/u/agnula/sarria/tmp/**/*.*")

which means don't look at any versions or

        ("**;*.*.*" "/u/agnula/sarria/tmp/**/*.*.~*~")

to get Emacs-style file versions.

With either change translate-logical-pathname produces the results you
probably want:

(translate-logical-pathname "agnula:test.lisp") =>
#p"/u/agnula/sarria/tmp/test.lisp"

Ray

Reply via email to