[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: email@example.com
- Subject: logical pathnames
- From: firstname.lastname@example.org (Mike Engber)
- Date: Wed, 28 Aug 91 17:04:47 CDT
I'm trying to use logical pathnames and running into problems when I want
to define one logical pathname in terms of previously defined ones.
For example, I start with:
(setf (logical-pathname-translations "MCL")
`((,(make-pathname :host "MCL"
,(make-pathname :directory (mac-namestring "ccl;")
Now I want another logical-pathname to foo which is in MCL.
(setf (logical-pathname-translations "oou")
`((,(make-pathname :host "oou"
,(make-pathname :directory ???mystery-form
I've found that ???mystery-form has to be:
(namestring (translate-logical-pathname "MCL:foo"))
Which seems pretty ugly
works too but obviously isn't a portable technique.
I can think of a few other things that would work,
but nothing elegant.