[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue: PATHNAME-SUBDIRECTORY-LIST (Version 6)
- To: CL-Cleanup@SAIL.Stanford.EDU
- Subject: Issue: PATHNAME-SUBDIRECTORY-LIST (Version 6)
- From: Kim Barrett <IIM@ECLA.USC.EDU>
- Date: Tue, 13 Jun 89 18:24 EDT
- Comments: Received from Kim Barrett by KMP on MSDOS floppy disk via US Mail
- Sender: KMP@STONY-BROOK.SCRC.Symbolics.COM
Yes. For current practice, IIM does something similar. The keywords are
different, and only :BACK supported. I believe the keyword mapping is
:ABSOLUTE :ABSOLUTE-DIRECTORY
:RELATIVE (no leading keyword)
:BACK :SUPER-DIRECTORY
The addition of the :RELATIVE keyword is probably cleaner, since it means that
there is always a keyword at the head of the list, and a test for a relative
directory is (eq (car directory) :relative) rather than something like
(and directory (not (symbolp (car directory)))).
The interaction between :BACK and :WILD-INFERIORS doesn't seem clear. I
believe this is a case where :BACK and the thing preceding it cannot be
spliced out (you can end up with (... :WILD-INFERIORS :BACK ...). Also,
(:ABSOLUTE :BACK ...) should probably signal an error.