Article View: gnu.emacs.bug
Article #669Re: Sometimes emacs starts up in the wrong directory
From: Damon Lipparelli
Date: Fri, 11 Sep 1992 01:39
Date: Fri, 11 Sep 1992 01:39
31 lines
1532 bytes
1532 bytes
In article <199209081958.AA02286@halka.cms-stl.com> harlan@cms-stl.COM (Harlan Stenn (PFCS Corporation)) writes: >> In GNU Emacs 18.58.15 of Sat Jun 13 1992 on haduk (hpux) >> >> Sometimes I'll be in a directory other than my home directory and I'll >>type: >> >> % emacs foo >> >> where foo is the name of a file that exists in the current directory, >> and emacs will come up with an empty buffer, apparently pointing to >> ~/foo . >> >> This only seems to happen on our HP's running HPUX 08.07. >> >> Any ideas on what's going on and how I can fix the problem? >> >> Harlan You probably have the environment variable PWD set to your home directory. Trying adding a line like "unsetenv PWD" in your ".cshrc" file (or whatever) and then re-start emacs. For some reason, emacs assumes that whatever is in PWD is where you wan't emacs to start up. Damon Lipparelli (lipp@sierra.com) -- Damon Lipparelli Sierra Geophysics, Inc. ARPA: lipp@sierra.com, UUNET: uunet!sgihbtn!lipp Phone: (206) 822-5200 (x375)
Technical Details
Message-ID:
<LIPP.92Sep10173944@ashland.sierra.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ashland.sierra.COM!lippReferences:
lipp@ashland.sierra.COM (Damon Lipparelli)Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ashland.sierra.COM!lipp From: lipp@ashland.sierra.COM (Damon Lipparelli) Subject: Re: Sometimes emacs starts up in the wrong directory Message-ID: <LIPP.92Sep10173944@ashland.sierra.com> Sender: gnulists@ai.mit.edu Organization: Sierra Geophysics, Inc. References: lipp@ashland.sierra.COM (Damon Lipparelli) Distribution: gnu Date: Fri, 11 Sep 1992 01:39:44 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 32