Loads a file into the editor, return #t if successful, #f otherwise.
The filename used to load the file can be retrieved with get-filename. For a text% instance, the format can be retrieved with get-file-format.
See also on-load-file, after-load-file, can-load-file?, and set-load-overwrites-styles.
If filename is #f, then the internally stored filename will be used; if filename is "" or if the internal name is unset or temporary, then the user will be prompted for a name.
The possible values for format are listed below. A single set of format values are used for loading and saving files:
In a text% instance, the format returned from get-file-format is always one of 'standard, 'text, or 'text-force-cr.
If show-errors? is #f, then error messages reporting load errors (printed to stdout) are suppressed.