Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!rutgers!ucsd!sdcsvax!ucsdhub!esosun!seismo!uunet!steinmetz!davidsen
From: davidsen@steinmetz.ge.com (William E. Davidsen Jr)
Newsgroups: comp.emacs
Subject: Re: MicroEmacs under VMS
Message-ID: <11460@steinmetz.ge.com>
Date: 5 Jul 88 16:03:36 GMT
References: <26440@bbn.COM>
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Organization: General Electric CRD, Schenectady, NY
Lines: 42

In article <26440@bbn.COM> WPR0986@TNTECH.BITNET writes:
  I mailed this info back to the original poster, but there was
recently an incomplete solution posted, which solves the problem
described in the original question by disabling another useful feature
of microemacs.

The pathname vector holds the following info:
	name of the startup file
	name of the help file
	list of alternate dirs, terminated by zero length string
	other directories

Therefore by using the posted suggestion:
| #if     VMS
| {
|         "sys$login:emacs.rc",
|         "sys$login:emacs.hlp",
|         "",
|         "sys$sysdevice:[vmstools]"
| };
| #endif

you do solve the original problem, but the current directory is no
longer searched. This prevents you from having custom startup and/or
help files in a subdirectory. A better solution is to add the login
directory as one of the alternate directories to be searched:
    #if     VMS
    {
            "emacs.rc",
            "emacs.hlp",
	    "sys$login:",
            "",
            "sys$sysdevice:[vmstools]"
    };
    #endif

  Using the list as intended allows the original functionality to be
preserved.
-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs | seismo}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me