1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

2333 commits

Author SHA1 Message Date
Richard M. Stallman
5f96776a97 (Fcondition_case): Allow a list of condition names in a handler.
(find_handler_clause): Likewise.
1994-01-11 07:22:11 +00:00
Richard M. Stallman
2ea6d56151 (read_process_output): Supply second arg to unbind_to.
(exec_sentinel): Likewise.
1994-01-11 05:49:41 +00:00
Richard M. Stallman
4e87f4d2ad (x_sync): Block input. 1994-01-10 22:37:42 +00:00
Richard M. Stallman
4c0dc72228 (struct buffer): New field auto_save_failure_time. 1994-01-10 22:37:13 +00:00
Richard M. Stallman
ca32516100 (set_search_regs): New subroutine.
(search_buffer): Use set_search_regs.
Record beginning and end after matching null string.
1994-01-10 22:36:49 +00:00
Richard M. Stallman
b60247d9ee (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.
1994-01-10 22:24:26 +00:00
Richard M. Stallman
5e7b7c5bda (Fdelete_frame): Call x_sync.
(Fdelete_frame): Do FRAME_SAMPLE_VISIBILITY before
testing visibility of a frame.
1994-01-10 22:20:56 +00:00
Richard M. Stallman
af1d6f09ce (describe_map_tree): New arg NOMENU.
(describe_buffer_bindings): Pass new arg.
1994-01-10 21:30:25 +00:00
Richard M. Stallman
f8ba73c1c2 (Fsubstitute_command_keys): Pass new arg to describe_map_tree. 1994-01-10 21:30:04 +00:00
Richard M. Stallman
afc549fd99 (create_process): Set line discipline only if pty_flag. 1994-01-10 18:13:39 +00:00
Roland McGrath
f920c4419c Include <sys/types.h> before <sys/resource.h>. 1994-01-09 23:36:21 +00:00
Roland McGrath
b062d1fe44 Don't declare sys_nerr.
Don't declare sys_errlist unless #ifdef VMS.
Declare strerror instead.
(wait_reading_process_input): Call strerror instead of using sys_errlist.
1994-01-09 23:06:40 +00:00
Richard M. Stallman
6b7b1820f0 (x_sync): New function. 1994-01-09 15:20:21 +00:00
Richard M. Stallman
a0e4d3f399 Comment changes. 1994-01-09 12:16:26 +00:00
Roland McGrath
bb4bc8e2ed Restore big block of #ifdef and #include lines for fcntl.h and friends,
apparently accidentally removed in 1994-01-03T07:21:12Z!rms@gnu.org.
1994-01-09 06:15:39 +00:00
Roland McGrath
33abe2d96d (child_setup): Don't declare PID `register'; we later take its address. 1994-01-08 23:22:33 +00:00
Roland McGrath
a1f17b2d6a (report_file_error): Use strerror instead of sys_errlist. 1994-01-08 22:55:04 +00:00
Roland McGrath
be06db9a3e (main): Call strerror instead of using sys_errlist. 1994-01-08 21:47:36 +00:00
Roland McGrath
20c92ac78b Don't declare sys_errlist; declare strerror instead.
(fatal_unexec): Call strerror instead of using sys_errlist.
1994-01-08 21:42:04 +00:00
Roland McGrath
15b74b81c2 Add #undef HAVE_STRERROR. 1994-01-08 21:39:04 +00:00
Roland McGrath
7088d1cad7 [! VMS]: Don't declare sys_errlist here.
[! HAVE_STRERROR] (strerror): New function.
(dup2): Use strerror instead of sys_errlist.
1994-01-08 21:36:18 +00:00
Roland McGrath
ce97267f95 Don't declare sys_errlist; declare strerror instead.
(err_str): Macro removed.
(Finsert_file_contents, Fwrite_region): Call strerror instead of err_str.
1994-01-08 21:28:08 +00:00
Roland McGrath
826c56acc9 Don't declare sys_errlist; declare strerror instead.
(relocate_fd): Call strerror instead of using sys_errlist.
1994-01-08 21:24:35 +00:00
Richard M. Stallman
80e4aa30c4 (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.
1994-01-08 13:28:03 +00:00
Richard M. Stallman
e8589b1137 (main): Don't call setpgrp if !initialized. 1994-01-08 13:26:00 +00:00
Richard M. Stallman
bd4c276211 (${etc}DOC): Put back ${lisp} accidentally deleted. 1994-01-08 13:10:41 +00:00
Richard M. Stallman
aaf45c7bbd (Frem) [MSDOS]: use fmod', not drem'. Put in config.h? 1994-01-08 09:23:12 +00:00
Richard M. Stallman
1b94449f31 Initial revision 1994-01-08 09:22:50 +00:00
Richard M. Stallman
54ad07d30f [MSDOS]: New buffer-local variable:
buffer-file-type to handle DOS newlines.
1994-01-08 09:21:59 +00:00
Richard M. Stallman
7e6c2178ef (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.
1994-01-08 09:21:13 +00:00
Richard M. Stallman
3680bdc6ff [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.
1994-01-08 09:19:22 +00:00
Richard M. Stallman
8e99c732db [MSDOS]: don't #include <sgtty.h>. We haven't got it.
Declare dummy main field.  Don't ever use TABs.
1994-01-08 09:18:53 +00:00
Richard M. Stallman
207bdbdb29 [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.
1994-01-08 09:18:29 +00:00
Richard M. Stallman
004164c530 [MSDOS] (get_lim_data): Use go32 call. 1994-01-08 09:17:47 +00:00
Richard M. Stallman
23a71bd66d [MSDOS]: Use text mode for all files but ".elc" files.
(complete_file_name) [MSDOS]: Drive letter support.
1994-01-08 09:17:27 +00:00
Richard M. Stallman
a3fc523600 [MSDOS]: Don't define HAVE_MATHERR. 1994-01-08 09:16:45 +00:00
Richard M. Stallman
4c3c22f36a [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.
1994-01-08 09:15:49 +00:00
Richard M. Stallman
29b89fe042 (main) [MSDOS]: Call init_environment. Set file types to
binary for all files.  Call init_dosfns.
(fatal_error_signal) [MSDOS]: Uncomment sigblock.
1994-01-08 08:48:32 +00:00
Richard M. Stallman
128ecc89ba (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.
1994-01-08 08:47:19 +00:00
Richard M. Stallman
cf9cdc11ac (keys_of_cmds) [MSDOS]: Chars 0200 to 0237 self-insert. 1994-01-08 08:45:19 +00:00
Richard M. Stallman
0a3e18a0a9 (emacs): Don't run inc-vers.el. 1994-01-07 14:15:21 +00:00
Richard M. Stallman
b8b1b8fd99 (strout, printchar): Use proper frame for minibuffer. 1994-01-07 13:50:23 +00:00
Richard M. Stallman
cadc2c79ee Handle HAVE_BCMP.
(BSTRING): Don't define unless HAVE_BCMP.
1994-01-07 05:58:16 +00:00
Richard M. Stallman
6cb71bf6c6 (describe_syntax): Handle Sinherit.
(syntax_code_spec, syntax_spec_code): Add entry for @ and Sinherit.
1994-01-05 20:33:23 +00:00
Richard M. Stallman
c8cdcb16ad (enum syntaxcode): Add Sinherit.
(RAW_SYNTAX, RAW_SYNTAX_MATCH, SYNTAX_CHOOSE_TABLE): New macros.
(SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, SYNTAX_COMSTART_SECOND)
(SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND, SYNTAX_PREFIX)
(SYNTAX_COMMENT_STYLE): Handle Sinherit.
Alternative definitions if __GNUC__.
1994-01-05 20:33:02 +00:00
Richard M. Stallman
0b312d0831 (SUNOS_LOCALTIME_BUG): #if 0'd. 1994-01-04 14:21:54 +00:00
Richard M. Stallman
acbeb206be (Fmapconcat): Doc fix. 1994-01-04 08:45:49 +00:00
Richard M. Stallman
63456da576 (bcopy, bzero, bcmp): Defined. 1994-01-04 08:42:21 +00:00
Richard M. Stallman
02e8e1677b (buffer.o): Don't depend on syntax.h.
(temacs): Delete redundant use of LDFLAGS.

(${etc}DOC): Fix typo in previous change.
1994-01-04 06:41:18 +00:00
Richard M. Stallman
5fe0b67ed4 Don't include syntax.h.
(Qget_file_buffer): New variable.
(syms_of_buffer): Set up Qget_file_buffer.
(Fget_file_buffer): For magic file names, run the handler.
1994-01-04 06:38:43 +00:00