Richard M. Stallman [Tue, 11 Jan 1994 22:08:34 +0000 (22:08 +0000)]
(Fload): Record descriptor numbers on load_descriptor_list.
(load_descriptor_unwind, close_load_descs): New function.
(syms_of_lread): Init and staticpro load_descriptor_list.
(init_lread): Clear load_descriptor_list.
Richard M. Stallman [Tue, 11 Jan 1994 18:52:33 +0000 (18:52 +0000)]
(read_char_x_menu_prompt, read_char_minibuf_menu_prompt):
New functions made by dividing up read_char_menu_prompt.
(read_char): Call read_char_minibuffer_menu_prompt before the sit_for
if X menus are not going to be used.
(read_char_minibuf_menu_prompt): Correct access to keymaps for
menus when not using X menus. Only store character read in a keyboard
macro if it is not the menu help character.
Richard M. Stallman [Mon, 10 Jan 1994 22:35:29 +0000 (22:35 +0000)]
(Info-follow-reference): If point is not in middle of a
cross-reference but located somewhere on current line, make
cross-reference the `default'. If only one cross-reference
located in node, make it `default'.
Richard M. Stallman [Mon, 10 Jan 1994 22:24:26 +0000 (22:24 +0000)]
(Fdo_auto_save): If auto save times out, don't try again for 20 minutes.
(Fclear_buffer_auto_save_failure): New function.
(Fset_buffer_auto_saved): Clear auto_save_failure_time.
Richard M. Stallman [Sun, 9 Jan 1994 23:11:56 +0000 (23:11 +0000)]
(debug): Bind a bunch of vars, like last-command, to
neutral values. Save the outer values in debugger-last-command, etc.
Put those saved values back into effect when returning.
(debugger-eval-expression): Put the saved values into effect
while evaluating, and store modified values back into
debugger-outer-... after evaluating.
Roland McGrath [Sun, 9 Jan 1994 00:36:27 +0000 (00:36 +0000)]
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
be; hopefully noone will again see fit to gratuitously break this and not
make a change log entry. Optimized sed processing of Makefile.in and cpp
output; now preserves comments previously removed from the cpp input.
Eliminated temp file for cpp output.
Generate -U switches to undefine all identifiers that appear in the
directory name ${srcdir}; pass these to cpp.
Richard M. Stallman [Sat, 8 Jan 1994 13:57:29 +0000 (13:57 +0000)]
(rmail-summary-delete-forward): Fix regexp
used for recognizing deleted message.
(rmail-summary-output, rmail-summary-output-to-rmail-file):
Use rmail-summary-delete-forward.
Richard M. Stallman [Sat, 8 Jan 1994 13:28:03 +0000 (13:28 +0000)]
(interrupt_signal) [MSDOS]: write explicit CRs since
stdout has been made binary. Start at the top of the screen since
the internal terminal otherwise will write "below the screen."
[MSDOS]: #include <dos.h> and <time.h>, but not <sys/ioctl.h>.
(read_avail_input) [MSDOS]: Work around `ioctl'. Also read through
dos_keyread for better keyboard support.
(interrupt_signal) [MSDOS]: Don't claim we can core dump.
(kbd_buffer_store_event): Cast a pointer to avoid a compiler warning.
(read_avail_input): Args to `kill' were backwards.
(kbd_buffer_get_event): If deleting last frame, call Fkill_emacs.
(modify_event_symbol): New arg NAME_ALIST.
Allow SYMBOL_TABLE to be an alist.
(Vvendor_key_alist): New variable.
(syms_of_keyboard): Initialize it.
(make_lispy_event): Handle vendor-specific keysyms.
(lispy_function_keys): Delete `remove' and th HP keysyms.
(read_avail_input): Turn O_NDELAY off on DGUX as on USG.
Richard M. Stallman [Sat, 8 Jan 1994 10:04:22 +0000 (10:04 +0000)]
(enable-flow-control): Use prefix argument like minor modes.
(enable-flow-control-memstr=): Function deleted.
(enable-flow-control-on): Use member instead.
(flow-control-c-q-replacement, flow-control-c-s-replacement): New vars.
Richard M. Stallman [Sat, 8 Jan 1994 09:21:13 +0000 (09:21 +0000)]
(syms_of_callproc) [MSDOS]: New lisp variable: binary-process.
(init_callproc) [MSDOS]: Initialize binary-process.
[MSDOS]: Declare binary-process.
[MSDOS]: Include <fcntl.h>, <sys/stat.h>, <sys/param.h>,
and <errno.h> needed for the next changes.
(Fcall_process) [MSDOS]: Create temporary file for process output.
Run the subprocess using `run_msdos_command' instead of forking.
Arrange for cleanup to erase temporary file.
(Fcall_process) [not subprocesses]: Barf if zero buffer argument.
(call_process_cleanup) [MSDOS]: Close and erase temporary file
instead of the pid-stuff.
(Fcall_process_region) [MSDOS]: Create temporary file in $TMP or $TEMP.
(Fchild_setup) [MSDOS]: #if 0, as it is not used.
Richard M. Stallman [Sat, 8 Jan 1994 09:19:22 +0000 (09:19 +0000)]
[MSDOS]: Don't #include <a.out.h>, but use other headers.
(make_hdr) [MSDOS]: Cast a pointer for bzero.
(write_segment) [EFAULT]: Check for before using.
(adjust_lnnoptrs) [MSDOS]: Use provided descriptor.
(adjust_lnnoptrs): Return 0 if ok.
Richard M. Stallman [Sat, 8 Jan 1994 09:18:29 +0000 (09:18 +0000)]
[MSDOS]: #include <dos.h>, "dosfns.h", "msdos.h", and
<sys/param.h> needed for the following changes, but not <sys/ioctl.h>
(discard_tty_input) [MSDOS]: Do it by reading till no more keys available.
(init_baud_rate) [MSDOS]: Assume highest possible speed.
(sys_suspend) [MSDOS]: Save default directory. Call via system, not via fork.
(emacs_get_tty, emacs_set_tty) [MSDOS]: Don't do anything.
(init_sys_modes) [MSDOS]: Use raw mode.
(get_frame_size) [MSDOS]: Get from bios.
(reset_sys_modes) [MSDOS]: Back to cooked mode.
(start_of_text) [MSDOS]: Reference _tstart.
(select) [MSDOS]: Don't use signals, use sleeping.
(init_sys_modes) [MSDOS]: Initialize internal terminal.
Richard M. Stallman [Sat, 8 Jan 1994 09:15:49 +0000 (09:15 +0000)]
[MSDOS]: #include "msdos.h" and <sys/param.h> needed for
the following changes.
(Ffile_name_directory, Fexpand_file_name) [FILE_SYSTEM_CASE]: Apply
case conversion if defined.
(Ffile_name_directory, Ffile_name_nondirectory, file_name_as_directory,
directory_file_name, Fexpand_file_name, Fsubstitute_in_file_name,
expand_and_dir_to_file) [MSDOS]: Drive letter support.
(Fexpand_file_name) [MSDOS]: Support for multiple default directories.
(Ffile_writeable_p) [MSDOS]: Don't call access with file name ending in slash.
(Finsert_file_contents) [MSDOS]: Determine file type by name (call
find-buffer-file-type) and change CR+LF to LF if it is a text file.
(Fwrite_region) [MSDOS]: Use text/binary mode as specified by buffer_file_type.
(syms_of_fileio) [MSDOS]: Set Qfind_buffer_file_type.
(Fsubstitute_in_file_name) [MSDOS]: Ignore case in environtment variable.
Richard M. Stallman [Sat, 8 Jan 1994 08:47:19 +0000 (08:47 +0000)]
(DIRENTRY_NONEMPTY): New macro; two definitions.
(Fdirectory_files, file_name_completion): Use it.
[MSDOS]: #include <dirent.h> instead of <sys/dir.h>. Avoid
some external definitions.
(Ffile_attributes) [MSDOS]: Set execute bits from file name.
(Ffile_name_all_completions) [FILE_SYSTEM_CASE]: Convert
case of file name as as indicated by conditional.