Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bellcore!uunet!samsung!think.com!snorkelwacker.mit.edu!primerd!tbird9!danw From: danw@tbird9.prime.com (Dan Westerberg) Newsgroups: comp.windows.x Subject: Re: HELP**EMACS ON X*** Message-ID: <1991Feb15.160945@tbird9.prime.com> Date: 15 Feb 91 21:09:45 GMT References: <59846@eerie.acsu.Buffalo.EDU> Reply-To: danw@tbird9.prime.com (Dan Westerberg) Distribution: usa Organization: Prime Computer Lines: 27 Nntp-Posting-Host: 129.122.50.49 I too have replied via e-mail, it hasn't bounced yet. Since one solution has been posted here, I'll post another. Instead of doing an 'unsetenv PWD' as Vick Khera suggests, you could also comment out the lines in emacs/lisp/startup.el. The offending line are: ;; (if (and (not (eq system-type 'vax-vms)) ;; (getenv "PWD")) ;; (setq default-directory (file-name-as-directory (getenv "PWD")))) Note that we have them commented out because we run both csh and tcsh around here. If you do make the lisp change, be sure to re-compile the file using byte-compile-file. dan -- =============================================================================== | | | Daniel I. Westerberg email: danw@tbird9.prime.com (or) | | Prime Computer Inc. danw@s49.prime.com | | MS 10-9 | | 500 Old Connecticut Path phone: 508-620-2800 x3644 | | Framingham, MA 10701 fax: 508-879-9098 | | | ===============================================================================