Article View: gnu.emacs.bug
Article #99960Emacs 18.55, VMS 5.3, SHOW DEFAULT
From: Mike Allen
Date: Thu, 12 Apr 1990 14:51
Date: Thu, 12 Apr 1990 14:51
36 lines
2043 bytes
2043 bytes
Here is the answer I rec'd when I had the very same problem:
You're seeing a problem I encountered and reported a month or so ago.
The getenv function in the C RTL will try several things when called,
a couple of which are logical names and DCL symbols. My guess is that you
have a DCL symbol called PWD that does a SHOW DEFAULT, right? There's
some code in STARTUP.EL that does a getenv("PWD") to get the current
directory. Guess what gets returned by the C RTL? Right, "SHOW DEFAULT"!
At the end of this message you'll find a change to STARTUP.EL to fix it.
Mike Iglesias
University of California, Irvine
************
File SYS$LIBDISK:[EMACS1854.LISP]STARTUP.EL;5
83 (if (not (eq system-type 'vax-vms))
84 (if (getenv "PWD")
85 (setq default-directory (file-name-as-directory (getenv "PWD")))))
86 (unwind-protect
******
File SYS$LIBDISK:[EMACS1854.LISP]STARTUP.EL_ORIG;2
83 (if (getenv "PWD")
84 (setq default-directory (file-name-as-directory (getenv "PWD"))))
85 (unwind-protect
************
Number of difference sections found: 1
Number of difference records found: 3
DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=SYS$LIBDISK:[EMACS1854.LISP]XX.TMP;2-
SYS$LIBDISK:[EMACS1854.LISP]STARTUP.EL;5-
SYS$LIBDISK:[EMACS1854.LISP]STARTUP.EL_ORIG;2
Technical Details
Message-ID:
<9004121451.AA10384@banyan.ssc.gov>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!tut.cis.ohio-state.edu!UXC.CSO.UIUC.EDU!banyan!allenReferences:
<9004102127.AA05956@nlp9>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,17d5033ae326efa0,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-04-12 07:51:34 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!tut.cis.ohio-state.edu!UXC.CSO.UIUC.EDU!banyan!allen From: banyan!allen@UXC.CSO.UIUC.EDU (Mike Allen) Newsgroups: gnu.emacs.bug Subject: Emacs 18.55, VMS 5.3, SHOW DEFAULT Message-ID: <9004121451.AA10384@banyan.ssc.gov> Date: 12 Apr 90 14:51:34 GMT References: <9004102127.AA05956@nlp9> Sender: s_muralidharan@tut.cis.ohio-state.edu Reply-To: allen@banyan.ssc.gov Distribution: gnu Organization: GNUs Not Usenet Lines: 36 Posted: Thu Apr 12 15:51:34 1990