For Programmers: Free Programming Magazines  


Home > Archive > Lisp > December 2004 > Some ExtraFun with logigal pathnames









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Some ExtraFun with logigal pathnames
Friedrich Dominicus

2004-12-20, 3:59 pm

A bit like a follow-up to the other mail about Fun? with pathnames
with the same logical pathname as mentioned there:
(setf (logical-pathname-translations "test-pn")
'(("**;*.*.*" "/var/tmp/**/*.*")))

now trying to load a lisp file
- sbcl (load "test-pn:test;t1.lisp")
CL-USER> (load "test-pn:test;t1.lisp")
T

- Allegro
CL-USER> (load "test-pn:test;t1.lisp")
T

- LispWorks
(load "test-pn:test;t1.lisp")
; Loading text file /var/tmp/test/t1.lisp
#P"/var/tmp/test/t1.lisp"

- CLisp
LOAD: Eine Datei mit Namen #1=test-pn:test;t1.lisp gibt es nicht.
[Condition of type SYSTEM::SIMPLE-FILE-ERROR]

Restarts:
0: [ABORT] Abort handling SLIME request.

Backtrace:
0: Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL
1: EVAL-Frame für Form (LOAD "test-pn:test;t1.lisp")
2: EVAL-Frame für Form (SWANK:LISTENER-EVAL "(load
\"test-pn:test;t1.lisp\")

Ups.

Again, what's the "right" thing.

Regards
Friedrich


--
Please remove just-for-news- to reply via e-mail.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com