[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Clisp and logical-pathnames
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: Clisp and logical-pathnames
- From: Michael Hofbaur <hofbaur@fstgds06.tu-graz.ac.at>
- Date: Mon, 12 Feb 1996 22:55:32 +0100 (MET)
- Reply-to: Michael Hofbaur <hofbaur@fstgds06.tu-graz.ac.at>
- Sender: Michael Hofbaur <hofbaur@fstgds06.tu-graz.ac.at>
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.