[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clisp and logical-pathnames



Ok, thanks for your replies, 
I tried to use the built in logical-pathnames, but it seems like I am a
totaly stupid lisp programmer, I cannot get it working. I tried the
example from CltL2 (23.1.5.4. Examples of the Use of Logical Pathnames)
and get the following reply:

..........................................
> (setf (logical-pathname-translations "foo")
      '(("**;*.*.*"          "MY-LISPM:>library>foo>**>")))
((#S(LOGICAL-PATHNAME :HOST "FOO" :DEVICE NIL
       :DIRECTORY (:ABSOLUTE :WILD-INFERIORS) :NAME :WILD :TYPE :WILD
       :VERSION :WILD
    )
    "MY-LISPM:>library>foo>**>"
))
> (translate-logical-pathname "foo:bar;baz;mum.quux.3")
#"foo:bar;baz;mum.quux.3"
>
...............................................
it should be: #P"MY-LISPM:>library>foo>bar>baz>mum.quux.3"

hhhhhm, so it does not seem to translate anything!

michael.

--------------------------------------------------------
Michael Hofbaur
Dept of Automatic Control
Graz University of Technology, Austria.