Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!jwz@teak.berkeley.edu From: jwz@teak.berkeley.edu (Jamie Zawinski) Newsgroups: comp.sys.ti.explorer Subject: a pathname annoyance... Message-ID: <19623@pasteur.Berkeley.EDU> Date: 16 Nov 89 04:44:53 GMT Article-I.D.: pasteur.19623 Sender: news@pasteur.Berkeley.EDU Lines: 18 Wouldn't it be nice if I could say "teak:~jwz/somefile" to reference a file on a unix machine instead of having to type "teak:/usr2/users/jwz/somefile"? The pathname parser is driven by a FSR, but it's not documented and I can't figure out the right tweaking that is needed... I think that what is necessary is for a new keyword to go on, :HOME, as in (pathname-directory "teak:~jwz/foo/bar/") => '((:HOME "jwz") "foo" "bar") (pathname-directory "teak:~/foo/bar/") => '(:HOME "foo" "bar") (pathname-directory "teak:~/../foo/bar/") => '(:HOME :UP "foo" "bar") and for the pathname-to-string code to know about this. Ok, now somebody do it! I'd send this to expbug, but they seem to ignore functionality suggestions. -- Jamie