(latex-run-command): Doc fix.
(tex-command): Doc fix.
(tex-compilation-parse-errors): Doc fix.
(tex-generate-zap-file-name): Don't start the name with -.
(tex-expand-files): Works now also with strings ending with ":".
(compilation-goto-locus): If already in the
compilation buffer's window, keep it in that window.
(compile-mouse-goto-error): Add Doc. Don't play with windows.
(compile-goto-error): Don't play with windows.
Andrew Innes [Sun, 17 Jan 1999 19:24:42 +0000 (19:24 +0000)]
(w32_executable_type): Relax the check to identify
cygwin-compiled applications, because the exact dll name varies
with release. Now only require the name to start "cygwin".
Andrew Innes [Sun, 17 Jan 1999 19:22:55 +0000 (19:22 +0000)]
(RVA_TO_PTR): Redefine to convert RVA to address in
current process.
(round_to_next): Obsolete function removed.
(preload_heap_section): New variable.
(data_region_size): Obsolete variable removed.
(allocate_heap): Modified to determine end of static heap section
used during preload, and use that as initial base address for
dynamic heap instead of hard-coded value.
(sbrk): Remove call to allocate_heap; handled by init_heap. Skip
calls to commit or decommit pages when allocating from static heap
section during preload.
(recreate_heap): Obsolete function removed.
(init_heap): New function to initialize internal sbrk heap
variables. Uses static heap section during preload, otherwise
calls allocate_heap to reserve a heap region dynamically.
(round_heap): Use ROUND_UP macro instead of round_to_next.
Andrew Innes [Sun, 17 Jan 1999 19:21:24 +0000 (19:21 +0000)]
Major rewrite to support cleaner method of dumping; a
static "bss" section is used for heap space during preload, and
bss data is now written to the proper section area when dumping.
(need_to_recreate_heap): Renamed to using_dynamic_heap.
(heap_index_in_executable): Obsolete variable removed.
(data_section): New variable.
(data_start_va): Renamed to data_start.
(data_start_file): Obsolete variable removed.
(bss_section):
(extra_bss_size):
(bss_section_static):
(bss_start_static):
(bss_size_static):
(extra_bss_size_static):
(heap_section): New variables.
(_start): Remove code based on old unexec method. Call init_heap
to initialize sbrk heap.
(close_file_data): Update size of file when closing, so that
unexec doesn't have to work out exact size in advance.
(get_bss_info_from_map_file):
(get_section_size): Obsolete functions removed.
(rva_to_section): Fix minor bug, and add a work-around for a bug
in very old linkers.
(offset_to_section):
(relocate_offset): New functions.
(OFFSET_TO_RVA):
(RVA_TO_OFFSET):
(RVA_TO_SECTION_OFFSET):
(PTR_TO_RVA):
(PTR_TO_OFFSET):
(OFFSET_TO_PTR): New macros.
(get_section_info): Modify to support new unexec method;
determines address ranges in process that need dumping, and COFF
sections where data will be dumped. Allows for static and global
bss data to be in separate ranges. No longer relies on knowledge
of section names.
(copy_executable_and_dump_data_section): Renamed
copy_executable_and_dump_data. Completely rewritten to copy
executable section by section, so that raw data areas can be
expanded to hold dumped data as necessary. Allows for bss data to
be in same section as initialized data. Reduces size of static
heap section to that used during preload.
(dump_bss_and_heap):
(w32_fatal_reload_error):
(read_in_bss):
(map_in_heap): Obsolete functions removed.
(unexec): Rounds off preload heap to nearest page rather than
virtual allocation unit. Modified to match other changes.
Andrew Innes [Sun, 17 Jan 1999 19:00:24 +0000 (19:00 +0000)]
(find-buffer-file-type-coding-system): Use
default-buffer-file-coding-system when file doesn't exist (and isn't
covered by a special case) instead of forcing undecided-dos against
the user's wishes.
(direct-print-region-helper): New function based on
direct-print-region-function; sends data to specified printer port
without further translation. Recognize and handle specially the
standard `print' and `nprint' programs, as well as `lpr' and
similar programs. Only write directly to the printer port if no
print program is specified. Work around a bug in Windows 9x
affecting Win32 version of Emacs by invoking command.com to write
to the printer port instead of writing directly.
(direct-print-region-function): Use direct-print-region-helper to
do most of the work.
(direct-ps-print-region-function): New function; analogue of
direct-print-region-function for ps-print.
(ps-lpr-command): Comment out setq; leave as example usage.
(ps-lpr-switches): Ditto.
Andrew Innes [Sun, 17 Jan 1999 18:58:43 +0000 (18:58 +0000)]
(printer-name): Update docstring about usage on MS-DOS
and MS-Windows.
(lpr-command) [ms-dos, windows-nt]: Initialize to empty string on
DOS and Windows platforms, to indicate direct printing. Update
the docstring accordingly.
Andrew Innes [Sun, 17 Jan 1999 18:57:20 +0000 (18:57 +0000)]
(ps-printer-name): Update docstring about usage on
MS-DOS and MS-Windows.
(ps-lpr-command): Update docstring as for lpr-command.
(ps-print-region-function): New variable.
(ps-do-despool): Use it.
(ps-do-despool) [ms-dos, windows-nt]: Remove special case code for
DOS/Windows.
Eli Zaretskii [Sun, 17 Jan 1999 16:34:00 +0000 (16:34 +0000)]
(bdf-cache-file): Use convert-standard-filename.
(bdf-find-font-info): New function, looks for the first readable
file from a list of alternatives.
(bdf-get-bitmaps, bdf-generate-font): Call bdf-find-font-info
instead of bdf-get-font-info.
(bdf-generate-glyphs): If font-name is a cons cell, pass its car
to ps-mule-generate-bitmap-glyph.
Eli Zaretskii [Sun, 17 Jan 1999 16:32:50 +0000 (16:32 +0000)]
(ps-mule-font-info-database-bdf): Add alternative
file names that avoid clashes in DOS 8+3 namespace. FONT-NAME can
now be a list of alternative names.
(ps-mule-generate-font): If FONT-NAME is a cons cell, use its car.
(ps-mule-prepare-font): Likewise.
(forms--show-record): Convert integers to string
expicitly since concat will no longer accept integers.
(forms-print): Use local `total-nb-records' since
`forms--total-records' will be inaccessible after buffer switching.
Karl Heuer [Tue, 12 Jan 1999 21:50:44 +0000 (21:50 +0000)]
(sql-mode-ansi-font-lock-keywords): Quote font-lock
faces, eliminating the need to load font-lock before loading sql.
(sql-mode-oracle-font-lock-keywords): Likewise.
(sql-mode-postgres-font-lock-keywords): Likewise.
(find_handler_clause): If SIG is nil (memory full error),
never run the debugger, and don't bother checking the args
to see whether the debugger should be run.
(read_key_sequence): In key-translation-map and
function-key-map, handle symbol with array as fn def.
In function-key-map, handle symbol with keymap as fn def,
and autoloaded definitions.
(help-mode-finish): Renamed from help-mode-maybe.
Don't switch to Help mode here.
(temp-buffer-setup-hook): Use help-mode-finish.
(help-mode-setup): New function.
(temp-buffer-setup-hook): Use help-mode-setup.
(term_send_home): Change the string to
be the same as the one emitted by xterm and consistent with the
ones emitted by prior and next.
(term_send_end): Likewise.