Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!ALEXANDER.BBN.COM!jr
From: jr@ALEXANDER.BBN.COM (John Robinson)
Newsgroups: comp.emacs
Subject: Re: notion of current directory (GNUemacs)
Message-ID: <8701071547.AA21030@ucbvax.Berkeley.EDU>
Date: Wed, 7-Jan-87 10:47:46 EST
Article-I.D.: ucbvax.8701071547.AA21030
Posted: Wed Jan  7 10:47:46 1987
Date-Received: Wed, 7-Jan-87 22:42:37 EST
References: <8701071524.1076@ur-seneca.arpa>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 17

Some things that might help.

Therre is a getenv function; if your cwd is in your environment, it
would be easy to snarf in the .emacs.  But of course (pwd) tells you
this info anyway.

Another way is to use environment variables ($HOME, e.g.) in the
prompt for find file.  Since it expands to a directory name, you can
type, e.g., ^X ^F $ H O M E SPC, at which point the Find File: prompt
will show you your home abs path and let you type more.  If emacs is
given $CWD on startup, this should work to get the directory it was
started in.

/jr
jr@bbn.com or jr@bbnccv.uucp

Without life, there wouldn't be chemical companies.