medley icon indicating copy to clipboard operation
medley copied to clipboard

Let DIRECTORY/FILDIR return the PSEUDOFILENAME

Open rmkaplan opened this issue 4 months ago • 2 comments

The values returned by DIRECTORY are full file names, even if you are connected to a pseudohost and generally running in a pseudohost environment.

For example,

DIR '*.;

peels off the directory from the individual files, but shows it as the true path at the head of the list of files with the common pseudohost prefix.

Similarly, (FILDIR '*.;) shows the very verbose (and local-environment-dependent) names. FB is generally better, but in some case it also shows the true path name.

I think it would be more consistent and intuitive if DIRECTORY applies PSEUDOFILENAME to each of the files it encounters.

rmkaplan avatar Sep 10 '25 20:09 rmkaplan

Do popular Common Lisp implementations have anything like Pseudohost? Or would it help with quick lisp or asdf?

masinter avatar Sep 10 '25 22:09 masinter

The Steele book has a section on "logical path names", that's probably closest

On Sep 10, 2025, at 3:05 PM, Larry Masinter @.***> wrote:

masinter left a comment (Interlisp/medley#2287) https://github.com/Interlisp/medley/issues/2287#issuecomment-3276690246 Do popular Common Lisp implementations have anything like Pseudohost? Or would it help with quick lisp or asdf?

— Reply to this email directly, view it on GitHub https://github.com/Interlisp/medley/issues/2287#issuecomment-3276690246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSTUJKOXLG46GPGPTN7KHD3SCOCLAVCNFSM6AAAAACGFRCO4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENZWGY4TAMRUGY. You are receiving this because you authored the thread.

rmkaplan avatar Sep 10 '25 22:09 rmkaplan