[comp.emacs] starting emacs

victor@uicadb.csl.uiuc.edu (Victor Ma) (03/15/91)

folks:

Here's a quicky for anyone...  

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?

thanks,

victor

khera@thneed.cs.duke.edu (Vick Khera) (03/18/91)

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