Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!gatech!mcnc!duke!khera From: khera@thneed.cs.duke.edu (Vick Khera) Newsgroups: comp.emacs Subject: Re: starting emacs Message-ID: Date: 18 Mar 91 15:05:57 GMT References: <1991Mar14.195551.23647@roundup.crhc.uiuc.edu> Sender: news@duke.cs.duke.edu Organization: Duke University CS Dept., Durham, NC Lines: 20 Nntp-Posting-Host: thneed.cs.duke.edu In-reply-to: victor@uicadb.csl.uiuc.edu's message of 14 Mar 91 19:55:51 GMT In article <1991Mar14.195551.23647@roundup.crhc.uiuc.edu> victor@uicadb.csl.uiuc.edu (Victor Ma) writes: When I start emacs in a subdirectory, it looks for the file in my home directory, which, of course, is the wrong place to look. How come emacs doesn't look first in my current directory like all other programs that I use. Do I have to set a special shell variable or something? emacs believes your PWD environment variable. my guess is that somewhere along the line you switch shells, and the new one doesn't update PWD. just unset that variable from your environment and emacs will look in the current directory. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vick Khera, Gradual Student/Systems Guy Department of Computer Science ARPA: khera@cs.duke.edu Duke University UUCP: ...!mcnc!duke!khera Durham, NC 27706 (919) 660-6528