[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Subdirectory pathnames?
- To: Andrew Newell Mickish <firstname.lastname@example.org>, email@example.com
- Subject: Re: Subdirectory pathnames?
- From: firstname.lastname@example.org (Kalman Reti)
- Date: Fri, 25 Feb 1994 19:38:01 -0500
At 5:43 PM 2/25/94 -0500, Andrew Newell Mickish wrote:
>What is the minimum typing that I have to do to load a file from a subdirectory
>of my home directory? I have a subdirectory "ps-tests:", which is a subdir of
>the directory from which I started lisp. If I try (load "ps-tests:test1"),
>I am told that the file does not exist. But if I type out the entire
>pathname, (load "Macintosh HD:Andy:Garnet:ps-tests:test1"), then it works.
>Even (load "home:ps-tests:test1") does not work.
>Do I have to do a def-logical-directory? This sounds like more work than
>it ought to be for such a simple procedure.
See the documentation for SET-MAC-DEFAULT-DIRECTORY on page 311 of the
manual. You can do
(set-mac-default-directory "macintosh hd:Andy:Garnet:")
and the (load ":ps-tests:test1")
(set-mac-default-directory "macintosh hd:andy:garnet:ps-tests:")