[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Load File
- To: RWK at SCRC-TENEX, HIC at SCRC-TENEX, MMcM at SCRC-TENEX
- Subject: Load File
- From: David L. Andre <DLA at SCRC-TENEX>
- Date: Thu ,25 Mar 82 07:11:00 EDT
- Cc: BUG-ZWEI at SCRC-TENEX
I added M-X Load File in 204.47. Both it and Compile File don't depend
on the file being in a buffer anymore. Load File asks whether to save
and whether to Compile, if appropriate.
The code for COM-LOAD-FILE is fairly gross. I made a function
ZWEI:COMPILE-FILE-P which basically does a SI:FILE-NEWER-THAN-FILE-P,
because I couldn't find a clean interface to the system stuff to do this
operation.
Also, the pathname handling is wierd, because you both want to have a
default and want to let LOAD handle the default. Unfortuantely
READ-DEFAULTED-PATHNAME returns the merged pathname. There should
probably be a way to read a pathname, displaying a default, but
returning only the parsed pathname.