From: CSBVAX::MRGATE!BEEBE@science.utah.edu@SMTP 22-OCT-1988 16:10 To: ARISIA::EVERHART Subj: VAX VMS dired and list-directories merged into 18.52! Received: from science.utah.edu by prep.ai.mit.edu; Sat, 22 Oct 88 14:32:36 EST Date: Sat 22 Oct 88 13:32:15-MDT From: "Nelson H.F. Beebe" Subject: VAX VMS dired and list-directories merged into 18.52! To: vms-gnu-emacs@harvard.harvard.edu, info-gnu-emacs@prep.ai.mit.edu Cc: Beebe@science.utah.edu X-Us-Mail: "Center for Scientific Computing, South Physics, University of Utah, Salt Lake City, UT 84112" X-Telephone: (801) 581-5254 Message-Id: <12440519066.27.BEEBE@SCIENCE.UTAH.EDU> I have successfully merged VMS dired code into GNU Emacs 18.52 from the INFO-EMACS posting for 18.47: >> Date: 11 Oct 88 14:49:14 GMT >> From: Jim Patterson >> Subject: Re: Dired.el for VMS systems? The code as supplied worked fine when manually loaded, but did not do so when I rebuilt Emacs, because the fixes included functions in vms-patch.el which were lost when dired is invoked. dired is defined to autoload, and autoloading it restored the old (UNIX) code. I have resolved these problems this morning, and used his code as a guide to providing the other function, list-directory, missing in VMS. This has resulted in new dired.el, files.el, vms-patch.el, and vmsproc.el files which have now been successfully installed on our VMS and Sun systems, and Emacs rebuilt. The following files are available for ANONYMOUS FTP (password GUEST) retrieval on SCIENCE.UTAH.EDU and CTRSCI.UTAH.EDU: For VMS folks (total space: 92Kb): DIRED-FIXES.SHAR1_OF_3.1,11,22-Oct-88 12:13:08,16-Nov-1858 17:00:00,ANONYMOUS DIRED-FIXES.SHAR2_OF_3.1,18,22-Oct-88 12:13:21,16-Nov-1858 17:00:00,ANONYMOUS DIRED-FIXES.SHAR3_OF_3.1,8,22-Oct-88 12:13:37,16-Nov-1858 17:00:00,ANONYMOUS For Unix folks (uncompress and tar xvf, total space 32Kb): DIRED-FIXES.TARZ.1,16,22-Oct-88 13:21:03,16-Nov-1858 17:00:00,BEEBE These contain complete files, not difference listings. The GNU folks at prep.ai.mit.edu are invited to pick these files up and merge them into the official 18.52 distribution. Until that happens, readers who do not have Internet FTP access may send mail to me to request a mailing of the 3 parts. After retrieving them to a VMS system, you can $ append dired-fixes.shar* foo.com /new $ @foo $ delete foo.com. to unbundle them. They can then be moved to [EMACS.LISP]. Rebuilding Emacs will then give you dired and list-directories on VAX VMS. Note that the bundles include a fix to fill.el to support a fill-prefix containing blanks (e.g. in Fortran mode, it might be "C "). Our site-init.el file is also included; it is needed to supply the Fortran mode binding. If you have made your own site-init file from the original one from CTRSCI.UTAH.EDU (what you picked up from CC.UTAH.EDU), then you should merge the differences. In any event, you should examine it before deciding what to use from it for your own site-init.el file. To facilitate rebuilding Emacs, I prepared the following REBUILD.COM command file in [EMACS.SRC]: $ ! VMS command file to run `temacs.exe' and dump the data file `temacs.dump'. $ if f$search("temacs.dump;") .nes. "" then delete temacs.dump;* $ temacs :== $emacs_library:[000000]emacs -batch $ temacs -l inc-vers $ temacs -l loadup.el dump $ rename temacs.dump [-]emacs.dump $ purge [-]emacs.* After changing any .el files, you first must execute byte-compile-file on each of them, then rebuild emacs by: $ set default [emacs.src] $ @rebuild -------