comparison src/ChangeLog.3 @ 40965:eac4b1ccb6b8

fixed format
author Sam Steingold <sds@gnu.org>
date Tue, 13 Nov 2001 00:07:54 +0000
parents 218f185269b8
children e10e36f31de3
comparison
equal deleted inserted replaced
40964:fb970d0c56eb 40965:eac4b1ccb6b8
5 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) 5 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6 6
7 * keyboard.c (read_key_sequence): If we changed buffers during 7 * keyboard.c (read_key_sequence): If we changed buffers during
8 read_char, go to replay_sequence. 8 read_char, go to replay_sequence.
9 9
10 * frame.c (Ficonify_frame, Fmake_frame_invisible): 10 * frame.c (Ficonify_frame, Fmake_frame_invisible):
11 Select some other frame. Move minibuffer off this frame. 11 Select some other frame. Move minibuffer off this frame.
12 12
13 * frame.c (Fhandle_switch_frame): Don't call Ffocus_frame. 13 * frame.c (Fhandle_switch_frame): Don't call Ffocus_frame.
14 (Fredirect_frame_focus): Call Ffocus_frame here. 14 (Fredirect_frame_focus): Call Ffocus_frame here.
15 15
76 76
77 * sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0. 77 * sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0.
78 78
79 * process.c (MAXDESC): Get it from FD_SETSIZE if that exists. 79 * process.c (MAXDESC): Get it from FD_SETSIZE if that exists.
80 80
81 * s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): 81 * s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF):
82 Redefined. 82 Redefined.
83 (SIGNALS_VIA_CHARACTERS): Defined. 83 (SIGNALS_VIA_CHARACTERS): Defined.
84 [HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined. 84 [HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined.
85 (MAIL_PROGRAM_NAME): Defined (two alternate definitions). 85 (MAIL_PROGRAM_NAME): Defined (two alternate definitions).
86 86
323 * xterm.c (dumpglyphs): Remember that the default faces can have 323 * xterm.c (dumpglyphs): Remember that the default faces can have
324 null fonts, too. 324 null fonts, too.
325 325
326 * xfns.c (Fx_list_fonts): Remember that FACE may not have a font 326 * xfns.c (Fx_list_fonts): Remember that FACE may not have a font
327 specified. Don't specify 30000 as the maximum limit on the number 327 specified. Don't specify 30000 as the maximum limit on the number
328 of fontns returned - 2000 is more reasonable. 328 of fontns returned - 2000 is more reasonable.
329 329
330 * xfaces.c (build_face, unload_font, free_frame_faces): Don't 330 * xfaces.c (build_face, unload_font, free_frame_faces): Don't
331 forget to block input while making X calls. 331 forget to block input while making X calls.
332 332
333 Treat faces as structures specifying modifications to the frame's 333 Treat faces as structures specifying modifications to the frame's
691 clear_waiting_for_input when we exit the loop because process 691 clear_waiting_for_input when we exit the loop because process
692 input has arrived. 692 input has arrived.
693 693
694 Changes for Silicon Graphics Iris 5D. 694 Changes for Silicon Graphics Iris 5D.
695 * unexelfsgi.c: New file; like unexelf.c, but tolerates program 695 * unexelfsgi.c: New file; like unexelf.c, but tolerates program
696 segments above BSS. 696 segments above BSS.
697 * m/iris5d.h: New file. 697 * m/iris5d.h: New file.
698 * s/irix5-0.h: New file. 698 * s/irix5-0.h: New file.
699 * process.c [__sgi] (allocate_pty): Give up immediately if pty is 699 * process.c [__sgi] (allocate_pty): Give up immediately if pty is
700 inaccessible. 700 inaccessible.
701 701
830 * dispnew.c (direct_output_forward_char): Just give up 830 * dispnew.c (direct_output_forward_char): Just give up
831 if region is being highlighted. 831 if region is being highlighted.
832 832
833 * xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion 833 * xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion
834 special-case code if the region is or was highlighted. 834 special-case code if the region is or was highlighted.
835 835
836 * xfaces.c (compute_char_face): New args REGION_BEG, REGION_END. 836 * xfaces.c (compute_char_face): New args REGION_BEG, REGION_END.
837 Don't sort if noverlays is 0 or 1. 837 Don't sort if noverlays is 0 or 1.
838 838
839 * dispnew.c (direct_output_for_insert): Pass those args. 839 * dispnew.c (direct_output_for_insert): Pass those args.
840 * xdisp.c (display_text_line): Pass those args, 840 * xdisp.c (display_text_line): Pass those args,
933 * xterm.c (dumpglyphs): Pass the proper arguments to intern_face. 933 * xterm.c (dumpglyphs): Pass the proper arguments to intern_face.
934 934
935 * xterm.c (dumpglyphs): Don't increment left twice. 935 * xterm.c (dumpglyphs): Don't increment left twice.
936 936
937 * intervals.c (set_point): Check for point out of bounds before 937 * intervals.c (set_point): Check for point out of bounds before
938 checking for an empty interval tree. 938 checking for an empty interval tree.
939 939
940 * cmds.c (Fforward_char): Check proposed new position, and then 940 * cmds.c (Fforward_char): Check proposed new position, and then
941 set point, instead of setting point to a potentially invalid 941 set point, instead of setting point to a potentially invalid
942 position. 942 position.
943 943
1646 * search.c: Since the regexp routines can malloc, BLOCK_INPUT 1646 * search.c: Since the regexp routines can malloc, BLOCK_INPUT
1647 while runing them. #include blockinput.h. 1647 while runing them. #include blockinput.h.
1648 * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead 1648 * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead
1649 of free and malloc. BLOCK_INPUT around routines which we know 1649 of free and malloc. BLOCK_INPUT around routines which we know
1650 will call malloc. 1650 will call malloc.
1651 1651
1652 ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, 1652 ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
1653 xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that 1653 xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
1654 these depend on blockinput.h. 1654 these depend on blockinput.h.
1655 1655
1656 * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're 1656 * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
1806 (Fx_color_defined_p): Renamed from Fx_defined_color. 1806 (Fx_color_defined_p): Renamed from Fx_defined_color.
1807 (syms_of_xfns): Adjusted. 1807 (syms_of_xfns): Adjusted.
1808 1808
1809 1993-03-22 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) 1809 1993-03-22 Richard Stallman (rms@wookumz.gnu.ai.mit.edu)
1810 1810
1811 * indent.c (current_column, Findent_to, position_indentation): 1811 * indent.c (current_column, Findent_to, position_indentation):
1812 (Fmove_to_column, compute_motion): Allow tab_width up to 1000. 1812 (Fmove_to_column, compute_motion): Allow tab_width up to 1000.
1813 1813
1814 * xdisp.c (display_string, display_text_line): 1814 * xdisp.c (display_string, display_text_line):
1815 Allow tab_width up to 1000. 1815 Allow tab_width up to 1000.
1816 1816
1944 * xselect.c (cons_to_long, long_to_cons): No longer static. 1944 * xselect.c (cons_to_long, long_to_cons): No longer static.
1945 1945
1946 1993-03-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 1946 1993-03-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
1947 1947
1948 * frame.h (FOR_EACH_FRAME): Change the definition so that 1948 * frame.h (FOR_EACH_FRAME): Change the definition so that
1949 FRAME_VAR is a lisp object. 1949 FRAME_VAR is a lisp object.
1950 * dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change): 1950 * dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
1951 Adjusted appropriately. 1951 Adjusted appropriately.
1952 * xdisp.c (redisplay): Adjusted appropriately. 1952 * xdisp.c (redisplay): Adjusted appropriately.
1953 1953
1954 * dispnew.c (Fredraw_frame): Give this appropriate definitions for 1954 * dispnew.c (Fredraw_frame): Give this appropriate definitions for
2540 and check-protected-fields. 2540 and check-protected-fields.
2541 * insdel.c (check_protected_fields): Delete decl. 2541 * insdel.c (check_protected_fields): Delete decl.
2542 2542
2543 * disptab.h (DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE. 2543 * disptab.h (DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE.
2544 (DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE. 2544 (DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE.
2545 All callers changed. 2545 All callers changed.
2546 2546
2547 * xdisp.c (copy_rope): Expect FROM to be a vector. 2547 * xdisp.c (copy_rope): Expect FROM to be a vector.
2548 (copy_part_of_rope): New function. 2548 (copy_part_of_rope): New function.
2549 (display_string): Expect display table elts to be vectors. 2549 (display_string): Expect display table elts to be vectors.
2550 * indent.c (current_column, Fmove_to_column, compute_motion): 2550 * indent.c (current_column, Fmove_to_column, compute_motion):
2593 2593
2594 1993-03-04 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 2594 1993-03-04 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2595 2595
2596 * Makefile.in (xmakefile): Add missing quote. 2596 * Makefile.in (xmakefile): Add missing quote.
2597 2597
2598 1992-03-03 Wilson H. Tien (wtien at urbana.mcd.mot.com) 2598 1992-03-03 Wilson H. Tien (wtien@urbana.mcd.mot.com)
2599 2599
2600 * unexelf.c (unexec): Move data2 section header up so all section 2600 * unexelf.c (unexec): Move data2 section header up so all section
2601 headers will be in ascending order. This will prevent the unexeced 2601 headers will be in ascending order. This will prevent the unexeced
2602 emacs that being processed by other applications (such as strip) 2602 emacs that being processed by other applications (such as strip)
2603 to fail. 2603 to fail.
2604 2604
2605 1993-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) 2605 1993-03-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2606 2606
2607 * s/isc2-2.h (S_IFLNK): Add #undef. 2607 * s/isc2-2.h (S_IFLNK): Add #undef.
2636 1993-03-01 Jim Blandy (jimb@totoro.cs.oberlin.edu) 2636 1993-03-01 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2637 2637
2638 * buffer.c (buffer-undo-list): Doc fix. 2638 * buffer.c (buffer-undo-list): Doc fix.
2639 2639
2640 * xdisp.c (redisplay): Protect calls to request_sigio and 2640 * xdisp.c (redisplay): Protect calls to request_sigio and
2641 unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined 2641 unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined
2642 2642
2643 * cmds.c (Fnewline): Doc fix. 2643 * cmds.c (Fnewline): Doc fix.
2644 2644
2645 1993-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) 2645 1993-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2646 2646
3064 1993-02-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) 3064 1993-02-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3065 3065
3066 * textprop.c (Fadd_text_properties): Put OBJECT arg last. 3066 * textprop.c (Fadd_text_properties): Put OBJECT arg last.
3067 Make it optional. 3067 Make it optional.
3068 (Fset_text_properties, Fremove_text_properties): Likewise. 3068 (Fset_text_properties, Fremove_text_properties): Likewise.
3069 (Fnext_single_property_change, Fprevious_single_property_change): 3069 (Fnext_single_property_change, Fprevious_single_property_change):
3070 (Fnext_property_change, Fprevious_property_change): Likewise. 3070 (Fnext_property_change, Fprevious_property_change): Likewise.
3071 (Ferase_text_properties): #if 0. 3071 (Ferase_text_properties): #if 0.
3072 (Fget_text_property): New function. 3072 (Fget_text_property): New function.
3073 3073
3074 * s/irix4-0.h (C_SWITCH_MACHINE): Don't define if GCC. 3074 * s/irix4-0.h (C_SWITCH_MACHINE): Don't define if GCC.
3185 3185
3186 x-selection-value has been renamed to x-selection. 3186 x-selection-value has been renamed to x-selection.
3187 x-own-selection has been renamed to x-set-selection, and the order 3187 x-own-selection has been renamed to x-set-selection, and the order
3188 of its arguments has been reversed, for consistency with other 3188 of its arguments has been reversed, for consistency with other
3189 lisp functions like put and aset. 3189 lisp functions like put and aset.
3190 * xselect.c (Fx_own_selection): Rename to Fx_set_selection, 3190 * xselect.c (Fx_own_selection): Rename to Fx_set_selection,
3191 reverse the order of the args, and therefore make the type 3191 reverse the order of the args, and therefore make the type
3192 non-optional. Doc fix. 3192 non-optional. Doc fix.
3193 (Fx_selection_value): Rename to Fx_selection; make the type 3193 (Fx_selection_value): Rename to Fx_selection; make the type
3194 argument non-optional, for symmetry with Fx_set_selection. Doc 3194 argument non-optional, for symmetry with Fx_set_selection. Doc
3195 fix. 3195 fix.
3235 instead of text_cursor_kind. 3235 instead of text_cursor_kind.
3236 (Vbar_cursor): Delete external declaration. 3236 (Vbar_cursor): Delete external declaration.
3237 (x_display_cursor): Use the FRAME_DESIRED_CURSOR accessor instead 3237 (x_display_cursor): Use the FRAME_DESIRED_CURSOR accessor instead
3238 of Vbar_cursor to decide how to draw the cursor. 3238 of Vbar_cursor to decide how to draw the cursor.
3239 * xfns.c (Vbar_cursor): Remove definition. 3239 * xfns.c (Vbar_cursor): Remove definition.
3240 (Qbar, Qbox, Qcursor_type): New symbols. 3240 (Qbar, Qbox, Qcursor_type): New symbols.
3241 (syms_of_xfns): Init and staticpro them; remove DEFVAR for 3241 (syms_of_xfns): Init and staticpro them; remove DEFVAR for
3242 Vbar_cursor. 3242 Vbar_cursor.
3243 (x_set_cursor_type): New setter. 3243 (x_set_cursor_type): New setter.
3244 (x_frame_parms): Add it to the list. 3244 (x_frame_parms): Add it to the list.
3245 (Fx_create_frame): Get default values for the cursor type. 3245 (Fx_create_frame): Get default values for the cursor type.
3881 description. This makes pages-directory more useful. 3881 description. This makes pages-directory more useful.
3882 3882
3883 * xterm.c (x_do_pending_expose): Declare this routine only if 3883 * xterm.c (x_do_pending_expose): Declare this routine only if
3884 HAVE_X11 is not #defined; X11 doesn't need it. 3884 HAVE_X11 is not #defined; X11 doesn't need it.
3885 (XTread_socket): Protect call to x_do_pending_expose with `#ifdef 3885 (XTread_socket): Protect call to x_do_pending_expose with `#ifdef
3886 HAVE_X11'. 3886 HAVE_X11'.
3887 3887
3888 * xfns.c (syms_of_xfns): Delete defvars for x_mouse_x and 3888 * xfns.c (syms_of_xfns): Delete defvars for x_mouse_x and
3889 x_mouse_y. That interface hasn't been live for years. 3889 x_mouse_y. That interface hasn't been live for years.
3890 (x_mouse_x, x_mouse_y): Delete these variables. 3890 (x_mouse_x, x_mouse_y): Delete these variables.
3891 3891
4054 (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and 4054 (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
4055 initialize and staticpro Qunhandled_file_name_directory. 4055 initialize and staticpro Qunhandled_file_name_directory.
4056 * callproc.c (Fcall_process): Call Funhandled_file_name_directory 4056 * callproc.c (Fcall_process): Call Funhandled_file_name_directory
4057 on the buffer's default directory. Do it earlier in the function 4057 on the buffer's default directory. Do it earlier in the function
4058 so there's less to GCPRO. 4058 so there's less to GCPRO.
4059 * process.c (create_process): Don't check the validity of the 4059 * process.c (create_process): Don't check the validity of the
4060 buffer's default directory here... 4060 buffer's default directory here...
4061 (Fstart_process): Instead, do it here; if we call 4061 (Fstart_process): Instead, do it here; if we call
4062 Funhandled_file_name_directory here, there's less GCPROing to do. 4062 Funhandled_file_name_directory here, there's less GCPROing to do.
4063 4063
4064 * callproc.c (Fcall_process_region): Return the value returned by 4064 * callproc.c (Fcall_process_region): Return the value returned by
4091 * window.c (delete_all_subwindows): Don't make this static 4091 * window.c (delete_all_subwindows): Don't make this static
4092 anymore. 4092 anymore.
4093 4093
4094 1992-12-03 Jim Blandy (jimb@totoro.cs.oberlin.edu) 4094 1992-12-03 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4095 4095
4096 Make sure that frames' visible flag only changes at acceptable 4096 Make sure that frames' visible flag only changes at acceptable
4097 times. See FRAME_SAMPLE_VISIBILITY's comments for details. 4097 times. See FRAME_SAMPLE_VISIBILITY's comments for details.
4098 * frame.h (struct frame): New fields called async_visible and 4098 * frame.h (struct frame): New fields called async_visible and
4099 async_iconified. 4099 async_iconified.
4100 (FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and 4100 (FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and
4101 non-MULTI_FRAME definitions. 4101 non-MULTI_FRAME definitions.
4186 4186
4187 * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef 4187 * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
4188 and #endif. 4188 and #endif.
4189 4189
4190 * systty.h: Doc fix. 4190 * systty.h: Doc fix.
4191 4191
4192 * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c: 4192 * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
4193 Added VMS changes from Roland Roberts. 4193 Added VMS changes from Roland Roberts.
4194 * vmspaths.h: New version from Roland Roberts. 4194 * vmspaths.h: New version from Roland Roberts.
4195 4195
4196 * xdisp.c (display_string): Use w's buffer's value of 4196 * xdisp.c (display_string): Use w's buffer's value of
5029 5029
5030 * alloc.c (Fmemory_limit): New function. 5030 * alloc.c (Fmemory_limit): New function.
5031 (syms_of_alloc): Defsubr it. 5031 (syms_of_alloc): Defsubr it.
5032 5032
5033 * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof, 5033 * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof,
5034 instead of just saying it's 7; that way, we won't get screwed if 5034 instead of just saying it's 7; that way, we won't get screwed if
5035 we add members to struct save_window_data. 5035 we add members to struct save_window_data.
5036 5036
5037 * window.c (struct save_window_data): Save the currently selected 5037 * window.c (struct save_window_data): Save the currently selected
5038 frame, too. 5038 frame, too.
5039 (Fset_window_configuration): Restore the frame's selected window 5039 (Fset_window_configuration): Restore the frame's selected window
5111 (EVENT_START, EVENT_END): Two new accessors, to get at the 5111 (EVENT_START, EVENT_END): Two new accessors, to get at the
5112 starting and ending position of an event. 5112 starting and ending position of an event.
5113 (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON, 5113 (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON,
5114 POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher 5114 POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
5115 diasassemble the values returned by EVENT_START and EVENT_END. 5115 diasassemble the values returned by EVENT_START and EVENT_END.
5116 * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first 5116 * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first
5117 testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on 5117 testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on
5118 all sorts of events now. 5118 all sorts of events now.
5119 (read_key_sequence): Use the new accessors to decide in which window 5119 (read_key_sequence): Use the new accessors to decide in which window
5120 an event occurred. 5120 an event occurred.
5121 * keymap.c (access_keymap, store_in_keymap, 5121 * keymap.c (access_keymap, store_in_keymap,
5332 Fframe_selected_window, Fnext_frame, Fmake_frame_visible, 5332 Fframe_selected_window, Fnext_frame, Fmake_frame_visible,
5333 Fmake_frame_invisible, Ficonify_frame): Doc fixes. 5333 Fmake_frame_invisible, Ficonify_frame): Doc fixes.
5334 5334
5335 * ralloc.c: Since the users of the relocating allocation code 5335 * ralloc.c: Since the users of the relocating allocation code
5336 handle memory exhaustion, it's better to return an error code to 5336 handle memory exhaustion, it's better to return an error code to
5337 them than to call abort. 5337 them than to call abort.
5338 (obtain): If we cannot allocate more memory, don't call 5338 (obtain): If we cannot allocate more memory, don't call
5339 abort. Instead, return non-zero iff the allocation is successful. 5339 abort. Instead, return non-zero iff the allocation is successful.
5340 (get_more_space): If obtain fails, return zero. 5340 (get_more_space): If obtain fails, return zero.
5341 (get_bloc): Return zero if we can't allocate the new bloc. 5341 (get_bloc): Return zero if we can't allocate the new bloc.
5342 (r_alloc_sbrk): Return zero if we can't allocate more memory. 5342 (r_alloc_sbrk): Return zero if we can't allocate more memory.
5513 * ymakefile (${etc}DOC): Use OBJECTS_SYSTEM and OBJECTS_MACHINE. 5513 * ymakefile (${etc}DOC): Use OBJECTS_SYSTEM and OBJECTS_MACHINE.
5514 5514
5515 * dired.c [VMS]: Include string.h, rms.h, rmsdef.h. 5515 * dired.c [VMS]: Include string.h, rms.h, rmsdef.h.
5516 [VMS] (Ffile_version_limit): New function. 5516 [VMS] (Ffile_version_limit): New function.
5517 5517
5518 * sysdep.c (sys_suspend): Read EMACS_PARENT_PID envvar for parent. 5518 * sysdep.c (sys_suspend): Read EMACS_PARENT_PID envvar for parent.
5519 5519
5520 * syntax.c (scan_lists): When searching back for comment: 5520 * syntax.c (scan_lists): When searching back for comment:
5521 if comment-end is 2 chars, assume it does end a comment. 5521 if comment-end is 2 chars, assume it does end a comment.
5522 Otherwise, scan back to previous comment-end to see if there's 5522 Otherwise, scan back to previous comment-end to see if there's
5523 a comment starter between. Also record whether the string quotes 5523 a comment starter between. Also record whether the string quotes
5554 caller if the caller was signalling a quit. 5554 caller if the caller was signalling a quit.
5555 5555
5556 * eval.c (unbind_catch): Restore the polling suppression count 5556 * eval.c (unbind_catch): Restore the polling suppression count
5557 here, instead of in Fsignal and Fthrow. 5557 here, instead of in Fsignal and Fthrow.
5558 (Fthrow, Fsignal): Don't restore the polling suppression count here. 5558 (Fthrow, Fsignal): Don't restore the polling suppression count here.
5559 5559
5560 * lisp.h (struct specbinding, struct handler): More documentation. 5560 * lisp.h (struct specbinding, struct handler): More documentation.
5561 * eval.c (struct catchtag): More documentation. 5561 * eval.c (struct catchtag): More documentation.
5562 5562
5563 1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) 5563 1992-09-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5564 5564
5641 * keyboard.c (num_nonmacro_input_chars): New variable. 5641 * keyboard.c (num_nonmacro_input_chars): New variable.
5642 (read_char): Use num_nonmacro_input_chars to decide on auto-save & gc. 5642 (read_char): Use num_nonmacro_input_chars to decide on auto-save & gc.
5643 Increment it when appropriate. 5643 Increment it when appropriate.
5644 (record_auto_save): Use num_nonmacro_input_chars. 5644 (record_auto_save): Use num_nonmacro_input_chars.
5645 5645
5646 * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): 5646 * fileio.c (Ffile_name_directory, Ffile_name_nondirectory):
5647 (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): 5647 (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name):
5648 Call find_file_handler. 5648 Call find_file_handler.
5649 (syms_of_fileio): Set up Qfile_name_directory, etc. 5649 (syms_of_fileio): Set up Qfile_name_directory, etc.
5650 (Fcopy_file): Call find_file_handler for newname as well as for filename. 5650 (Fcopy_file): Call find_file_handler for newname as well as for filename.
5651 (syms_of_fileio): Initialize Vfile_name_handler_alist. 5651 (syms_of_fileio): Initialize Vfile_name_handler_alist.
5652 5652
5688 printed it for the local bindings; it's clear enough that the 5688 printed it for the local bindings; it's clear enough that the
5689 columns mean the same thing as above. 5689 columns mean the same thing as above.
5690 5690
5691 1992-09-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) 5691 1992-09-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5692 5692
5693 * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the 5693 * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the
5694 end of the heap, copying the data to it, and then freeing the 5694 end of the heap, copying the data to it, and then freeing the
5695 original bloc, just expand the original block. This saves a copy 5695 original bloc, just expand the original block. This saves a copy
5696 and a call to sbrk, and also removes the large spike in memory 5696 and a call to sbrk, and also removes the large spike in memory
5697 allocation that would occur when resizing large buffers. And it's 5697 allocation that would occur when resizing large buffers. And it's
5698 less code. 5698 less code.
5885 m/mips.h which are only appropriate for USG. 5885 m/mips.h which are only appropriate for USG.
5886 (MAIL_USE_FLOCK, HAVE_UNION_WAIT): Do define these. 5886 (MAIL_USE_FLOCK, HAVE_UNION_WAIT): Do define these.
5887 (BROKEN_O_NONBLOCK): Defined. 5887 (BROKEN_O_NONBLOCK): Defined.
5888 (LINKER): Don't define this. 5888 (LINKER): Don't define this.
5889 [OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA. 5889 [OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA.
5890 5890
5891 * s/osf1.h: New file. 5891 * s/osf1.h: New file.
5892 5892
5893 * s/bsd4-3.h: Merge changes from Emacs 18.58: 5893 * s/bsd4-3.h: Merge changes from Emacs 18.58:
5894 (BSD, BSD4_3): Just define these, don't fret about numerical 5894 (BSD, BSD4_3): Just define these, don't fret about numerical
5895 values or version numbers. 5895 values or version numbers.
6018 6018
6019 1992-08-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6019 1992-08-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6020 6020
6021 * process.c (WCOREDUMP): Define only if not defined. 6021 * process.c (WCOREDUMP): Define only if not defined.
6022 (create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists. 6022 (create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.
6023 6023
6024 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) 6024 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6025 6025
6026 * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate 6026 * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate
6027 number of arguments. 6027 number of arguments.
6028 * fns.c (Fyes_or_no_p): Same. 6028 * fns.c (Fyes_or_no_p): Same.
6076 * xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors, 6076 * xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors,
6077 and x_uncatch errors to avoid crashing if the user selects an 6077 and x_uncatch errors to avoid crashing if the user selects an
6078 odd cursor. 6078 odd cursor.
6079 6079
6080 * xterm.c (x_proto_requests): Removed; it's not important. 6080 * xterm.c (x_proto_requests): Removed; it's not important.
6081 6081
6082 * xterm.c (events): Array removed; it's not used. 6082 * xterm.c (events): Array removed; it's not used.
6083 6083
6084 * xfns.c (select_visual): Use XVisualIDFromVisual when available 6084 * xfns.c (select_visual): Use XVisualIDFromVisual when available
6085 [HAVE_X11R4]. 6085 [HAVE_X11R4].
6086 6086
6087 * xrdb.c (get_user_db): Use XResourceManagerString when available 6087 * xrdb.c (get_user_db): Use XResourceManagerString when available
6088 [HAVE_X11R4]. 6088 [HAVE_X11R4].
6089 6089
6090 * window.c (change_window_height): If the size of the window will 6090 * window.c (change_window_height): If the size of the window will
6091 shrink below the minimum, this code would only try to delete it if 6091 shrink below the minimum, this code would only try to delete it if
6197 window, which isn't widely available, write out what it does, 6197 window, which isn't widely available, write out what it does,
6198 since that's not much. 6198 since that's not much.
6199 (x_iconify_frame): Explicitly perform both the X11R3 and X11R4 6199 (x_iconify_frame): Explicitly perform both the X11R3 and X11R4
6200 methods for iconification; don't use XIconifyWindow, since that's 6200 methods for iconification; don't use XIconifyWindow, since that's
6201 not present in R3. 6201 not present in R3.
6202 6202
6203 * xterm.c (x_wm_set_size_hint): Don't bother setting the 6203 * xterm.c (x_wm_set_size_hint): Don't bother setting the
6204 base_width and base_height members; their function is performed 6204 base_width and base_height members; their function is performed
6205 just as well by the min_width and min_height members, and if we 6205 just as well by the min_width and min_height members, and if we
6206 use XSetNormalHints instead of XSetWMNormalHints, we can be 6206 use XSetNormalHints instead of XSetWMNormalHints, we can be
6207 compatible with R3. 6207 compatible with R3.
6407 * frame.c (make_frame): Stop passing zero to make_window; it's not 6407 * frame.c (make_frame): Stop passing zero to make_window; it's not
6408 expecting any arguments. 6408 expecting any arguments.
6409 6409
6410 1992-08-12 Jim Blandy (jimb@albert.gnu.ai.mit.edu) 6410 1992-08-12 Jim Blandy (jimb@albert.gnu.ai.mit.edu)
6411 6411
6412 * unexsunos4.c: Deleted "$Log" header in comments at top of file; 6412 * unexsunos4.c: Deleted "$Log" header in comments at top of file;
6413 this was beginning to grow RCS hair, which we don't want. 6413 this was beginning to grow RCS hair, which we don't want.
6414 * xmenu.c: Same deal. 6414 * xmenu.c: Same deal.
6415 6415
6416 1992-08-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) 6416 1992-08-11 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6417 6417
6574 proper arguments - the height and width are the second and third 6574 proper arguments - the height and width are the second and third
6575 arguments, not the first and second. Pass 0 for DELAY. 6575 arguments, not the first and second. Pass 0 for DELAY.
6576 * xfns.c (Fx_create_frame): Call change_frame_size with a DELAY of 0. 6576 * xfns.c (Fx_create_frame): Call change_frame_size with a DELAY of 0.
6577 * xterm.c (XTread_socket, x_do_pending_expose): Call 6577 * xterm.c (XTread_socket, x_do_pending_expose): Call
6578 change_frame_size with a DELAY of 1. 6578 change_frame_size with a DELAY of 1.
6579 6579
6580 * xterm.c (in_display): Deleted this; it's never used in xterm.c, 6580 * xterm.c (in_display): Deleted this; it's never used in xterm.c,
6581 and there is another variable by the same name in dispnew.c. 6581 and there is another variable by the same name in dispnew.c.
6582 6582
6583 * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width, 6583 * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
6584 Fset_frame_size, Fframe_height, Fframe_width): New functions, for 6584 Fset_frame_size, Fframe_height, Fframe_width): New functions, for
6687 1992-07-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6687 1992-07-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6688 6688
6689 * fileio.c (Fread_file_name): Use new calling convention for 6689 * fileio.c (Fread_file_name): Use new calling convention for
6690 Fcompleting_read, with history as Qfile_name_history. 6690 Fcompleting_read, with history as Qfile_name_history.
6691 (syms_of_fileio): Set Qfile_name_history; set the var to nil. 6691 (syms_of_fileio): Set Qfile_name_history; set the var to nil.
6692 Do staticpro for the recently created Q* vars. 6692 Do staticpro for the recently created Q* vars.
6693 6693
6694 * minibuf.c (read_minibuf): Two additional args histvar and histpos. 6694 * minibuf.c (read_minibuf): Two additional args histvar and histpos.
6695 All calls changed. 6695 All calls changed.
6696 (Fcompleting_read): Last arg is now HIST--(HISTVAR . HISTPOS). 6696 (Fcompleting_read): Last arg is now HIST--(HISTVAR . HISTPOS).
6697 Arg INIT can now be (INITIAL-STRING . INITIAL-POSITION). 6697 Arg INIT can now be (INITIAL-STRING . INITIAL-POSITION).
6698 Pass BACKUP_N arg to read_minibuf properly as Lisp object. 6698 Pass BACKUP_N arg to read_minibuf properly as Lisp object.
6699 (Fread_from_minibuffer): Likewise. 6699 (Fread_from_minibuffer): Likewise.
6700 (syms_of_minibuf): Set Qminibuffer_history and staticpro it. 6700 (syms_of_minibuf): Set Qminibuffer_history and staticpro it.
6701 6701
6702 * eval.c (Ffuncall, Feval): Support subrs with 7 args. 6702 * eval.c (Ffuncall, Feval): Support subrs with 7 args.
6703 6703
6704 * fns.c (Fyes_or_no_p): Use Fread_string, not read_minibuf. 6704 * fns.c (Fyes_or_no_p): Use Fread_string, not read_minibuf.
6705 * callint.c (Fcall_interactively): For 'S', use Fread_no_blanks_input 6705 * callint.c (Fcall_interactively): For 'S', use Fread_no_blanks_input
6706 rather than read_minibuf. 6706 rather than read_minibuf.
6707 6707
6708 1992-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6708 1992-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6709 6709
6710 * minibuf.c (Vminibuffer_history_variable): New variable. 6710 * minibuf.c (Vminibuffer_history_variable): New variable.
6711 (syms_of_minibuf): Define variable minibuffer-history-variable. 6711 (syms_of_minibuf): Define variable minibuffer-history-variable.
6712 (read_minibuf): Push the string on specified history list. 6712 (read_minibuf): Push the string on specified history list.
6713 6713
6714 1992-07-23 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 6714 1992-07-23 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6715 6715
6716 * Makefile.in (doall, doxemacs, dotemacs): Put quotes around CC=${CC}. 6716 * Makefile.in (doall, doxemacs, dotemacs): Put quotes around CC=${CC}.
6717 Don't include $(MAKEOVERRIDES); that is always implicit. 6717 Don't include $(MAKEOVERRIDES); that is always implicit.
6718 6718
6758 (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p): 6758 (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p):
6759 (Fwrite_region, Fverify_visited_file_modtime): 6759 (Fwrite_region, Fverify_visited_file_modtime):
6760 Use find_file_handler; call the handler and return. 6760 Use find_file_handler; call the handler and return.
6761 (Finsert_file_contents): Use find_file_handler; 6761 (Finsert_file_contents): Use find_file_handler;
6762 cannot just return after the handler, but must handle VISIT. 6762 cannot just return after the handler, but must handle VISIT.
6763 (syms_of_fileio): Set up Qcopy_file, etc. 6763 (syms_of_fileio): Set up Qcopy_file, etc.
6764 * dired.c (Fdirectory_files, Ffile_name_completion): 6764 * dired.c (Fdirectory_files, Ffile_name_completion):
6765 (Ffile_name_all_completions, Ffile_attributes): 6765 (Ffile_name_all_completions, Ffile_attributes):
6766 Use find_file_handler; call the handler. 6766 Use find_file_handler; call the handler.
6767 (syms_of_dired): Set Qfile_attributes, etc. 6767 (syms_of_dired): Set Qfile_attributes, etc.
6768 6768
6778 but there is only one frame currently active, call x_set_name with 6778 but there is only one frame currently active, call x_set_name with
6779 nil as the name; this will display samething generically 6779 nil as the name; this will display samething generically
6780 appropriate. 6780 appropriate.
6781 6781
6782 1992-07-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 6782 1992-07-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6783 6783
6784 * lread.c (isfloat_string): Recognize floats without a leading 6784 * lread.c (isfloat_string): Recognize floats without a leading
6785 integer part, noting that "e5" is a symbol, not a floating point 6785 integer part, noting that "e5" is a symbol, not a floating point
6786 number. 6786 number.
6787 6787
6788 * xdisp.c (message, message1): When displaying a message, don't 6788 * xdisp.c (message, message1): When displaying a message, don't
6789 make the minibuf frame visible unless the selected frame is also 6789 make the minibuf frame visible unless the selected frame is also
6790 visible. This means that frames won't pop up unless the user is 6790 visible. This means that frames won't pop up unless the user is
6791 actually interacting with Emacs. 6791 actually interacting with Emacs.
6792 6792
6795 of the current buffer; this is only annoying in this case. We 6795 of the current buffer; this is only annoying in this case. We
6796 should probably think more carefully about how screens should be 6796 should probably think more carefully about how screens should be
6797 named. 6797 named.
6798 6798
6799 1992-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6799 1992-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6800 6800
6801 * process.c (allocate_pty): Handle PTY_OPEN. 6801 * process.c (allocate_pty): Handle PTY_OPEN.
6802 Delete system-specific alternatives to PTY_NAME_SPRINTF 6802 Delete system-specific alternatives to PTY_NAME_SPRINTF
6803 and PTY_TTY_NAME_SPRINTF. 6803 and PTY_TTY_NAME_SPRINTF.
6804 6804
6805 1992-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6805 1992-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6806 6806
6807 * callint.c (Fprefix_numeric_value): Fix typo: test raw, not val. 6807 * callint.c (Fprefix_numeric_value): Fix typo: test raw, not val.
6808 6808
6809 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 6809 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6810 6810
6811 * xfns.c (x_window): x_set_name normally ignores requests to set 6811 * xfns.c (x_window): x_set_name normally ignores requests to set
6812 the name if the requested name is the same as the current name. 6812 the name if the requested name is the same as the current name.
6813 This is the one place where that assumption isn't correct; f->name 6813 This is the one place where that assumption isn't correct; f->name
6833 just before isfloat_string; read0 wants to use it too. 6833 just before isfloat_string; read0 wants to use it too.
6834 6834
6835 * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region, 6835 * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region,
6836 Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc 6836 Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc
6837 fixes. 6837 fixes.
6838 6838
6839 * process.c (Fprocess_status): Use get_process to find the process 6839 * process.c (Fprocess_status): Use get_process to find the process
6840 denoted by the PROC argument, not Fget_process. 6840 denoted by the PROC argument, not Fget_process.
6841 6841
6842 1992-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) 6842 1992-07-15 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6843 6843
6851 defaults to the selected frame. 6851 defaults to the selected frame.
6852 6852
6853 * frame.c (Fframe_height, Fframe_width): Blocked out these 6853 * frame.c (Fframe_height, Fframe_width): Blocked out these
6854 functions; they have no C callers, and can be written nicely in 6854 functions; they have no C callers, and can be written nicely in
6855 lisp. 6855 lisp.
6856 6856
6857 * frame.c (Fframe_pixel_size): Function removed; there aren't 6857 * frame.c (Fframe_pixel_size): Function removed; there aren't
6858 enough other functions available to make this useful. We need 6858 enough other functions available to make this useful. We need
6859 functions describing the size of the characters of a font. 6859 functions describing the size of the characters of a font.
6860 6860
6861 * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h, 6861 * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h,
6980 * lisp.h (Lisp_Buffer_Local_Value): Comments neatened. 6980 * lisp.h (Lisp_Buffer_Local_Value): Comments neatened.
6981 6981
6982 * data.c (Fset): Fixed conditional which tests whether the cache 6982 * data.c (Fset): Fixed conditional which tests whether the cache
6983 is invalid. It used to be pretty munged, and would always declare 6983 is invalid. It used to be pretty munged, and would always declare
6984 the cache invalid for Lisp_Buffer_Local_Value variables. Now it 6984 the cache invalid for Lisp_Buffer_Local_Value variables. Now it
6985 declares the cache invalid if the buffer is wrong (obviously), of 6985 declares the cache invalid if the buffer is wrong (obviously), of
6986 6986
6987 1992-06-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) 6987 1992-06-27 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6988 6988
6989 * data.c (Fset): Comments reformatted for readability. 6989 * data.c (Fset): Comments reformatted for readability.
6990 6990
7246 * keyboard.c (Fread_key_sequence): Reversed sense of CONTINUE_ECHO 7246 * keyboard.c (Fread_key_sequence): Reversed sense of CONTINUE_ECHO
7247 argument - set this_command_key_count to zero iff CONTINUE_ECHO is 7247 argument - set this_command_key_count to zero iff CONTINUE_ECHO is
7248 Qnil, not iff it's non-Qnil. 7248 Qnil, not iff it's non-Qnil.
7249 7249
7250 1992-06-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) 7250 1992-06-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7251 7251
7252 * search.c: Changed to remember the object in which the last 7252 * search.c: Changed to remember the object in which the last
7253 search was done, so that markers from match data are placed in 7253 search was done, so that markers from match data are placed in
7254 that buffer, instead of the current buffer. 7254 that buffer, instead of the current buffer.
7255 (search_regs_from_string): Replaced with... 7255 (search_regs_from_string): Replaced with...
7256 (last_thing_searched): This is either Qnil, meaning no searching 7256 (last_thing_searched): This is either Qnil, meaning no searching
7264 (Fmatch_data): Test last_thing_searched to see if any searching 7264 (Fmatch_data): Test last_thing_searched to see if any searching
7265 has been done, and construct integers or markers in the right 7265 has been done, and construct integers or markers in the right
7266 buffer. Abort if it's not Qt, Qnil, or a buffer. 7266 buffer. Abort if it's not Qt, Qnil, or a buffer.
7267 (Fstore_match_data): Set last_thing_searched according to the 7267 (Fstore_match_data): Set last_thing_searched according to the
7268 things we find in LIST. 7268 things we find in LIST.
7269 7269
7270 1992-06-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) 7270 1992-06-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7271 7271
7272 * fns.c (Fload_average): Document the fact that this sometimes 7272 * fns.c (Fload_average): Document the fact that this sometimes
7273 returns a list of fewer than three elements, on systems which 7273 returns a list of fewer than three elements, on systems which
7274 don't provide 5- and 15-minute load averages. 7274 don't provide 5- and 15-minute load averages.
7275 7275
7276 1992-06-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) 7276 1992-06-15 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7277 7277
7278 * xterm.c (XTread_socket): If an event arrives to a screen S, 7278 * xterm.c (XTread_socket): If an event arrives to a screen S,
7279 don't attribute them to SCREEN_FOCUS_SCREEN (S) here. Do that 7279 don't attribute them to SCREEN_FOCUS_SCREEN (S) here. Do that
7280 synchronously, when the events are dequeued. This keeps events 7280 synchronously, when the events are dequeued. This keeps events
7281 from being accidentally routed to the wrong screen, if we 7281 from being accidentally routed to the wrong screen, if we
7282 temporarily redirect a screen's focus. 7282 temporarily redirect a screen's focus.
7283 * keyboard.c (kbd_buffer_store_event): If the character being 7283 * keyboard.c (kbd_buffer_store_event): If the character being
7284 stuffed is a quit character, do the SCREEN_FOCUS_SCREEN 7284 stuffed is a quit character, do the SCREEN_FOCUS_SCREEN
7285 redirection to it here. 7285 redirection to it here.
7286 (kbd_buffer_get_event): And do it here, before returning the 7286 (kbd_buffer_get_event): And do it here, before returning the
7287 event. 7287 event.
7288 7288
7289 * eval.c (Finteractive_p): This assumed that if the function in 7289 * eval.c (Finteractive_p): This assumed that if the function in
7290 the top frame of the lisp backtrace was not a Lisp_Compiled 7290 the top frame of the lisp backtrace was not a Lisp_Compiled
7291 object, then Finteractive_p must have an explicit frame on the top 7291 object, then Finteractive_p must have an explicit frame on the top
7292 of the stack, which we could skip. It didn't bother to follow the 7292 of the stack, which we could skip. It didn't bother to follow the
7293 symbol function chaining, and it would break if any C code called 7293 symbol function chaining, and it would break if any C code called
7401 * sysdep.c (save_signal_handlers): Cast result of signal to 7401 * sysdep.c (save_signal_handlers): Cast result of signal to
7402 avoid compiler warning. 7402 avoid compiler warning.
7403 * process.c (send_process): Likewise. 7403 * process.c (send_process): Likewise.
7404 7404
7405 1992-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) 7405 1992-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7406 7406
7407 * keyboard.c (Fread_key_sequence): New 2nd arg CONTINUE_ECHO 7407 * keyboard.c (Fread_key_sequence): New 2nd arg CONTINUE_ECHO
7408 added for the sake of universal-argument. 7408 added for the sake of universal-argument.
7409 7409
7410 1992-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) 7410 1992-06-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7411 7411
7412 * editfns.c (Fset_default_file_mode): Function deleted. 7412 * editfns.c (Fset_default_file_mode): Function deleted.
7413 (Funix_sync): Moved. 7413 (Funix_sync): Moved.
7414 * fileio.c (Funix_sync): Moved to here. 7414 * fileio.c (Funix_sync): Moved to here.
7488 * buffer.c (Fother_buffer): New optional argument VISIBLE_OK, 7488 * buffer.c (Fother_buffer): New optional argument VISIBLE_OK,
7489 indicating that buffers currently visible in windows should not be 7489 indicating that buffers currently visible in windows should not be
7490 discriminated against. 7490 discriminated against.
7491 7491
7492 1992-05-28 Ken Raeburn (raeburn@cygnus.com) 7492 1992-05-28 Ken Raeburn (raeburn@cygnus.com)
7493 7493
7494 * screen.c (Fdelete_screen): Fix bugs in walking screen list. 7494 * screen.c (Fdelete_screen): Fix bugs in walking screen list.
7495 (make_screen_without_minibuffer): Signal an error if the default 7495 (make_screen_without_minibuffer): Signal an error if the default
7496 minibuffer screen is dead. 7496 minibuffer screen is dead.
7497 7497
7498 * xfns.c (x_set_name): Use ICCCM-conforming scheme for changing 7498 * xfns.c (x_set_name): Use ICCCM-conforming scheme for changing
7499 window name in X11. 7499 window name in X11.
7500 (Fx_create_screen): Likewise. 7500 (Fx_create_screen): Likewise.
7501 7501
7502 1992-05-27 Jim Blandy (jimb@pogo.cs.oberlin.edu) 7502 1992-05-27 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7615 7615
7616 * callproc.c (Fcall_process): Use nil as the value for display 7616 * callproc.c (Fcall_process): Use nil as the value for display
7617 (the fourth argument) when nargs >= 4, not when nargs >= 3. 7617 (the fourth argument) when nargs >= 4, not when nargs >= 3.
7618 7618
7619 1992-05-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) 7619 1992-05-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7620 7620
7621 * termhooks.h: Change timestamp from a Lisp_Object to an unsigned 7621 * termhooks.h: Change timestamp from a Lisp_Object to an unsigned
7622 long. 7622 long.
7623 * keyboard.c (kbd_buffer_store_event): We don't have to apply the 7623 * keyboard.c (kbd_buffer_store_event): We don't have to apply the
7624 XINT macro to the timestamp member of the event anymore. 7624 XINT macro to the timestamp member of the event anymore.
7625 7625
7652 * buffer.c (Fbuffer_disable_undo): Accept a buffer name as an 7652 * buffer.c (Fbuffer_disable_undo): Accept a buffer name as an
7653 argument. 7653 argument.
7654 7654
7655 1992-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) 7655 1992-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7656 7656
7657 * fileio.c: Include config.h first thing. 7657 * fileio.c: Include config.h first thing.
7658 7658
7659 * keyboard.c (clear_input_pending): New subroutine. 7659 * keyboard.c (clear_input_pending): New subroutine.
7660 * process.c (wait_reading_process_input): Make C-g really quit in 7660 * process.c (wait_reading_process_input): Make C-g really quit in
7661 sit-for case. 7661 sit-for case.
7662 7662
7663 * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC. 7663 * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC.
7800 7800
7801 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu) 7801 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7802 7802
7803 * floatfns.c: #include <syssignal.h>. 7803 * floatfns.c: #include <syssignal.h>.
7804 (float_error): Use SIGEMPTYMASK instead of zero. 7804 (float_error): Use SIGEMPTYMASK instead of zero.
7805 7805
7806 * syssignal.h [POSIX_SIGNALS] (sigmask): Defined to expand to a 7806 * syssignal.h [POSIX_SIGNALS] (sigmask): Defined to expand to a
7807 statement expression under GCC, or a function call otherwise. 7807 statement expression under GCC, or a function call otherwise.
7808 (sigpause, sigblock, sigunblock, sigsetmask): These are now 7808 (sigpause, sigblock, sigunblock, sigsetmask): These are now
7809 K&R-compatible macros. 7809 K&R-compatible macros.
7810 * systerm.h [POSIX_SIGNALS] (sys_sigmask): Here is the function 7810 * systerm.h [POSIX_SIGNALS] (sys_sigmask): Here is the function
7879 environment variable "EMACSPATH"; get Vdata_directory from 7879 environment variable "EMACSPATH"; get Vdata_directory from
7880 "EMACSDATA". 7880 "EMACSDATA".
7881 7881
7882 * ymakefile: Fix #endif and #else comments. 7882 * ymakefile: Fix #endif and #else comments.
7883 7883
7884 1992-04-27 Richard Stallman (rms at mole.gnu.ai.mit.edu) 7884 1992-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7885 7885
7886 * ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM. 7886 * ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM.
7887 7887
7888 * ymakefile (paths.h, config.h): Never copy, always fail. 7888 * ymakefile (paths.h, config.h): Never copy, always fail.
7889 7889
8013 truncation at right margin. 8013 truncation at right margin.
8014 8014
8015 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) 8015 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8016 8016
8017 * s/hpux.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Use pty_name, 8017 * s/hpux.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Use pty_name,
8018 not ptyname. 8018 not ptyname.
8019 * s/rtu.h: Same. 8019 * s/rtu.h: Same.
8020 8020
8021 * process.c (pty_process): Add 'int' to the declaration 'static 8021 * process.c (pty_process): Add 'int' to the declaration 'static
8022 pty_processes;'. This makes it a happy declaration even when 8022 pty_processes;'. This makes it a happy declaration even when
8023 static has been #defined as the empty string. 8023 static has been #defined as the empty string.
8264 1992-03-06 Roland McGrath (roland@geech.gnu.ai.mit.edu) 8264 1992-03-06 Roland McGrath (roland@geech.gnu.ai.mit.edu)
8265 8265
8266 * doc.c (Fdocumentation, Fdocumentation_property): Take optional 8266 * doc.c (Fdocumentation, Fdocumentation_property): Take optional
8267 new arg to not pass results thru substitute-command-keys. 8267 new arg to not pass results thru substitute-command-keys.
8268 8268
8269 1992-03-05 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8269 1992-03-05 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8270 8270
8271 * unexmips.c (unexec): When setting up the data_section header, 8271 * unexmips.c (unexec): When setting up the data_section header,
8272 calculate the size of the section as "brk - data_start," not "brk 8272 calculate the size of the section as "brk - data_start," not "brk
8273 - DATA_START". 8273 - DATA_START".
8274 8274
8275 1992-02-23 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8275 1992-02-23 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8276 8276
8277 * fileio.c: #include "systime.h". 8277 * fileio.c: #include "systime.h".
8278 (Fcopy_file): Use the systime.h macros to copy the time to the new 8278 (Fcopy_file): Use the systime.h macros to copy the time to the new
8279 file. 8279 file.
8280 * ymakefile: Note that fileio.o depends on systime.h. 8280 * ymakefile: Note that fileio.o depends on systime.h.
8317 (reset_sys_modes): Use EMACS_SET_TTY to restore the settings from 8317 (reset_sys_modes): Use EMACS_SET_TTY to restore the settings from
8318 old_tty, instead of using hairy conditionals. 8318 old_tty, instead of using hairy conditionals.
8319 8319
8320 * sysdep.c (get_screen_size): Neatened; now each system of 8320 * sysdep.c (get_screen_size): Neatened; now each system of
8321 reporting the screen size is separated from the rest. 8321 reporting the screen size is separated from the rest.
8322 8322
8323 * systerm.h (EMACS_HAVE_TTY_PGRP, EMACS_GET_TTY_PGRP, 8323 * systerm.h (EMACS_HAVE_TTY_PGRP, EMACS_GET_TTY_PGRP,
8324 EMACS_GET_TTY_PGRP): New macros to handle setting a tty's current 8324 EMACS_GET_TTY_PGRP): New macros to handle setting a tty's current
8325 process group. 8325 process group.
8326 * sysdep.c (setpgrp_of_tty): Use the above, instead of 8326 * sysdep.c (setpgrp_of_tty): Use the above, instead of
8327 conditionals. 8327 conditionals.
8340 not here but... 8340 not here but...
8341 * systerm.h: here. 8341 * systerm.h: here.
8342 8342
8343 * process.c (process_send_signal): Steal 18.58's version of this, 8343 * process.c (process_send_signal): Steal 18.58's version of this,
8344 but incorporate the support for VMS signals. 8344 but incorporate the support for VMS signals.
8345 8345
8346 * syssignal.h (EMACS_KILLPG): New macro. 8346 * syssignal.h (EMACS_KILLPG): New macro.
8347 * process.c (process_send_signal): Use it. 8347 * process.c (process_send_signal): Use it.
8348 * sysdep.c (sys_suspend): Use it. 8348 * sysdep.c (sys_suspend): Use it.
8349 8349
8350 * syssignal.h (SIGCHLD): If we have SIGCLD and not SIGCHLD, define 8350 * syssignal.h (SIGCHLD): If we have SIGCLD and not SIGCHLD, define
8355 illusion of an abstraction with the OSPEED and SETOSPEED macros, 8355 illusion of an abstraction with the OSPEED and SETOSPEED macros,
8356 just use conditionalized code for each terminal kind. This is the 8356 just use conditionalized code for each terminal kind. This is the
8357 only place we ever need this functionality. 8357 only place we ever need this functionality.
8358 (OSPEED, SETOSPEED): Definitions removed. 8358 (OSPEED, SETOSPEED): Definitions removed.
8359 8359
8360 1992-02-22 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8360 1992-02-22 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8361 8361
8362 * sysdep.c: Moved definition of sigunblock macro to ... 8362 * sysdep.c: Moved definition of sigunblock macro to ...
8363 * syssignal.h: Here. 8363 * syssignal.h: Here.
8364 8364
8365 * hftctl.c: #include <sys/uio.h> before #including <sys/tty.h>. 8365 * hftctl.c: #include <sys/uio.h> before #including <sys/tty.h>.
8370 (unrelocate_symbols): cast the initializers of t_start and d_start 8370 (unrelocate_symbols): cast the initializers of t_start and d_start
8371 to ulong. 8371 to ulong.
8372 8372
8373 * s/template.h: Include a clause for the HAVE_TERMIO flag. 8373 * s/template.h: Include a clause for the HAVE_TERMIO flag.
8374 8374
8375 1992-02-21 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8375 1992-02-21 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8376 8376
8377 * keyboard.c (read_char): Don't clear Vquit_flag when we catch an 8377 * keyboard.c (read_char): Don't clear Vquit_flag when we catch an
8378 interrupt and return a quit_char; this change (Mar 21 1991) is too 8378 interrupt and return a quit_char; this change (Mar 21 1991) is too
8379 large a change in functionality for the cleanliness it gains. 8379 large a change in functionality for the cleanliness it gains.
8380 8380
8393 happy. 8393 happy.
8394 8394
8395 * xterm.c (XTread_socket): Clear the meta flag from the keypress 8395 * xterm.c (XTread_socket): Clear the meta flag from the keypress
8396 event before handing it to XLookupString. 8396 event before handing it to XLookupString.
8397 8397
8398 1992-02-20 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8398 1992-02-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8399 8399
8400 * sysdep.c: No need to test #ifdef TIOCGETP before #undefing it. 8400 * sysdep.c: No need to test #ifdef TIOCGETP before #undefing it.
8401 8401
8402 1992-02-19 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8402 1992-02-19 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8403 8403
8404 * systime.h: New file. 8404 * systime.h: New file.
8405 * dispnew.c: #include "systime.h" to get <time.h> or <sys/time.h>, 8405 * dispnew.c: #include "systime.h" to get <time.h> or <sys/time.h>,
8406 whichever is appropriate, instead of using a conditional. 8406 whichever is appropriate, instead of using a conditional.
8407 (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Use the systime.h 8407 (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Use the systime.h
8437 8437
8438 * emacssignal.h: Renamed to syssignal.h, to be like sysdep.c. 8438 * emacssignal.h: Renamed to syssignal.h, to be like sysdep.c.
8439 * data.c, keyboard.c, process.c, sysdep.c, ymakefile: Changed 8439 * data.c, keyboard.c, process.c, sysdep.c, ymakefile: Changed
8440 #include directives. 8440 #include directives.
8441 8441
8442 1992-02-15 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8442 1992-02-15 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8443 8443
8444 * m/intel386.h: Don't bother casting the argument to the signal 8444 * m/intel386.h: Don't bother casting the argument to the signal
8445 function; the SIGTYPE code in config.emacs ought to take care of 8445 function; the SIGTYPE code in config.emacs ought to take care of
8446 this. 8446 this.
8447 8447
8448 * buffer.c (record_buffer): Doc fix. 8448 * buffer.c (record_buffer): Doc fix.
8449 8449
8450 1992-02-13 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8450 1992-02-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8451 8451
8452 * s/iris3-6.h: #define HAVE_GETWD. 8452 * s/iris3-6.h: #define HAVE_GETWD.
8453 8453
8454 1992-02-11 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8454 1992-02-11 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8455 8455
8456 * window.c (Fwindow_at): Accept position as two arguments, not a 8456 * window.c (Fwindow_at): Accept position as two arguments, not a
8457 cons of numbers. 8457 cons of numbers.
8458 8458
8459 * window.c (scroll_command): Undo the Jan 31 change; do set the 8459 * window.c (scroll_command): Undo the Jan 31 change; do set the
8460 current buffer to the selected window's buffer. A simple 8460 current buffer to the selected window's buffer. A simple
8461 set-buffer will make these two different. 8461 set-buffer will make these two different.
8462 8462
8463 1992-02-10 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8463 1992-02-10 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8464 8464
8465 * callproc.c (Fcall_process): Clear synch_process_death and 8465 * callproc.c (Fcall_process): Clear synch_process_death and
8466 synch_process_retcode to zero before forking the process. 8466 synch_process_retcode to zero before forking the process.
8467 8467
8468 * process.c (synch_process_death, synch_process_retcode): Don't 8468 * process.c (synch_process_death, synch_process_retcode): Don't
8494 edge of screen here. 8494 edge of screen here.
8495 * dispnew.c (direct_output_forward_char): Check here, and return 8495 * dispnew.c (direct_output_forward_char): Check here, and return
8496 zero if it can't be done. And compare the cursor position to the 8496 zero if it can't be done. And compare the cursor position to the
8497 window boundaries, not the screen boundaries. 8497 window boundaries, not the screen boundaries.
8498 8498
8499 1992-02-05 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8499 1992-02-05 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8500 8500
8501 * screen.c (Fscreen_parameters): If the screen has a minibuffer 8501 * screen.c (Fscreen_parameters): If the screen has a minibuffer
8502 window on another screen, return the window, instead of nil. 8502 window on another screen, return the window, instead of nil.
8503 (store_screen_param): If the value of the minibuffer parameter is 8503 (store_screen_param): If the value of the minibuffer parameter is
8504 a window, try to make it the surrogate minibuffer window. 8504 a window, try to make it the surrogate minibuffer window.
8520 8520
8521 * callproc.c (Fcall_process): Don't assign into args[1] when nargs 8521 * callproc.c (Fcall_process): Don't assign into args[1] when nargs
8522 < 2. Instead, use a new variable called infile. Re-arranged 8522 < 2. Instead, use a new variable called infile. Re-arranged
8523 logic which processes the BUFFER argument. 8523 logic which processes the BUFFER argument.
8524 8524
8525 1992-02-03 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8525 1992-02-03 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8526 8526
8527 * fileio.c (Fexpand_file_name): Doc fix. 8527 * fileio.c (Fexpand_file_name): Doc fix.
8528 8528
8529 * scroll.c (line_ins_del): Since we're calculating the array from 8529 * scroll.c (line_ins_del): Since we're calculating the array from
8530 end to beginning, make the indices go that way, and thus clearly 8530 end to beginning, make the indices go that way, and thus clearly
8531 get the right boundary. This used to ignore the [0] element, and 8531 get the right boundary. This used to ignore the [0] element, and
8532 write in the [screen_height] element, which doesn't exist. 8532 write in the [screen_height] element, which doesn't exist.
8533 8533
8534 1992-02-03 Richard Stallman (rms at mole.ai.mit.edu) 8534 1992-02-03 Richard Stallman (rms@mole.ai.mit.edu)
8535 8535
8536 * xdisp.c (redisplay, try_window_id): Special case for change 8536 * xdisp.c (redisplay, try_window_id): Special case for change
8537 at beginning of line, if using selective display. 8537 at beginning of line, if using selective display.
8538 8538
8539 1992-01-31 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8539 1992-01-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8540 8540
8541 * m/delta88k.h: Added USUAL-OPSYS information, for the 8541 * m/delta88k.h: Added USUAL-OPSYS information, for the
8542 config.emacs script to use. 8542 config.emacs script to use.
8543 8543
8544 * window.c (scroll_command): Don't bother setting the current 8544 * window.c (scroll_command): Don't bother setting the current
8547 8547
8548 * indent.c (compute_motion): Don't pack vpos and hpos into one int; 8548 * indent.c (compute_motion): Don't pack vpos and hpos into one int;
8549 use separate variables hpos/vpos and prev_hpos/prev_vpos. 8549 use separate variables hpos/vpos and prev_hpos/prev_vpos.
8550 (vmotion): Use largest int as tovpos arg to compute_motion. 8550 (vmotion): Use largest int as tovpos arg to compute_motion.
8551 8551
8552 1992-01-30 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8552 1992-01-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8553 8553
8554 * window.c: #include "keyboard.h" to get the Qmode_line and 8554 * window.c: #include "keyboard.h" to get the Qmode_line and
8555 Qvertical_split declarations. 8555 Qvertical_split declarations.
8556 * ymakefile (window.o): Note that this depends on keyboard.h. 8556 * ymakefile (window.o): Note that this depends on keyboard.h.
8557 8557
8568 8568
8569 1992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) 8569 1992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8570 8570
8571 * m-iris4d.h (C_SWITCH_MACHINE): New definition. 8571 * m-iris4d.h (C_SWITCH_MACHINE): New definition.
8572 8572
8573 1992-01-28 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8573 1992-01-28 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8574 8574
8575 * term.c: #include "keyboard.h", for Vfunction_key_map. 8575 * term.c: #include "keyboard.h", for Vfunction_key_map.
8576 * keyboard.h: Declare Vfunction_key_map. 8576 * keyboard.h: Declare Vfunction_key_map.
8577 8577
8578 * keyboard.h: New file, for external declarations used in 8578 * keyboard.h: New file, for external declarations used in
8656 * s/isc2-2.h (NOMULTIPLEJOBS): Undef this. 8656 * s/isc2-2.h (NOMULTIPLEJOBS): Undef this.
8657 (LIB_STANDARD): Add -lPW. 8657 (LIB_STANDARD): Add -lPW.
8658 (LIBS_SYSTEM): Defined. 8658 (LIBS_SYSTEM): Defined.
8659 * m/intel386.h (signal): Optionally don't define it. 8659 * m/intel386.h (signal): Optionally don't define it.
8660 8660
8661 1992-01-27 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8661 1992-01-27 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8662 8662
8663 * s/template.h: Document the SIGTYPE macro. 8663 * s/template.h: Document the SIGTYPE macro.
8664 * s/bsd4-3.h: Define the SIGTYPE macro. 8664 * s/bsd4-3.h: Define the SIGTYPE macro.
8665 8665
8666 * data.c (Fsymbol_value): Extract all the innards of this function 8666 * data.c (Fsymbol_value): Extract all the innards of this function
8681 Fset_screen_height, Fset_screen_width, Fset_screen_size, 8681 Fset_screen_height, Fset_screen_width, Fset_screen_size,
8682 Fset_screen_position): Use SCREEN_IS_X macro instead of testing 8682 Fset_screen_position): Use SCREEN_IS_X macro instead of testing
8683 for output_x_window. 8683 for output_x_window.
8684 * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same. 8684 * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same.
8685 8685
8686 1992-01-25 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8686 1992-01-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8687 8687
8688 * term.c (term_get_fkeys): New function. 8688 * term.c (term_get_fkeys): New function.
8689 (term_init): Call term_get_fkeys. 8689 (term_init): Call term_get_fkeys.
8690 8690
8691 1992-01-21 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8691 1992-01-21 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8692 8692
8693 * editfns.c (Ffollchar, Fprevchar): Renamed to Ffollowing_char and 8693 * editfns.c (Ffollchar, Fprevchar): Renamed to Ffollowing_char and
8694 Fprevious_char, for consistency. Renamed Sfollchar and Sprevchar 8694 Fprevious_char, for consistency. Renamed Sfollchar and Sprevchar
8695 too. 8695 too.
8696 (syms_of_editfns): Fixed defsubrs. 8696 (syms_of_editfns): Fixed defsubrs.
8697 * lisp.h (Ffollchar, Fprevchar): Renamed extern declarations as above. 8697 * lisp.h (Ffollchar, Fprevchar): Renamed extern declarations as above.
8698 8698
8699 * editfns.c (Ffollowing_char): Return 0 at the end of the buffer, 8699 * editfns.c (Ffollowing_char): Return 0 at the end of the buffer,
8700 as advertised. Doc fix. 8700 as advertised. Doc fix.
8701 (Fprevious_char): Doc fix. 8701 (Fprevious_char): Doc fix.
8702 8702
8703 * config.h-dist: Rearranged to define user parameters before 8703 * config.h-dist: Rearranged to define user parameters before
8704 including the machine and opsystem files, so the files can have 8704 including the machine and opsystem files, so the files can have
8705 conditionals on the parameters. 8705 conditionals on the parameters.
8706 8706
8707 1992-01-15 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8707 1992-01-15 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8708 8708
8709 * keyboard.c (read_key_sequence): When expanding a function key 8709 * keyboard.c (read_key_sequence): When expanding a function key
8710 recognized with Vfunction_key_map, don't scan the expansion for 8710 recognized with Vfunction_key_map, don't scan the expansion for
8711 further function key sequences. 8711 further function key sequences.
8712 8712
8718 * keymap.c (Vfunction_key_map): Variable moved here. 8718 * keymap.c (Vfunction_key_map): Variable moved here.
8719 (syms_of_keymap): DEFVAR and init here. 8719 (syms_of_keymap): DEFVAR and init here.
8720 8720
8721 * keymap.c (Fglobal_key_binding): Doc fix. 8721 * keymap.c (Fglobal_key_binding): Doc fix.
8722 8722
8723 1992-01-16 Richard Stallman (rms at mole.gnu.ai.mit.edu) 8723 1992-01-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8724 8724
8725 * m-delta88.h: New file. 8725 * m-delta88.h: New file.
8726 8726
8727 * window.c (window_scroll): New arg `noerror'. 8727 * window.c (window_scroll): New arg `noerror'.
8728 (scroll_command, Fscroll_other_window): Pass that arg. 8728 (scroll_command, Fscroll_other_window): Pass that arg.
8729 8729
8730 1992-01-15 Richard Stallman (rms at mole.gnu.ai.mit.edu) 8730 1992-01-15 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8731 8731
8732 * process.c (sigchld_handler): 8732 * process.c (sigchld_handler):
8733 Set synch_process_death and synch_process_retcode. 8733 Set synch_process_death and synch_process_retcode.
8734 8734
8735 1992-01-14 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8735 1992-01-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8736 8736
8737 * config.h-dist (SIGTYPE): New macro to help give signal handlers 8737 * config.h-dist (SIGTYPE): New macro to help give signal handlers
8738 the correct type. 8738 the correct type.
8739 * s/usg5-3.h (SIGTYPE): Define this to be void. 8739 * s/usg5-3.h (SIGTYPE): Define this to be void.
8740 * dispnew.c (window_change_signal): Declare this to return 8740 * dispnew.c (window_change_signal): Declare this to return
8768 pid, to simplify the logic below. 8768 pid, to simplify the logic below.
8769 * sysdep.c (flush_pending_output): If we are using termios, make 8769 * sysdep.c (flush_pending_output): If we are using termios, make
8770 this function a no-op; since we're not in the tty's pgroup, we 8770 this function a no-op; since we're not in the tty's pgroup, we
8771 would get a SIGTTIN. 8771 would get a SIGTTIN.
8772 8772
8773 1992-01-13 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8773 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8774 8774
8775 * config.h-dist: Removed MAINTAIN_ENVIRONMENT clause. 8775 * config.h-dist: Removed MAINTAIN_ENVIRONMENT clause.
8776 * callproc.c: Removed support for MAINTAIN_ENVIRONMENT. 8776 * callproc.c: Removed support for MAINTAIN_ENVIRONMENT.
8777 (init_callproc): Use getenv instead of egetenv to initialize 8777 (init_callproc): Use getenv instead of egetenv to initialize
8778 Vshell_file_name. 8778 Vshell_file_name.
8779 * emacs.c (decode_env_path): Use getenv instead of egetenv 8779 * emacs.c (decode_env_path): Use getenv instead of egetenv
8780 * lisp.h: Removed support for MAINTAIN_ENVIRONMENT. 8780 * lisp.h: Removed support for MAINTAIN_ENVIRONMENT.
8781 * process.c: Same. 8781 * process.c: Same.
8782 * ymakefile: Same. 8782 * ymakefile: Same.
8783 * dispnew.c (init_display): Call getenv instead of egetenv. 8783 * dispnew.c (init_display): Call getenv instead of egetenv.
8784 8784
8831 8831
8832 * lisp.h (NULL): Renamed to NILP, so as not to conflict with 8832 * lisp.h (NULL): Renamed to NILP, so as not to conflict with
8833 <stdio.h>, and <stddef.h>. All callers changed; all 8833 <stdio.h>, and <stddef.h>. All callers changed; all
8834 #undefinitions of NULL removed. 8834 #undefinitions of NULL removed.
8835 8835
8836 1992-01-12 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8836 1992-01-12 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8837 8837
8838 * xdisp.c (message): #ifdef NO_ARG_ARRAY, make a local block to 8838 * xdisp.c (message): #ifdef NO_ARG_ARRAY, make a local block to
8839 declare the explicit argument array. 8839 declare the explicit argument array.
8840 8840
8841 * config.h-dist: Instead of reaching the machine- and 8841 * config.h-dist: Instead of reaching the machine- and
8842 system-dependent files through symlinks, replace the strings 8842 system-dependent files through symlinks, replace the strings
8843 8843
8844 1992-01-09 Jim Blandy (jimb at pogo.cs.oberlin.edu) 8844 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8845 8845
8846 * keyboard.c (stuff_buffered_input): Don't forget to increment 8846 * keyboard.c (stuff_buffered_input): Don't forget to increment
8847 kbd_fetch_ptr while looping through kbd_buffer. 8847 kbd_fetch_ptr while looping through kbd_buffer.
8848 8848
8849 1992-01-08 Jim Blandy (jimb at occs.cs.oberlin.edu) 8849 1992-01-08 Jim Blandy (jimb@occs.cs.oberlin.edu)
8850 8850
8851 * keyboard.c (read_avail_input): Don't forget to fill in the 8851 * keyboard.c (read_avail_input): Don't forget to fill in the
8852 screen field in events read from the terminal. 8852 screen field in events read from the terminal.
8853 * sysdep.c (kbd_input_ast, read_input_waiting): Call 8853 * sysdep.c (kbd_input_ast, read_input_waiting): Call
8854 kbd_buffer_store_event with a `struct input_event *', not a 8854 kbd_buffer_store_event with a `struct input_event *', not a
8855 character or a Lisp_Object. 8855 character or a Lisp_Object.
8856 8856
8857 1991-12-21 Jim Blandy (jimb at occs.cs.oberlin.edu) 8857 1991-12-21 Jim Blandy (jimb@occs.cs.oberlin.edu)
8858 8858
8859 * bytecode.c (docall): Don't remove protection from the arguments 8859 * bytecode.c (docall): Don't remove protection from the arguments
8860 to Ffuncall. 8860 to Ffuncall.
8861 8861
8862 1991-12-20 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8862 1991-12-20 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8863 8863
8864 * keyboard.c (Vfunction_key_map): New variable. 8864 * keyboard.c (Vfunction_key_map): New variable.
8865 (read_key_sequence): Changed to recognize and substitute bindings 8865 (read_key_sequence): Changed to recognize and substitute bindings
8866 in Vfunction_key_map at any point in the sequence, unless they 8866 in Vfunction_key_map at any point in the sequence, unless they
8867 conflict with ordinary bindings. 8867 conflict with ordinary bindings.
8868 (syms_of_keyboard): DEFVAR, document, and initialize 8868 (syms_of_keyboard): DEFVAR, document, and initialize
8869 Vfunction_key_map. 8869 Vfunction_key_map.
8870 8870
8871 1991-12-19 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8871 1991-12-19 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8872 8872
8873 * keymap.c (Vminor_mode_map_alist): New variable, to support 8873 * keymap.c (Vminor_mode_map_alist): New variable, to support
8874 keymaps for minor modes. 8874 keymaps for minor modes.
8875 (current_minor_maps, Fminor_mode_key_binding, 8875 (current_minor_maps, Fminor_mode_key_binding,
8876 Fcurrent_minor_mode_maps): New functions. 8876 Fcurrent_minor_mode_maps): New functions.
8905 8905
8906 * ymakefile (etcdir): Variable removed. 8906 * ymakefile (etcdir): Variable removed.
8907 (libsrc, archlib, sharelib): New variables, to take the place of 8907 (libsrc, archlib, sharelib): New variables, to take the place of
8908 etcdir. 8908 etcdir.
8909 8909
8910 1991-12-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8910 1991-12-18 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8911 8911
8912 * ymakefile (CFLAGS): Don't automatically include C_DEBUG_SWITCH 8912 * ymakefile (CFLAGS): Don't automatically include C_DEBUG_SWITCH
8913 in the value for CFLAGS; the configuration script will take care 8913 in the value for CFLAGS; the configuration script will take care
8914 of choosing the debugging and optimization switches. 8914 of choosing the debugging and optimization switches.
8915 8915
8916 * config.h-dist: Copy the GLYPH definitions from config.h to here. 8916 * config.h-dist: Copy the GLYPH definitions from config.h to here.
8917 8917
8918 1991-12-16 Richard Stallman (rms at mole.gnu.ai.mit.edu) 8918 1991-12-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8919 8919
8920 * abbrev.c (Fexpand_abbrev): Run pre-abbrev-expand-hook. 8920 * abbrev.c (Fexpand_abbrev): Run pre-abbrev-expand-hook.
8921 (syms_of_abbrev): Define that variable. 8921 (syms_of_abbrev): Define that variable.
8922 8922
8923 1991-12-13 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8923 1991-12-13 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8924 8924
8925 * m/m-*.h: Since the m- is now redundant, renamed all files to 8925 * m/m-*.h: Since the m- is now redundant, renamed all files to
8926 remove it, and changed references within files. 8926 remove it, and changed references within files.
8927 * s/s-*.h: Same business. 8927 * s/s-*.h: Same business.
8928 8928
8929 1991-12-11 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8929 1991-12-11 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8930 8930
8931 * config.h-dist (MULTI_SCREEN): Define this automatically when 8931 * config.h-dist (MULTI_SCREEN): Define this automatically when
8932 we're using a window system. 8932 we're using a window system.
8933 8933
8934 1991-12-09 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8934 1991-12-09 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8935 8935
8936 * m/m-*.h (i.e. all machine config files): Added USUAL-OPSYS 8936 * m/m-*.h (i.e. all machine config files): Added USUAL-OPSYS
8937 comments to tell the configuration script what sort of operating 8937 comments to tell the configuration script what sort of operating
8938 system this machine typically runs. 8938 system this machine typically runs.
8939 8939
8940 * config.h-dist (MScreenWidth, MScreenLength): Deleted; no longer 8940 * config.h-dist (MScreenWidth, MScreenLength): Deleted; no longer
8941 used. 8941 used.
8942 8942
8943 1991-12-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8943 1991-12-08 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8944 8944
8945 * editfns.c (Fcurrent_time): New function, to return the current 8945 * editfns.c (Fcurrent_time): New function, to return the current
8946 time as a number, like the Unix time(3) function. This might be 8946 time as a number, like the Unix time(3) function. This might be
8947 fun to port. 8947 fun to port.
8948 (syms_of_editfns): defsubr it. 8948 (syms_of_editfns): defsubr it.
8949 8949
8950 1991-12-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8950 1991-12-05 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8951 8951
8952 * keymap.c (Vminor_mode_map_alist): New variable. 8952 * keymap.c (Vminor_mode_map_alist): New variable.
8953 (current_minor_maps): New function. 8953 (current_minor_maps): New function.
8954 (Fcurrent_minor_mode_maps): New function. 8954 (Fcurrent_minor_mode_maps): New function.
8955 (syms_of_keymap): DEFVAR, document, and initialize 8955 (syms_of_keymap): DEFVAR, document, and initialize
8971 * config.h-dist: Changed references to ../etc to ../share-lib. 8971 * config.h-dist: Changed references to ../etc to ../share-lib.
8972 8972
8973 * callint.c (Fcall_interactively): For the 'k' interactive code, 8973 * callint.c (Fcall_interactively): For the 'k' interactive code,
8974 cast the type of the symbol name before passing it to error. 8974 cast the type of the symbol name before passing it to error.
8975 8975
8976 1991-12-02 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 8976 1991-12-02 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
8977 8977
8978 * keyboard.c (make_lispy_movement): Move call to 8978 * keyboard.c (make_lispy_movement): Move call to
8979 mouse_position_hook from here... 8979 mouse_position_hook from here...
8980 (kbd_buffer_get_event): To here, for symmetry with non-movement 8980 (kbd_buffer_get_event): To here, for symmetry with non-movement
8981 events. 8981 events.
8982 8982
8983 * keyboard.c (kbd_buffer_get_event): Set Vlast_event_screen for 8983 * keyboard.c (kbd_buffer_get_event): Set Vlast_event_screen for
8984 mouse movements, too. 8984 mouse movements, too.
8985 8985
8986 1991-11-27 Jim Wilson (wilson at wookumz.gnu.ai.mit.edu) 8986 1991-11-27 Jim Wilson (wilson@wookumz.gnu.ai.mit.edu)
8987 8987
8988 * alloca.c (alloca): Add parens to make precedence clearer. 8988 * alloca.c (alloca): Add parens to make precedence clearer.
8989 8989
8990 1991-11-26 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 8990 1991-11-26 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
8991 8991
8992 * search.c: need to include sys/types.h because of recent mod to 8992 * search.c: need to include sys/types.h because of recent mod to
8993 regex.h. 8993 regex.h.
8994 8994
8995 1991-11-25 Richard Stallman (rms at mole.gnu.ai.mit.edu) 8995 1991-11-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8996 8996
8997 * bytecode.c: BYTE_CODE_METER and BYTE_CODE_SAFE undefined by default. 8997 * bytecode.c: BYTE_CODE_METER and BYTE_CODE_SAFE undefined by default.
8998 (METER_CODE): Define same name whether metering or not. 8998 (METER_CODE): Define same name whether metering or not.
8999 (BinsertN): New byte code. 8999 (BinsertN): New byte code.
9000 (Fbyte_code): Improve overflow/underflow error messages. 9000 (Fbyte_code): Improve overflow/underflow error messages.
9001 (docall): Put back previously lost code to remove protection 9001 (docall): Put back previously lost code to remove protection
9002 from funcall args. 9002 from funcall args.
9003 9003
9004 1991-11-25 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9004 1991-11-25 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9005 9005
9006 * lisp.h (make_array): New extern declaration. 9006 * lisp.h (make_array): New extern declaration.
9007 9007
9008 * alloc.c (make_sequence): Renamed to make_array; more accurate. 9008 * alloc.c (make_sequence): Renamed to make_array; more accurate.
9009 * keyboard.c (Fread_key_sequence, Fthis_command_keys): Callers fixed. 9009 * keyboard.c (Fread_key_sequence, Fthis_command_keys): Callers fixed.
9010 * macros.c (Fend_kbd_macro): Callers fixed. 9010 * macros.c (Fend_kbd_macro): Callers fixed.
9011 9011
9012 1991-11-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9012 1991-11-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9013 9013
9014 * keyboard.c (cmd_error): If an error occurs before somebody has 9014 * keyboard.c (cmd_error): If an error occurs before somebody has
9015 provided a screen to print it on, print it to stderr and exit 9015 provided a screen to print it on, print it to stderr and exit
9016 Emacs. Handle batch-mode errors with the same code. 9016 Emacs. Handle batch-mode errors with the same code.
9017 * lisp.h (Qexternal_debugging_ouput): New extern declaration, for 9017 * lisp.h (Qexternal_debugging_ouput): New extern declaration, for
9051 * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use 9051 * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use
9052 CHECK_LIVE_SCREEN. 9052 CHECK_LIVE_SCREEN.
9053 9053
9054 * screen.c (Fdelete_screen): Do nothing if SCREEN is already 9054 * screen.c (Fdelete_screen): Do nothing if SCREEN is already
9055 deleted. 9055 deleted.
9056 9056
9057 * screen.c (Qscreenp): Staticpro this symbol. 9057 * screen.c (Qscreenp): Staticpro this symbol.
9058 9058
9059 * xfns.c (Fx_create_screen): Doc fix. 9059 * xfns.c (Fx_create_screen): Doc fix.
9060 9060
9061 * xfns.c (Fx_create_screen): Give the screen a minibuffer if the 9061 * xfns.c (Fx_create_screen): Give the screen a minibuffer if the
9062 'minibuffer parameter is t or nil; nil is the default value for 9062 'minibuffer parameter is t or nil; nil is the default value for
9063 omitted parameters, and t is intuitive. 9063 omitted parameters, and t is intuitive.
9064 9064
9065 1991-11-14 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9065 1991-11-14 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9066 9066
9067 * eval.c (specbind): Check that the thing being bound is a symbol. 9067 * eval.c (specbind): Check that the thing being bound is a symbol.
9068 (funcall_lambda): Signal an invalid-function error if the 9068 (funcall_lambda): Signal an invalid-function error if the
9069 arguments are not all symbols. 9069 arguments are not all symbols.
9070 9070
9071 1991-11-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9071 1991-11-08 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9072 9072
9073 * screen.c (Fselect_screen): Don't select dead screens. 9073 * screen.c (Fselect_screen): Don't select dead screens.
9074 * print.c (print): Print dead screen objects starting with 9074 * print.c (print): Print dead screen objects starting with
9075 "#<dead screen". 9075 "#<dead screen".
9076 9076
9086 midst of the screen loop here. That's confusing. 9086 midst of the screen loop here. That's confusing.
9087 (redisplay_window): Since this needs special code to detect 9087 (redisplay_window): Since this needs special code to detect
9088 minibuffers anyway, put it here. And clear all the lines of a 9088 minibuffers anyway, put it here. And clear all the lines of a
9089 multi-line minibuffer, not just the first one. 9089 multi-line minibuffer, not just the first one.
9090 9090
9091 1991-11-07 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9091 1991-11-07 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9092 9092
9093 * screen.c (Fdelete_screen): When searching Vscreen_list for a new 9093 * screen.c (Fdelete_screen): When searching Vscreen_list for a new
9094 value for last_nonminibuf_screen, remember that the screens live 9094 value for last_nonminibuf_screen, remember that the screens live
9095 in the cars of the list, not the cdrs. 9095 in the cars of the list, not the cdrs.
9096 9096
9097 * xterm.c (x_make_screen_visible): Rearranged for clarity. 9097 * xterm.c (x_make_screen_visible): Rearranged for clarity.
9098 9098
9099 * xdisp.c (echo_area_display): Rearranged for clarity. 9099 * xdisp.c (echo_area_display): Rearranged for clarity.
9100 9100
9101 1991-11-06 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9101 1991-11-06 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9102 9102
9103 * screen.c (next_screen, prev_screen): New meaning for MINI_SCREEN 9103 * screen.c (next_screen, prev_screen): New meaning for MINI_SCREEN
9104 argument helps implement the behavior of Fnext_window. 9104 argument helps implement the behavior of Fnext_window.
9105 (Fnext_screen): Document the new behavior. 9105 (Fnext_screen): Document the new behavior.
9106 9106
9121 screen after the current buffer not depend on 9121 screen after the current buffer not depend on
9122 Vglobal_minibuffer_screen. 9122 Vglobal_minibuffer_screen.
9123 * xterm.c (Vglobal_minibuffer_screen): Don't declare this extern 9123 * xterm.c (Vglobal_minibuffer_screen): Don't declare this extern
9124 here; it's never used. 9124 here; it's never used.
9125 9125
9126 1991-11-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9126 1991-11-05 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9127 9127
9128 * screen.c (Fdelete_screen): Document the fact that surrogate 9128 * screen.c (Fdelete_screen): Document the fact that surrogate
9129 minibuffer screens may not be deleted. 9129 minibuffer screens may not be deleted.
9130 9130
9131 * screen.h (SCREEN_MINIBUF_ONLY_P): New predicate, true iff the 9131 * screen.h (SCREEN_MINIBUF_ONLY_P): New predicate, true iff the
9171 9171
9172 * editfns.c (Fmessage): Don't call Fmake_screen_visible here. 9172 * editfns.c (Fmessage): Don't call Fmake_screen_visible here.
9173 * xdisp.c (message, message1): Call it here, so that Emacs C 9173 * xdisp.c (message, message1): Call it here, so that Emacs C
9174 functions like Fy_or_n_p make the screen visible too. 9174 functions like Fy_or_n_p make the screen visible too.
9175 9175
9176 1991-11-04 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9176 1991-11-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9177 9177
9178 * keyboard.c (readable_events): If EVENT_QUEUES_EMPTY, we can 9178 * keyboard.c (readable_events): If EVENT_QUEUES_EMPTY, we can
9179 short-circuit and say no. Otherwise, if do_mouse_tracking, we can 9179 short-circuit and say no. Otherwise, if do_mouse_tracking, we can
9180 short-circuit and say yes. These things let us scan the event 9180 short-circuit and say yes. These things let us scan the event
9181 queue less often. 9181 queue less often.
9233 (XTread_socket): case MotionNotify, call note_mouse_position with 9233 (XTread_socket): case MotionNotify, call note_mouse_position with
9234 the right args; don't call pixel_to_glyph_translation. 9234 the right args; don't call pixel_to_glyph_translation.
9235 (x_term_init): Set mouse_position_hook instead of 9235 (x_term_init): Set mouse_position_hook instead of
9236 mouse_tracking_enable_hook. 9236 mouse_tracking_enable_hook.
9237 9237
9238 1991-10-31 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9238 1991-10-31 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9239 9239
9240 * xdisp.c (redisplay_window): When trying to avoid starting 9240 * xdisp.c (redisplay_window): When trying to avoid starting
9241 display at the end of the buffer: check that startp < ZV, not 9241 display at the end of the buffer: check that startp < ZV, not
9242 startp <= ZV. 9242 startp <= ZV.
9243 9243
9244 1991-10-29 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9244 1991-10-29 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9245 9245
9246 * xterm.c (x_do_pending_expose, XTmouse_tracking_enable): Use 9246 * xterm.c (x_do_pending_expose, XTmouse_tracking_enable): Use
9247 SCREEN_IS_X instead of testing output_method directly. 9247 SCREEN_IS_X instead of testing output_method directly.
9248 9248
9249 1991-10-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9249 1991-10-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9250 9250
9251 * xdisp.c (redisplay): In the single-screen optimization, always 9251 * xdisp.c (redisplay): In the single-screen optimization, always
9252 update the minibuffer's screen as well as the selected screen, no 9252 update the minibuffer's screen as well as the selected screen, no
9253 matter what the echo_area_glyphs are. This makes sure that 9253 matter what the echo_area_glyphs are. This makes sure that
9254 messages get cleared after a keystroke. 9254 messages get cleared after a keystroke.
9255 9255
9256 1991-10-25 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9256 1991-10-25 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9257 9257
9258 * callint.c (Finteractive): Doc fix. 9258 * callint.c (Finteractive): Doc fix.
9259 9259
9260 * xterm.c (XTmouse_tracking_enable): Block input while changing 9260 * xterm.c (XTmouse_tracking_enable): Block input while changing
9261 the screens' input selection masks. 9261 the screens' input selection masks.
9267 9267
9268 * alloc.c: Don't bother to include xterm.h. 9268 * alloc.c: Don't bother to include xterm.h.
9269 (Fgarbage_collect): Don't bother to BLOCK_INPUT here, 9269 (Fgarbage_collect): Don't bother to BLOCK_INPUT here,
9270 since we don't cons in the input handler. 9270 since we don't cons in the input handler.
9271 9271
9272 1991-10-21 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9272 1991-10-21 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9273 9273
9274 * window.c (init_window_once): Set last_nonminibuf_screen to the 9274 * window.c (init_window_once): Set last_nonminibuf_screen to the
9275 initial terminal screen, so that poor Fdisplay_buffer doesn't try 9275 initial terminal screen, so that poor Fdisplay_buffer doesn't try
9276 to create a new screen on a terminal. 9276 to create a new screen on a terminal.
9277 9277
9278 1991-10-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) 9278 1991-10-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9279 9279
9280 * m-intel386.h (signal): Optionally don't define it. 9280 * m-intel386.h (signal): Optionally don't define it.
9281 * s-isc2-2.h (DONT_DEFINE_SIGNAL): Define this. 9281 * s-isc2-2.h (DONT_DEFINE_SIGNAL): Define this.
9282 9282
9283 1991-10-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9283 1991-10-18 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9284 9284
9285 * scroll.c (line_ins_del): Don't calculate costs off the end of mf 9285 * scroll.c (line_ins_del): Don't calculate costs off the end of mf
9286 and ov; use < in loop condition, not <=. 9286 and ov; use < in loop condition, not <=.
9287 9287
9288 * scroll.c (scroll_cost): Logic rearranged. 9288 * scroll.c (scroll_cost): Logic rearranged.
9290 * dispnew.c (change_screen_size): Change "SCREEN_IS_TERMCAP 9290 * dispnew.c (change_screen_size): Change "SCREEN_IS_TERMCAP
9291 (screen) == output_termap" to "SCREEN_IS_TERMCAP (screen)" 9291 (screen) == output_termap" to "SCREEN_IS_TERMCAP (screen)"
9292 (window_change_signal): Use SCREEN_IS_TERMCAP predicate instead of 9292 (window_change_signal): Use SCREEN_IS_TERMCAP predicate instead of
9293 testing output_method_directly. 9293 testing output_method_directly.
9294 9294
9295 1991-10-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9295 1991-10-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9296 9296
9297 * xterm.h (STANDARD_EVENT_SET): Include ButtonReleaseMask in 9297 * xterm.h (STANDARD_EVENT_SET): Include ButtonReleaseMask in
9298 STANDARD_EVENT_SET. 9298 STANDARD_EVENT_SET.
9299 * xterm.c (XTmouse_tracking_enable): Don't bother or'ing 9299 * xterm.c (XTmouse_tracking_enable): Don't bother or'ing
9300 ButtonReleaseMask with the STANDARD_EVENT_SET. 9300 ButtonReleaseMask with the STANDARD_EVENT_SET.
9340 * window.c (Fcoordinates_in_window_p, window_from_coordinates, 9340 * window.c (Fcoordinates_in_window_p, window_from_coordinates,
9341 Flocate_window_from_coordinates): Here they are. 9341 Flocate_window_from_coordinates): Here they are.
9342 (syms_of_window): Adjusted. 9342 (syms_of_window): Adjusted.
9343 * lisp.h: Adjusted to say so. 9343 * lisp.h: Adjusted to say so.
9344 9344
9345 1991-10-14 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9345 1991-10-14 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9346 9346
9347 * xterm.c (XTclear_end_of_line): This used to try to get the 9347 * xterm.c (XTclear_end_of_line): This used to try to get the
9348 cursor out of the way by comparing the line being cleared with 9348 cursor out of the way by comparing the line being cleared with
9349 s->cursor_y, which is meaningless; it should have compared it with 9349 s->cursor_y, which is meaningless; it should have compared it with
9350 s->phys_cursor_y. Changed to just mark the cursor as cleared if 9350 s->phys_cursor_y. Changed to just mark the cursor as cleared if
9351 it's in the area we're clearing. 9351 it's in the area we're clearing.
9352 9352
9353 1991-10-13 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9353 1991-10-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9354 9354
9355 * m-intel386.h: Fix typo in #endif. 9355 * m-intel386.h: Fix typo in #endif.
9356 9356
9357 1991-10-12 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9357 1991-10-12 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9358 9358
9359 * callint.c (Fcall_interactively): Added new interactive spec 'K', 9359 * callint.c (Fcall_interactively): Added new interactive spec 'K',
9360 for mouse clicks. Added explanation to doc string. Removed 'e' 9360 for mouse clicks. Added explanation to doc string. Removed 'e'
9361 spec, which didn't work with the new input model anyway. 9361 spec, which didn't work with the new input model anyway.
9362 * keyboard.c (Fmouse_click_p): New function. 9362 * keyboard.c (Fmouse_click_p): New function.
9368 (Ftrack_mouse): Doc fix. 9368 (Ftrack_mouse): Doc fix.
9369 (kbd_buffer_read_char): Fix brainos in tossing of unwanted events. 9369 (kbd_buffer_read_char): Fix brainos in tossing of unwanted events.
9370 Don't use EVENT_QUEUES_EMPTY to set input_pending; call 9370 Don't use EVENT_QUEUES_EMPTY to set input_pending; call
9371 readable_events. 9371 readable_events.
9372 9372
9373 1991-10-11 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9373 1991-10-11 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9374 9374
9375 * keyboard.c (Qmode_line): New quoted symbol. 9375 * keyboard.c (Qmode_line): New quoted symbol.
9376 (syms_of_keyboard): Initialize and staticpro it. 9376 (syms_of_keyboard): Initialize and staticpro it.
9377 (make_lispy_event): Use it to indicate when a mouse position is in 9377 (make_lispy_event): Use it to indicate when a mouse position is in
9378 a window's mode line. 9378 a window's mode line.
9379 9379
9380 * xterm.c (XTread_socket): Consider the window to be resized if 9380 * xterm.c (XTread_socket): Consider the window to be resized if
9381 either the character or pixel dimensions have changed; this will 9381 either the character or pixel dimensions have changed; this will
9382 catch font size changes. 9382 catch font size changes.
9383 9383
9384 1991-10-08 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9384 1991-10-08 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9385 9385
9386 * process.c (wait_reading_process_input): Removed all the 9386 * process.c (wait_reading_process_input): Removed all the
9387 exceptional condition stuff. Emacs lacks any way to respond to 9387 exceptional condition stuff. Emacs lacks any way to respond to
9388 such a state, and selecting for it without responding to it can make 9388 such a state, and selecting for it without responding to it can make
9389 Emacs loop indefinitely. 9389 Emacs loop indefinitely.
9411 appropriate. 9411 appropriate.
9412 9412
9413 * keyboard.c (read_key_sequence): Removed unused argument 9413 * keyboard.c (read_key_sequence): Removed unused argument
9414 no_redisplay. 9414 no_redisplay.
9415 9415
9416 1991-10-01 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9416 1991-10-01 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9417 9417
9418 * xfns.c (x_create_screen): Initialize phys_cursor_x to -1, to 9418 * xfns.c (x_create_screen): Initialize phys_cursor_x to -1, to
9419 indicate that the screen has no displayed cursor. 9419 indicate that the screen has no displayed cursor.
9420 9420
9421 * xfns.c (x_create_screen): Let InternalBorderWidth default to 1. 9421 * xfns.c (x_create_screen): Let InternalBorderWidth default to 1.
9434 argument, instead of taking it from the screen matrix. 9434 argument, instead of taking it from the screen matrix.
9435 (x_display_box_cursor): Set and use s->phys_cursor_glyph. 9435 (x_display_box_cursor): Set and use s->phys_cursor_glyph.
9436 9436
9437 * ymakefile: Note that scroll.o and xmenu.o depend on screen.h. 9437 * ymakefile: Note that scroll.o and xmenu.o depend on screen.h.
9438 9438
9439 1991-09-29 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9439 1991-09-29 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9440 9440
9441 * keyboard.c (make_lispy_event): When building mouse movement 9441 * keyboard.c (make_lispy_event): When building mouse movement
9442 event, use `m', not `event', dummy. 9442 event, use `m', not `event', dummy.
9443 9443
9444 1991-09-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9444 1991-09-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9445 9445
9446 * screen.c (Fscreen_parameters): Return the proper value for the 9446 * screen.c (Fscreen_parameters): Return the proper value for the
9447 'minibuffer parameter for minibuffer-only screens. 9447 'minibuffer parameter for minibuffer-only screens.
9448 9448
9449 * xdisp.c (redisplay_window): When the start position is forced, 9449 * xdisp.c (redisplay_window): When the start position is forced,
9464 9464
9465 1991-09-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) 9465 1991-09-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9466 9466
9467 * alloca.c: Do nothing if alloca is defined as a macro. 9467 * alloca.c: Do nothing if alloca is defined as a macro.
9468 9468
9469 1991-09-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9469 1991-09-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9470 9470
9471 * m-pfa50.h: New file. 9471 * m-pfa50.h: New file.
9472 9472
9473 1991-09-06 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9473 1991-09-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9474 9474
9475 * unexec.c: Add conditionals for COFF_ENCAPSULATE. 9475 * unexec.c: Add conditionals for COFF_ENCAPSULATE.
9476 9476
9477 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu) 9477 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
9478 9478
9479 * fns.c (Fdelete): New fn. We have member now; we should have 9479 * fns.c (Fdelete): New fn. We have member now; we should have
9480 delete too. 9480 delete too.
9481 9481
9482 1991-08-16 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9482 1991-08-16 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9483 9483
9484 * xfns.c (x_get_arg): Clean bad characters out of the screen name 9484 * xfns.c (x_get_arg): Clean bad characters out of the screen name
9485 before using it as a resource key. 9485 before using it as a resource key.
9486 9486
9487 * abbrev.c (Fexpand_abbrev): Don't let capitalization go past point. 9487 * abbrev.c (Fexpand_abbrev): Don't let capitalization go past point.
9494 9494
9495 * s/s-aix3-1.h: Define HAVE_TCATTR. 9495 * s/s-aix3-1.h: Define HAVE_TCATTR.
9496 9496
9497 * xfns.c (Fx_grab_cursor, Fx_ungrab_cursor): Functions removed. 9497 * xfns.c (Fx_grab_cursor, Fx_ungrab_cursor): Functions removed.
9498 9498
9499 1991-08-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9499 1991-08-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9500 9500
9501 * bytecode.c (Qbyte_code_meter): New. 9501 * bytecode.c (Qbyte_code_meter): New.
9502 (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase, 9502 (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase,
9503 Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil, 9503 Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil,
9504 BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New 9504 BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New
9505 byte codes. 9505 byte codes.
9506 (Fbyte_code): Implemented new codes listed above. Added code to 9506 (Fbyte_code): Implemented new codes listed above. Added code to
9507 count how many times a function is called. 9507 count how many times a function is called.
9508 (syms_of_bytecode): Initialize and staticpro Qbyte_code_meter. 9508 (syms_of_bytecode): Initialize and staticpro Qbyte_code_meter.
9509 9509
9510 * xfns.c (x_window): When setting the class hints, use the 9510 * xfns.c (x_window): When setting the class hints, use the
9511 screen's name as the res_name. 9511 screen's name as the res_name.
9512 9512
9513 * xfns.c (x_make_screen_name): New function. 9513 * xfns.c (x_make_screen_name): New function.
9514 (Fx_create_screen): Use x_get_arg to find screen name; if none has 9514 (Fx_create_screen): Use x_get_arg to find screen name; if none has
9546 it to be specified whenever NAME is. 9546 it to be specified whenever NAME is.
9547 All callers changed. 9547 All callers changed.
9548 [not HAVE_X11] (Fx_get_default): Only take the one arg. 9548 [not HAVE_X11] (Fx_get_default): Only take the one arg.
9549 [not HAVE_X11] (Fx_get_resource): Toss the second two args. 9549 [not HAVE_X11] (Fx_get_resource): Toss the second two args.
9550 9550
9551 1991-08-13 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9551 1991-08-13 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9552 9552
9553 * xfns.c (Fx_close_current_connection): Add \n to error message. 9553 * xfns.c (Fx_close_current_connection): Add \n to error message.
9554 9554
9555 * keyboard.c (make_lispy_event): Added HP keys into the 9555 * keyboard.c (make_lispy_event): Added HP keys into the
9556 function_key_names array. 9556 function_key_names array.
9565 * xfns.c (x_get_arg): Use it here. 9565 * xfns.c (x_get_arg): Use it here.
9566 9566
9567 * screen.c (make_screen): When choosing a buffer for the screen's 9567 * screen.c (make_screen): When choosing a buffer for the screen's
9568 root window, shy away from buffers whose names start with a space. 9568 root window, shy away from buffers whose names start with a space.
9569 9569
9570 1991-08-11 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9570 1991-08-11 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9571 9571
9572 * process.c (exec_sentinel, exec_sentinel_unwind): Move these 9572 * process.c (exec_sentinel, exec_sentinel_unwind): Move these
9573 above status_notify. 9573 above status_notify.
9574 9574
9575 * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes 9575 * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes
9576 to process.c. 9576 to process.c.
9577 (syms_of_eval): Initialize and staticpro above. 9577 (syms_of_eval): Initialize and staticpro above.
9578 * lisp.h: added extern declaration for above. 9578 * lisp.h: added extern declaration for above.
9579 9579
9580 1991-08-10 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9580 1991-08-10 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9581 9581
9582 * regex.c (re_search_2): When searching with the fastmap, test for 9582 * regex.c (re_search_2): When searching with the fastmap, test for
9583 a translate table outside of the loop, not inside the loop. 9583 a translate table outside of the loop, not inside the loop.
9584 9584
9585 1991-08-10 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9585 1991-08-10 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9586 9586
9587 * fns.c (Fequal): Don't crash on circular structure. 9587 * fns.c (Fequal): Don't crash on circular structure.
9588 (internal_equal): New subroutine does the recursion. 9588 (internal_equal): New subroutine does the recursion.
9589 9589
9590 * print.c (print): Recognize circular car pointers. 9590 * print.c (print): Recognize circular car pointers.
9591 9591
9592 1991-08-10 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9592 1991-08-10 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9593 9593
9594 * process.c (wait_reading_process_input): Ignore exceptional 9594 * process.c (wait_reading_process_input): Ignore exceptional
9595 conditions on the keyboard input. 9595 conditions on the keyboard input.
9596 9596
9597 1991-08-06 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 9597 1991-08-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
9598 9598
9599 * lisp.h: Fiddled with formatting. 9599 * lisp.h: Fiddled with formatting.
9600 9600
9601 * process.c (exec_sentinel_unwind): New function. 9601 * process.c (exec_sentinel_unwind): New function.
9602 (exec_sentinel): Restore the process's sentinel, using an 9602 (exec_sentinel): Restore the process's sentinel, using an
9603 unwind_protect. 9603 unwind_protect.
9604 9604
9605 1991-08-05 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9605 1991-08-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9606 9606
9607 * keyboard.c: Doc fix. 9607 * keyboard.c: Doc fix.
9608 9608
9609 1991-08-05 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9609 1991-08-05 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9610 9610
9611 * dired.h: Don't include search.h; it doesn't exist. 9611 * dired.h: Don't include search.h; it doesn't exist.
9612 9612
9613 * process.c (read_process_output, exec_sentinel): Bind 9613 * process.c (read_process_output, exec_sentinel): Bind
9614 Qinhibit_quit to true and call the filter directly instead of 9614 Qinhibit_quit to true and call the filter directly instead of
9636 9636
9637 * keyboard.c (classify_object): #if 0'd function finally removed. 9637 * keyboard.c (classify_object): #if 0'd function finally removed.
9638 * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar, 9638 * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
9639 Qexited_window, Qredraw_screen): Unused, so removed. 9639 Qexited_window, Qredraw_screen): Unused, so removed.
9640 (syms_of_xterm): Don't bother to initialize above. 9640 (syms_of_xterm): Don't bother to initialize above.
9641 9641
9642 * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for 9642 * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for
9643 consistency. 9643 consistency.
9644 (x_term_init): Don't call it here. 9644 (x_term_init): Don't call it here.
9645 * xfns.c (syms_of_xfns): Don't call syms_of_xselect here. 9645 * xfns.c (syms_of_xfns): Don't call syms_of_xselect here.
9646 * emacs.c (main): Call them here. 9646 * emacs.c (main): Call them here.
9651 (syms_of_xterm): staticpro invocation_name. 9651 (syms_of_xterm): staticpro invocation_name.
9652 * xfns.c (invocation_name): Changed extern declaration, deleted 9652 * xfns.c (invocation_name): Changed extern declaration, deleted
9653 extra declaration. 9653 extra declaration.
9654 (Fx_get_resource): Adjusted code appropriately. 9654 (Fx_get_resource): Adjusted code appropriately.
9655 9655
9656 1991-08-04 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9656 1991-08-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9657 9657
9658 * lread.c (read1): Accept #[...] for bytecode object. 9658 * lread.c (read1): Accept #[...] for bytecode object.
9659 * print.c (print): Print them that way. 9659 * print.c (print): Print them that way.
9660 9660
9661 1991-08-01 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9661 1991-08-01 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9662 9662
9663 * fileio.c (Fexpand_file_name): Avoid doing strlen (0). 9663 * fileio.c (Fexpand_file_name): Avoid doing strlen (0).
9664 9664
9665 * editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system. 9665 * editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system.
9666 * fileio.c [VMS]: Likewise. Also include stddef.h, string.h. 9666 * fileio.c [VMS]: Likewise. Also include stddef.h, string.h.
9667 Include perror.h only once. 9667 Include perror.h only once.
9668 [VMS] (file_name_as_directory, directory_file_name): Remove 9668 [VMS] (file_name_as_directory, directory_file_name): Remove
9669 assignments from if conditions. 9669 assignments from if conditions.
9670 (Fexpand_file_name): Remove excess slash from end of user's home dir. 9670 (Fexpand_file_name): Remove excess slash from end of user's home dir.
9671 9671
9672 1991-08-01 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9672 1991-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9673 9673
9674 * emacs.c (main): Add SIGIO conditional within AIX conditional. 9674 * emacs.c (main): Add SIGIO conditional within AIX conditional.
9675 9675
9676 * xdisp.c (try_window_id): Compute proper position for screen bottom 9676 * xdisp.c (try_window_id): Compute proper position for screen bottom
9677 when all changes are below the screen. 9677 when all changes are below the screen.
9678 When first computing bp, don't go more than HEIGHT + 1 lines. 9678 When first computing bp, don't go more than HEIGHT + 1 lines.
9679 9679
9680 1991-07-31 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9680 1991-07-31 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9681 9681
9682 * xterm.c (x_destroy_window): If we're destroying the currently 9682 * xterm.c (x_destroy_window): If we're destroying the currently
9683 highlighted screen, clear x_highlight_screen. 9683 highlighted screen, clear x_highlight_screen.
9684 9684
9685 * xdisp.c (display_text_line, display_string): 9685 * xdisp.c (display_text_line, display_string):
9686 Don't go past endp for multi-column chars. 9686 Don't go past endp for multi-column chars.
9687 9687
9688 1991-07-28 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9688 1991-07-28 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9689 9689
9690 * lread.c (init_lread): If Vload_path was set specially before 9690 * lread.c (init_lread): If Vload_path was set specially before
9691 dumping, preserve it by default. 9691 dumping, preserve it by default.
9692 9692
9693 * process.c (process_send_signal): Notice and deal if the 9693 * process.c (process_send_signal): Notice and deal if the
9716 xrdb.o depends on config.h. 9716 xrdb.o depends on config.h.
9717 xterm.o depends on gnu.h. 9717 xterm.o depends on gnu.h.
9718 * xfns.h: File removed - it only declared Vx_send_movement_events. 9718 * xfns.h: File removed - it only declared Vx_send_movement_events.
9719 All includers changed. 9719 All includers changed.
9720 9720
9721 1991-07-27 Richard Stallman (rms at mole.gnu.ai.mit.edu) 9721 1991-07-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
9722 9722
9723 * keymap.c (Fcopy_keymap): Don't recursively copy maps inside symbols. 9723 * keymap.c (Fcopy_keymap): Don't recursively copy maps inside symbols.
9724 9724
9725 1991-07-27 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9725 1991-07-27 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9726 9726
9727 * xdisp.c (redisplay): If echo_area_display puts text in a 9727 * xdisp.c (redisplay): If echo_area_display puts text in a
9728 surrogate minibuffer screen, don't neglect to update it. 9728 surrogate minibuffer screen, don't neglect to update it.
9729 9729
9730 * keyboard.c (kbd_buffer_store_event): Make sure 9730 * keyboard.c (kbd_buffer_store_event): Make sure
9731 Vlast_event_screen is set properly for quit characters. 9731 Vlast_event_screen is set properly for quit characters.
9732 9732
9733 1991-07-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9733 1991-07-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9734 9734
9735 * keyboard.c (command_loop_1): pass both arguments to 9735 * keyboard.c (command_loop_1): pass both arguments to
9736 Fselect_screen. 9736 Fselect_screen.
9737 9737
9738 * screen.c (make_screen): Divide the size by sizeof (Lisp_Object) 9738 * screen.c (make_screen): Divide the size by sizeof (Lisp_Object)
9739 before passing it to Fmake_vector. 9739 before passing it to Fmake_vector.
9740 9740
9741 * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed 9741 * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed
9742 definition. 9742 definition.
9743 9743
9744 * screen.c: #include termhooks.h and therefore stdio.h. 9744 * screen.c: #include termhooks.h and therefore stdio.h.
9745 (make_screen): Initialize focus_screen member. 9745 (make_screen): Initialize focus_screen member.
9766 1991-07-25 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 9766 1991-07-25 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9767 9767
9768 * dispnew.c (buffer_posn_from_coords): Bufp is broken; don't use it. 9768 * dispnew.c (buffer_posn_from_coords): Bufp is broken; don't use it.
9769 9769
9770 * xterm.c (XTscreen_rehighlight): Neatened sloppy logic. 9770 * xterm.c (XTscreen_rehighlight): Neatened sloppy logic.
9771 9771
9772 * keyboard.c (read_key_sequence): When truncating a key sequence, 9772 * keyboard.c (read_key_sequence): When truncating a key sequence,
9773 don't forget to put the new keystroke back in this_command_keys. 9773 don't forget to put the new keystroke back in this_command_keys.
9774 Do this before calling echo_truncate, and don't call echo_char. 9774 Do this before calling echo_truncate, and don't call echo_char.
9775 9775
9776 1991-07-24 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 9776 1991-07-24 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9857 (Fselect_screen): Set last_nonminibuf_screen if appropriate. 9857 (Fselect_screen): Set last_nonminibuf_screen if appropriate.
9858 9858
9859 1991-07-21 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 9859 1991-07-21 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9860 9860
9861 * screen.h (last_nonminibuf_screen): Added declarations for new 9861 * screen.h (last_nonminibuf_screen): Added declarations for new
9862 variable. 9862 variable.
9863 * minibuf.c (active_screen): Variable removed. 9863 * minibuf.c (active_screen): Variable removed.
9864 (read_minibuf): Removed code to set and clear active_screen. 9864 (read_minibuf): Removed code to set and clear active_screen.
9865 * window.c (Fdisplay_buffer): Rewritten to use 9865 * window.c (Fdisplay_buffer): Rewritten to use
9866 last_nonminibuf_screen. 9866 last_nonminibuf_screen.
9867 9867
9868 * screen.c (next_screen): Use SCREEN_ accessors instead of ->. 9868 * screen.c (next_screen): Use SCREEN_ accessors instead of ->.
9869 9869
9870 * window.c (Fdisplay_buffer): Removed reference to 9870 * window.c (Fdisplay_buffer): Removed reference to
9871 Fx_create_screen; we should rely on the auto-new-screen-function 9871 Fx_create_screen; we should rely on the auto-new-screen-function
9872 being set to something appropriate. 9872 being set to something appropriate.
9873 9873
9874 1991-07-21 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 9874 1991-07-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
9875 9875
9876 * keyboard.c (read_key_sequence): Restore the state of 9876 * keyboard.c (read_key_sequence): Restore the state of
9877 this_command_key_count along with the echoing state. 9877 this_command_key_count along with the echoing state.
9878 9878
9879 1991-07-20 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 9879 1991-07-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
9880 9880
9881 * xfns.c (Fx_synchronize): New function. 9881 * xfns.c (Fx_synchronize): New function.
9882 (syms_of_xfns): defsubr it. 9882 (syms_of_xfns): defsubr it.
9883 9883
9884 * xdisp.c (redisplay): Don't turn on all_windows whenever we're 9884 * xdisp.c (redisplay): Don't turn on all_windows whenever we're
9895 9895
9896 * xdisp.c (message, message1): If the screen's message buffer 9896 * xdisp.c (message, message1): If the screen's message buffer
9897 is 0, toss the message; don't check the window system against 9897 is 0, toss the message; don't check the window system against
9898 the screen output_method. 9898 the screen output_method.
9899 9899
9900 1991-07-19 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9900 1991-07-19 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9901 9901
9902 * keyboard.c (read_key_sequence): When we truncate the echo 9902 * keyboard.c (read_key_sequence): When we truncate the echo
9903 buffer because the user has switched screens, re-echo the 9903 buffer because the user has switched screens, re-echo the
9904 character that caused the truncation. 9904 character that caused the truncation.
9905 9905
9925 * xfns.c (Fx_create_screen): Add mention of 9925 * xfns.c (Fx_create_screen): Add mention of
9926 global-minibuffer-screen to docstring. 9926 global-minibuffer-screen to docstring.
9927 * screen.c (make_screen_without_minibuffer): Improve error message 9927 * screen.c (make_screen_without_minibuffer): Improve error message
9928 displayed when Vglobal_minibuffer_screen is not a proper screen. 9928 displayed when Vglobal_minibuffer_screen is not a proper screen.
9929 9929
9930 1991-07-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9930 1991-07-18 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9931 9931
9932 * config.h (PURESIZE): Definition moved to... 9932 * config.h (PURESIZE): Definition moved to...
9933 * puresize.h: New file. 9933 * puresize.h: New file.
9934 (PURESIZE): Define this here. This will allow people to change 9934 (PURESIZE): Define this here. This will allow people to change
9935 their pure storage allocation without having to recompile most of 9935 their pure storage allocation without having to recompile most of
9939 [HAVE_SHM] (pure_size): New variable, so that XPNTR doesn't depend 9939 [HAVE_SHM] (pure_size): New variable, so that XPNTR doesn't depend
9940 on PURESIZE. 9940 on PURESIZE.
9941 [HAVE_SHM] (init_alloc_once): Initialize pure_size here. 9941 [HAVE_SHM] (init_alloc_once): Initialize pure_size here.
9942 * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size, 9942 * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size,
9943 instead of PURESIZE. 9943 instead of PURESIZE.
9944 (pure_size): extern declaration added here. 9944 (pure_size): extern declaration added here.
9945 * ymakefile: Added puresize.h to dependencies for alloc.c and 9945 * ymakefile: Added puresize.h to dependencies for alloc.c and
9946 data.c's .o files. 9946 data.c's .o files.
9947 9947
9948 * emacs.c (main): Doc fix for kludge to scan for -d. 9948 * emacs.c (main): Doc fix for kludge to scan for -d.
9949 9949
9950 1991-07-17 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9950 1991-07-17 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9951 9951
9952 * termhooks.h (struct input_event): #if 0'd out the definition for 9952 * termhooks.h (struct input_event): #if 0'd out the definition for
9953 the screen_selected event type, and added the stipulation that the 9953 the screen_selected event type, and added the stipulation that the
9954 {non_,}ascii_keystroke events specify the screen they happen in. 9954 {non_,}ascii_keystroke events specify the screen they happen in.
9955 * xterm.c (x_new_focus_screen): Don't enqueue a screen_selected 9955 * xterm.c (x_new_focus_screen): Don't enqueue a screen_selected
9990 instead of Fset_buffer. Use static variable containing symbol 9990 instead of Fset_buffer. Use static variable containing symbol
9991 instead of intern. 9991 instead of intern.
9992 (syms_of_buffer, init_buffer_once): Qkill_buffer_hook = 9992 (syms_of_buffer, init_buffer_once): Qkill_buffer_hook =
9993 'kill-buffer-hook. 9993 'kill-buffer-hook.
9994 9994
9995 1991-07-15 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 9995 1991-07-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9996 9996
9997 * keymap.c (Fsingle_key_description): When describing a listy 9997 * keymap.c (Fsingle_key_description): When describing a listy
9998 object, take the car to find the symbol that heads it, not the cdr. 9998 object, take the car to find the symbol that heads it, not the cdr.
9999 9999
10000 * dispnew.c (buffer_posn_from_coords): Pass col and line to 10000 * dispnew.c (buffer_posn_from_coords): Pass col and line to
10042 Add some casts, and make dummy an unsigned short int. 10042 Add some casts, and make dummy an unsigned short int.
10043 Don't use & on constants. 10043 Don't use & on constants.
10044 (vmserrstr): Add a cast. 10044 (vmserrstr): Add a cast.
10045 (sys_creat): Define va_count before this function. 10045 (sys_creat): Define va_count before this function.
10046 10046
10047 1991-07-14 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10047 1991-07-14 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10048 10048
10049 * sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant. 10049 * sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant.
10050 [VMS]: Include pwd.h from Emacs. Use sys/file.h if GCC. 10050 [VMS]: Include pwd.h from Emacs. Use sys/file.h if GCC.
10051 (bzero, bcopy) [VMS]: Don't take address of `length'. 10051 (bzero, bcopy) [VMS]: Don't take address of `length'.
10052 10052
10063 (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR. 10063 (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR.
10064 (discard_tty_input, init_baud_rate, child_setup_tty, 10064 (discard_tty_input, init_baud_rate, child_setup_tty,
10065 init_sys_modes, tabs_safe_p, reset_sys_modes): 10065 init_sys_modes, tabs_safe_p, reset_sys_modes):
10066 Use tcgetattr, and if HAVE_TCATTR, use tcsetattr. 10066 Use tcgetattr, and if HAVE_TCATTR, use tcsetattr.
10067 10067
10068 1991-07-13 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) 10068 1991-07-13 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
10069 10069
10070 * s-hpux8.h: New file. 10070 * s-hpux8.h: New file.
10071 * fileio.c [HPUX8]: Don't include errnet.h. 10071 * fileio.c [HPUX8]: Don't include errnet.h.
10072 10072
10073 * unexhp9k800.c (unexec): Local variable i to avoid compiler bug? 10073 * unexhp9k800.c (unexec): Local variable i to avoid compiler bug?
10090 10090
10091 * process.c (create_process): Use O_NOCTTY whenever defined, 10091 * process.c (create_process): Use O_NOCTTY whenever defined,
10092 unless USG. 10092 unless USG.
10093 10093
10094 * process.c (Fprocess_send_eof): If using a pipe, close it. 10094 * process.c (Fprocess_send_eof): If using a pipe, close it.
10095 (close_process_descs): Check IN and OUT for nonzeroness. 10095 (close_process_descs): Check IN and OUT for nonzeroness.
10096 10096
10097 * process.c (process_send_signal): Use interrupt chars 10097 * process.c (process_send_signal): Use interrupt chars
10098 to send certain signals to the process group. 10098 to send certain signals to the process group.
10099 (TIOCGETC): Undefine this if it is not really usable. 10099 (TIOCGETC): Undefine this if it is not really usable.
10100 10100
10116 1991-07-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 10116 1991-07-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10117 10117
10118 * eval.c (Finteractive_p): Changed "! XTYPE (foo) == Lisp_Bar" to 10118 * eval.c (Finteractive_p): Changed "! XTYPE (foo) == Lisp_Bar" to
10119 "XTYPE (foo) != bar". 10119 "XTYPE (foo) != bar".
10120 10120
10121 1991-07-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10121 1991-07-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10122 10122
10123 * eval.c (apply1): Don't forget to UNGCPRO before returning. 10123 * eval.c (apply1): Don't forget to UNGCPRO before returning.
10124 10124
10125 * xterm.c (XTupdate_begin): Undisplay the cursor here; do_scrolling 10125 * xterm.c (XTupdate_begin): Undisplay the cursor here; do_scrolling
10126 will call XTins_del_lines when the screen matrix is inaccurate, so 10126 will call XTins_del_lines when the screen matrix is inaccurate, so
10127 we cannot undisplay the cursor then, but do_scrolling is always 10127 we cannot undisplay the cursor then, but do_scrolling is always
10128 called within an update. 10128 called within an update.
10129 10129
10130 1991-07-10 David J. MacKenzie (djm at nutrimat) 10130 1991-07-10 David J. MacKenzie (djm@nutrimat)
10131 10131
10132 * termcap.c, tparam.c [!emacs, USG || STDC_HEADERS]: Define bcopy 10132 * termcap.c, tparam.c [!emacs, USG || STDC_HEADERS]: Define bcopy
10133 in terms of memcpy. 10133 in terms of memcpy.
10134 10134
10135 1991-07-09 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10135 1991-07-09 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10136 10136
10137 * scroll.c (do_scrolling): Use correct termination condition for 10137 * scroll.c (do_scrolling): Use correct termination condition for
10138 loop that uses the glyph pointers for the deleted lines to fill in 10138 loop that uses the glyph pointers for the deleted lines to fill in
10139 the inserted lines. 10139 the inserted lines.
10140 10140
10141 1991-07-08 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10141 1991-07-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10142 10142
10143 * editfns.c: Doc fix. 10143 * editfns.c: Doc fix.
10144 10144
10145 1991-07-03 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10145 1991-07-03 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10146 10146
10147 * dispnew.c (line_hash_code): Test m->highlight[vpos], not 10147 * dispnew.c (line_hash_code): Test m->highlight[vpos], not
10148 m->highlight. All lines were getting hash codes of -1, because 10148 m->highlight. All lines were getting hash codes of -1, because
10149 the highlight vector was never NULL. Golly. 10149 the highlight vector was never NULL. Golly.
10150 10150
10151 * process.c (list_processes_1): Handle status of network streams. 10151 * process.c (list_processes_1): Handle status of network streams.
10152 10152
10153 1991-07-02 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10153 1991-07-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10154 10154
10155 * doc.c (Fdocumentation_property): 10155 * doc.c (Fdocumentation_property):
10156 Pass only strings to Fsubstitute_command_keys. 10156 Pass only strings to Fsubstitute_command_keys.
10157 10157
10158 1991-07-02 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10158 1991-07-02 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10159 10159
10160 * editfns.c (init_editfns): If neither of the environment 10160 * editfns.c (init_editfns): If neither of the environment
10161 variables are set, DON'T set Vuser_name to Vuser_real_name; it's 10161 variables are set, DON'T set Vuser_name to Vuser_real_name; it's
10162 supposed to reflect the EFFECTIVE uid. 10162 supposed to reflect the EFFECTIVE uid.
10163 Get the full name according to Vuser_name if it differs from 10163 Get the full name according to Vuser_name if it differs from
10164 Vuser_real_name, not if they are equal. 10164 Vuser_real_name, not if they are equal.
10165 And pass Vuser_name to getpwnam in that case instead of user_name, 10165 And pass Vuser_name to getpwnam in that case instead of user_name,
10166 which might be 0. 10166 which might be 0.
10167 10167
10168 * lisp.h (RETURN_UNGCPRO): New macro. 10168 * lisp.h (RETURN_UNGCPRO): New macro.
10169 10169
10170 * bytecode.c (Fbyte_code): Do not remove GC protection from the 10170 * bytecode.c (Fbyte_code): Do not remove GC protection from the
10171 stack when making a function call, because the caller is 10171 stack when making a function call, because the caller is
10172 responsible for protecting the arguments to a MANY-arg'ed 10172 responsible for protecting the arguments to a MANY-arg'ed
10173 function. 10173 function.
10174 * eval.c (Fapply): If we use funcall_args, GCPRO it. 10174 * eval.c (Fapply): If we use funcall_args, GCPRO it.
10187 * mocklisp.c (Finsert_string): Don't GCPRO the argument array. 10187 * mocklisp.c (Finsert_string): Don't GCPRO the argument array.
10188 10188
10189 * keyboard.c (init_keyboard): Handle SIGQUIT with interrupt_signal 10189 * keyboard.c (init_keyboard): Handle SIGQUIT with interrupt_signal
10190 on any system that has HAVE_TERMIO, not just on USG systems. 10190 on any system that has HAVE_TERMIO, not just on USG systems.
10191 10191
10192 1991-07-01 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10192 1991-07-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10193 10193
10194 * editfns.c (init_editfns): Test that user_name isn't 0. 10194 * editfns.c (init_editfns): Test that user_name isn't 0.
10195 10195
10196 1991-06-29 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10196 1991-06-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10197 10197
10198 * search.c: Doc fixes. 10198 * search.c: Doc fixes.
10199 10199
10200 1991-06-28 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10200 1991-06-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10201 10201
10202 * keyboard.c (make_lispy_event): Let the posns of mouse clicks and 10202 * keyboard.c (make_lispy_event): Let the posns of mouse clicks and
10203 mouse movements be nil when window_from_coordinates returns a 10203 mouse movements be nil when window_from_coordinates returns a
10204 NON-window, not when it returns a window. Since posn is a lisp 10204 NON-window, not when it returns a window. Since posn is a lisp
10205 object, don't call make_number when consing up the event. 10205 object, don't call make_number when consing up the event.
10216 remember that the focus member of the event is true when the 10216 remember that the focus member of the event is true when the
10217 receiving window now has the focus, not when it is losing it. 10217 receiving window now has the focus, not when it is losing it.
10218 * xfns.c (Ffocus_screen): Don't signal an error if SCREEN is 10218 * xfns.c (Ffocus_screen): Don't signal an error if SCREEN is
10219 already the focus screen. 10219 already the focus screen.
10220 10220
10221 1991-06-26 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10221 1991-06-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10222 10222
10223 * alloc.c (Fmake_rope): Use sizeof (GLYPH) instead of 2 to 10223 * alloc.c (Fmake_rope): Use sizeof (GLYPH) instead of 2 to
10224 determine how large the string should be, and changed doc string 10224 determine how large the string should be, and changed doc string
10225 to describe ropes as strings of glyphs, not just as strings of 10225 to describe ropes as strings of glyphs, not just as strings of
10226 character pairs. 10226 character pairs.
10229 * lisp.h (typedef GLYPH): Moved the definition from here... 10229 * lisp.h (typedef GLYPH): Moved the definition from here...
10230 * config.h (typedef GLYPH): to here, so people can elect to get 10230 * config.h (typedef GLYPH): to here, so people can elect to get
10231 better performance if they don't want to use huge fonts. 10231 better performance if they don't want to use huge fonts.
10232 * xterm.c (dumpglyphs): Use XDrawImageString or 10232 * xterm.c (dumpglyphs): Use XDrawImageString or
10233 XDrawImageString16, Depending on sizeof (GLYPH). 10233 XDrawImageString16, Depending on sizeof (GLYPH).
10234 10234
10235 * data.c (Fsetq_default): Call Fset_default to do the assignments, 10235 * data.c (Fsetq_default): Call Fset_default to do the assignments,
10236 not plain Fset. 10236 not plain Fset.
10237 10237
10238 The following changes were contributed by Jamie Zawinski 10238 The following changes were contributed by Jamie Zawinski
10239 <jwz@lucid.com>: 10239 <jwz@lucid.com>:
10247 Did NOT add the relative branch opcodes that were in the version 10247 Did NOT add the relative branch opcodes that were in the version
10248 of bytecode.c that Jamie sent. 10248 of bytecode.c that Jamie sent.
10249 The branching bytecodes now only QUIT if they take the branch. 10249 The branching bytecodes now only QUIT if they take the branch.
10250 Btemp_output_buffer_show, Bforward_char, Bforward_word, 10250 Btemp_output_buffer_show, Bforward_char, Bforward_word,
10251 Bskip_chars_forward, Bskip_chars_backward, and Bforward_line 10251 Bskip_chars_forward, Bskip_chars_backward, and Bforward_line
10252 passed the wrong number of arguments to their subrs. 10252 passed the wrong number of arguments to their subrs.
10253 Brem, Bbuffer_substring, Bdelete_region, Bnarrow_to_region, 10253 Brem, Bbuffer_substring, Bdelete_region, Bnarrow_to_region,
10254 Bstringeqlsign, Bstringlss, Bequal, Bnthcdr, Bmember, Bassq, 10254 Bstringeqlsign, Bstringlss, Bequal, Bnthcdr, Bmember, Bassq,
10255 Bsetcar, and Bsetcdr passed arguments to the subr in the wrong 10255 Bsetcar, and Bsetcdr passed arguments to the subr in the wrong
10256 order. 10256 order.
10257 10257
10258 1991-06-25 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) 10258 1991-06-25 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
10259 10259
10260 * doc.c (Fdocumentation): Added a QUIT test to the loop that finds 10260 * doc.c (Fdocumentation): Added a QUIT test to the loop that finds
10261 the symbol's function value. 10261 the symbol's function value.
10262 10262
10263 1991-06-24 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10263 1991-06-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10264 10264
10265 * xterm.c (dumprectangle): Removed call to XFlushQueue here. 10265 * xterm.c (dumprectangle): Removed call to XFlushQueue here.
10266 10266
10267 * keyboard.c (command_loop_1): Call Fselect_screen to establish 10267 * keyboard.c (command_loop_1): Call Fselect_screen to establish
10268 the new selected screen after the key sequence has been read, not 10268 the new selected screen after the key sequence has been read, not
10288 * editfns.c (Finsert, Finsert_before_markers): GCPRO the 10288 * editfns.c (Finsert, Finsert_before_markers): GCPRO the
10289 arguments, since insert may cause a garbage collection. 10289 arguments, since insert may cause a garbage collection.
10290 * callproc.c (Fcall_process, Fcall_process_region): GCPRO the 10290 * callproc.c (Fcall_process, Fcall_process_region): GCPRO the
10291 arguments, since insert may cause a garbage collection. 10291 arguments, since insert may cause a garbage collection.
10292 10292
10293 1991-06-20 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10293 1991-06-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10294 10294
10295 * buffer.h (struct buffer_text, struct buffer): small change to 10295 * buffer.h (struct buffer_text, struct buffer): small change to
10296 comments. 10296 comments.
10297 10297
10298 * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to 10298 * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to
10312 1991-06-11 Roland McGrath (roland@albert.gnu.ai.mit.edu) 10312 1991-06-11 Roland McGrath (roland@albert.gnu.ai.mit.edu)
10313 10313
10314 * data.c (Fsetq_default): Take multiple SYM, VAL args; syntax now 10314 * data.c (Fsetq_default): Take multiple SYM, VAL args; syntax now
10315 parallel to setq. 10315 parallel to setq.
10316 10316
10317 1991-05-25 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10317 1991-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10318 10318
10319 * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so 10319 * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so
10320 that we always process/toss events we don't want to return. 10320 that we always process/toss events we don't want to return.
10321 10321
10322 * screen.c (Fselect_screen): Call Ffocus_screen instead of 10322 * screen.c (Fselect_screen): Call Ffocus_screen instead of
10343 * xfns.c (x_mouse_screen): Removed extern declaration for this. 10343 * xfns.c (x_mouse_screen): Removed extern declaration for this.
10344 (Fx_grab_pointer): Confine the pointer to x_focus_screen, not 10344 (Fx_grab_pointer): Confine the pointer to x_focus_screen, not
10345 x_mouse_screen. This is wrong, but will make emacs compile until 10345 x_mouse_screen. This is wrong, but will make emacs compile until
10346 this gets fixed. 10346 this gets fixed.
10347 10347
10348 1991-05-23 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10348 1991-05-23 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10349 10349
10350 * keyboard.c (get_input_pending): Don't use trim_events; use 10350 * keyboard.c (get_input_pending): Don't use trim_events; use
10351 readable_events instead. 10351 readable_events instead.
10352 10352
10353 * keyboard.c (make_lispy_event): Remove case for window_sys_event, 10353 * keyboard.c (make_lispy_event): Remove case for window_sys_event,
10358 * dispnew.c (init_display): Don't declare alternate_display extern 10358 * dispnew.c (init_display): Don't declare alternate_display extern
10359 here. I can't figure out what this feature is, and it's broken. 10359 here. I can't figure out what this feature is, and it's broken.
10360 * emacs.c (main): Don't test alternate_display and put its value 10360 * emacs.c (main): Don't test alternate_display and put its value
10361 in the environment. 10361 in the environment.
10362 10362
10363 1991-05-22 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10363 1991-05-22 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10364 10364
10365 * keyboard.c (struct movement): Made .used an int instead of a 10365 * keyboard.c (struct movement): Made .used an int instead of a
10366 char, since that's more likely to be stored atomically on SPARCS 10366 char, since that's more likely to be stored atomically on SPARCS
10367 and similar machines. 10367 and similar machines.
10368 10368
10369 * termhooks.h (struct input_event): Removed the window_sys_event, 10369 * termhooks.h (struct input_event): Removed the window_sys_event,
10370 since it's not used anywhere. Added screen_selected event type. 10370 since it's not used anywhere. Added screen_selected event type.
10371 The event handling code used to change the current buffer, 10371 The event handling code used to change the current buffer,
10372 selected window, and selected screen out from under running lisp 10372 selected window, and selected screen out from under running lisp
10400 10400
10401 * ralloc.c (check_memory_limits): If the address returned by the 10401 * ralloc.c (check_memory_limits): If the address returned by the
10402 allocator is not representable in a Lisp_Object, call memory_full 10402 allocator is not representable in a Lisp_Object, call memory_full
10403 instead of printing a very silly "warning" message. 10403 instead of printing a very silly "warning" message.
10404 10404
10405 1991-05-19 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10405 1991-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10406 10406
10407 * xterm.c (XTread_socket): Don't overwrite the end of the buffer 10407 * xterm.c (XTread_socket): Don't overwrite the end of the buffer
10408 with function keys. 10408 with function keys.
10409 10409
10410 * keyboard.c (tracking_off): Update input_pending after reading 10410 * keyboard.c (tracking_off): Update input_pending after reading
10414 mapped and need updating. 10414 mapped and need updating.
10415 * xterm.c (XTread_socket): Don't SET_SCREEN_GARBAGED when the 10415 * xterm.c (XTread_socket): Don't SET_SCREEN_GARBAGED when the
10416 screen is unmapped; do this when is mapped. 10416 screen is unmapped; do this when is mapped.
10417 (dumprectangle): Don't dump any data for garbaged screens. 10417 (dumprectangle): Don't dump any data for garbaged screens.
10418 10418
10419 1991-05-18 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10419 1991-05-18 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10420 10420
10421 * sysdep.c (init_sys_modes): Moved the clauses that set up 10421 * sysdep.c (init_sys_modes): Moved the clauses that set up
10422 interrupt-driven input out of the "if running on a terminal" 10422 interrupt-driven input out of the "if running on a terminal"
10423 clause, since these may need to be set up even when running on a 10423 clause, since these may need to be set up even when running on a
10424 window system. 10424 window system.
10425 10425
10426 1991-05-17 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10426 1991-05-17 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10427 10427
10428 * process.c (Fprocess_status): For network connections, return 10428 * process.c (Fprocess_status): For network connections, return
10429 Qopen and Qclosed instead of Qrun and Qexit, as documented. 10429 Qopen and Qclosed instead of Qrun and Qexit, as documented.
10430 10430
10431 * lread.c (read1): Removed code that treated numbers starting with 10431 * lread.c (read1): Removed code that treated numbers starting with
10432 a zero as octal. 10432 a zero as octal.
10433 10433
10434 1991-05-16 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10434 1991-05-16 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10435 10435
10436 * eval.c (Ffuncall): Don't gcpro the arguments; the caller 10436 * eval.c (Ffuncall): Don't gcpro the arguments; the caller
10437 protects them. 10437 protects them.
10438 (Fapply): Gcpro funcall_args, if we use them. 10438 (Fapply): Gcpro funcall_args, if we use them.
10439 10439
10471 Qexited_window, Qexited_scrollbar): Removed extern declarations 10471 Qexited_window, Qexited_scrollbar): Removed extern declarations
10472 for these, since they're no longer generated. 10472 for these, since they're no longer generated.
10473 (syms_of_keyboard): Initialize and staticpro Qmouse_movement, 10473 (syms_of_keyboard): Initialize and staticpro Qmouse_movement,
10474 remove DEFVAR_LISP for Vignore_mouse_events. 10474 remove DEFVAR_LISP for Vignore_mouse_events.
10475 10475
10476 1991-05-14 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10476 1991-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10477 10477
10478 * lread.c (read1): Correctly parenthesize the shift when parsing 10478 * lread.c (read1): Correctly parenthesize the shift when parsing
10479 octal numbers, and signal an error if we see a non-octal digit. 10479 octal numbers, and signal an error if we see a non-octal digit.
10480 10480
10481 1991-05-13 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10481 1991-05-13 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10482 10482
10483 * keyboard.c (trim_events): New function, to remove uninteresting 10483 * keyboard.c (trim_events): New function, to remove uninteresting
10484 events from the input queue. 10484 events from the input queue.
10485 (get_input_pending): Call trim_events before checking the queue, 10485 (get_input_pending): Call trim_events before checking the queue,
10486 so as not to advertise input we don't care about. 10486 so as not to advertise input we don't care about.
10519 .screen, make it a struct screen *, and indicate that those events 10519 .screen, make it a struct screen *, and indicate that those events
10520 which used to return windows now return screens. It is unsafe 10520 which used to return windows now return screens. It is unsafe
10521 for the event reader to traverse the window structure, because it 10521 for the event reader to traverse the window structure, because it
10522 can be called by a signal handler. 10522 can be called by a signal handler.
10523 10523
10524 1991-05-10 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10524 1991-05-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10525 10525
10526 * keyboard.c (Vignore_mouse_events): Variable deleted. 10526 * keyboard.c (Vignore_mouse_events): Variable deleted.
10527 (make_lispy_event): For mouse and scrollbar clicks, return the 10527 (make_lispy_event): For mouse and scrollbar clicks, return the
10528 position as a pair of numbers, not a list of two numbers. 10528 position as a pair of numbers, not a list of two numbers.
10529 10529
10530 1991-05-09 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10530 1991-05-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10531 10531
10532 * keyboard.c (do_mouse_tracking): Define this variable, which 10532 * keyboard.c (do_mouse_tracking): Define this variable, which
10533 controls whether kbd_buffer_read_char will ignore button up and 10533 controls whether kbd_buffer_read_char will ignore button up and
10534 mouse movement events. 10534 mouse movement events.
10535 * termhooks.h: Declare do_mouse_tracking here. 10535 * termhooks.h: Declare do_mouse_tracking here.
10571 10571
10572 * xterm.c (XTread_socket): Don't send Qmapped_screen, 10572 * xterm.c (XTread_socket): Don't send Qmapped_screen,
10573 Qunmapped_screen, Qexited_scrollbar, Qexited_window, 10573 Qunmapped_screen, Qexited_scrollbar, Qexited_window,
10574 Qredraw_screen - these are not features that we want to support. 10574 Qredraw_screen - these are not features that we want to support.
10575 10575
10576 1991-05-07 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10576 1991-05-07 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10577 10577
10578 * editfns.c (Finsert_char): Let strlen be the minimum of n and 10578 * editfns.c (Finsert_char): Let strlen be the minimum of n and
10579 256, not the maximum, so we use an n-byte buffer when n < 256, and 10579 256, not the maximum, so we use an n-byte buffer when n < 256, and
10580 a 256-byte buffer many times when n > 256. 10580 a 256-byte buffer many times when n > 256.
10581 10581
10582 1991-05-05 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10582 1991-05-05 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10583 10583
10584 * keymap.c (Fkeymapp): Fixed docstring to give the right 10584 * keymap.c (Fkeymapp): Fixed docstring to give the right
10585 definition of a keymap. 10585 definition of a keymap.
10586 10586
10587 1991-05-03 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10587 1991-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10588 10588
10589 * data.c (Fcompiled_function_p): New function. 10589 * data.c (Fcompiled_function_p): New function.
10590 10590
10591 1991-05-03 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10591 1991-05-03 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10592 10592
10593 * xfns.c (struct x_screen_parm_table): New type for recording 10593 * xfns.c (struct x_screen_parm_table): New type for recording
10594 information about screen parameters. 10594 information about screen parameters.
10595 (x_screen_parms): New table describing the existing parameters. 10595 (x_screen_parms): New table describing the existing parameters.
10596 (init_x_parm_symbols, x_set_screen_param): Use x_screen_parms 10596 (init_x_parm_symbols, x_set_screen_param): Use x_screen_parms
10597 instead of a large switch statement. 10597 instead of a large switch statement.
10598 (x_figure_window_size): Make the default case of the switch call 10598 (x_figure_window_size): Make the default case of the switch call
10599 abort instead of signalling an error, since window_prompting's 10599 abort instead of signalling an error, since window_prompting's
10600 value is internally generated. 10600 value is internally generated.
10601 10601
10602 1991-05-01 Jim Blandy (jimb at churchy.gnu.ai.mit.edu) 10602 1991-05-01 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
10603 10603
10604 * keymap.c (describe_map_tree): GCPRO the maps variable; 10604 * keymap.c (describe_map_tree): GCPRO the maps variable;
10605 Fkey_description calls Fmapconcat, which eventually calls 10605 Fkey_description calls Fmapconcat, which eventually calls
10606 Ffuncall, which can garbage-collect. 10606 Ffuncall, which can garbage-collect.
10607 10607
10608 1991-04-28 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10608 1991-04-28 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10609 10609
10610 * dispnew.c (buffer_posn_from_coords): Use the information in bufp 10610 * dispnew.c (buffer_posn_from_coords): Use the information in bufp
10611 to reduce the distance compute_motion must scan, when possible. 10611 to reduce the distance compute_motion must scan, when possible.
10612 10612
10613 1991-04-27 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10613 1991-04-27 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10614 10614
10615 * keyboard.c (syms_of_keyboard): Qtop_level is initialized and 10615 * keyboard.c (syms_of_keyboard): Qtop_level is initialized and
10616 staticpro'd in syms_of_data too. Don't staticpro (or initialize) 10616 staticpro'd in syms_of_data too. Don't staticpro (or initialize)
10617 it again here. 10617 it again here.
10618 10618
10630 syms_of_process cares about Qexit too. 10630 syms_of_process cares about Qexit too.
10631 10631
10632 * lread.c (init_obarray): Don't staticpro Vobarray, since the 10632 * lread.c (init_obarray): Don't staticpro Vobarray, since the
10633 DEFVAR_LISP in syms_of_read takes care of that. 10633 DEFVAR_LISP in syms_of_read takes care of that.
10634 10634
10635 1991-04-22 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10635 1991-04-22 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10636 10636
10637 * window.c (save_window_save): Always get the selected window's 10637 * window.c (save_window_save): Always get the selected window's
10638 value of point from its buffer, not just when it's also the 10638 value of point from its buffer, not just when it's also the
10639 current buffer. 10639 current buffer.
10640 10640
10641 * lisp.h (Qdisabled): Declare this here so that the keys_of_* 10641 * lisp.h (Qdisabled): Declare this here so that the keys_of_*
10642 files can disable the commands they define. 10642 files can disable the commands they define.
10643 * casefiddle.c (keys_of_casefiddle): Make upcase-region and 10643 * casefiddle.c (keys_of_casefiddle): Make upcase-region and
10644 downcase-region disabled, by default. 10644 downcase-region disabled, by default.
10645 10645
10646 1991-04-16 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10646 1991-04-16 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10647 10647
10648 * bytecode.c (PUSH): Alliant can't be bothered to implement the 10648 * bytecode.c (PUSH): Alliant can't be bothered to implement the
10649 preincrement operator right, so use a comma. 10649 preincrement operator right, so use a comma.
10650 10650
10651 * print.c (syms_of_print): staticpro Qexternal_debugging_output. 10651 * print.c (syms_of_print): staticpro Qexternal_debugging_output.
10652 10652
10653 * editfns.c (clip_to_bounds): No longer static - used in window.c. 10653 * editfns.c (clip_to_bounds): No longer static - used in window.c.
10654 * window.c (unshow_buffer): Use clip_to_bounds to make sure we 10654 * window.c (unshow_buffer): Use clip_to_bounds to make sure we
10655 change point to something legal. 10655 change point to something legal.
10656 10656
10657 1991-04-14 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10657 1991-04-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10658 10658
10659 * sysdep.c: Changes in formatting and comments. 10659 * sysdep.c: Changes in formatting and comments.
10660 10660
10661 1991-04-12 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10661 1991-04-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10662 10662
10663 * editfns.c (Fbuffer_substring): Don't call make_string, because 10663 * editfns.c (Fbuffer_substring): Don't call make_string, because
10664 it may cause a compaction and move the buffer, and then copy the 10664 it may cause a compaction and move the buffer, and then copy the
10665 wrong data. 10665 wrong data.
10666 10666
10667 * keyboard.c (read_char): Only GC if we've actually done enough 10667 * keyboard.c (read_char): Only GC if we've actually done enough
10668 consing since the last gc to make it worthwhile. 10668 consing since the last gc to make it worthwhile.
10669 10669
10670 1991-04-11 Jim Blandy (jimb at geech.gnu.ai.mit.edu) 10670 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
10671 10671
10672 * keymap.c (access_keymap): Canonicalize the order of the 10672 * keymap.c (access_keymap): Canonicalize the order of the
10673 modifiers when you look up a symbol in a keymap, too. 10673 modifiers when you look up a symbol in a keymap, too.
10674 (where-is-internal): If the keymap in which we found the 10674 (where-is-internal): If the keymap in which we found the
10675 definition was reached by meta-prefix-char, replace it with the 10675 definition was reached by meta-prefix-char, replace it with the
10698 * xterm.c (XTread_socket): If we get a MappingNotify event whose 10698 * xterm.c (XTread_socket): If we get a MappingNotify event whose
10699 request == MappingKeyboard, someone has changed the keyboard 10699 request == MappingKeyboard, someone has changed the keyboard
10700 mapping, and we should get the new mapping with 10700 mapping, and we should get the new mapping with
10701 XRefreshKeyboardMapping. 10701 XRefreshKeyboardMapping.
10702 10702
10703 1991-04-10 Jim Blandy (jimb at wookumz.gnu.ai.mit.edu) 10703 1991-04-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10704 10704
10705 * commands.h: Declare last_command_char to be a Lisp_Object, not 10705 * commands.h: Declare last_command_char to be a Lisp_Object, not
10706 an integer (ack). 10706 an integer (ack).
10707 10707
10708 * cmds.c (Fself_insert_command): If last_command_char is not an 10708 * cmds.c (Fself_insert_command): If last_command_char is not an
10719 * keymap.c (modify_event_symbol): Prepend the modifiers so they 10719 * keymap.c (modify_event_symbol): Prepend the modifiers so they
10720 appear in the canonical order: `M-C-S-U-'. 10720 appear in the canonical order: `M-C-S-U-'.
10721 (store_in_keymap): If IDX is a symbol, put the modifiers in the 10721 (store_in_keymap): If IDX is a symbol, put the modifiers in the
10722 canonical order before storing. 10722 canonical order before storing.
10723 10723
10724 1991-04-09 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10724 1991-04-09 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10725 10725
10726 * keymap.c (Flocal_set_key, Fglobal_set_key): When checking types 10726 * keymap.c (Flocal_set_key, Fglobal_set_key): When checking types
10727 of arguments, allow KEYS to be a vector or string, not just a 10727 of arguments, allow KEYS to be a vector or string, not just a
10728 string. 10728 string.
10729 (keymap_table): New static function to replace duplicated code in 10729 (keymap_table): New static function to replace duplicated code in
10741 10741
10742 * keymap.c (Faccessible_keymaps): Use meta-characters in the key 10742 * keymap.c (Faccessible_keymaps): Use meta-characters in the key
10743 sequences returned, carefully making sure that the sequences still 10743 sequences returned, carefully making sure that the sequences still
10744 appear in order of increasing length. 10744 appear in order of increasing length.
10745 10745
10746 1991-04-04 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10746 1991-04-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10747 10747
10748 * vmsfns.c (vms_trnlog): Increased size of str to 256 elements. 10748 * vmsfns.c (vms_trnlog): Increased size of str to 256 elements.
10749 (vms_symbol): Increased size of str to 1025 elements. 10749 (vms_symbol): Increased size of str to 1025 elements.
10750 10750
10751 1991-03-24 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10751 1991-03-24 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10752 10752
10753 * dispnew.c (pixel_to_glyph_translation): Moved this function to 10753 * dispnew.c (pixel_to_glyph_translation): Moved this function to
10754 xterm.c, since it is specific to X and only called by the X code. 10754 xterm.c, since it is specific to X and only called by the X code.
10755 * xterm.c (pixel_to_glyph_translation): Here it is. 10755 * xterm.c (pixel_to_glyph_translation): Here it is.
10756 10756
10757 1991-03-22 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10757 1991-03-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10758 10758
10759 * s-usg5-4.h (DATA_SEG_BITS): Definition deleted. 10759 * s-usg5-4.h (DATA_SEG_BITS): Definition deleted.
10760 * m-intel386.h (DATA_SEG_BITS): Define here if USG5_4. 10760 * m-intel386.h (DATA_SEG_BITS): Define here if USG5_4.
10761 10761
10762 1991-03-22 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10762 1991-03-22 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10763 10763
10764 * keymap.c (Faccessible_keymaps): Produce meta-characters in the 10764 * keymap.c (Faccessible_keymaps): Produce meta-characters in the
10765 key sequences instead of [meta-prefix-char CHAR] sequences. 10765 key sequences instead of [meta-prefix-char CHAR] sequences.
10766 10766
10767 1991-03-21 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10767 1991-03-21 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10768 10768
10769 * keymap.c (Flookup_key): If KEY is a zero-length array, then 10769 * keymap.c (Flookup_key): If KEY is a zero-length array, then
10770 return KEYMAP; this is more algebraically satisfying. 10770 return KEYMAP; this is more algebraically satisfying.
10771 10771
10772 * dispnew.c (Fsit_for): If the time to sit is zero and there is no 10772 * dispnew.c (Fsit_for): If the time to sit is zero and there is no
10775 * keyboard.c (read_char): If a quit occurs and we return 10775 * keyboard.c (read_char): If a quit occurs and we return
10776 quit_char, clear Vquit_flag, so we don't end up returning it again 10776 quit_char, clear Vquit_flag, so we don't end up returning it again
10777 and again... All lisp code does this manually if they call 10777 and again... All lisp code does this manually if they call
10778 read-char with quits inhibited, so it's the right thing to do. 10778 read-char with quits inhibited, so it's the right thing to do.
10779 10779
10780 1991-03-20 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10780 1991-03-20 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10781 10781
10782 * keyboard.c (read_char): If there is still no input available 10782 * keyboard.c (read_char): If there is still no input available
10783 after an auto-save, do a garbage-collection. 10783 after an auto-save, do a garbage-collection.
10784 10784
10785 * undo.c (truncate_undo_list): Always leave at least one undo 10785 * undo.c (truncate_undo_list): Always leave at least one undo
10800 val, not raw. 10800 val, not raw.
10801 10801
10802 * fileio.c (Fmake_symbolic_link): Don't expand FILENAME; this 10802 * fileio.c (Fmake_symbolic_link): Don't expand FILENAME; this
10803 would make it impossible to make a link to a relative name. 10803 would make it impossible to make a link to a relative name.
10804 10804
10805 1991-03-19 Jim Blandy (jimb at pogo.gnu.ai.mit.edu) 10805 1991-03-19 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10806 10806
10807 * keyboard.c (syms_of_keyboard): Removed the DEFVAR_BOOL for 10807 * keyboard.c (syms_of_keyboard): Removed the DEFVAR_BOOL for
10808 meta-flag. This cannot be a lisp variable because we need to 10808 meta-flag. This cannot be a lisp variable because we need to
10809 change the terminal settings whenever this flag changes. Change 10809 change the terminal settings whenever this flag changes. Change
10810 this through set-input-mode instead. 10810 this through set-input-mode instead.
10811 10811
10812 1991-03-19 Richard Stallman (rms at mole.gnu.ai.mit.edu) 10812 1991-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
10813 10813
10814 * keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX. 10814 * keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX.
10815 10815
10816 1991-03-19 Jim Blandy (jimb at churchy.ai.mit.edu) 10816 1991-03-19 Jim Blandy (jimb@churchy.ai.mit.edu)
10817 10817
10818 * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char, 10818 * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char,
10819 read_key_sequence, Fexecute_extended_command, Fset_input_mode, 10819 read_key_sequence, Fexecute_extended_command, Fset_input_mode,
10820 init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp) 10820 init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp)
10821 instead of XSETINT (var, exp) in those cases where var is not 10821 instead of XSETINT (var, exp) in those cases where var is not
10830 10830
10831 * keyboard.c (syms_of_keyboard): Added DEFVAR_BOOL for 10831 * keyboard.c (syms_of_keyboard): Added DEFVAR_BOOL for
10832 meta-flag. Emacs 18 had this, and I see no entry in the ChangeLog 10832 meta-flag. Emacs 18 had this, and I see no entry in the ChangeLog
10833 saying that it was purposefully removed. 10833 saying that it was purposefully removed.
10834 10834
10835 1991-03-17 Jim Blandy (jimb at geech.ai.mit.edu) 10835 1991-03-17 Jim Blandy (jimb@geech.ai.mit.edu)
10836 10836
10837 * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map, 10837 * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map,
10838 append_key): Minor typos and brainos corrected. 10838 append_key): Minor typos and brainos corrected.
10839 10839
10840 * keyboard.c (read_char): Removed code to find the vector in a 10840 * keyboard.c (read_char): Removed code to find the vector in a
10841 (kbd-macro . VECTOR) - style macro, since the macro is represented 10841 (kbd-macro . VECTOR) - style macro, since the macro is represented
10842 by the vector itself. 10842 by the vector itself.
10843 (read_char_menu_prompt): Changed to correctly recognize the new 10843 (read_char_menu_prompt): Changed to correctly recognize the new
10844 dense keymap structures. 10844 dense keymap structures.
10845 (read_key_sequence): Changed code that checks for keymapness to 10845 (read_key_sequence): Changed code that checks for keymapness to
10846 use get_keymap_1 instead of doing the indirection and keymapness 10846 use get_keymap_1 instead of doing the indirection and keymapness
10847 testing itself. 10847 testing itself.
10848 (Fcommand_execute): A keyboard macro is now a string or a vector. 10848 (Fcommand_execute): A keyboard macro is now a string or a vector.
10850 remember that it is now an array of Lisp_Objects, not chars. 10850 remember that it is now an array of Lisp_Objects, not chars.
10851 10851
10852 * doc.c (Fdocumentation): Rearranged into a switch statement, and 10852 * doc.c (Fdocumentation): Rearranged into a switch statement, and
10853 made vectors macros, not keymaps. 10853 made vectors macros, not keymaps.
10854 10854
10855 * eval.c (Fcommandp): Removed code to recognize 10855 * eval.c (Fcommandp): Removed code to recognize
10856 (kbd-macro . VECTOR) as a command, and added code to recognize 10856 (kbd-macro . VECTOR) as a command, and added code to recognize
10857 vectors as commands. 10857 vectors as commands.
10858 * macros.c (Qkbd_macro): Variable deleted. 10858 * macros.c (Qkbd_macro): Variable deleted.
10859 (syms_of_macros): Initialization of Qkbd_macro removed. 10859 (syms_of_macros): Initialization of Qkbd_macro removed.
10860 10860
10861 1991-03-14 Jim Blandy (jimb at pogo.ai.mit.edu) 10861 1991-03-14 Jim Blandy (jimb@pogo.ai.mit.edu)
10862 10862
10863 * minibuf.c (keys_of_minibuf): Changed all calls to 10863 * minibuf.c (keys_of_minibuf): Changed all calls to
10864 initial_define_lisp_key to calls to initial_define_key. 10864 initial_define_lisp_key to calls to initial_define_key.
10865 10865
10866 * keymap.c (describe_map): Adjusted to handle the new style of 10866 * keymap.c (describe_map): Adjusted to handle the new style of
10867 keymap. 10867 keymap.
10868 10868
10869 1991-03-14 Richard Stallman (rms at mole.ai.mit.edu) 10869 1991-03-14 Richard Stallman (rms@mole.ai.mit.edu)
10870 10870
10871 * fileio.c (Fwrite_region): On VMS, don't try rewriting old version. 10871 * fileio.c (Fwrite_region): On VMS, don't try rewriting old version.
10872 10872
10873 1991-03-14 Jim Blandy (jimb at pogo.ai.mit.edu) 10873 1991-03-14 Jim Blandy (jimb@pogo.ai.mit.edu)
10874 10874
10875 * keymap.c (Faccessible_keymaps): Adjusted to handle the new style 10875 * keymap.c (Faccessible_keymaps): Adjusted to handle the new style
10876 of keymap. 10876 of keymap.
10877 (Fwhere_is_internal): Handle the new-style of keymaps. 10877 (Fwhere_is_internal): Handle the new-style of keymaps.
10878 Additionally, only check to see if a match is shadowed by a 10878 Additionally, only check to see if a match is shadowed by a
10879 binding in the local keymap when LOCAL_KEYMAP is non-nil, instead 10879 binding in the local keymap when LOCAL_KEYMAP is non-nil, instead
10880 of comparing elt against DEFINITION yet again. 10880 of comparing elt against DEFINITION yet again.
10881 (describe_map_tree): Handle key sequences that are vectors, as 10881 (describe_map_tree): Handle key sequences that are vectors, as
10882 well as those that are strings. 10882 well as those that are strings.
10883 10883
10884 1991-03-13 Jim Blandy (jimb at churchy.ai.mit.edu) 10884 1991-03-13 Jim Blandy (jimb@churchy.ai.mit.edu)
10885 10885
10886 * commands.h, keymap.c (meta_map, control_x_map): Make these 10886 * commands.h, keymap.c (meta_map, control_x_map): Make these
10887 Lisp_Objects, not Lisp_Vectors. 10887 Lisp_Objects, not Lisp_Vectors.
10888 keymap.c (syms_of_keymap): Same. 10888 keymap.c (syms_of_keymap): Same.
10889 10889
10890 * keymap.c (Fuse_global_map): There is no longer any reason to 10890 * keymap.c (Fuse_global_map): There is no longer any reason to
10891 insist that KEYMAP must be a dense keymap; delete the code that 10891 insist that KEYMAP must be a dense keymap; delete the code that
10892 does so. 10892 does so.
10893 10893
10894 1991-03-12 Jim Blandy (jimb at wookumz.ai.mit.edu) 10894 1991-03-12 Jim Blandy (jimb@wookumz.ai.mit.edu)
10895 10895
10896 * commands.h, lisp.h: Changed global_map and current_global_map to 10896 * commands.h, lisp.h: Changed global_map and current_global_map to
10897 be Lisp_Objects, not Lisp_Vectors. 10897 be Lisp_Objects, not Lisp_Vectors.
10898 keyboard.c (read_key_sequence): Same. 10898 keyboard.c (read_key_sequence): Same.
10899 keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key, 10899 keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key,
10902 10902
10903 * keymap.c (Fdefine_key): Braino: increment idx and clear metized 10903 * keymap.c (Fdefine_key): Braino: increment idx and clear metized
10904 flag even when the element of the key sequence isn't a character. 10904 flag even when the element of the key sequence isn't a character.
10905 (Flookup_key): Fix same braino. 10905 (Flookup_key): Fix same braino.
10906 10906
10907 1991-03-10 Jim Blandy (jimb at wookumz.ai.mit.edu) 10907 1991-03-10 Jim Blandy (jimb@wookumz.ai.mit.edu)
10908 10908
10909 * keymap.c (get_keyelt): Use access_keymap to resolve indirect 10909 * keymap.c (get_keyelt): Use access_keymap to resolve indirect
10910 entries, instead of duplicating its code. 10910 entries, instead of duplicating its code.
10911 (Fcopy_keymap): Handle the new keymap structure. 10911 (Fcopy_keymap): Handle the new keymap structure.
10912 10912
10913 1991-03-09 Richard Stallman (rms at mole.ai.mit.edu) 10913 1991-03-09 Richard Stallman (rms@mole.ai.mit.edu)
10914 10914
10915 * eval.c (struct catchtag): New field handlerlist. 10915 * eval.c (struct catchtag): New field handlerlist.
10916 (internal_catch, internal_condition_case): Set that field. 10916 (internal_catch, internal_condition_case): Set that field.
10917 (unbind_catch): Use it. 10917 (unbind_catch): Use it.
10918 10918
10919 1991-03-08 Richard Stallman (rms at mole.ai.mit.edu) 10919 1991-03-08 Richard Stallman (rms@mole.ai.mit.edu)
10920 10920
10921 * m-intel386.h (signal): Maybe define if USG. 10921 * m-intel386.h (signal): Maybe define if USG.
10922 10922
10923 * keyboard.c (echo_char): Don't have space at end of echobuf. 10923 * keyboard.c (echo_char): Don't have space at end of echobuf.
10924 10924
10925 1991-03-07 Jim Blandy (jimb at albert.ai.mit.edu) 10925 1991-03-07 Jim Blandy (jimb@albert.ai.mit.edu)
10926 10926
10927 * keyboard.c (syms_of_keyboard): Initialize mouse_syms, instead of 10927 * keyboard.c (syms_of_keyboard): Initialize mouse_syms, instead of
10928 doing func_key_syms twice. Don't deal with scrollbar_syms, since 10928 doing func_key_syms twice. Don't deal with scrollbar_syms, since
10929 it doesn't exist. 10929 it doesn't exist.
10930 10930
10931 1991-03-06 Jim Blandy (jimb at pogo.ai.mit.edu) 10931 1991-03-06 Jim Blandy (jimb@pogo.ai.mit.edu)
10932 10932
10933 * keymap.c (access_keymap, store_in_keymap): Changed to handle the 10933 * keymap.c (access_keymap, store_in_keymap): Changed to handle the
10934 new style of keymaps. 10934 new style of keymaps.
10935 10935
10936 * fns.c (Fassq, Fcopy_alist): Changed docstring to promise to 10936 * fns.c (Fassq, Fcopy_alist): Changed docstring to promise to
10937 ignore elements of LIST that are not conses. See access_keymap 10937 ignore elements of LIST that are not conses. See access_keymap
10938 and copy_keymap for a cheap excuse. 10938 and copy_keymap for a cheap excuse.
10939 10939
10940 1991-03-06 Richard Stallman (rms at mole.ai.mit.edu) 10940 1991-03-06 Richard Stallman (rms@mole.ai.mit.edu)
10941 10941
10942 * s-vms.h (DATA_START): Remove `+ 512'. 10942 * s-vms.h (DATA_START): Remove `+ 512'.
10943 10943
10944 1991-03-05 Jim Blandy (jimb at spiff.ai.mit.edu) 10944 1991-03-05 Jim Blandy (jimb@spiff.ai.mit.edu)
10945 10945
10946 * keymap.c (Fmake_keymap): Rewritten to construct the 10946 * keymap.c (Fmake_keymap): Rewritten to construct the
10947 new dense keymap structure: (keymap VECTOR . ALIST). Docstring 10947 new dense keymap structure: (keymap VECTOR . ALIST). Docstring
10948 adjusted accordingly. This means that the keyboard macro 10948 adjusted accordingly. This means that the keyboard macro
10949 stupidity (see Feb 27, keyboard.c) is no longer needed. 10949 stupidity (see Feb 27, keyboard.c) is no longer needed.
10950 10950
10951 1991-03-03 Richard Stallman (rms at mole.ai.mit.edu) 10951 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
10952 10952
10953 * sysdep.c (MEMORY_IN_STRING_H): New compilation flag. 10953 * sysdep.c (MEMORY_IN_STRING_H): New compilation flag.
10954 * s-isc2-2.h: New file. 10954 * s-isc2-2.h: New file.
10955 10955
10956 1991-02-27 Jim Blandy (jimb at churchy.ai.mit.edu) 10956 1991-02-27 Jim Blandy (jimb@churchy.ai.mit.edu)
10957 10957
10958 * macros.c (Qkbd_macro): New variable, to hold the symbol 10958 * macros.c (Qkbd_macro): New variable, to hold the symbol
10959 `kbd-macro', which we use to tag vector-style keyboard macros. 10959 `kbd-macro', which we use to tag vector-style keyboard macros.
10960 (syms_of_macros): Initialize and staticpro Qkbd_macro. 10960 (syms_of_macros): Initialize and staticpro Qkbd_macro.
10961 10961
10967 vectors, but that makes it difficult to tell the difference 10967 vectors, but that makes it difficult to tell the difference
10968 between macros and dense keymaps. 10968 between macros and dense keymaps.
10969 (read_char): Handle the new macros correctly, and re-allocate 10969 (read_char): Handle the new macros correctly, and re-allocate
10970 this_command_keys correctly. 10970 this_command_keys correctly.
10971 10971
10972 1991-02-26 Richard Stallman (rms at mole.ai.mit.edu) 10972 1991-02-26 Richard Stallman (rms@mole.ai.mit.edu)
10973 10973
10974 * s-vms.h (calloc): Define like malloc, etc. 10974 * s-vms.h (calloc): Define like malloc, etc.
10975 10975
10976 1991-02-26 Jim Blandy (jimb at spiff.ai.mit.edu) 10976 1991-02-26 Jim Blandy (jimb@spiff.ai.mit.edu)
10977 10977
10978 * xterm.c (XTread_socket): Move enter_timestamp outside of the 10978 * xterm.c (XTread_socket): Move enter_timestamp outside of the
10979 function; static variables inside functions don't always work in 10979 function; static variables inside functions don't always work in
10980 Emacs. 10980 Emacs.
10981 10981
10984 (clip_to_bounds): New function, much like in_accessible_range, 10984 (clip_to_bounds): New function, much like in_accessible_range,
10985 except that the upper and lower bounds are arguments. 10985 except that the upper and lower bounds are arguments.
10986 (goto_char, save_restriction_restore): Rewritten to use 10986 (goto_char, save_restriction_restore): Rewritten to use
10987 clip_to_bounds instead of in_accessible_range. 10987 clip_to_bounds instead of in_accessible_range.
10988 10988
10989 1991-02-25 Jim Blandy (jimb at pogo.ai.mit.edu) 10989 1991-02-25 Jim Blandy (jimb@pogo.ai.mit.edu)
10990 10990
10991 * keymap.c (initial_define_lisp_key): Turn KEY into a Lisp_Int 10991 * keymap.c (initial_define_lisp_key): Turn KEY into a Lisp_Int
10992 before passing it to store_in_keymap. 10992 before passing it to store_in_keymap.
10993 10993
10994 * buffer.c (reset_buffer_local_variables): Don't try to initialize 10994 * buffer.c (reset_buffer_local_variables): Don't try to initialize
11009 * alloc.c (make_sequence): New function, useful to keyboard.c and 11009 * alloc.c (make_sequence): New function, useful to keyboard.c and
11010 macro.c. 11010 macro.c.
11011 * keyboard.c (Fread_key_sequence): Use make_sequence. 11011 * keyboard.c (Fread_key_sequence): Use make_sequence.
11012 (Fthis_command_keys): Use make_sequence. 11012 (Fthis_command_keys): Use make_sequence.
11013 11013
11014 1991-02-24 Jim Blandy (jimb at churchy.ai.mit.edu) 11014 1991-02-24 Jim Blandy (jimb@churchy.ai.mit.edu)
11015 11015
11016 * keymap.c (Fwhere_is): If the command can't be found, the message 11016 * keymap.c (Fwhere_is): If the command can't be found, the message
11017 is now "foobie is not on any key.", instead of "... any keys.". 11017 is now "foobie is not on any key.", instead of "... any keys.".
11018 11018
11019 * keyboard.c (input_poll_signal): Pass 0 to read_avail_input, 11019 * keyboard.c (input_poll_signal): Pass 0 to read_avail_input,
11033 Lisp_Objects; adjust the amount of storage we request to hold it. 11033 Lisp_Objects; adjust the amount of storage we request to hold it.
11034 Remember that quit_char can be any keystroke. 11034 Remember that quit_char can be any keystroke.
11035 (syms_of_keyboard): last_command_char, last_input_char, help_char, 11035 (syms_of_keyboard): last_command_char, last_input_char, help_char,
11036 menu_prompt_more_char and meta_prefix_char are now DEFVAR_LISPs 11036 menu_prompt_more_char and meta_prefix_char are now DEFVAR_LISPs
11037 instead of DEFVAR_INTs. 11037 instead of DEFVAR_INTs.
11038 11038
11039 1991-02-24 Richard Stallman (rms at mole.ai.mit.edu) 11039 1991-02-24 Richard Stallman (rms@mole.ai.mit.edu)
11040 11040
11041 * process.c (wait_reading_process_input): Use NETCONN_P. 11041 * process.c (wait_reading_process_input): Use NETCONN_P.
11042 11042
11043 1991-02-23 Jim Blandy (jimb at pogo.ai.mit.edu) 11043 1991-02-23 Jim Blandy (jimb@pogo.ai.mit.edu)
11044 11044
11045 * keyboard.c: (recent_keys, this_command_keys, 11045 * keyboard.c: (recent_keys, this_command_keys,
11046 menu_prompt_more_char, help_char, last_command_char, quit_char, 11046 menu_prompt_more_char, help_char, last_command_char, quit_char,
11047 last_input_char): Changed to Lisp_Objects, so we can use function 11047 last_input_char): Changed to Lisp_Objects, so we can use function
11048 keys for them. 11048 keys for them.
11054 non-characters in them. 11054 non-characters in them.
11055 (classify_object): Elided, since this should go away soon. 11055 (classify_object): Elided, since this should go away soon.
11056 (read_key_sequence): Adapted to look up symbols in keymaps, 11056 (read_key_sequence): Adapted to look up symbols in keymaps,
11057 just like characters. 11057 just like characters.
11058 11058
11059 1991-02-23 Richard Stallman (rms at mole.ai.mit.edu) 11059 1991-02-23 Richard Stallman (rms@mole.ai.mit.edu)
11060 11060
11061 * process.c (send_process): Handle EAGAIN like EWOULDBLOCK. 11061 * process.c (send_process): Handle EAGAIN like EWOULDBLOCK.
11062 11062
11063 1991-02-22 Jim Blandy (jimb at pogo.ai.mit.edu) 11063 1991-02-22 Jim Blandy (jimb@pogo.ai.mit.edu)
11064 11064
11065 * doc.c (substitute_command_keys): Call describe_map_tree with 11065 * doc.c (substitute_command_keys): Call describe_map_tree with
11066 only three arguments, since the CHARTAB arg has been disposed of. 11066 only three arguments, since the CHARTAB arg has been disposed of.
11067 11067
11068 * keymap.c (Fcurrent_global_map, Fuse_local_mouse_map): Functions 11068 * keymap.c (Fcurrent_global_map, Fuse_local_mouse_map): Functions
11110 (Fcopy_keymap): Notice that 129'th element in dense keymaps. 11110 (Fcopy_keymap): Notice that 129'th element in dense keymaps.
11111 (Fdefine_key, Flookup_key): Reworked to deal with vectors of 11111 (Fdefine_key, Flookup_key): Reworked to deal with vectors of
11112 symbols and characters as well as strings for key sequences. 11112 symbols and characters as well as strings for key sequences.
11113 (meta_prefix_char): Changed from an int to a Lisp_Object. 11113 (meta_prefix_char): Changed from an int to a Lisp_Object.
11114 11114
11115 1991-02-21 Richard Stallman (rms at mole.ai.mit.edu) 11115 1991-02-21 Richard Stallman (rms@mole.ai.mit.edu)
11116 11116
11117 * fileio.c (report_file_error): Don't downcase "I/O". 11117 * fileio.c (report_file_error): Don't downcase "I/O".
11118 11118
11119 1991-02-20 Jim Blandy (jimb at geech.ai.mit.edu) 11119 1991-02-20 Jim Blandy (jimb@geech.ai.mit.edu)
11120 11120
11121 * keymap.c (access_keymap): Allow IDX to be any sort of bindable 11121 * keymap.c (access_keymap): Allow IDX to be any sort of bindable
11122 event, and deal with the extended keymaps. IDX is now a 11122 event, and deal with the extended keymaps. IDX is now a
11123 Lisp_Object instead of an int, obviously. 11123 Lisp_Object instead of an int, obviously.
11124 (store_in_keymap): Allow IDX to be any sort of bindable event, and 11124 (store_in_keymap): Allow IDX to be any sort of bindable event, and
11134 (modify_event_symbol): Stupid fixes: correctly look up unmodified 11134 (modify_event_symbol): Stupid fixes: correctly look up unmodified
11135 symbols when cache entry has a modified symbol vector. And, when 11135 symbols when cache entry has a modified symbol vector. And, when
11136 first adding the modified symbol vector, copy the old slot value 11136 first adding the modified symbol vector, copy the old slot value
11137 into it correctly. 11137 into it correctly.
11138 11138
11139 1991-02-19 Jim Blandy (jimb at pogo.ai.mit.edu) 11139 1991-02-19 Jim Blandy (jimb@pogo.ai.mit.edu)
11140 11140
11141 * keyboard.c (command_loop_1): #if 0 the block of code which 11141 * keyboard.c (command_loop_1): #if 0 the block of code which
11142 handles mouse events and other lispy events specially, since I 11142 handles mouse events and other lispy events specially, since I
11143 hope it will go away soon. 11143 hope it will go away soon.
11144 11144
11192 since Fx_window_id is gone. 11192 since Fx_window_id is gone.
11193 11193
11194 * xterm.c (construct_mouse_event): Construct a struct input_event 11194 * xterm.c (construct_mouse_event): Construct a struct input_event
11195 instead of a lispy event. 11195 instead of a lispy event.
11196 11196
11197 * screen.c (coordinates_in_window): Added explanatory comment. 11197 * screen.c (coordinates_in_window): Added explanatory comment.
11198 (window_from_coordinates): Change PART, whose returned values are 11198 (window_from_coordinates): Change PART, whose returned values are
11199 dependent on X-windows, to be called MODELINE_P, with appropriate 11199 dependent on X-windows, to be called MODELINE_P, with appropriate
11200 new return values. 11200 new return values.
11201 * xterm.c (notice_mouse_movement): Handle the X-windows dependent 11201 * xterm.c (notice_mouse_movement): Handle the X-windows dependent
11202 stuff that used to be in window_from_coordinates here instead. 11202 stuff that used to be in window_from_coordinates here instead.
11203 (XTread_socket): Modified to produce struct input_events 11203 (XTread_socket): Modified to produce struct input_events
11204 instead of lispy events. 11204 instead of lispy events.
11205 11205
11206 1991-02-18 Jim Blandy (jimb at pogo.ai.mit.edu) 11206 1991-02-18 Jim Blandy (jimb@pogo.ai.mit.edu)
11207 11207
11208 * termhooks.h: Added up_modifier to the enum for modifier bits; 11208 * termhooks.h: Added up_modifier to the enum for modifier bits;
11209 this bit will be applied to mouse events. 11209 this bit will be applied to mouse events.
11210 (struct input_event): Changed specification of non_ascii_keystroke 11210 (struct input_event): Changed specification of non_ascii_keystroke
11211 events to send the function key number instead of a symbol. 11211 events to send the function key number instead of a symbol.
11222 * xterm.c, xfns.c: Made all references to x_mouse_queue, 11222 * xterm.c, xfns.c: Made all references to x_mouse_queue,
11223 x_expose_queue, and the functions which manipulate them 11223 x_expose_queue, and the functions which manipulate them
11224 conditional on having X10, since only X10 code ever places 11224 conditional on having X10, since only X10 code ever places
11225 anything in these queues. 11225 anything in these queues.
11226 11226
11227 1991-02-15 Jim Blandy (jimb at pogo.ai.mit.edu) 11227 1991-02-15 Jim Blandy (jimb@pogo.ai.mit.edu)
11228 11228
11229 * termhooks.h: Define struct input_event, to represent input 11229 * termhooks.h: Define struct input_event, to represent input
11230 events while they sit in the keyboard input buffer. Using lisp 11230 events while they sit in the keyboard input buffer. Using lisp
11231 objects to represent input events is a bad idea because the 11231 objects to represent input events is a bad idea because the
11232 routines which enqueue them can be called from signal handlers, 11232 routines which enqueue them can be called from signal handlers,
11265 11265
11266 * keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Made these 11266 * keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Made these
11267 variables static, to document the fact that they're only used 11267 variables static, to document the fact that they're only used
11268 within keyboard.c. 11268 within keyboard.c.
11269 11269
11270 1991-02-13 Jim Blandy (jimb at pogo.ai.mit.edu) 11270 1991-02-13 Jim Blandy (jimb@pogo.ai.mit.edu)
11271 11271
11272 * xterm.c (init_input_symbols): remove the `xk-' prefix from all 11272 * xterm.c (init_input_symbols): remove the `xk-' prefix from all
11273 the function key symbols, since they're going to be used for 11273 the function key symbols, since they're going to be used for
11274 function keys from all sorts of terminals, not just when running 11274 function keys from all sorts of terminals, not just when running
11275 under X. 11275 under X.
11276 11276
11277 * lread.c (read_escape): Removed support for mouse button escapes 11277 * lread.c (read_escape): Removed support for mouse button escapes
11278 (\S-, \U-, \C- applied to digits), because they're being replaced 11278 (\S-, \U-, \C- applied to digits), because they're being replaced
11279 by something more rational. 11279 by something more rational.
11280 11280
11281 1991-02-09 Richard Stallman (rms at mole.ai.mit.edu) 11281 1991-02-09 Richard Stallman (rms@mole.ai.mit.edu)
11282 11282
11283 * buffer.c: Doc fix. 11283 * buffer.c: Doc fix.
11284 11284
11285 * sysdep.c (dup2): Rewrite of non-F_DUPFD case. 11285 * sysdep.c (dup2): Rewrite of non-F_DUPFD case.
11286 11286
11287 1991-02-08 Richard Stallman (rms at mole.ai.mit.edu) 11287 1991-02-08 Richard Stallman (rms@mole.ai.mit.edu)
11288 11288
11289 * m-intel386.h (LOAD_AVE_CVT): Add extra parens. 11289 * m-intel386.h (LOAD_AVE_CVT): Add extra parens.
11290 * s-usg5-4.h (LIBX11_SYSTEM): #undef it. 11290 * s-usg5-4.h (LIBX11_SYSTEM): #undef it.
11291 11291
11292 1991-02-07 Richard Stallman (rms at mole.ai.mit.edu) 11292 1991-02-07 Richard Stallman (rms@mole.ai.mit.edu)
11293 11293
11294 * s-esix.h: New version from kayvan. 11294 * s-esix.h: New version from kayvan.
11295 Adds HAVE_X11 conditional, NEED_PTEM_H, USG_SYS_TIME, USE_UTIME, 11295 Adds HAVE_X11 conditional, NEED_PTEM_H, USG_SYS_TIME, USE_UTIME,
11296 LIBS_DEBUG; removes #undef sigsetmask, LIBS_SYSTEM, ESIX, 11296 LIBS_DEBUG; removes #undef sigsetmask, LIBS_SYSTEM, ESIX,
11297 MISSING_UTIMES. 11297 MISSING_UTIMES.
11298 11298
11299 1991-02-06 Richard Stallman (rms at mole.ai.mit.edu) 11299 1991-02-06 Richard Stallman (rms@mole.ai.mit.edu)
11300 11300
11301 * process.c (Faccept_process_output): Second arg gives timeout. 11301 * process.c (Faccept_process_output): Second arg gives timeout.
11302 11302
11303 1991-02-06 Jim Blandy (jimb at geech.ai.mit.edu) 11303 1991-02-06 Jim Blandy (jimb@geech.ai.mit.edu)
11304 11304
11305 * lread.c (read_escape): Added support for \S- and \U- escapes (for 11305 * lread.c (read_escape): Added support for \S- and \U- escapes (for
11306 binding mouse buttons), and noted that \C- must work on digits. 11306 binding mouse buttons), and noted that \C- must work on digits.
11307 11307
11308 * xterm.c (init_input_symbols): Was mistakenly renamed 11308 * xterm.c (init_input_symbols): Was mistakenly renamed
11318 a tab. 11318 a tab.
11319 11319
11320 * fns.c (Fy_or_n_p): Accept C-] (usually abort-recursive-edit) as 11320 * fns.c (Fy_or_n_p): Accept C-] (usually abort-recursive-edit) as
11321 well as C-g to quit. 11321 well as C-g to quit.
11322 11322
11323 1991-02-05 Jim Blandy (jimb at geech.ai.mit.edu) 11323 1991-02-05 Jim Blandy (jimb@geech.ai.mit.edu)
11324 11324
11325 * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h, 11325 * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h,
11326 s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h, 11326 s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h,
11327 s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h: 11327 s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h:
11328 Globally replaced INTERRUPTABLE with INTERRUPTIBLE. 11328 Globally replaced INTERRUPTABLE with INTERRUPTIBLE.
11351 11351
11352 * xterm.c (XTread_socket): While handling EnterNotify events, 11352 * xterm.c (XTread_socket): While handling EnterNotify events,
11353 clear Vmouse_event here. 11353 clear Vmouse_event here.
11354 (notice_mouse_movement): Don't clear it here. 11354 (notice_mouse_movement): Don't clear it here.
11355 11355
11356 1991-02-04 Richard Stallman (rms at mole.ai.mit.edu) 11356 1991-02-04 Richard Stallman (rms@mole.ai.mit.edu)
11357 11357
11358 * s-sunos4-0.h: Renamed from s-sunos4.h. 11358 * s-sunos4-0.h: Renamed from s-sunos4.h.
11359 (read, write, open, close): Macro defs moved to s-sunos4-1.h. 11359 (read, write, open, close): Macro defs moved to s-sunos4-1.h.
11360 (INTERRUPTABLE_*): Likewise. 11360 (INTERRUPTABLE_*): Likewise.
11361 * s-sunos4-1.h: New file. 11361 * s-sunos4-1.h: New file.
11362 11362
11363 1991-02-04 Jim Blandy (jimb at churchy.ai.mit.edu) 11363 1991-02-04 Jim Blandy (jimb@churchy.ai.mit.edu)
11364 11364
11365 * keymap.c (Vglobal_mouse_map, Vglobal_function_map): Variables 11365 * keymap.c (Vglobal_mouse_map, Vglobal_function_map): Variables
11366 removed in preparation for conversion to unified keymap format. 11366 removed in preparation for conversion to unified keymap format.
11367 (Fmake_keymap): Make vector keymaps with 129 entries; the last 11367 (Fmake_keymap): Make vector keymaps with 129 entries; the last
11368 will be an assoc-list for looking up symbols. Update docstring to 11368 will be an assoc-list for looking up symbols. Update docstring to
11397 11397
11398 * lread.c (Feval_buffer): function deleted. 11398 * lread.c (Feval_buffer): function deleted.
11399 (Feval_current_buffer): Removed "#if 0 ... #endif" around this 11399 (Feval_current_buffer): Removed "#if 0 ... #endif" around this
11400 function. 11400 function.
11401 11401
11402 1991-02-03 Richard Stallman (rms at mole.ai.mit.edu) 11402 1991-02-03 Richard Stallman (rms@mole.ai.mit.edu)
11403 11403
11404 * Makefile, ymakefile (SHELL): Force use of sh. 11404 * Makefile, ymakefile (SHELL): Force use of sh.
11405 11405
11406 * s-usg5-4.h (USG5_4): Define it. 11406 * s-usg5-4.h (USG5_4): Define it.
11407 (LOAD_AVE_*): Don't define them. 11407 (LOAD_AVE_*): Don't define them.
11408 * m-intel386.h (LOAD_AVE_*): Define, if USG5_4. 11408 * m-intel386.h (LOAD_AVE_*): Define, if USG5_4.
11409 11409
11410 * buffer.c (Fbuffer_local_variables): Omit slots with no names. 11410 * buffer.c (Fbuffer_local_variables): Omit slots with no names.
11411 11411
11412 1991-02-03 Jim Blandy (jimb at geech.ai.mit.edu) 11412 1991-02-03 Jim Blandy (jimb@geech.ai.mit.edu)
11413 11413
11414 * xterm.c (x_term_init, init_input_symbols): Moved these to the 11414 * xterm.c (x_term_init, init_input_symbols): Moved these to the
11415 bottom of the file, 1) to be consistent with the other files, and 11415 bottom of the file, 1) to be consistent with the other files, and
11416 2) so it can initialize some variables I want. 11416 2) so it can initialize some variables I want.
11417 11417
11418 1991-02-02 Jim Blandy (jimb at churchy.ai.mit.edu) 11418 1991-02-02 Jim Blandy (jimb@churchy.ai.mit.edu)
11419 11419
11420 * xterm.h: Added external declaration for x_focus_screen. 11420 * xterm.h: Added external declaration for x_focus_screen.
11421 11421
11422 * search.h: File deleted. 11422 * search.h: File deleted.
11423 * buffer.h: declare searchbuf here instead. 11423 * buffer.h: declare searchbuf here instead.
11457 supercede any existing message. 11457 supercede any existing message.
11458 11458
11459 * keyboard.c: Removed external declaration of echo_area_glyphs, 11459 * keyboard.c: Removed external declaration of echo_area_glyphs,
11460 since it's declared in window.h. 11460 since it's declared in window.h.
11461 11461
11462 1991-01-31 Jim Blandy (jimb at pogo.ai.mit.edu) 11462 1991-01-31 Jim Blandy (jimb@pogo.ai.mit.edu)
11463 11463
11464 * xterm.c (XRINGBELL): Pass 0 as the second argument to XBell; 11464 * xterm.c (XRINGBELL): Pass 0 as the second argument to XBell;
11465 respect the user's preferences. 11465 respect the user's preferences.
11466 11466
11467 1991-01-30 Jim Blandy (jimb at pogo.ai.mit.edu) 11467 1991-01-30 Jim Blandy (jimb@pogo.ai.mit.edu)
11468 11468
11469 * xterm.c (x_draw_single_glyph): New function, created to simplify 11469 * xterm.c (x_draw_single_glyph): New function, created to simplify
11470 cursor drawing/undrawing. 11470 cursor drawing/undrawing.
11471 (x_display_box_cursor): Rewritten to properly handle the box 11471 (x_display_box_cursor): Rewritten to properly handle the box
11472 cursor in its filled and hollow forms. 11472 cursor in its filled and hollow forms.
11488 * config.h, config.h-dist: Make these #include "system.h" and 11488 * config.h, config.h-dist: Make these #include "system.h" and
11489 "machine.h", and let the config script link these appropriately, 11489 "machine.h", and let the config script link these appropriately,
11490 instead of using the machine-specific names and expecting the user 11490 instead of using the machine-specific names and expecting the user
11491 to edit this file. 11491 to edit this file.
11492 11492
11493 1991-01-29 Jim Blandy (jimb at churchy.ai.mit.edu) 11493 1991-01-29 Jim Blandy (jimb@churchy.ai.mit.edu)
11494 11494
11495 * window.c (Fdelete_window): sib is a Lisp_Object; treat it as 11495 * window.c (Fdelete_window): sib is a Lisp_Object; treat it as
11496 such. 11496 such.
11497 11497
11498 * xterm.c (screen_unhighlight): When the focus leaves a screen, 11498 * xterm.c (screen_unhighlight): When the focus leaves a screen,
11499 draw the cursor as a box instead of making it disappear entirely. 11499 draw the cursor as a box instead of making it disappear entirely.
11500 11500
11501 1991-01-29 Richard Stallman (rms at mole.ai.mit.edu) 11501 1991-01-29 Richard Stallman (rms@mole.ai.mit.edu)
11502 11502
11503 * unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr. 11503 * unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr.
11504 11504
11505 * sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ. 11505 * sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ.
11506 11506
11508 a zero-length read on a network connection. Do close it. 11508 a zero-length read on a network connection. Do close it.
11509 11509
11510 * sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR. 11510 * sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR.
11511 Do nothing if not HFT. 11511 Do nothing if not HFT.
11512 11512
11513 1991-01-29 Jim Blandy (jimb at albert.ai.mit.edu) 11513 1991-01-29 Jim Blandy (jimb@albert.ai.mit.edu)
11514 11514
11515 * xfns.h: Created, to declare things defined in xfns.c. 11515 * xfns.h: Created, to declare things defined in xfns.c.
11516 Declare Vx_send_movement_events. 11516 Declare Vx_send_movement_events.
11517 * xfns.c: #include "xfns.h". 11517 * xfns.c: #include "xfns.h".
11518 (Vx_send_movement_events): Define this variable. 11518 (Vx_send_movement_events): Define this variable.
11519 (syms_of_xfns): DEFVAR_LISP it. 11519 (syms_of_xfns): DEFVAR_LISP it.
11520 * xterm.c: #include "xfns.h". 11520 * xterm.c: #include "xfns.h".
11521 (XTread_socket): Place a mouse-moved event in the buffer iff 11521 (XTread_socket): Place a mouse-moved event in the buffer iff
11522 Vx_send_movement_events says to. 11522 Vx_send_movement_events says to.
11523 11523
11524 1991-01-28 Jim Blandy (jimb at geech.ai.mit.edu) 11524 1991-01-28 Jim Blandy (jimb@geech.ai.mit.edu)
11525 11525
11526 * ymakefile: noted that callint.o depends on mocklisp.h, 11526 * ymakefile: noted that callint.o depends on mocklisp.h,
11527 and dired.o on search.h. 11527 and dired.o on search.h.
11528 11528
11529 * environ.h: Deleted - its creation in the first place was misguided. 11529 * environ.h: Deleted - its creation in the first place was misguided.
11533 * buffer.c (syms_of_buffer): Add more detailed documentation to 11533 * buffer.c (syms_of_buffer): Add more detailed documentation to
11534 buffer-undo-list. 11534 buffer-undo-list.
11535 11535
11536 * lisp.h (poll_suppress_count): Add external declaration for this here. 11536 * lisp.h (poll_suppress_count): Add external declaration for this here.
11537 11537
11538 1991-01-28 Richard Stallman (rms at mole.ai.mit.edu) 11538 1991-01-28 Richard Stallman (rms@mole.ai.mit.edu)
11539 11539
11540 * m-sun3-68881.h, m-sun3-fpa.h, m-sun3-soft.h: New files. 11540 * m-sun3-68881.h, m-sun3-fpa.h, m-sun3-soft.h: New files.
11541 11541
11542 1991-01-27 Jim Blandy (jimb at geech.ai.mit.edu) 11542 1991-01-27 Jim Blandy (jimb@geech.ai.mit.edu)
11543 11543
11544 * lisp.h (struct handler): add poll_suppress_count member, so 11544 * lisp.h (struct handler): add poll_suppress_count member, so
11545 we can restore poll_suppress_count when we handle an error. 11545 we can restore poll_suppress_count when we handle an error.
11546 * eval.c (struct catchtag): Add it here too, for throws. 11546 * eval.c (struct catchtag): Add it here too, for throws.
11547 (internal_catch, Fcondition_case, internal_condition_case): Record 11547 (internal_catch, Fcondition_case, internal_condition_case): Record
11548 the value of poll_suppress_count here in the handler and catch tag. 11548 the value of poll_suppress_count here in the handler and catch tag.
11549 (Fthrow, Fsignal): Restore it here. 11549 (Fthrow, Fsignal): Restore it here.
11550 11550
11551 1991-01-25 Jim Blandy (jimb at churchy.ai.mit.edu) 11551 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
11552 11552
11553 * xterm.c (x_display_box_cursor): If we're undrawing the cursor by 11553 * xterm.c (x_display_box_cursor): If we're undrawing the cursor by
11554 redrawing the character underneath it, draw according to that 11554 redrawing the character underneath it, draw according to that
11555 line's highlight, instead of assuming it's in the normal GC. 11555 line's highlight, instead of assuming it's in the normal GC.
11556 11556
11557 1991-01-25 Richard Stallmao (rms at mole.ai.mit.edu) 11557 1991-01-25 Richard Stallmao (rms@mole.ai.mit.edu)
11558 11558
11559 * buffer.h (PTR_CHAR_POS): Value was too small by 1. 11559 * buffer.h (PTR_CHAR_POS): Value was too small by 1.
11560 11560
11561 1991-01-16 Richard Stallman (rms at mole.ai.mit.edu) 11561 1991-01-16 Richard Stallman (rms@mole.ai.mit.edu)
11562 11562
11563 * doprnt.c (doprnt): Check for overflow in fmtcpy. 11563 * doprnt.c (doprnt): Check for overflow in fmtcpy.
11564 11564
11565 1991-01-16 Jim Blandy (jimb at churchy.ai.mit.edu) 11565 1991-01-16 Jim Blandy (jimb@churchy.ai.mit.edu)
11566 11566
11567 * window.c (Fdelete_window): If the deletee gives its space to its 11567 * window.c (Fdelete_window): If the deletee gives its space to its
11568 next sibling, that sibling needs to have its top/left side pulled 11568 next sibling, that sibling needs to have its top/left side pulled
11569 back to where the deletee's is. 11569 back to where the deletee's is.
11570 11570
11571 1991-01-15 Jim Blandy (jimb at geech.ai.mit.edu) 11571 1991-01-15 Jim Blandy (jimb@geech.ai.mit.edu)
11572 11572
11573 * doc.c (Fsnarf_documentation): handle attaching docstrings to 11573 * doc.c (Fsnarf_documentation): handle attaching docstrings to
11574 bytecode objects too. 11574 bytecode objects too.
11575 11575
11576 * syntax.h (syntax_spec_code): make external declaration for this 11576 * syntax.h (syntax_spec_code): make external declaration for this
11577 unsigned char to match the definition in syntax.c. 11577 unsigned char to match the definition in syntax.c.
11578 11578
11579 * indent.c (compute_motion): added comments describing how it 11579 * indent.c (compute_motion): added comments describing how it
11580 can be used. 11580 can be used.
11581 11581
11582 1991-01-15 Richard Stallman (rms at mole.ai.mit.edu) 11582 1991-01-15 Richard Stallman (rms@mole.ai.mit.edu)
11583 11583
11584 * process.c (create_process): Use SETUP_SLAVE_PTY if defined. 11584 * process.c (create_process): Use SETUP_SLAVE_PTY if defined.
11585 11585
11586 * s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined. 11586 * s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined.
11587 (HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros. 11587 (HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros.
11594 (PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP. 11594 (PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP.
11595 (LINKER): Override it. Then add -bnodelcsect. 11595 (LINKER): Override it. Then add -bnodelcsect.
11596 11596
11597 * xfns.c (Fx_get_default): Try reversing XGetDefault args if it fails. 11597 * xfns.c (Fx_get_default): Try reversing XGetDefault args if it fails.
11598 11598
11599 1991-01-13 Richard Stallman (rms at mole.ai.mit.edu) 11599 1991-01-13 Richard Stallman (rms@mole.ai.mit.edu)
11600 11600
11601 * s-usg5-4.h (LOAD_AVE_CVT): Cast value to int. 11601 * s-usg5-4.h (LOAD_AVE_CVT): Cast value to int.
11602 11602
11603 * keyboard.c (read_avail_input): Signal SIGHUP if FIONREAD fails. 11603 * keyboard.c (read_avail_input): Signal SIGHUP if FIONREAD fails.
11604 11604
11616 * s-usg5-3.h (USG5_3): Define it. 11616 * s-usg5-3.h (USG5_3): Define it.
11617 * m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0. 11617 * m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0.
11618 Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS. 11618 Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS.
11619 Override various other symbols at end of file. 11619 Override various other symbols at end of file.
11620 11620
11621 1991-01-12 Jim Blandy (jimb at churchy.ai.mit.edu) 11621 1991-01-12 Jim Blandy (jimb@churchy.ai.mit.edu)
11622 11622
11623 * window.c (window-configuration-p): Closing paren needed. Added. 11623 * window.c (window-configuration-p): Closing paren needed. Added.
11624 11624
11625 * keyboard.c (command_loop_1): When displaying a message over an 11625 * keyboard.c (command_loop_1): When displaying a message over an
11626 active minibuffer, call Fsit_for with three arguments, not two. 11626 active minibuffer, call Fsit_for with three arguments, not two.
11627 11627
11628 1991-01-12 Richard Stallman (rms at mole.ai.mit.edu) 11628 1991-01-12 Richard Stallman (rms@mole.ai.mit.edu)
11629 11629
11630 * s-irix3-3.h (HAVE_SYSVIPC): Defined. 11630 * s-irix3-3.h (HAVE_SYSVIPC): Defined.
11631 11631
11632 1991-01-12 Jim Blandy (jimb at pogo.ai.mit.edu) 11632 1991-01-12 Jim Blandy (jimb@pogo.ai.mit.edu)
11633 11633
11634 * dispnew.c (buffer_posn_from_coords): compute_motion starting 11634 * dispnew.c (buffer_posn_from_coords): compute_motion starting
11635 from bufp[y] instead of counting from the top of the window. 11635 from bufp[y] instead of counting from the top of the window.
11636 11636
11637 1991-01-11 Richard Mlynarik (mly at pizza.ai.mit.edu) 11637 1991-01-11 Richard Mlynarik (mly@pizza.ai.mit.edu)
11638 11638
11639 * window.c (window-configuration-p): Needed. Added. 11639 * window.c (window-configuration-p): Needed. Added.
11640 11640
11641 1991-01-11 Jim Blandy (jimb at churchy.ai.mit.edu) 11641 1991-01-11 Jim Blandy (jimb@churchy.ai.mit.edu)
11642 11642
11643 * dispnew.c (buffer_posn_from_coords): Remember to deduce space 11643 * dispnew.c (buffer_posn_from_coords): Remember to deduce space
11644 for the line continuation markers and the window separators from 11644 for the line continuation markers and the window separators from
11645 the window width. 11645 the window width.
11646 11646
11647 1991-01-11 Richard Stallman (rms at mole.ai.mit.edu) 11647 1991-01-11 Richard Stallman (rms@mole.ai.mit.edu)
11648 11648
11649 * m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer. 11649 * m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer.
11650 11650
11651 1991-01-10 Richard Stallman (rms at mole.ai.mit.edu) 11651 1991-01-10 Richard Stallman (rms@mole.ai.mit.edu)
11652 11652
11653 * fileio.c (Fcopy_file): Always close descriptors. 11653 * fileio.c (Fcopy_file): Always close descriptors.
11654 11654
11655 * s-sunos4.h: read, write, open and close are interruptable. 11655 * s-sunos4.h: read, write, open and close are interruptable.
11656 11656
11657 1991-01-09 Jim Blandy (jimb at churchy.ai.mit.edu) 11657 1991-01-09 Jim Blandy (jimb@churchy.ai.mit.edu)
11658 11658
11659 * xterm.c, dispnew.c (pixel_to_char_translation): Renamed to 11659 * xterm.c, dispnew.c (pixel_to_char_translation): Renamed to
11660 pixel_to_glyph_translation, and rewritten. Just get coordinates, 11660 pixel_to_glyph_translation, and rewritten. Just get coordinates,
11661 don't return anything. 11661 don't return anything.
11662 (buffer_posn_from_coords): New function - given a window and 11662 (buffer_posn_from_coords): New function - given a window and
11663 co-ordinates on the screen, find the buffer position at those 11663 co-ordinates on the screen, find the buffer position at those
11664 co-ordinates. 11664 co-ordinates.
11665 11665
11666 1991-01-08 Jim Blandy (jimb at geech.ai.mit.edu) 11666 1991-01-08 Jim Blandy (jimb@geech.ai.mit.edu)
11667 11667
11668 * alloc.c (Fmake_byte_code): Flesh out docstring. 11668 * alloc.c (Fmake_byte_code): Flesh out docstring.
11669 11669
11670 * window.c (window_loop): pick the first window correctly, even 11670 * window.c (window_loop): pick the first window correctly, even
11671 when screen == 0. 11671 when screen == 0.
11681 xterm.h. 11681 xterm.h.
11682 11682
11683 * xterm.c (x_new_font): If you can't find the requested font, 11683 * xterm.c (x_new_font): If you can't find the requested font,
11684 return a code which indicates this, instead of calling abort. 11684 return a code which indicates this, instead of calling abort.
11685 11685
11686 1991-01-07 Jim Blandy (jimb at churchy.ai.mit.edu) 11686 1991-01-07 Jim Blandy (jimb@churchy.ai.mit.edu)
11687 11687
11688 * xdisp.c (redisplay, display_mode_line): To test 11688 * xdisp.c (redisplay, display_mode_line): To test
11689 Vglobal_minibuffer_screen for validity, you must check that its 11689 Vglobal_minibuffer_screen for validity, you must check that its
11690 type is Lisp_Screen; comparing it to Qnil isn't good enough. 11690 type is Lisp_Screen; comparing it to Qnil isn't good enough.
11691 11691
11706 parameter; pass selected_screen, instead of nothing. 11706 parameter; pass selected_screen, instead of nothing.
11707 11707
11708 * search.c (Freplace_match): Protect STRING. 11708 * search.c (Freplace_match): Protect STRING.
11709 * process.c (run_filter): New function. 11709 * process.c (run_filter): New function.
11710 (read_process_output, exec_sentinel): Use run_filter to call the 11710 (read_process_output, exec_sentinel): Use run_filter to call the
11711 process's filter function. 11711 process's filter function.
11712 (status_notify): GCPro MSG. 11712 (status_notify): GCPro MSG.
11713 * process.c (Fopen_network_stream): Protect various args. 11713 * process.c (Fopen_network_stream): Protect various args.
11714 * print.c (Fprin1_to_string, Fprint): Protect OBJ. 11714 * print.c (Fprin1_to_string, Fprint): Protect OBJ.
11715 * lread.c (Feval_region): Check type of B. 11715 * lread.c (Feval_region): Check type of B.
11716 * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2. 11716 * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2.
11717 (describe_vector): Likewise for ELT_PREFIX and TEM1. 11717 (describe_vector): Likewise for ELT_PREFIX and TEM1.
11718 11718
11719 1991-01-06 Richard Stallman (rms at mole.ai.mit.edu) 11719 1991-01-06 Richard Stallman (rms@mole.ai.mit.edu)
11720 11720
11721 * sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist. 11721 * sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist.
11722 Only on a MIPS. 11722 Only on a MIPS.
11723 11723
11724 1991-01-05 Jim Blandy (jimb at spiff.ai.mit.edu) 11724 1991-01-05 Jim Blandy (jimb@spiff.ai.mit.edu)
11725 11725
11726 * xselect.c (x_answer_selection_request): For incremental, set 11726 * xselect.c (x_answer_selection_request): For incremental, set
11727 format to 32 and send only 1 element. Pass the address of size, 11727 format to 32 and send only 1 element. Pass the address of size,
11728 not size itself. 11728 not size itself.
11729 (x_selection_arrival): For incremental, delete the property 11729 (x_selection_arrival): For incremental, delete the property
11747 * window.c (Fselect_window): Here too. 11747 * window.c (Fselect_window): Here too.
11748 11748
11749 * xdisp.c (redisplay_all_windows): removed static declaration for 11749 * xdisp.c (redisplay_all_windows): removed static declaration for
11750 this nonexistent function. 11750 this nonexistent function.
11751 11751
11752 1991-01-04 Jim Blandy (jimb at pogo.ai.mit.edu) 11752 1991-01-04 Jim Blandy (jimb@pogo.ai.mit.edu)
11753 11753
11754 * window.c (window_loop): neatened up. MINI being non-zero now 11754 * window.c (window_loop): neatened up. MINI being non-zero now
11755 makes it recognize active minibuffer windows. Iterates properly 11755 makes it recognize active minibuffer windows. Iterates properly
11756 over multiple screens when asked nicely. 11756 over multiple screens when asked nicely.
11757 (Fget_lru_window, Fget_largest_window): SCREENS arguments are now 11757 (Fget_lru_window, Fget_largest_window): SCREENS arguments are now
11773 11773
11774 * data.c (Qkeyp, Fkeyp): Removed these and supporting code. 11774 * data.c (Qkeyp, Fkeyp): Removed these and supporting code.
11775 * keymap.c (Fsingle_key_description): Report an error instead of 11775 * keymap.c (Fsingle_key_description): Report an error instead of
11776 calling wrong_type_argument. 11776 calling wrong_type_argument.
11777 * lisp.h (Qkeyp): Removed external declaration for this. 11777 * lisp.h (Qkeyp): Removed external declaration for this.
11778 11778
11779 1991-01-03 Richard Stallman (rms at mole.ai.mit.edu) 11779 1991-01-03 Richard Stallman (rms@mole.ai.mit.edu)
11780 11780
11781 * search.c (search_buffer): Return starting position if count == 0. 11781 * search.c (search_buffer): Return starting position if count == 0.
11782 11782
11783 1991-01-02 Jim Blandy (jimb at pogo.ai.mit.edu) 11783 1991-01-02 Jim Blandy (jimb@pogo.ai.mit.edu)
11784 11784
11785 * scroll.c (do_scrolling): Use correct limits on loop to clear 11785 * scroll.c (do_scrolling): Use correct limits on loop to clear
11786 lines just inserted--old version lost a line. 11786 lines just inserted--old version lost a line.
11787 11787
11788 * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h 11788 * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h
11829 (classify_object): Place the object in read_key_sequence_cmd. 11829 (classify_object): Place the object in read_key_sequence_cmd.
11830 11830
11831 (Fread_key_sequence): recognize that when read_key_sequence 11831 (Fread_key_sequence): recognize that when read_key_sequence
11832 returns -1 or -2, it's a mouse event or window system event. 11832 returns -1 or -2, it's a mouse event or window system event.
11833 11833
11834 1991-01-01 Jim Blandy (jimb at pogo.ai.mit.edu) 11834 1991-01-01 Jim Blandy (jimb@pogo.ai.mit.edu)
11835 11835
11836 * fileio.c (Fwrite_region): We should dereference GPT_ADDR[-1] 11836 * fileio.c (Fwrite_region): We should dereference GPT_ADDR[-1]
11837 before comparing it to '\n' for VMS cruft. 11837 before comparing it to '\n' for VMS cruft.
11838 (Fdo_auto_save): Don't call run-hooks before it's defined. This 11838 (Fdo_auto_save): Don't call run-hooks before it's defined. This
11839 only happens before emacs is dumped, when loading inc-vers.el. 11839 only happens before emacs is dumped, when loading inc-vers.el.
11842 (error): Not here. 11842 (error): Not here.
11843 11843
11844 (Feval): We use argvals[0..5], so declare it to have six elements 11844 (Feval): We use argvals[0..5], so declare it to have six elements
11845 instead of just five. 11845 instead of just five.
11846 11846
11847 1990-12-30 Richard Stallman (rms at mole.ai.mit.edu) 11847 1990-12-30 Richard Stallman (rms@mole.ai.mit.edu)
11848 11848
11849 * eval.c (Fsignal): Don't ever return. 11849 * eval.c (Fsignal): Don't ever return.
11850 Call error instead if user tries to use debugger to return. 11850 Call error instead if user tries to use debugger to return.
11851 11851
11852 * eval.c (unbind_to): New second arg is value to return. gcpro it. 11852 * eval.c (unbind_to): New second arg is value to return. gcpro it.
11853 All callers changed to pass the arg; if a caller uses unbind_to 11853 All callers changed to pass the arg; if a caller uses unbind_to
11854 just before returning, it passes as this arg the value it wants 11854 just before returning, it passes as this arg the value it wants
11855 to return, then it returns whatever comes back. 11855 to return, then it returns whatever comes back.
11856 11856
11857 1990-12-28 Jim Blandy (jimb at geech.ai.mit.edu) 11857 1990-12-28 Jim Blandy (jimb@geech.ai.mit.edu)
11858 11858
11859 * print.c (print): put obj in a non-register variable so 11859 * print.c (print): put obj in a non-register variable so
11860 we could gcpro it. Also fixed some syntax errors. 11860 we could gcpro it. Also fixed some syntax errors.
11861 11861
11862 * editfns.c (Fformat): declare nstrings, and declare nstrings and 11862 * editfns.c (Fformat): declare nstrings, and declare nstrings and
11863 strings in a local block. 11863 strings in a local block.
11864 (Fformat): XFLOAT(args[n]) isn't a float; ->data is. 11864 (Fformat): XFLOAT(args[n]) isn't a float; ->data is.
11865 11865
11866 1990-12-27 Richard Stallman (rms at mole.ai.mit.edu) 11866 1990-12-27 Richard Stallman (rms@mole.ai.mit.edu)
11867 11867
11868 * m-tower32.h: Add comments for how to optimize. 11868 * m-tower32.h: Add comments for how to optimize.
11869 * m-tower32v3.h: New file. 11869 * m-tower32v3.h: New file.
11870 11870
11871 * fileio.c (Fwrite_region): Save errno around unlock_file. 11871 * fileio.c (Fwrite_region): Save errno around unlock_file.
11872 11872
11873 1990-12-26 Richard Stallman (rms at mole.ai.mit.edu) 11873 1990-12-26 Richard Stallman (rms@mole.ai.mit.edu)
11874 11874
11875 * editfns.c (Fformat): Handle floats. Convert between int and float. 11875 * editfns.c (Fformat): Handle floats. Convert between int and float.
11876 Don't truncate value at null char coming from doprnt. 11876 Don't truncate value at null char coming from doprnt.
11877 * doprnt.c (doprnt): Replace tembuf with malloced buff if too small. 11877 * doprnt.c (doprnt): Replace tembuf with malloced buff if too small.
11878 Handle %e, %f and %g. 11878 Handle %e, %f and %g.
11879 11879
11880 1990-12-25 Richard Stallman (rms at mole.ai.mit.edu) 11880 1990-12-25 Richard Stallman (rms@mole.ai.mit.edu)
11881 11881
11882 * abbrev.c (Fexpand_abbrev): Use insert_from_string, not insert. 11882 * abbrev.c (Fexpand_abbrev): Use insert_from_string, not insert.
11883 (Funexpand_abbrev): Likewise. 11883 (Funexpand_abbrev): Likewise.
11884 * doc.c (Fsubstitute_command_keys): Likewise. 11884 * doc.c (Fsubstitute_command_keys): Likewise.
11885 * editfns.c (Finsert, Finsert_before_markers): Likewise. 11885 * editfns.c (Finsert, Finsert_before_markers): Likewise.
11890 * print.c: Don't use strout for the text of a Lisp string. 11890 * print.c: Don't use strout for the text of a Lisp string.
11891 (print_string): New function to use instead. 11891 (print_string): New function to use instead.
11892 (print): Use print_string when no escapes needed. 11892 (print): Use print_string when no escapes needed.
11893 When printing with escapes, protect the string and check addr often. 11893 When printing with escapes, protect the string and check addr often.
11894 11894
11895 1990-12-24 Richard Stallman (rms at mole.ai.mit.edu) 11895 1990-12-24 Richard Stallman (rms@mole.ai.mit.edu)
11896 11896
11897 * insdel.c (insert_from_string): New function. 11897 * insdel.c (insert_from_string): New function.
11898 11898
11899 1990-12-20 Richard Stallman (rms at mole.ai.mit.edu) 11899 1990-12-20 Richard Stallman (rms@mole.ai.mit.edu)
11900 11900
11901 * term.c (ins_del_lines): Handle scroll region wrt chars_wasted. 11901 * term.c (ins_del_lines): Handle scroll region wrt chars_wasted.
11902 11902
11903 1990-12-16 Jim Blandy (jimb at pogo.ai.mit.edu) 11903 1990-12-16 Jim Blandy (jimb@pogo.ai.mit.edu)
11904 11904
11905 * Globally renamed InsStr to insert_string. 11905 * Globally renamed InsStr to insert_string.
11906 11906
11907 1990-12-15 Richard Stallman (rms at mole.ai.mit.edu) 11907 1990-12-15 Richard Stallman (rms@mole.ai.mit.edu)
11908 11908
11909 * s-usg5-3.h (USG_SHARED_LIBRARIES): Define it. 11909 * s-usg5-3.h (USG_SHARED_LIBRARIES): Define it.
11910 11910
11911 * m-intel386.h (C_SWITCH_MACHINE): New macro. 11911 * m-intel386.h (C_SWITCH_MACHINE): New macro.
11912 11912
11913 1990-12-15 Jim Blandy (jimb at pogo.ai.mit.edu) 11913 1990-12-15 Jim Blandy (jimb@pogo.ai.mit.edu)
11914 11914
11915 * alloc.c (STRING_FULLSIZE): Use sizeof(struct Lisp_String) 11915 * alloc.c (STRING_FULLSIZE): Use sizeof(struct Lisp_String)
11916 instead of sizeof(int). 11916 instead of sizeof(int).
11917 11917
11918 1990-12-14 Jim Blandy (jimb at pogo.ai.mit.edu) 11918 1990-12-14 Jim Blandy (jimb@pogo.ai.mit.edu)
11919 11919
11920 * keyboard.c (Fread_key_sequence): Clear this_command_key_count 11920 * keyboard.c (Fread_key_sequence): Clear this_command_key_count
11921 here; who unfixed this? 11921 here; who unfixed this?
11922 11922
11923 1990-12-12 Richard Stallman (rms at mole.ai.mit.edu) 11923 1990-12-12 Richard Stallman (rms@mole.ai.mit.edu)
11924 11924
11925 * abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil. 11925 * abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil.
11926 11926
11927 1990-12-11 Richard Stallman (rms at mole.ai.mit.edu) 11927 1990-12-11 Richard Stallman (rms@mole.ai.mit.edu)
11928 11928
11929 * eval.c (Fmacroexpand): Change handling of (foo . bar) in ENV. 11929 * eval.c (Fmacroexpand): Change handling of (foo . bar) in ENV.
11930 11930
11931 1990-12-10 Richard Stallman (rms at mole.ai.mit.edu) 11931 1990-12-10 Richard Stallman (rms@mole.ai.mit.edu)
11932 11932
11933 * m-pmax.h (SYSTEM_MALLOC): Define it. 11933 * m-pmax.h (SYSTEM_MALLOC): Define it.
11934 11934
11935 * process.c (wait_reading_process_input): Ignore failure with EIO. 11935 * process.c (wait_reading_process_input): Ignore failure with EIO.
11936 11936
11937 1990-12-09 Richard Stallman (rms at mole.ai.mit.edu) 11937 1990-12-09 Richard Stallman (rms@mole.ai.mit.edu)
11938 11938
11939 * m-iris4d.h (LOAD_AVE_CVT): Divide by 1024. 11939 * m-iris4d.h (LOAD_AVE_CVT): Divide by 1024.
11940 (LIB_STANDARD): Use -lbsd first. 11940 (LIB_STANDARD): Use -lbsd first.
11941 (LIBS_MACHINE): Don't use -lbsd here. 11941 (LIBS_MACHINE): Don't use -lbsd here.
11942 * s-irix3-3.h (ADDR_CORRECT): Macro deleted. 11942 * s-irix3-3.h (ADDR_CORRECT): Macro deleted.
11947 11947
11948 * m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted. 11948 * m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted.
11949 (C_SWITCH_MACHINE): Use -D to define alloca. 11949 (C_SWITCH_MACHINE): Use -D to define alloca.
11950 (SIGN_EXTEND_CHAR): Use a cast. 11950 (SIGN_EXTEND_CHAR): Use a cast.
11951 11951
11952 1990-12-05 Jim Blandy (jimb at pogo.ai.mit.edu) 11952 1990-12-05 Jim Blandy (jimb@pogo.ai.mit.edu)
11953 11953
11954 * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING. 11954 * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING.
11955 (cmd_error): Protect TAIL while printing. 11955 (cmd_error): Protect TAIL while printing.
11956 (input_poll_signal, start_polling): Use polling_period. 11956 (input_poll_signal, start_polling): Use polling_period.
11957 (syms_of_keyboard): Initialize it and make it a Lisp var. 11957 (syms_of_keyboard): Initialize it and make it a Lisp var.
11961 * fileio.c (Frename_file): Protect args. 11961 * fileio.c (Frename_file): Protect args.
11962 * fileio.c (Fadd_name_to_file): Protect the args. 11962 * fileio.c (Fadd_name_to_file): Protect the args.
11963 (Fcopy_file, Fmake_symbolic_link): Likewise. 11963 (Fcopy_file, Fmake_symbolic_link): Likewise.
11964 (Finsert_file_contents): Protect FILENAME. 11964 (Finsert_file_contents): Protect FILENAME.
11965 11965
11966 1990-12-04 Jim Blandy (jimb at geech.ai.mit.edu) 11966 1990-12-04 Jim Blandy (jimb@geech.ai.mit.edu)
11967 11967
11968 * eval.c (Fbacktrace): gcpro TAIL. 11968 * eval.c (Fbacktrace): gcpro TAIL.
11969 * emacs.c (Fkill_emacs): gcpro ARG. 11969 * emacs.c (Fkill_emacs): gcpro ARG.
11970 * editfns.c (Fformat): remove remains of gcpro'd args. 11970 * editfns.c (Fformat): remove remains of gcpro'd args.
11971 11971
11983 11983
11984 * process.c (sigchld_handler): Clear synch_process_alive if the 11984 * process.c (sigchld_handler): Clear synch_process_alive if the
11985 dying process isn't in the table at all. 11985 dying process isn't in the table at all.
11986 * callproc.c (call_process_cleanup): Clear synch_process_alive. 11986 * callproc.c (call_process_cleanup): Clear synch_process_alive.
11987 11987
11988 1990-12-03 Jim Blandy (jimb at geech.ai.mit.edu) 11988 1990-12-03 Jim Blandy (jimb@geech.ai.mit.edu)
11989 11989
11990 * callproc.c (Fcall_process): change synch_process_pid to 11990 * callproc.c (Fcall_process): change synch_process_pid to
11991 synch_process_alive, as a general flag that we are waiting for 11991 synch_process_alive, as a general flag that we are waiting for
11992 a synchronous process to die. This obviates the need to block 11992 a synchronous process to die. This obviates the need to block
11993 SIGCHLDs until we know the pid. 11993 SIGCHLDs until we know the pid.
12001 Don't change sigchld handler on system V. 12001 Don't change sigchld handler on system V.
12002 12002
12003 * process.c (Fstart_process): Set BUFFER before other string vars 12003 * process.c (Fstart_process): Set BUFFER before other string vars
12004 so a gc in Fget_buffer_create won't clobber them. 12004 so a gc in Fget_buffer_create won't clobber them.
12005 12005
12006 1990-11-30 Richard Stallman (rms at mole.ai.mit.edu) 12006 1990-11-30 Richard Stallman (rms@mole.ai.mit.edu)
12007 12007
12008 * keyboard.c (read_command_char): Save and restore getcjmp. 12008 * keyboard.c (read_command_char): Save and restore getcjmp.
12009 12009
12010 1990-11-29 Richard Stallman (rms at mole.ai.mit.edu) 12010 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
12011 12011
12012 * process.c (status_convert): Use WRETCODE for exited process. 12012 * process.c (status_convert): Use WRETCODE for exited process.
12013 12013
12014 1990-11-26 Richard Stallman (rms at mole.ai.mit.edu) 12014 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
12015 12015
12016 * s-usg5-4.h (LIB_STANDARD): Add libucb.a. 12016 * s-usg5-4.h (LIB_STANDARD): Add libucb.a.
12017 (NEED_PTEM_H): Define this instead of NEED_SIOCTL. 12017 (NEED_PTEM_H): Define this instead of NEED_SIOCTL.
12018 * m-ibm370aix.h, m-ibmps2-aix.h, m-ibmrs6000.h (NEED_SIOCTL): 12018 * m-ibm370aix.h, m-ibmps2-aix.h, m-ibmrs6000.h (NEED_SIOCTL):
12019 Undefine this. 12019 Undefine this.
12021 12021
12022 * s-sunos4.h (O_NDELAY): Don't define this. 12022 * s-sunos4.h (O_NDELAY): Don't define this.
12023 12023
12024 * print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice. 12024 * print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice.
12025 12025
12026 1990-11-22 Richard Stallman (rms at mole.ai.mit.edu) 12026 1990-11-22 Richard Stallman (rms@mole.ai.mit.edu)
12027 12027
12028 * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Alternate defs for BSD. 12028 * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Alternate defs for BSD.
12029 12029
12030 1990-11-21 Jim Blandy (jimb at churchy.ai.mit.edu) 12030 1990-11-21 Jim Blandy (jimb@churchy.ai.mit.edu)
12031 12031
12032 * dispnew.c (init_display): Check if we're using a window system 12032 * dispnew.c (init_display): Check if we're using a window system
12033 before trying to initialize the terminal. If someone has 12033 before trying to initialize the terminal. If someone has
12034 indicated that they want to use a window system, we shouldn't 12034 indicated that they want to use a window system, we shouldn't
12035 bother initializing the terminal. This is especially important 12035 bother initializing the terminal. This is especially important
12036 when the terminal is so dumb that emacs gives up and doesn't bother 12036 when the terminal is so dumb that emacs gives up and doesn't bother
12037 using the window system. 12037 using the window system.
12038 12038
12039 1990-11-20 Jim Blandy (jimb at churchy.ai.mit.edu) 12039 1990-11-20 Jim Blandy (jimb@churchy.ai.mit.edu)
12040 12040
12041 * print.c (Fexternal_debugging_output): added new function which 12041 * print.c (Fexternal_debugging_output): added new function which
12042 writes a character to stderr, for use when debugging emacs with 12042 writes a character to stderr, for use when debugging emacs with
12043 gdb. 12043 gdb.
12044 12044
12045 1990-11-14 Jim Blandy (jimb at churchy.ai.mit.edu) 12045 1990-11-14 Jim Blandy (jimb@churchy.ai.mit.edu)
12046 12046
12047 * dispnew.c (window_change_signal): used to assume that SIGWINCHes 12047 * dispnew.c (window_change_signal): used to assume that SIGWINCHes
12048 always applied to the currently selected screen. Now it scans the 12048 always applied to the currently selected screen. Now it scans the
12049 list of screens for a screen controlled by termcap, and changes that 12049 list of screens for a screen controlled by termcap, and changes that
12050 screen's size. 12050 screen's size.
12051 12051
12052 1990-11-13 Richard Stallman (rms at mole.ai.mit.edu) 12052 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
12053 12053
12054 * fileio.c (err_str): New macro. 12054 * fileio.c (err_str): New macro.
12055 (Finsert_file_contents, Fwrite_region): Use it in error messages. 12055 (Finsert_file_contents, Fwrite_region): Use it in error messages.
12056 12056
12057 1990-11-12 Richard Stallman (rms at mole.ai.mit.edu) 12057 1990-11-12 Richard Stallman (rms@mole.ai.mit.edu)
12058 12058
12059 * insdel.c (del_range): Supply missing arg to gap_left. 12059 * insdel.c (del_range): Supply missing arg to gap_left.
12060 12060
12061 1990-11-11 Jim Blandy (jimb at churchy.ai.mit.edu) 12061 1990-11-11 Jim Blandy (jimb@churchy.ai.mit.edu)
12062 12062
12063 * regex.c: Disabled definition of NULL from lisp.h 12063 * regex.c: Disabled definition of NULL from lisp.h
12064 12064
12065 * crt0.c (_start): added static declaration of start1. 12065 * crt0.c (_start): added static declaration of start1.
12066 12066
12075 12075
12076 * alloc.c (xmalloc, xrealloc): removed calls to 12076 * alloc.c (xmalloc, xrealloc): removed calls to
12077 {un,}hold_window_change. The new SIGWINCH-handling code and 12077 {un,}hold_window_change. The new SIGWINCH-handling code and
12078 do_pending_window_change make them unnecessary. 12078 do_pending_window_change make them unnecessary.
12079 12079
12080 1990-11-11 Richard Stallman (rms at mole.ai.mit.edu) 12080 1990-11-11 Richard Stallman (rms@mole.ai.mit.edu)
12081 12081
12082 * process.c (wait_reading_process_input): Make Available static; 12082 * process.c (wait_reading_process_input): Make Available static;
12083 don't clear when a nonzero bit is found. 12083 don't clear when a nonzero bit is found.
12084 12084
12085 * fns.c (Fnthcdr): Stop loop if reach end. 12085 * fns.c (Fnthcdr): Stop loop if reach end.
12086 12086
12087 * dispnew.c: Include fcntl.h if HAVE_TERMIO. 12087 * dispnew.c: Include fcntl.h if HAVE_TERMIO.
12088 12088
12089 1990-11-10 Jim Blandy (jimb at pogo.ai.mit.edu) 12089 1990-11-10 Jim Blandy (jimb@pogo.ai.mit.edu)
12090 12090
12091 * alloc.c (make_uninit_string): No longer declared static, and 12091 * alloc.c (make_uninit_string): No longer declared static, and
12092 extern declaration added to lisp.h. It's used in dired.c. 12092 extern declaration added to lisp.h. It's used in dired.c.
12093 12093
12094 1990-11-08 Jim Blandy (jimb at geech.ai.mit.edu) 12094 1990-11-08 Jim Blandy (jimb@geech.ai.mit.edu)
12095 12095
12096 * dispnew.c (do_pending_window_change): Changed incorrect call to 12096 * dispnew.c (do_pending_window_change): Changed incorrect call to
12097 change_window_size_1 into a loop which scans list of screens and 12097 change_window_size_1 into a loop which scans list of screens and
12098 resizes those that need resizing. 12098 resizes those that need resizing.
12099 12099
12100 1990-11-06 Richard Stallman (rms at mole.ai.mit.edu) 12100 1990-11-06 Richard Stallman (rms@mole.ai.mit.edu)
12101 12101
12102 * m-ibmrs6000.h (CANNOT_DUMP): Define it. 12102 * m-ibmrs6000.h (CANNOT_DUMP): Define it.
12103 12103
12104 * process.c (create_process): Unblock SIGCHLD in the child. 12104 * process.c (create_process): Unblock SIGCHLD in the child.
12105 12105
12106 * process.c (wait_reading_process_input): Don't read input 12106 * process.c (wait_reading_process_input): Don't read input
12107 from more than one process between calls to `select'. 12107 from more than one process between calls to `select'.
12108 12108
12109 1990-11-02 Richard Stallman (rms at mole.ai.mit.edu) 12109 1990-11-02 Richard Stallman (rms@mole.ai.mit.edu)
12110 12110
12111 * callint.c (syms_of_callint): 12111 * callint.c (syms_of_callint):
12112 Initialize Vprefix_arg and Vcurrent_prefix_arg. 12112 Initialize Vprefix_arg and Vcurrent_prefix_arg.
12113 12113
12114 1990-11-01 Richard Stallman (rms at mole.ai.mit.edu) 12114 1990-11-01 Richard Stallman (rms@mole.ai.mit.edu)
12115 12115
12116 * dired.c (Fdirectory_files): Avoid using MAXNAMLEN. 12116 * dired.c (Fdirectory_files): Avoid using MAXNAMLEN.
12117 12117
12118 1990-10-31 Jim Blandy (jimb at churchy.ai.mit.edu) 12118 1990-10-31 Jim Blandy (jimb@churchy.ai.mit.edu)
12119 12119
12120 * process.c (MAXDESC): Enclosed definition in `#ifndef ... #endif' 12120 * process.c (MAXDESC): Enclosed definition in `#ifndef ... #endif'
12121 clause. 12121 clause.
12122 12122
12123 * bytecode.c: Included syntax.h to declare syntax_code_spec. 12123 * bytecode.c: Included syntax.h to declare syntax_code_spec.
12125 * syntax.h (syntax_spec_code): Added extern declaration for this. 12125 * syntax.h (syntax_spec_code): Added extern declaration for this.
12126 12126
12127 * floatfns.c (float_error): Added static declaration for this at 12127 * floatfns.c (float_error): Added static declaration for this at
12128 the top of the file. 12128 the top of the file.
12129 12129
12130 1990-10-29 Jim Blandy (jimb at pogo.ai.mit.edu) 12130 1990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu)
12131 12131
12132 * indent.c (position_indentation): renamed stray `bf_cur' to 12132 * indent.c (position_indentation): renamed stray `bf_cur' to
12133 `current_buffer', and old `CharAt' usages to `FETCH_CHAR'. 12133 `current_buffer', and old `CharAt' usages to `FETCH_CHAR'.
12134 * buffer.c (Fbuffer_disable_undo): the symbol object for this 12134 * buffer.c (Fbuffer_disable_undo): the symbol object for this
12135 subroutine was still named Sbuffer_flush_undo, and the symbol's 12135 subroutine was still named Sbuffer_flush_undo, and the symbol's
12137 alias in lisp/subr.el . 12137 alias in lisp/subr.el .
12138 12138
12139 * keyboard.c (Fset_input_mode): a `meta_flag' had escaped being 12139 * keyboard.c (Fset_input_mode): a `meta_flag' had escaped being
12140 renamed to `meta_key'. 12140 renamed to `meta_key'.
12141 12141
12142 1990-10-29 Richard Stallman (rms at mole.ai.mit.edu) 12142 1990-10-29 Richard Stallman (rms@mole.ai.mit.edu)
12143 12143
12144 * process.c (Fprocess_send_region, Fprocess_send_string): 12144 * process.c (Fprocess_send_region, Fprocess_send_string):
12145 Break data into bunches less than 500 bytes. 12145 Break data into bunches less than 500 bytes.
12146 Accept process output between bunches. 12146 Accept process output between bunches.
12147 ??? Must update manual. 12147 ??? Must update manual.
12148 12148
12149 1990-10-29 Jim Blandy (jimb at pogo.ai.mit.edu) 12149 1990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu)
12150 12150
12151 * window.c (Fset_window_start, window_scroll): renamed stray 12151 * window.c (Fset_window_start, window_scroll): renamed stray
12152 references to `redo_mode_line' to `update_mode_line'. 12152 references to `redo_mode_line' to `update_mode_line'.
12153 12153
12154 * xdisp.c (decode_mode_spec): renamed stray references to `bf_cur' 12154 * xdisp.c (decode_mode_spec): renamed stray references to `bf_cur'
12155 and `bf_modified' to `current_buffer' and `MODIFF'. 12155 and `bf_modified' to `current_buffer' and `MODIFF'.
12156 12156
12157 1990-10-25 Jim Blandy (jimb at pogo.ai.mit.edu) 12157 1990-10-25 Jim Blandy (jimb@pogo.ai.mit.edu)
12158 12158
12159 * environ.h: file created - contains declarations for users of the 12159 * environ.h: file created - contains declarations for users of the
12160 environment variable list. 12160 environment variable list.
12161 * callproc.c (environ): removed extern declaration of environ, and 12161 * callproc.c (environ): removed extern declaration of environ, and
12162 included environ.h. 12162 included environ.h.
12163 12163
12164 1990-10-24 Jim Blandy (jimb at pogo.ai.mit.edu) 12164 1990-10-24 Jim Blandy (jimb@pogo.ai.mit.edu)
12165 12165
12166 * callproc.c (init_callproc): removed extern declaration of 12166 * callproc.c (init_callproc): removed extern declaration of
12167 environ - it's already taken care of at the top of the file. 12167 environ - it's already taken care of at the top of the file.
12168 12168
12169 * mocklisp.h: file created - externally declares certain 12169 * mocklisp.h: file created - externally declares certain
12172 declarations for these functions. 12172 declarations for these functions.
12173 * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed 12173 * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed
12174 extern declarations for these functions, included mocklisp.h. 12174 extern declarations for these functions, included mocklisp.h.
12175 Moved external declaration of index to top of file. 12175 Moved external declaration of index to top of file.
12176 12176
12177 1990-10-24 Richard Stallman (rms at mole.ai.mit.edu) 12177 1990-10-24 Richard Stallman (rms@mole.ai.mit.edu)
12178 12178
12179 * ymakefile (GNULIB_VAR): New make variable. 12179 * ymakefile (GNULIB_VAR): New make variable.
12180 (LIBES): Use that, not GNULIB directly. 12180 (LIBES): Use that, not GNULIB directly.
12181 (GNULIB): Don't define if already defined. 12181 (GNULIB): Don't define if already defined.
12182 12182
12183 1990-10-23 Jim Blandy (jimb at geech.ai.mit.edu) 12183 1990-10-23 Jim Blandy (jimb@geech.ai.mit.edu)
12184 12184
12185 * indent.h (last_known_column_point): added extern declaration for 12185 * indent.h (last_known_column_point): added extern declaration for
12186 this variable. 12186 this variable.
12187 buffer.c (last_known_column_point): removed extern declaration for 12187 buffer.c (last_known_column_point): removed extern declaration for
12188 this variable, included indent.h. 12188 this variable, included indent.h.
12201 * dired.c (Fdirectory_files): removed extern declaration of 12201 * dired.c (Fdirectory_files): removed extern declaration of
12202 searchbuf, included search.h. 12202 searchbuf, included search.h.
12203 12203
12204 * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'. 12204 * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'.
12205 12205
12206 1990-10-22 Richard Stallman (rms at mole.ai.mit.edu) 12206 1990-10-22 Richard Stallman (rms@mole.ai.mit.edu)
12207 12207
12208 * keyboard.c (quit_char): New variable. 12208 * keyboard.c (quit_char): New variable.
12209 (init_keyboard): Initialize it. 12209 (init_keyboard): Initialize it.
12210 (Fset_input_mode): New optional arg to set quit_char. 12210 (Fset_input_mode): New optional arg to set quit_char.
12211 (command_loop_1, read_char, kbd_buffer_store_char): 12211 (command_loop_1, read_char, kbd_buffer_store_char):
12212 (read_avail_input): Use quit_char, not C-g. 12212 (read_avail_input): Use quit_char, not C-g.
12213 * sysdep.c (init_sys_modes): Use quit_char to set special chars. 12213 * sysdep.c (init_sys_modes): Use quit_char to set special chars.
12214 * xterm.c (x_term_init): Pass new arg to Fset_input_mode. 12214 * xterm.c (x_term_init): Pass new arg to Fset_input_mode.
12215 12215
12216 1990-10-22 Jim Blandy (jimb at pogo.ai.mit.edu) 12216 1990-10-22 Jim Blandy (jimb@pogo.ai.mit.edu)
12217 12217
12218 * xdisp.c: added `extern' declaration for command_loop_level. 12218 * xdisp.c: added `extern' declaration for command_loop_level.
12219 12219
12220 * term.c (term_init): Internal cleanups. 12220 * term.c (term_init): Internal cleanups.
12221 (write_glyphs): renamed argument `start' to `string'. 12221 (write_glyphs): renamed argument `start' to `string'.
12222 12222
12223 1990-10-21 Richard Stallman (rms at mole.ai.mit.edu) 12223 1990-10-21 Richard Stallman (rms@mole.ai.mit.edu)
12224 12224
12225 * xterm.c (FIONREAD): Undefine if BROKEN_FIONREAD. 12225 * xterm.c (FIONREAD): Undefine if BROKEN_FIONREAD.
12226 (SIGIO): Undefine if no FIONREAD. 12226 (SIGIO): Undefine if no FIONREAD.
12227 (ioctl.h, termio.h, strings.h, string.h): Include them before those. 12227 (ioctl.h, termio.h, strings.h, string.h): Include them before those.
12228 12228
12234 * alloc.c (make_uninit_string, make_float): Use VALIDATE_LISP_STORAGE. 12234 * alloc.c (make_uninit_string, make_float): Use VALIDATE_LISP_STORAGE.
12235 (Fcons, Fmake_vector, Fmake_symbol, Fmake_marker): Likewise. 12235 (Fcons, Fmake_vector, Fmake_symbol, Fmake_marker): Likewise.
12236 (Fmake_vector_from_list): Likewise. 12236 (Fmake_vector_from_list): Likewise.
12237 (VALIDATE_LISP_STORAGE): New macro. 12237 (VALIDATE_LISP_STORAGE): New macro.
12238 12238
12239 1990-10-20 Richard Stallman (rms at mole.ai.mit.edu) 12239 1990-10-20 Richard Stallman (rms@mole.ai.mit.edu)
12240 12240
12241 * dispnew.c (scrolling): Give up if some new lines not enabled. 12241 * dispnew.c (scrolling): Give up if some new lines not enabled.
12242 (update_screen): Rework outq logic. 12242 (update_screen): Rework outq logic.
12243 12243
12244 * xdisp.c (message, message1): Clear noninteractive_need_newline. 12244 * xdisp.c (message, message1): Clear noninteractive_need_newline.
12245 12245
12246 1990-10-19 Jim Blandy (jimb at pogo.ai.mit.edu) 12246 1990-10-19 Jim Blandy (jimb@pogo.ai.mit.edu)
12247 12247
12248 * scroll.c (do_scrolling): allocate queue using alloca instead 12248 * scroll.c (do_scrolling): allocate queue using alloca instead
12249 of variable-sized arrays. 12249 of variable-sized arrays.
12250 12250
12251 1990-10-19 Richard Stallman (rms at mole.ai.mit.edu) 12251 1990-10-19 Richard Stallman (rms@mole.ai.mit.edu)
12252 12252
12253 * buffer.c: Doc fix. 12253 * buffer.c: Doc fix.
12254 12254
12255 1990-10-18 Jim Blandy (jimb at pogo.ai.mit.edu) 12255 1990-10-18 Jim Blandy (jimb@pogo.ai.mit.edu)
12256 12256
12257 * print.c (internal_with_output_to_temp_buffer): install an 12257 * print.c (internal_with_output_to_temp_buffer): install an
12258 unwind_protect to make sure the current buffer is restored. 12258 unwind_protect to make sure the current buffer is restored.
12259 12259
12260 * minibuf.c (read_minibuf): call recursive_edit_1 instead of 12260 * minibuf.c (read_minibuf): call recursive_edit_1 instead of
12268 into a 1 before returning it. 12268 into a 1 before returning it.
12269 12269
12270 * lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no 12270 * lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no
12271 longer used. 12271 longer used.
12272 12272
12273 1990-10-18 Richard Stallman (rms at mole.ai.mit.edu) 12273 1990-10-18 Richard Stallman (rms@mole.ai.mit.edu)
12274 12274
12275 * m-intel386.h (alloca): Define as builtin, if using GCC. 12275 * m-intel386.h (alloca): Define as builtin, if using GCC.
12276 12276
12277 * m-att3b.h (NEED_PTEM_H): Define this for 3b2. 12277 * m-att3b.h (NEED_PTEM_H): Define this for 3b2.
12278 12278
12279 * s-aix3-1.h (SYSV_SYSTEM_DIR): Define it. 12279 * s-aix3-1.h (SYSV_SYSTEM_DIR): Define it.
12280 12280
12281 * print.c (print): Improve error message for bad data type. 12281 * print.c (print): Improve error message for bad data type.
12282 12282
12283 1990-10-18 Jim Blandy (jimb at pogo.ai.mit.edu) 12283 1990-10-18 Jim Blandy (jimb@pogo.ai.mit.edu)
12284 12284
12285 * keymap.c (Flookup_key): rearranged to use an index into the key 12285 * keymap.c (Flookup_key): rearranged to use an index into the key
12286 sequence instead of a pointer and a level counter. 12286 sequence instead of a pointer and a level counter.
12287 12287
12288 1990-10-18 Richard Stallman (rms at mole.ai.mit.edu) 12288 1990-10-18 Richard Stallman (rms@mole.ai.mit.edu)
12289 12289
12290 * floatfns.c (sinh, cosh): On VMS, define to use exp. 12290 * floatfns.c (sinh, cosh): On VMS, define to use exp.
12291 (IN_FLOAT): Detect errors reported using errno. 12291 (IN_FLOAT): Detect errors reported using errno.
12292 (float_error): Define function unconditionally. 12292 (float_error): Define function unconditionally.
12293 Reestablish handler when called, if not BSD. 12293 Reestablish handler when called, if not BSD.
12294 12294
12295 1990-10-17 Richard Stallman (rms at mole.ai.mit.edu) 12295 1990-10-17 Richard Stallman (rms@mole.ai.mit.edu)
12296 12296
12297 * m-delta.h (C_DEBUG_SWITCH): Don't define this. 12297 * m-delta.h (C_DEBUG_SWITCH): Don't define this.
12298 12298
12299 1990-10-17 Jim Blandy (jimb at pogo.ai.mit.edu) 12299 1990-10-17 Jim Blandy (jimb@pogo.ai.mit.edu)
12300 12300
12301 * keyboard.c (command_loop): made call to command_loop_2 12301 * keyboard.c (command_loop): made call to command_loop_2
12302 conditional on minibuf_level too (it used to be only conditional 12302 conditional on minibuf_level too (it used to be only conditional
12303 on command_loop_level), since this is what 18.56 and all the other 12303 on command_loop_level), since this is what 18.56 and all the other
12304 functions in Emacs 19 keyboard.c do. 12304 functions in Emacs 19 keyboard.c do.
12305 12305
12306 1990-10-16 Jim Blandy (jimb at pogo.ai.mit.edu) 12306 1990-10-16 Jim Blandy (jimb@pogo.ai.mit.edu)
12307 12307
12308 * keyboard.c (read_char): Don't echo dash if there is already 12308 * keyboard.c (read_char): Don't echo dash if there is already
12309 something else being displayed in the echo area. 12309 something else being displayed in the echo area.
12310 12310
12311 1990-10-16 Richard Stallman (rms at mole.ai.mit.edu) 12311 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
12312 12312
12313 * process.c (status_convert): If killed by signal, use WTERMSIG. 12313 * process.c (status_convert): If killed by signal, use WTERMSIG.
12314 12314
12315 * data.c (arith_error): Reestablish handler on VMS. 12315 * data.c (arith_error): Reestablish handler on VMS.
12316 12316
12318 (input_poll_signal): New function, handles periodic alarms. 12318 (input_poll_signal): New function, handles periodic alarms.
12319 (read_command_char): Turn off polling temporarily. 12319 (read_command_char): Turn off polling temporarily.
12320 * xdisp.c (redisplay): Likewise. 12320 * xdisp.c (redisplay): Likewise.
12321 * process.c (wait_reading_process_input, create_process): Likewise. 12321 * process.c (wait_reading_process_input, create_process): Likewise.
12322 12322
12323 1990-10-16 Jim Blandy (jimb at pogo.ai.mit.edu) 12323 1990-10-16 Jim Blandy (jimb@pogo.ai.mit.edu)
12324 12324
12325 * indent.c (position_indentation): instead of using CharAt, use a 12325 * indent.c (position_indentation): instead of using CharAt, use a
12326 pointer to scan the buffer - this is faster. 12326 pointer to scan the buffer - this is faster.
12327 12327
12328 * emacs.c (Fdump_emacs): The conditional expression which passes 12328 * emacs.c (Fdump_emacs): The conditional expression which passes
12329 symname to unexec was missing a `: 0'. 12329 symname to unexec was missing a `: 0'.
12330 12330
12331 * dispnew.c (rotate_vector): Was rotating backwards. 12331 * dispnew.c (rotate_vector): Was rotating backwards.
12332 12332
12333 1990-10-15 Jim Blandy (jimb at pogo.ai.mit.edu) 12333 1990-10-15 Jim Blandy (jimb@pogo.ai.mit.edu)
12334 12334
12335 * dired.c (file_name_completion): Use scmp to compare names. 12335 * dired.c (file_name_completion): Use scmp to compare names.
12336 12336
12337 1990-10-15 Richard Stallman (rms at mole.ai.mit.edu) 12337 1990-10-15 Richard Stallman (rms@mole.ai.mit.edu)
12338 12338
12339 * process.c (create_process): Don't turn off handling of SIGCHLD. 12339 * process.c (create_process): Don't turn off handling of SIGCHLD.
12340 Just set a flag if a signal comes in when not wanted. 12340 Just set a flag if a signal comes in when not wanted.
12341 (create_process_sigchld): New signal handler. 12341 (create_process_sigchld): New signal handler.
12342 12342
12343 1990-10-14 Richard Stallman (rms at mole.ai.mit.edu) 12343 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
12344 12344
12345 * bytecode.c: De-implement Bmark, Bset_mark, Bscan_buffer. 12345 * bytecode.c: De-implement Bmark, Bset_mark, Bscan_buffer.
12346 Mark Bsymbol_function, Bfset, Bread_char as obsolete. 12346 Mark Bsymbol_function, Bfset, Bread_char as obsolete.
12347 Implement codes Bmult, Bforward_char...Bwiden, 12347 Implement codes Bmult, Bforward_char...Bwiden,
12348 and Bstringeqlsign...Bintegerp. 12348 and Bstringeqlsign...Bintegerp.
12349 12349
12350 1990-10-12 Jim Blandy (jimb at pogo.ai.mit.edu) 12350 1990-10-12 Jim Blandy (jimb@pogo.ai.mit.edu)
12351 12351
12352 * buffer.c (list_buffers_1): Select the buffer given in 12352 * buffer.c (list_buffers_1): Select the buffer given in
12353 Vstandard_output using Fset_buffer instead of set_buffer_internal. 12353 Vstandard_output using Fset_buffer instead of set_buffer_internal.
12354 12354
12355 * buffer.c (set_buffer_internal): deleted variable swb - it's 12355 * buffer.c (set_buffer_internal): deleted variable swb - it's
12356 never used. 12356 never used.
12357 12357
12358 * buffer.c (count_modified_buffers): function deleted - it's 12358 * buffer.c (count_modified_buffers): function deleted - it's
12359 not used anymore. 12359 not used anymore.
12360 12360
12361 1990-10-11 Jim Blandy (jimb at pogo.ai.mit.edu) 12361 1990-10-11 Jim Blandy (jimb@pogo.ai.mit.edu)
12362 12362
12363 * buffer.c (reset_buffer_local_variables, buffer_local_variables): 12363 * buffer.c (reset_buffer_local_variables, buffer_local_variables):
12364 added support for default values for buffer local variables which 12364 added support for default values for buffer local variables which
12365 do not have a DEFVAR_PER_BUFFER, as described in the comments 12365 do not have a DEFVAR_PER_BUFFER, as described in the comments
12366 above buffer_local_flags. 12366 above buffer_local_flags.
12367 12367
12368 * buffer.c (Fget_buffer_create): move initialization of 12368 * buffer.c (Fget_buffer_create): move initialization of
12369 b->save_length and b->last_window_start to reset_buffer. 12369 b->save_length and b->last_window_start to reset_buffer.
12370 12370
12371 1990-10-11 Richard Stallman (rms at mole.ai.mit.edu) 12371 1990-10-11 Richard Stallman (rms@mole.ai.mit.edu)
12372 12372
12373 * m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them. 12373 * m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them.
12374 (C_DEBUG_SWITCH): Delete -fstrength-reduce. 12374 (C_DEBUG_SWITCH): Delete -fstrength-reduce.
12375 12375
12376 * unexmips.c (unexec): Add conditional for MIPS2. 12376 * unexmips.c (unexec): Add conditional for MIPS2.
12377 12377
12378 1990-10-10 Richard Stallman (rms at mole.ai.mit.edu) 12378 1990-10-10 Richard Stallman (rms@mole.ai.mit.edu)
12379 12379
12380 * m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW. 12380 * m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW.
12381 12381
12382 * unexelf.c: New file. 12382 * unexelf.c: New file.
12383 * s-usg5-4.h: New file. 12383 * s-usg5-4.h: New file.
12384 * unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond. 12384 * unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond.
12385 (copy_text_and_data): New second argument. 12385 (copy_text_and_data): New second argument.
12386 12386
12387 1990-10-10 Jim Blandy (jimb at pogo.ai.mit.edu) 12387 1990-10-10 Jim Blandy (jimb@pogo.ai.mit.edu)
12388 12388
12389 * alloc.c (gc_sweep): only unchain markers that are in a buffer. 12389 * alloc.c (gc_sweep): only unchain markers that are in a buffer.
12390 12390
12391 1990-10-10 Mike Rowan (mtr at apple-gunkies) 12391 1990-10-10 Mike Rowan (mtr@apple-gunkies)
12392 12392
12393 * process.c: Merged in more changes from 18.56: update_status, 12393 * process.c: Merged in more changes from 18.56: update_status,
12394 FD_SET changes (define all the FD_ macros). Other small changes. 12394 FD_SET changes (define all the FD_ macros). Other small changes.
12395 12395
12396 1990-10-09 Jim Blandy (jimb at churchy.ai.mit.edu) 12396 1990-10-09 Jim Blandy (jimb@churchy.ai.mit.edu)
12397 12397
12398 * xdist.c: (decode_mode_spec): reworked code to handle %* - it now 12398 * xdist.c: (decode_mode_spec): reworked code to handle %* - it now
12399 goes like `if return else if return else ... return' instead of 12399 goes like `if return else if return else ... return' instead of
12400 using a conditional operator. 12400 using a conditional operator.
12401 12401
12402 * xdist.c: (fmodetrunc): function deleted - no longer used. 12402 * xdist.c: (fmodetrunc): function deleted - no longer used.
12403 12403
12404 1990-10-09 Richard Stallman (rms at mole.ai.mit.edu) 12404 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
12405 12405
12406 * xdisp.c (decode_mode_spec): Handle dashes in wide windows. 12406 * xdisp.c (decode_mode_spec): Handle dashes in wide windows.
12407 12407
12408 1990-10-08 Richard Stallman (rms at mole.ai.mit.edu) 12408 1990-10-08 Richard Stallman (rms@mole.ai.mit.edu)
12409 12409
12410 * sysdep.c (sys_open, sys_close, sys_read, sys_write): 12410 * sysdep.c (sys_open, sys_close, sys_read, sys_write):
12411 Don't handle EAGAIN. 12411 Don't handle EAGAIN.
12412 12412
12413 * process.c (wait_reading_process_input): Handle nread==-1 12413 * process.c (wait_reading_process_input): Handle nread==-1
12418 12418
12419 * emacs.c (main): Move VMS declaration of environ outside function. 12419 * emacs.c (main): Move VMS declaration of environ outside function.
12420 12420
12421 * vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert. 12421 * vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert.
12422 12422
12423 1990-10-07 Richard Stallman (rms at mole.ai.mit.edu) 12423 1990-10-07 Richard Stallman (rms@mole.ai.mit.edu)
12424 12424
12425 * m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0. 12425 * m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0.
12426 12426
12427 * s-sunos4.h (O_NDELAY): Define only if not defined. 12427 * s-sunos4.h (O_NDELAY): Define only if not defined.
12428 12428
12429 1990-10-06 Jim Blandy (jimb at pogo.ai.mit.edu) 12429 1990-10-06 Jim Blandy (jimb@pogo.ai.mit.edu)
12430 12430
12431 * sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'. 12431 * sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'.
12432 12432
12433 * sysdep.c (init_baud_rate): rearranged code for calculating 12433 * sysdep.c (init_baud_rate): rearranged code for calculating
12434 baud_rate. 12434 baud_rate.
12435 12435
12436 1990-10-05 Jim Blandy (jimb at pogo.ai.mit.edu) 12436 1990-10-05 Jim Blandy (jimb@pogo.ai.mit.edu)
12437 12437
12438 * search.c (Freplace_match): used Finsert_buffer_substring instead 12438 * search.c (Freplace_match): used Finsert_buffer_substring instead
12439 of place and deleted place. 12439 of place and deleted place.
12440 12440
12441 * search.c (place): function removed 12441 * search.c (place): function removed
12442 12442
12443 * process.c (count_active_processes): Deleted; not used. 12443 * process.c (count_active_processes): Deleted; not used.
12444 12444
12445 * minibuf.c (read_minibuf): renamed `prefix' argument to `initial'. 12445 * minibuf.c (read_minibuf): renamed `prefix' argument to `initial'.
12446 12446
12447 1990-10-01 Jim Blandy (jimb at pogo.ai.mit.edu) 12447 1990-10-01 Jim Blandy (jimb@pogo.ai.mit.edu)
12448 12448
12449 * lread.c (Fload): renamed `MISSING-OK' to `NOERROR'. 12449 * lread.c (Fload): renamed `MISSING-OK' to `NOERROR'.
12450 12450
12451 * keyboard.c (describe_map): renamed `keys' to `string'. 12451 * keyboard.c (describe_map): renamed `keys' to `string'.
12452 12452
12453 * keyboard.c `Vauto_save_interval' unrenamed back to 12453 * keyboard.c `Vauto_save_interval' unrenamed back to
12454 `auto-save-interval'. 12454 `auto-save-interval'.
12455 12455
12456 * keymap.c (Fdefine_key, Flookup_key): renamed arguments called 12456 * keymap.c (Fdefine_key, Flookup_key): renamed arguments called
12457 `keys' to `key'. 12457 `keys' to `key'.
12458 12458
12459 1990-10-01 Richard Stallman (rms at mole.ai.mit.edu) 12459 1990-10-01 Richard Stallman (rms@mole.ai.mit.edu)
12460 12460
12461 * sysdep.c (sys_open, sys_close, sys_read, sys_write): 12461 * sysdep.c (sys_open, sys_close, sys_read, sys_write):
12462 Handle EAGAIN like EINTR. 12462 Handle EAGAIN like EINTR.
12463 12463
12464 1990-09-30 Richard Stallman (rms at mole.ai.mit.edu) 12464 1990-09-30 Richard Stallman (rms@mole.ai.mit.edu)
12465 12465
12466 * insdel.c (gap_left, gap_right): Use bcopy if requested. 12466 * insdel.c (gap_left, gap_right): Use bcopy if requested.
12467 New config parameters GAP_USE_BCOPY, BCOPY_SAFE_UPWARD, 12467 New config parameters GAP_USE_BCOPY, BCOPY_SAFE_UPWARD,
12468 and BCOPY_SAFE_DOWNWARD. 12468 and BCOPY_SAFE_DOWNWARD.
12469 12469
12473 12473
12474 * sysdep.c: Include various headers for ptys, for hpux, aix, and sysv. 12474 * sysdep.c: Include various headers for ptys, for hpux, aix, and sysv.
12475 12475
12476 * dispnew.c (preserve_other_columns): Fix args to second bcopy. 12476 * dispnew.c (preserve_other_columns): Fix args to second bcopy.
12477 12477
12478 1990-09-30 Jim Blandy (jimb at pogo.ai.mit.edu) 12478 1990-09-30 Jim Blandy (jimb@pogo.ai.mit.edu)
12479 12479
12480 * keyboard.c: `auto_save_interval' renamed to 12480 * keyboard.c: `auto_save_interval' renamed to
12481 `Vauto_save_interval', since it *is* a lisp-accessible variable. 12481 `Vauto_save_interval', since it *is* a lisp-accessible variable.
12482 12482
12483 * fileio.c (Fdo_auto_save): call record_auto_save so that 12483 * fileio.c (Fdo_auto_save): call record_auto_save so that
12489 * keyboard.c (read_char): use num_input_chars and last_auto_save 12489 * keyboard.c (read_char): use num_input_chars and last_auto_save
12490 instead of keystrokes to decide when to autosave. 12490 instead of keystrokes to decide when to autosave.
12491 12491
12492 * keyboard.c (keystrokes): variable deleted. 12492 * keyboard.c (keystrokes): variable deleted.
12493 12493
12494 1990-09-30 Mike Rowan (mtr at spike.ai.mit.edu) 12494 1990-09-30 Mike Rowan (mtr@spike.ai.mit.edu)
12495 12495
12496 * keyboard.c, alloc.c: added malloc warning code from 12496 * keyboard.c, alloc.c: added malloc warning code from
12497 18.56. 12497 18.56.
12498 12498
12499 * dispnew.c, xdisp.c: (un)hold_window_change no longer exists; 12499 * dispnew.c, xdisp.c: (un)hold_window_change no longer exists;
12500 added do_pending_window_change from 18.56. 12500 added do_pending_window_change from 18.56.
12501 12501
12502 * process.[ch]: added the raw_status_low and raw_status_high 12502 * process.[ch]: added the raw_status_low and raw_status_high
12503 code from 18.56. 12503 code from 18.56.
12504 12504
12505 1990-09-29 Richard Stallman (rms at mole.ai.mit.edu) 12505 1990-09-29 Richard Stallman (rms@mole.ai.mit.edu)
12506 12506
12507 * alloca.s: Handle ns32000 like ns16000. 12507 * alloca.s: Handle ns32000 like ns16000.
12508 12508
12509 * m-ns32000.h: New file. 12509 * m-ns32000.h: New file.
12510 12510
12522 12522
12523 * m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0. 12523 * m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0.
12524 12524
12525 * m-delta.h: New file. 12525 * m-delta.h: New file.
12526 12526
12527 1990-09-28 Richard Stallman (rms at mole.ai.mit.edu) 12527 1990-09-28 Richard Stallman (rms@mole.ai.mit.edu)
12528 12528
12529 * fns.c (Frequire): Undo certain things on failure, like autoload. 12529 * fns.c (Frequire): Undo certain things on failure, like autoload.
12530 12530
12531 1990-09-28 Jim Blandy (jimb at pogo.ai.mit.edu) 12531 1990-09-28 Jim Blandy (jimb@pogo.ai.mit.edu)
12532 12532
12533 * fileio.c (Fwrite_region): renamed variable `fd' to `desc' and 12533 * fileio.c (Fwrite_region): renamed variable `fd' to `desc' and
12534 changed argument to open from `1' to `O_WRONLY'. 12534 changed argument to open from `1' to `O_WRONLY'.
12535 12535
12536 * fileio.c (O_WRONLY): added clause to define this if not already 12536 * fileio.c (O_WRONLY): added clause to define this if not already
12551 of a counter; count with i instead. 12551 of a counter; count with i instead.
12552 12552
12553 * dispnew.c (visible_bell, inverse_video, baud_rate, 12553 * dispnew.c (visible_bell, inverse_video, baud_rate,
12554 Vwindow_system): rearranged comments. 12554 Vwindow_system): rearranged comments.
12555 12555
12556 1990-09-27 Richard Stallman (rms at mole.ai.mit.edu) 12556 1990-09-27 Richard Stallman (rms@mole.ai.mit.edu)
12557 12557
12558 * emacs.c (main) : Set the DISPLAY environment value when both of 12558 * emacs.c (main) : Set the DISPLAY environment value when both of
12559 MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined. 12559 MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined.
12560 12560
12561 * m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they 12561 * m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they
12577 * unexconvex.c: Rewrite so it can cope with thread-local sections. 12577 * unexconvex.c: Rewrite so it can cope with thread-local sections.
12578 12578
12579 * sysdep.c (select): Use process_tick and update_tick, 12579 * sysdep.c (select): Use process_tick and update_tick,
12580 not child_changed. 12580 not child_changed.
12581 12581
12582 1990-09-23 Richard Stallman (rms at mole.ai.mit.edu) 12582 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
12583 12583
12584 * keyboard.c (Fsuspend_emacs): Check screen size after resume. 12584 * keyboard.c (Fsuspend_emacs): Check screen size after resume.
12585 12585
12586 1990-09-19 Richard Stallman (rms at mole.ai.mit.edu) 12586 1990-09-19 Richard Stallman (rms@mole.ai.mit.edu)
12587 12587
12588 * editfns.c: Doc fix. 12588 * editfns.c: Doc fix.
12589 12589
12590 1990-09-18 Richard Stallman (rms at mole.ai.mit.edu) 12590 1990-09-18 Richard Stallman (rms@mole.ai.mit.edu)
12591 12591
12592 * window.c (Fsplit_window): Minor cleanup. 12592 * window.c (Fsplit_window): Minor cleanup.
12593 12593
12594 1990-09-17 Richard Stallman (rms at mole.ai.mit.edu) 12594 1990-09-17 Richard Stallman (rms@mole.ai.mit.edu)
12595 12595
12596 * emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk. 12596 * emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk.
12597 12597
12598 1990-09-13 Richard Stallman (rms at mole.ai.mit.edu) 12598 1990-09-13 Richard Stallman (rms@mole.ai.mit.edu)
12599 12599
12600 * floatfns.c (float_error_arg): New variable. 12600 * floatfns.c (float_error_arg): New variable.
12601 (IN_FLOAT): New arg; sets float_error_arg. All uses changed. 12601 (IN_FLOAT): New arg; sets float_error_arg. All uses changed.
12602 (float_error): Use that value when signaling error. 12602 (float_error): Use that value when signaling error.
12603 12603
12604 1990-09-11 Richard Stallman (rms at mole.ai.mit.edu) 12604 1990-09-11 Richard Stallman (rms@mole.ai.mit.edu)
12605 12605
12606 * unexaix.c, m-ibmr2.h, s-aix3-1.h: New files. 12606 * unexaix.c, m-ibmr2.h, s-aix3-1.h: New files.
12607 12607
12608 * ymakefile (allocaobj): New variable. Used in otherobjs. 12608 * ymakefile (allocaobj): New variable. Used in otherobjs.
12609 Eliminates assignment of mallocobj using itself. 12609 Eliminates assignment of mallocobj using itself.
12632 (Fdump_emacs_data): New function if HAVE_SHM. 12632 (Fdump_emacs_data): New function if HAVE_SHM.
12633 (Fdump_emacs): Don't define if HAVE_SHM. 12633 (Fdump_emacs): Don't define if HAVE_SHM.
12634 12634
12635 * alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment. 12635 * alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment.
12636 12636
12637 1990-09-03 Mike Rowan (mtr at apple-gunkies) 12637 1990-09-03 Mike Rowan (mtr@apple-gunkies)
12638 12638
12639 * sysdep.c: added setup_pty from 18.56 12639 * sysdep.c: added setup_pty from 18.56
12640 12640
12641 * process.c: merged in 18.55->6 changes. Same for process.h 12641 * process.c: merged in 18.55->6 changes. Same for process.h
12642 12642
12643 globally replaced: 12643 globally replaced:
12644 redisplay_preserving_echo_area -> redisplay_preserve_echo_area 12644 redisplay_preserving_echo_area -> redisplay_preserve_echo_area
12645 SetBfp -> set_buffer_internal 12645 SetBfp -> set_buffer_internal
12646 buffer_flush_undo -> buffer_disable_undo 12646 buffer_flush_undo -> buffer_disable_undo
12647 redo_mode_line -> update_mode_line (window.h) 12647 redo_mode_line -> update_mode_line (window.h)
12648 12648
12649 1990-08-31 Richard Stallman (rms at mole.ai.mit.edu) 12649 1990-08-31 Richard Stallman (rms@mole.ai.mit.edu)
12650 12650
12651 * data.c (Fmake_local_variable): If var is local when set, make it 12651 * data.c (Fmake_local_variable): If var is local when set, make it
12652 local now in this buffer. 12652 local now in this buffer.
12653 12653
12654 * data.c (Fstring_to_int): Finish eliminating second arg. 12654 * data.c (Fstring_to_int): Finish eliminating second arg.
12655 12655
12656 * data.c (Faset): Require integer as third arg for string. 12656 * data.c (Faset): Require integer as third arg for string.
12657 12657
12658 1990-08-28 Richard Stallman (rms at mole.ai.mit.edu) 12658 1990-08-28 Richard Stallman (rms@mole.ai.mit.edu)
12659 12659
12660 * search.c: Doc fix. 12660 * search.c: Doc fix.
12661 12661
12662 * screen.h (SCREEN_SCROLL_BOTTOM_VPOS): New macro. 12662 * screen.h (SCREEN_SCROLL_BOTTOM_VPOS): New macro.
12663 * xdisp.c (screen_bottom_vpos): Variable used if just one screen. 12663 * xdisp.c (screen_bottom_vpos): Variable used if just one screen.
12665 * dispnew.c (scrolling, update_screen): New arg scroll_bottom_vpos. 12665 * dispnew.c (scrolling, update_screen): New arg scroll_bottom_vpos.
12666 12666
12667 * dispnew.c (scroll_screen_lines): Mark newly empty lines as empty. 12667 * dispnew.c (scroll_screen_lines): Mark newly empty lines as empty.
12668 (scrolling): Give up if any line in current_screen not enabled. 12668 (scrolling): Give up if any line in current_screen not enabled.
12669 12669
12670 1990-08-27 Roland McGrath (roland at churchy.ai.mit.edu) 12670 1990-08-27 Roland McGrath (roland@churchy.ai.mit.edu)
12671 12671
12672 * dired.c (Ffile_attributes): Return the device number too (elt 11 12672 * dired.c (Ffile_attributes): Return the device number too (elt 11
12673 of the returned list). 12673 of the returned list).
12674 12674
12675 1990-08-27 Richard Stallman (rms at mole.ai.mit.edu) 12675 1990-08-27 Richard Stallman (rms@mole.ai.mit.edu)
12676 12676
12677 * sysdep.c (wait_for_kbd_input): Frob waiting_for_input here. 12677 * sysdep.c (wait_for_kbd_input): Frob waiting_for_input here.
12678 * keyboard.c (kbd_buffer_read_command_char): Not here. 12678 * keyboard.c (kbd_buffer_read_command_char): Not here.
12679 12679
12680 * sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing 12680 * sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing
12685 * sysdep.c (init_sys_modes): Clear process_ef only the first time. 12685 * sysdep.c (init_sys_modes): Clear process_ef only the first time.
12686 12686
12687 * vmsfns.c (process_exit): Logic of deletion was wrong. 12687 * vmsfns.c (process_exit): Logic of deletion was wrong.
12688 (Fspawn_subprocess): Correctly reuse existing struct process_list. 12688 (Fspawn_subprocess): Correctly reuse existing struct process_list.
12689 12689
12690 1990-08-22 Richard Stallman (rms at mole.ai.mit.edu) 12690 1990-08-22 Richard Stallman (rms@mole.ai.mit.edu)
12691 12691
12692 * m-plexus.h (LD_SWITCH_MACHINE): New macro. 12692 * m-plexus.h (LD_SWITCH_MACHINE): New macro.
12693 12693
12694 1990-08-22 Joseph Arceneaux (jla at geech) 12694 1990-08-22 Joseph Arceneaux (jla@geech)
12695 12695
12696 * xterm.c (XTread_socket): Cleaned up #ifdefs prior to event 12696 * xterm.c (XTread_socket): Cleaned up #ifdefs prior to event
12697 reading loop. Also handle FIOSNBIO. 12697 reading loop. Also handle FIOSNBIO.
12698 12698
12699 1990-08-19 Joseph Arceneaux (jla at geech) 12699 1990-08-19 Joseph Arceneaux (jla@geech)
12700 12700
12701 * xterm.c (dumplyphs): Last vestige of MScreenWidth removed. 12701 * xterm.c (dumplyphs): Last vestige of MScreenWidth removed.
12702 * config.h: MScreenWidth, MScreenHeight definitions removed. 12702 * config.h: MScreenWidth, MScreenHeight definitions removed.
12703 12703
12704 1990-08-18 Joseph Arceneaux (jla at geech) 12704 1990-08-18 Joseph Arceneaux (jla@geech)
12705 12705
12706 * scroll.c (do_scrolling): Pass the correct sizes to bcopy. 12706 * scroll.c (do_scrolling): Pass the correct sizes to bcopy.
12707 * dispnew.c (make_screen_glyphs): Likewise. 12707 * dispnew.c (make_screen_glyphs): Likewise.
12708 12708
12709 1990-08-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12709 1990-08-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12710 12710
12711 * dispnew.c (scroll_screen_lines, free_screen_glyphs): Only deal 12711 * dispnew.c (scroll_screen_lines, free_screen_glyphs): Only deal
12712 with the X components of screen_glyphs if SCREEN_IS_X. 12712 with the X components of screen_glyphs if SCREEN_IS_X.
12713 free_screen_glyphs now takes screen argument. 12713 free_screen_glyphs now takes screen argument.
12714 12714
12715 * window.c (Fnext_window, Fprevious_window): Fixed typo. New 12715 * window.c (Fnext_window, Fprevious_window): Fixed typo. New
12716 behaviour: mini non-nil implies all_screens if global mini screen 12716 behaviour: mini non-nil implies all_screens if global mini screen
12717 exists, implies current screen only if not. 12717 exists, implies current screen only if not.
12718 (Fdisplay_buffer): Simplification of multi-screen code. 12718 (Fdisplay_buffer): Simplification of multi-screen code.
12719 12719
12720 1990-08-15 Richard Stallman (rms at mole.ai.mit.edu) 12720 1990-08-15 Richard Stallman (rms@mole.ai.mit.edu)
12721 12721
12722 * buffer.c: Doc fix. 12722 * buffer.c: Doc fix.
12723 12723
12724 1990-08-15 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12724 1990-08-15 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12725 12725
12726 * dispnew.c (update_line): Simplification of pixel size code, only 12726 * dispnew.c (update_line): Simplification of pixel size code, only
12727 done if screen is X. 12727 done if screen is X.
12728 (update_screen): Only set pixel stuff if screen is X. 12728 (update_screen): Only set pixel stuff if screen is X.
12729 12729
12730 1990-08-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12730 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12731 12731
12732 * m-targon31.h (NO_REMAP): Definition removed. 12732 * m-targon31.h (NO_REMAP): Definition removed.
12733 (SEGMENT_MASK): New macro. 12733 (SEGMENT_MASK): New macro.
12734 12734
12735 1990-08-14 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12735 1990-08-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12736 12736
12737 * lread.c (eval-region): Don't set opoint to point, etc. 12737 * lread.c (eval-region): Don't set opoint to point, etc.
12738 Fnarrow_to_region from BEGV, not b. 12738 Fnarrow_to_region from BEGV, not b.
12739 (eval-buffer): New subr, generalization of eval-current-buffer. 12739 (eval-buffer): New subr, generalization of eval-current-buffer.
12740 (eval-current-buffer): Moved to elisp, in simple.el. 12740 (eval-current-buffer): Moved to elisp, in simple.el.
12752 12752
12753 * xdisp.c (display_mode_line): Set desired_glyphs->bufp to 0 for 12753 * xdisp.c (display_mode_line): Set desired_glyphs->bufp to 0 for
12754 mode line. 12754 mode line.
12755 All occurences of struct screen * replaced with SCREEN_PTR. 12755 All occurences of struct screen * replaced with SCREEN_PTR.
12756 12756
12757 1990-08-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12757 1990-08-13 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12758 12758
12759 * xmenu.c (list_of_items, list_of_panes): Fixed wrong params to 12759 * xmenu.c (list_of_items, list_of_panes): Fixed wrong params to
12760 wrong_type_argument. 12760 wrong_type_argument.
12761 12761
12762 1990-08-12 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12762 1990-08-12 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12763 12763
12764 * dispnew.c (pixel_to_char_translation): New algorithm for 12764 * dispnew.c (pixel_to_char_translation): New algorithm for
12765 finding y. 12765 finding y.
12766 12766
12767 * xfns.c (install_*_scrollbar): No more height, width parameters. 12767 * xfns.c (install_*_scrollbar): No more height, width parameters.
12770 12770
12771 * xterm.c (notice_mouse_motion): Check if the mouse is still in 12771 * xterm.c (notice_mouse_motion): Check if the mouse is still in
12772 the window. 12772 the window.
12773 (encode_mouse_button): Don't bother about motion types. 12773 (encode_mouse_button): Don't bother about motion types.
12774 12774
12775 1990-08-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12775 1990-08-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12776 12776
12777 * m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE): 12777 * m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE):
12778 (LD_SWITCH_MACHINE): Add definitions for Convex V 4.0. 12778 (LD_SWITCH_MACHINE): Add definitions for Convex V 4.0.
12779 12779
12780 1990-08-11 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12780 1990-08-11 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12781 12781
12782 * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape, 12782 * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape,
12783 setting new variable grabbed_cursor. Return Qt if successful, 12783 setting new variable grabbed_cursor. Return Qt if successful,
12784 Qnil otherwise. 12784 Qnil otherwise.
12785 (Fx_ungrab_pointer): free grabbed_cursor if non zero. Return Qnil. 12785 (Fx_ungrab_pointer): free grabbed_cursor if non zero. Return Qnil.
12786 12786
12787 1990-08-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12787 1990-08-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12788 12788
12789 * xfns.c (x_figure_window_size): Don't set pixel sizes until 12789 * xfns.c (x_figure_window_size): Don't set pixel sizes until
12790 height and width are determined. 12790 height and width are determined.
12791 12791
12792 1990-08-08 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12792 1990-08-08 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12793 12793
12794 * xfns.c (Fx_grab_pointer): New parameter to explicitly ignore 12794 * xfns.c (Fx_grab_pointer): New parameter to explicitly ignore
12795 keyboard events. 12795 keyboard events.
12796 12796
12797 * xterm.c (notice_mouse_movement): Use pixel_to_char_translation 12797 * xterm.c (notice_mouse_movement): Use pixel_to_char_translation
12798 to get char position and buffer offset. 12798 to get char position and buffer offset.
12799 12799
12800 1990-08-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12800 1990-08-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12801 12801
12802 * sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h. 12802 * sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h.
12803 12803
12804 1990-08-07 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12804 1990-08-07 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12805 12805
12806 * dispextern.h: element bufp of screen_glyphs no longer dependent 12806 * dispextern.h: element bufp of screen_glyphs no longer dependent
12807 on X windows. 12807 on X windows.
12808 * xdisp.c (display_text_line): Likewise. 12808 * xdisp.c (display_text_line): Likewise.
12809 12809
12817 done by the notice_mouse_motion. Don't grab the mouse here. 12817 done by the notice_mouse_motion. Don't grab the mouse here.
12818 12818
12819 * dispnew.c (update_line): Set the pix_width and pix_height of the 12819 * dispnew.c (update_line): Set the pix_width and pix_height of the
12820 line. This fashion of doing so is temporary. 12820 line. This fashion of doing so is temporary.
12821 12821
12822 1990-08-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12822 1990-08-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12823 12823
12824 * dispextern.h: screen_glyphs struct elements bottom_right_x, 12824 * dispextern.h: screen_glyphs struct elements bottom_right_x,
12825 bottom_right_y changed to pix_width and pix_height. 12825 bottom_right_y changed to pix_width and pix_height.
12826 * scroll.c: Likewise. 12826 * scroll.c: Likewise.
12827 * dispnew.c: Likewise. 12827 * dispnew.c: Likewise.
12828 (update_screen): Set top_left_x, top_left_y for X windows. 12828 (update_screen): Set top_left_x, top_left_y for X windows.
12829 12829
12830 * xterm.h: Macros PIXEL_{WIDTH,HEIGHT} now use the display 12830 * xterm.h: Macros PIXEL_{WIDTH,HEIGHT} now use the display
12831 structure elements. 12831 structure elements.
12832 12832
12833 1990-08-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12833 1990-08-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12834 12834
12835 * xfns.c (x_window_to_scrollbar): Return Lisp symbol in parameter 12835 * xfns.c (x_window_to_scrollbar): Return Lisp symbol in parameter
12836 PART_PTR, rather than string. 12836 PART_PTR, rather than string.
12837 Declare these symbols. 12837 Declare these symbols.
12838 New variable Vscreen_part, indicates which part of the screen the 12838 New variable Vscreen_part, indicates which part of the screen the
12854 (Flocate_window_from_coordinates): Pass &part to 12854 (Flocate_window_from_coordinates): Pass &part to
12855 window_from_coordinates. 12855 window_from_coordinates.
12856 (coordinates_in_window): Don't say modeline if window_height is 1, 12856 (coordinates_in_window): Don't say modeline if window_height is 1,
12857 as this is likely to be the minibuffer. 12857 as this is likely to be the minibuffer.
12858 12858
12859 1990-08-04 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12859 1990-08-04 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12860 12860
12861 * screen.c (Fcoordinates_in_window_p): Doc fix. Simplified. 12861 * screen.c (Fcoordinates_in_window_p): Doc fix. Simplified.
12862 (window_from_coordinates): New function. 12862 (window_from_coordinates): New function.
12863 (Flocate_window_from_coordinates): Use it. 12863 (Flocate_window_from_coordinates): Use it.
12864 12864
12874 (x_func_key_to_sym): Use this array. 12874 (x_func_key_to_sym): Use this array.
12875 (notice_mouse_movement): New function for dealing with motion 12875 (notice_mouse_movement): New function for dealing with motion
12876 events. 12876 events.
12877 (XTread_socket): Use it here. 12877 (XTread_socket): Use it here.
12878 12878
12879 1990-08-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12879 1990-08-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12880 12880
12881 * callproc.c (child_setup): Report error in chdir. 12881 * callproc.c (child_setup): Report error in chdir.
12882 12882
12883 1990-08-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12883 1990-08-01 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12884 12884
12885 * lisp.h: New macro XFLOATINT. extract_float declared. 12885 * lisp.h: New macro XFLOATINT. extract_float declared.
12886 * floatfns.c (Ffloor): Call floor, not ceil. 12886 * floatfns.c (Ffloor): Call floor, not ceil.
12887 (extract_float): No longer static. 12887 (extract_float): No longer static.
12888 * bytecode.c (Fbyte_code): Correctly handle floats in case Beqlsign. 12888 * bytecode.c (Fbyte_code): Correctly handle floats in case Beqlsign.
12889 12889
12890 1990-07-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12890 1990-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12891 12891
12892 * keyboard.c (read_key_sequence): When downcasing letters, 12892 * keyboard.c (read_key_sequence): When downcasing letters,
12893 don't change the value returned in keybuf. 12893 don't change the value returned in keybuf.
12894 (This is an experiment; it might be unpleasant in 12894 (This is an experiment; it might be unpleasant in
12895 things such as C-h c, but it is an improvement 12895 things such as C-h c, but it is an improvement
12896 for M-x global-set-key.) 12896 for M-x global-set-key.)
12897 12897
12898 1990-07-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12898 1990-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12899 12899
12900 * eval.c: Doc fix. 12900 * eval.c: Doc fix.
12901 12901
12902 1990-07-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12902 1990-07-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12903 12903
12904 * s-iris*.h (SYSTEM_TYPE): Change silicon-graphics-unix to irix. 12904 * s-iris*.h (SYSTEM_TYPE): Change silicon-graphics-unix to irix.
12905 12905
12906 1990-07-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12906 1990-07-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12907 12907
12908 * indent.c (Fmove_to_column): End-test was off by 1. 12908 * indent.c (Fmove_to_column): End-test was off by 1.
12909 12909
12910 * abbrev.c (Fexpand_abbrev): Return nil if alloca arg would be neg. 12910 * abbrev.c (Fexpand_abbrev): Return nil if alloca arg would be neg.
12911 12911
12912 1990-07-26 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12912 1990-07-26 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12913 12913
12914 * xdisp.c (display_text_line): String to rope copy for inserting 12914 * xdisp.c (display_text_line): String to rope copy for inserting
12915 arrow text. 12915 arrow text.
12916 12916
12917 1990-07-25 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12917 1990-07-25 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12918 12918
12919 * xdisp.c (display_mode_line): Check that the name has actually 12919 * xdisp.c (display_mode_line): Check that the name has actually
12920 changed before calling x_set_name. 12920 changed before calling x_set_name.
12921 12921
12922 * ralloc.c (check_memory_limits): New function. 12922 * ralloc.c (check_memory_limits): New function.
12927 functions. 12927 functions.
12928 12928
12929 * vm-limit.c (morecore_with_warning): Check if new memory larger 12929 * vm-limit.c (morecore_with_warning): Check if new memory larger
12930 than elisp pointer size. 12930 than elisp pointer size.
12931 12931
12932 1990-07-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12932 1990-07-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12933 12933
12934 * keyboard.c (save_getcjmp, restore_getcjmp): New functions. 12934 * keyboard.c (save_getcjmp, restore_getcjmp): New functions.
12935 (read_char): Use them around Fdo_auto_save. 12935 (read_char): Use them around Fdo_auto_save.
12936 * process.c (read_process_output, exec_sentinel): Use them. 12936 * process.c (read_process_output, exec_sentinel): Use them.
12937 * fileio.c (Fdo_auto_save): Run auto-save-hook. 12937 * fileio.c (Fdo_auto_save): Run auto-save-hook.
12938 12938
12939 1990-07-24 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12939 1990-07-24 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12940 12940
12941 * dispnew.c (safe_bcopy): No longer static. 12941 * dispnew.c (safe_bcopy): No longer static.
12942 12942
12943 * ralloc.c (relocate_blocs_upward, relocate_blocs_downward): Use 12943 * ralloc.c (relocate_blocs_upward, relocate_blocs_downward): Use
12944 safe_bcopy. 12944 safe_bcopy.
12945 12945
12946 * mem_limits.c: typedef SIZE. 12946 * mem_limits.c: typedef SIZE.
12947 12947
12948 1990-07-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12948 1990-07-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12949 12949
12950 * fileio.c (Finsert_file_contents): Initialize how_much when exiting 12950 * fileio.c (Finsert_file_contents): Initialize how_much when exiting
12951 main loop. 12951 main loop.
12952 12952
12953 * m/m-mips.h: Added stuff from the 18.56 version. 12953 * m/m-mips.h: Added stuff from the 18.56 version.
12954 12954
12955 1990-07-18 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12955 1990-07-18 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12956 12956
12957 * indent.c (Fmove_to_column): Set end to ZV. 12957 * indent.c (Fmove_to_column): Set end to ZV.
12958 12958
12959 1990-07-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12959 1990-07-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12960 12960
12961 * editfns.c (init_editfns): Let envvar NAME override full name. 12961 * editfns.c (init_editfns): Let envvar NAME override full name.
12962 12962
12963 * buffer.c (list_buffers_1): Avoid error with list-buffers-directory. 12963 * buffer.c (list_buffers_1): Avoid error with list-buffers-directory.
12964 12964
12965 1990-07-17 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12965 1990-07-17 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12966 12966
12967 * buffer.c (list_buffers_1): Don't check list-buffers-directory. 12967 * buffer.c (list_buffers_1): Don't check list-buffers-directory.
12968 12968
12969 1990-07-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) 12969 1990-07-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12970 12970
12971 * xdisp.c (display_text_line): Don't print ellipsis if they're 12971 * xdisp.c (display_text_line): Don't print ellipsis if they're
12972 off the left edge. 12972 off the left edge.
12973 12973
12974 1990-07-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12974 1990-07-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12975 12975
12976 * s-386-ix.h: Define BROKEN_TIOCGETC. 12976 * s-386-ix.h: Define BROKEN_TIOCGETC.
12977 12977
12978 1990-07-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12978 1990-07-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12979 12979
12980 * m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START 12980 * m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START
12981 and DATA_SEG_BITS. 12981 and DATA_SEG_BITS.
12982 12982
12983 1990-07-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12983 1990-07-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12984 12984
12985 * s-iris3-6.h (HAVE_GETWD): Define this. 12985 * s-iris3-6.h (HAVE_GETWD): Define this.
12986 (KERNEL_FILE): Change to /unix. 12986 (KERNEL_FILE): Change to /unix.
12987 (sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off. 12987 (sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off.
12988 (SIGIO): Don't undefine it. 12988 (SIGIO): Don't undefine it.
12989 (LIBS_MACHINE): Remove -lbsd. 12989 (LIBS_MACHINE): Remove -lbsd.
12990 12990
12991 * minibuf.c (Fall_completions, do_completion): Treat nil as alist. 12991 * minibuf.c (Fall_completions, do_completion): Treat nil as alist.
12992 (Ftry_completion): Likewise. 12992 (Ftry_completion): Likewise.
12993 12993
12994 1990-07-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12994 1990-07-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12995 12995
12996 * sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined. 12996 * sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined.
12997 * s-usg5-3.h, s-xenix.h: Define BROKEN_TIOCGETC. 12997 * s-usg5-3.h, s-xenix.h: Define BROKEN_TIOCGETC.
12998 12998
12999 1990-06-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 12999 1990-06-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13000 13000
13001 * process.c (Fopen_network_connection): Minor cleanup. 13001 * process.c (Fopen_network_connection): Minor cleanup.
13002 13002
13003 1990-06-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13003 1990-06-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13004 13004
13005 * m-sun3.h: Add comments for dealing with 68881. 13005 * m-sun3.h: Add comments for dealing with 68881.
13006 13006
13007 1990-06-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13007 1990-06-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13008 13008
13009 * m-ibmps2-aix.h [__GNUC__]: Define LIB_STANDARD and C_DEBUG_SWITCH, 13009 * m-ibmps2-aix.h [__GNUC__]: Define LIB_STANDARD and C_DEBUG_SWITCH,
13010 and don't define LIBS_MACHINE. 13010 and don't define LIBS_MACHINE.
13011 (HAVE_WAIT_HEADER): Define this. 13011 (HAVE_WAIT_HEADER): Define this.
13012 Also reordered definitions so recently added ones are together. 13012 Also reordered definitions so recently added ones are together.
13013 13013
13014 1990-06-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13014 1990-06-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13015 13015
13016 * insdel.c (insert): Error if buffer would get too long. 13016 * insdel.c (insert): Error if buffer would get too long.
13017 * fileio.c (Finsert_file_contents): Likewise. 13017 * fileio.c (Finsert_file_contents): Likewise.
13018 13018
13019 1990-06-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13019 1990-06-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13020 13020
13021 * syntax.c (scan_sexps_forward): Allow Squote inside symbols. 13021 * syntax.c (scan_sexps_forward): Allow Squote inside symbols.
13022 13022
13023 1990-06-16 Joseph Arceneaux (jla at geech) 13023 1990-06-16 Joseph Arceneaux (jla@geech)
13024 13024
13025 * window.c (Fscroll_other_window): Don't unbind_to. Keep track of 13025 * window.c (Fscroll_other_window): Don't unbind_to. Keep track of
13026 current_buffer and point explicitly. 13026 current_buffer and point explicitly.
13027 13027
13028 1990-06-15 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13028 1990-06-15 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13029 13029
13030 * term.c: (cursor_to): Only add chars_wasted if not calling hook. 13030 * term.c: (cursor_to): Only add chars_wasted if not calling hook.
13031 (clear_end_of_line_raw): Likewise. 13031 (clear_end_of_line_raw): Likewise.
13032 (clear_end_of_line): Check that screen is termcap before using 13032 (clear_end_of_line): Check that screen is termcap before using
13033 chars_wasted. 13033 chars_wasted.
13039 * term.h: DCICcost no longer defined here. DC_ICcost no longer 13039 * term.h: DCICcost no longer defined here. DC_ICcost no longer
13040 declared here. 13040 declared here.
13041 * dispnew.c: char_ins_del_cost defined here. char_ins_del_vector 13041 * dispnew.c: char_ins_del_cost defined here. char_ins_del_vector
13042 declared extern here. 13042 declared extern here.
13043 13043
13044 1990-06-14 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13044 1990-06-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13045 13045
13046 * Globally replaced screen_width with macro 13046 * Globally replaced screen_width with macro
13047 SCREEN_WIDTH (selected_screen). 13047 SCREEN_WIDTH (selected_screen).
13048 * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from 13048 * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from
13049 screen_width. 13049 screen_width.
13050 (change_window_size): No longer check output_type and set 13050 (change_window_size): No longer check output_type and set
13051 ScreenRows. 13051 ScreenRows.
13052 13052
13053 1990-06-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13053 1990-06-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13054 13054
13055 * indent.c (Findent_to): Don't fail to return value. 13055 * indent.c (Findent_to): Don't fail to return value.
13056 (Fmove_to_column, Fcurrent_column): Doc fixes. 13056 (Fmove_to_column, Fcurrent_column): Doc fixes.
13057 13057
13058 1990-06-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13058 1990-06-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13059 13059
13060 * keyboard.c (echo_prompt): Now uses glyphs. 13060 * keyboard.c (echo_prompt): Now uses glyphs.
13061 echobuf, echobuf_ptr: These variables now glyphs. 13061 echobuf, echobuf_ptr: These variables now glyphs.
13062 13062
13063 1990-06-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13063 1990-06-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13064 13064
13065 * fileio.c (Fdo_auto_save): Use glyphs_to_str_copy to set 13065 * fileio.c (Fdo_auto_save): Use glyphs_to_str_copy to set
13066 omessage. 13066 omessage.
13067 * alloc.c (Fgarbage_collect): Ditto. 13067 * alloc.c (Fgarbage_collect): Ditto.
13068 13068
13073 Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set 13073 Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set
13074 echo_area_glyphs. 13074 echo_area_glyphs.
13075 13075
13076 * print.c (printchar, strout): Use message_buf_size. Convert to 13076 * print.c (printchar, strout): Use message_buf_size. Convert to
13077 glyfs before assigning chars. 13077 glyfs before assigning chars.
13078 (str_to_glyph_cpy, str_to_glyph_ncpy, 13078 (str_to_glyph_cpy, str_to_glyph_ncpy,
13079 glyph_to_str_cpy, glyph_to_str_ncpy): New functions. 13079 glyph_to_str_cpy, glyph_to_str_ncpy): New functions.
13080 13080
13081 1990-06-03 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13081 1990-06-03 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13082 13082
13083 * keyboard.c (command_loop_1): Clear this_command_key_count here. 13083 * keyboard.c (command_loop_1): Clear this_command_key_count here.
13084 (Fread_key_sequence): And here. 13084 (Fread_key_sequence): And here.
13085 (read_key_sequence): Not here. 13085 (read_key_sequence): Not here.
13086 13086
13087 * dispnew.c (update_screen): 13087 * dispnew.c (update_screen):
13088 Add missing else in handling cursor_in_echo_area. 13088 Add missing else in handling cursor_in_echo_area.
13089 * xdisp.c (redisplay_window): Eliminate lpoint. Alter opoint 13089 * xdisp.c (redisplay_window): Eliminate lpoint. Alter opoint
13090 if point should be changed permanently in the selected window. 13090 if point should be changed permanently in the selected window.
13091 13091
13092 * window.c (unshow_buffer): Don't set pt in selected window's buffer. 13092 * window.c (unshow_buffer): Don't set pt in selected window's buffer.
13093 13093
13094 * xdisp.c (decode_mode_spec): Don't truncate buffer or file name. 13094 * xdisp.c (decode_mode_spec): Don't truncate buffer or file name.
13116 Set RPov based on actual width. 13116 Set RPov based on actual width.
13117 (chars_wasted, copybuf, DC_ICcost): Now pointers. 13117 (chars_wasted, copybuf, DC_ICcost): Now pointers.
13118 13118
13119 * xterm.c (x_term_init): Don't set dont_calculate_costs anymore. 13119 * xterm.c (x_term_init): Don't set dont_calculate_costs anymore.
13120 13120
13121 1990-06-02 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13121 1990-06-02 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13122 13122
13123 * term.c (calculate_ins_del_char_costs, string_cost_one_line): 13123 * term.c (calculate_ins_del_char_costs, string_cost_one_line):
13124 Made static. 13124 Made static.
13125 13125
13126 * dispnew.c: Declare scrolling_1; 13126 * dispnew.c: Declare scrolling_1;
13134 BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF. 13134 BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF.
13135 SetPoint -> SET_PT. 13135 SetPoint -> SET_PT.
13136 13136
13137 * xterm.c (x_term_init): Don't CalcIDCosts here anymore. 13137 * xterm.c (x_term_init): Don't CalcIDCosts here anymore.
13138 13138
13139 1990-06-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13139 1990-06-01 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13140 13140
13141 * print.c: Include dispextern.h. 13141 * print.c: Include dispextern.h.
13142 (printchar, strout): Use message_buf. 13142 (printchar, strout): Use message_buf.
13143 13143
13144 * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght. 13144 * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght.
13166 Macro SetBfx removed. 13166 Macro SetBfx removed.
13167 Macro SetPoint renamed SET_PT. 13167 Macro SetPoint renamed SET_PT.
13168 13168
13169 * fileio.c (Fexpand_file_name): Simplified. 13169 * fileio.c (Fexpand_file_name): Simplified.
13170 13170
13171 1990-06-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13171 1990-06-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13172 13172
13173 * dired.c: Doc fix. 13173 * dired.c: Doc fix.
13174 13174
13175 1990-05-31 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13175 1990-05-31 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13176 13176
13177 * search.c (Fsearch_forward): Docstring fix. 13177 * search.c (Fsearch_forward): Docstring fix.
13178 13178
13179 1990-05-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13179 1990-05-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13180 13180
13181 * dired.c: Comment added. 13181 * dired.c: Comment added.
13182 13182
13183 1990-05-31 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13183 1990-05-31 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13184 13184
13185 * process.c (Fprocess_connection): Return the type of a process 13185 * process.c (Fprocess_connection): Return the type of a process
13186 object. 13186 object.
13187 (syms_of_process): Initialize pty_process and stream_process. 13187 (syms_of_process): Initialize pty_process and stream_process.
13188 Declare Fprocess_type. 13188 Declare Fprocess_type.
13189 * process.h New element type to struct Lisp_Process. 13189 * process.h New element type to struct Lisp_Process.
13190 13190
13191 * syntax.c (scan_sexps_forward): Initialize curlevel->last to -1. 13191 * syntax.c (scan_sexps_forward): Initialize curlevel->last to -1.
13192 13192
13193 1990-05-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13193 1990-05-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13194 13194
13195 * fileio.c (Finsert_file_contents): Use new variable how_much to 13195 * fileio.c (Finsert_file_contents): Use new variable how_much to
13196 hold read result. 13196 hold read result.
13197 13197
13198 1990-05-24 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13198 1990-05-24 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13199 13199
13200 * lread.c (read_char_exclusive): New subr. 13200 * lread.c (read_char_exclusive): New subr.
13201 13201
13202 1990-05-24 David Lawrence (tale at pogo.ai.mit.edu) 13202 1990-05-24 David Lawrence (tale@pogo.ai.mit.edu)
13203 13203
13204 * fileio.c (file_executable_p): New function. 13204 * fileio.c (file_executable_p): New function.
13205 13205
13206 1990-05-23 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13206 1990-05-23 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13207 13207
13208 * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was 13208 * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was
13209 successful. 13209 successful.
13210 13210
13211 * editfns.c (syms_of_editfns): DEFVAR the new variables. 13211 * editfns.c (syms_of_editfns): DEFVAR the new variables.
13214 function was compiled. 13214 function was compiled.
13215 13215
13216 * print.c (print): Use ... only for conses, and instead of normal 13216 * print.c (print): Use ... only for conses, and instead of normal
13217 print. 13217 print.
13218 13218
13219 1990-05-22 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13219 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13220 13220
13221 * Renamed meta_flag meta_key. 13221 * Renamed meta_flag meta_key.
13222 13222
13223 * termopts.h: Comment changes. 13223 * termopts.h: Comment changes.
13224 13224
13225 1990-05-20 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13225 1990-05-20 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13226 13226
13227 * buffer.h: upcase_table and downcase_table are now Lisp_Objects. 13227 * buffer.h: upcase_table and downcase_table are now Lisp_Objects.
13228 * alloc.c (mark_object, gc_sweep): Related changes. 13228 * alloc.c (mark_object, gc_sweep): Related changes.
13229 * casetab.c: Ditto. 13229 * casetab.c: Ditto.
13230 13230
13231 1990-05-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13231 1990-05-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13232 13232
13233 * minibuf.c (Fall_completions): Protect STRING from gc. 13233 * minibuf.c (Fall_completions): Protect STRING from gc.
13234 Copy ALIST to TAIL to protect it. 13234 Copy ALIST to TAIL to protect it.
13235 13235
13236 * paths.h-dist: Doc fix. 13236 * paths.h-dist: Doc fix.
13237 13237
13238 1990-05-17 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13238 1990-05-17 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13239 13239
13240 * search.c (Flooking_at, search_buffer): Use new accessors. 13240 * search.c (Flooking_at, search_buffer): Use new accessors.
13241 * indent.c (Fcurrent_column): Likewise. 13241 * indent.c (Fcurrent_column): Likewise.
13242 * minibuf.c (read_minibuf): Likewise. 13242 * minibuf.c (read_minibuf): Likewise.
13243 * regex.c (re_match_2): Use PTR_CHAR_POS. 13243 * regex.c (re_match_2): Use PTR_CHAR_POS.
13251 (InsCStr, del_range, modify_region): Likewise. 13251 (InsCStr, del_range, modify_region): Likewise.
13252 * process.c (Fprocess_send_region): Likewise. 13252 * process.c (Fprocess_send_region): Likewise.
13253 * xdisp.c (try_window, try_window_id, display_text_line): Likewise. 13253 * xdisp.c (try_window, try_window_id, display_text_line): Likewise.
13254 (redisplay): Likewise. 13254 (redisplay): Likewise.
13255 * buffer.c (list_buffers_1): Likewise. 13255 * buffer.c (list_buffers_1): Likewise.
13256 * marker.c (marker_position, Fset_marker, set_marker_restricted): 13256 * marker.c (marker_position, Fset_marker, set_marker_restricted):
13257 (Fmarker_position): Likewise. 13257 (Fmarker_position): Likewise.
13258 * window.c (unshow_buffer, Fset_window_configuration): Likewise. 13258 * window.c (unshow_buffer, Fset_window_configuration): Likewise.
13259 (Fset_window_buffer): Likewise. 13259 (Fset_window_buffer): Likewise.
13260 13260
13261 * editfns.c (save_restriction_restore): Use a macro to alter point. 13261 * editfns.c (save_restriction_restore): Use a macro to alter point.
13299 (SetBfp): Don't check. 13299 (SetBfp): Don't check.
13300 (SetBfp, Frename_buffer): Local cleanups. 13300 (SetBfp, Frename_buffer): Local cleanups.
13301 * print.c (PRINTPREPARE): Use Fset_buffer. 13301 * print.c (PRINTPREPARE): Use Fset_buffer.
13302 13302
13303 * buffer.c (SetBfp): Don't bother with selected window or its point. 13303 * buffer.c (SetBfp): Don't bother with selected window or its point.
13304 * window.c (Fselect_window): Always set pointm of old window. 13304 * window.c (Fselect_window): Always set pointm of old window.
13305 13305
13306 * editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED. 13306 * editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED.
13307 * indent.c, keyboard.c: Ditto. 13307 * indent.c, keyboard.c: Ditto.
13308 13308
13309 * search.c (skip_chars): Eliminate PointLeft and PointRight. 13309 * search.c (skip_chars): Eliminate PointLeft and PointRight.
13310 * cmds.c (SelfInsert): Likewise. 13310 * cmds.c (SelfInsert): Likewise.
13311 13311
13312 1990-05-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13312 1990-05-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13313 13313
13314 * xdisp.c (try_window): No return value. 13314 * xdisp.c (try_window): No return value.
13315 Fix calls to try_window. 13315 Fix calls to try_window.
13316 * Global variable RedoModes is now redraw_mode_line. 13316 * Global variable RedoModes is now redraw_mode_line.
13317 13317
13318 1990-05-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13318 1990-05-13 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13319 13319
13320 * keymap.c (Fdefine_key, Flookup_key): Local cleanups. 13320 * keymap.c (Fdefine_key, Flookup_key): Local cleanups.
13321 13321
13322 * sysdep.c (sys_suspend): Use save_signal_handlers and 13322 * sysdep.c (sys_suspend): Use save_signal_handlers and
13323 restore_signal_handlers to save and restore signal state. 13323 restore_signal_handlers to save and restore signal state.
13324 13324
13325 * indent.c (Findent_to): Merge guts of indentation into here. 13325 * indent.c (Findent_to): Merge guts of indentation into here.
13326 (position_indentation): Scan with a pointer, for speed. 13326 (position_indentation): Scan with a pointer, for speed.
13327 13327
13337 Local cleanups. 13337 Local cleanups.
13338 (describe_command): Do indentation and newline. 13338 (describe_command): Do indentation and newline.
13339 (describe_map): Add space to end of prefix. 13339 (describe_map): Add space to end of prefix.
13340 * syntax.c (describe_syntax): Do indentation and newline. 13340 * syntax.c (describe_syntax): Do indentation and newline.
13341 13341
13342 1990-05-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13342 1990-05-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13343 13343
13344 * process.c (create_process) [not USG]: Put subproc in pgrp 0. 13344 * process.c (create_process) [not USG]: Put subproc in pgrp 0.
13345 13345
13346 1990-05-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13346 1990-05-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13347 13347
13348 * dispextern.h: new struct screen_glyfs replaces struct 13348 * dispextern.h: new struct screen_glyfs replaces struct
13349 display_line. 13349 display_line.
13350 * screen.c: new screen elements current_glyfs, desired_glyfs, and 13350 * screen.c: new screen elements current_glyfs, desired_glyfs, and
13351 temp_glyfs. 13351 temp_glyfs.
13364 (rotate_vector, safe_bcopy): New subroutines. 13364 (rotate_vector, safe_bcopy): New subroutines.
13365 (line_hash_code, line_draw_cost): Cleaned up. 13365 (line_hash_code, line_draw_cost): Cleaned up.
13366 Args are different, and hash computation too. 13366 Args are different, and hash computation too.
13367 (update_screen): Rearrange buffer-emptying code. 13367 (update_screen): Rearrange buffer-emptying code.
13368 * xdisp.c: (display_minibuf_message, redisplay): Rewritten for new 13368 * xdisp.c: (display_minibuf_message, redisplay): Rewritten for new
13369 structures. 13369 structures.
13370 (display_text_line, display_mode_line): Likewise. 13370 (display_text_line, display_mode_line): Likewise.
13371 (display_mode_element, display_string): Likewise. 13371 (display_mode_element, display_string): Likewise.
13372 (decode_mode_spec): Local cleanups. 13372 (decode_mode_spec): Local cleanups.
13373 * scroll.c (do_scrolling): Rewritten for new data structures. 13373 * scroll.c (do_scrolling): Rewritten for new data structures.
13374 * xterm.c (XTflash): Use this new structure. 13374 * xterm.c (XTflash): Use this new structure.
13385 * fns.c (Fsubstring): Local cleanup. 13385 * fns.c (Fsubstring): Local cleanup.
13386 13386
13387 * keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions. 13387 * keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions.
13388 (cancel_echoing): Likewise. 13388 (cancel_echoing): Likewise.
13389 (immediate_echo, echoptr): New variables. 13389 (immediate_echo, echoptr): New variables.
13390 (command_loop_1, request_echo, get_char, read_key_sequence): 13390 (command_loop_1, request_echo, get_char, read_key_sequence):
13391 (set_waiting_for_input, interrupt_signal): Related changes. 13391 (set_waiting_for_input, interrupt_signal): Related changes.
13392 (get_char): No more declaration of request_echo. Local cleanups. 13392 (get_char): No more declaration of request_echo. Local cleanups.
13393 13393
13394 (this_command_key...): New variables. 13394 (this_command_key...): New variables.
13395 (Fexecute_extended_command, Fthis_command_keys): Related changes. 13395 (Fexecute_extended_command, Fthis_command_keys): Related changes.
13400 * minibuf.c (read_minibuf): No more delcaration of 13400 * minibuf.c (read_minibuf): No more delcaration of
13401 Frestore_screen_configuration. 13401 Frestore_screen_configuration.
13402 13402
13403 * search.c (Fregexp_quote): Simplified. 13403 * search.c (Fregexp_quote): Simplified.
13404 13404
13405 1990-05-08 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13405 1990-05-08 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13406 13406
13407 * process.c (Fopen_network_stream): Also handle numeric inet 13407 * process.c (Fopen_network_stream): Also handle numeric inet
13408 addresses. 13408 addresses.
13409 13409
13410 1990-05-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13410 1990-05-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13411 13411
13412 * alloca.c: #ifdef __STDC__ rather than X3J11/ 13412 * alloca.c: #ifdef __STDC__ rather than X3J11/
13413 13413
13414 1990-05-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13414 1990-05-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13415 13415
13416 * fileio.c (Fmake_symbolic_link): Delete old file if permitted. 13416 * fileio.c (Fmake_symbolic_link): Delete old file if permitted.
13417 13417
13418 1990-05-02 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13418 1990-05-02 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13419 13419
13420 * data.c (Fstring_to_int): Delete disabled feature 13420 * data.c (Fstring_to_int): Delete disabled feature
13421 of accepting `yes' and `no'. 13421 of accepting `yes' and `no'.
13422 13422
13423 * xdisp.c (redisplay, redisplay_preserving_echo_area): 13423 * xdisp.c (redisplay, redisplay_preserving_echo_area):
13428 * alloc.c (Fmake_marker): Delete `modified' field. 13428 * alloc.c (Fmake_marker): Delete `modified' field.
13429 * insdel.c (adjust_markers): Likewise. 13429 * insdel.c (adjust_markers): Likewise.
13430 13430
13431 * abbrev.c (Fdefine_mode_abbrev): Clean up error message. 13431 * abbrev.c (Fdefine_mode_abbrev): Clean up error message.
13432 13432
13433 1990-05-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13433 1990-05-01 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13434 13434
13435 * xfns.c (Fx_draw_rectangle, Fx_erase_rectangle): Simplified. 13435 * xfns.c (Fx_draw_rectangle, Fx_erase_rectangle): Simplified.
13436 13436
13437 * xterm.c (x_display_cursor): Don't check s->phys_x when drawing 13437 * xterm.c (x_display_cursor): Don't check s->phys_x when drawing
13438 cursor. 13438 cursor.
13460 * lread.c (readchar): Likewise. 13460 * lread.c (readchar): Likewise.
13461 * marker.c (Fmarker_position, marker_position): Likewise. 13461 * marker.c (Fmarker_position, marker_position): Likewise.
13462 (Fset_marker): Likewise. 13462 (Fset_marker): Likewise.
13463 * xdisp.c (DoDsp): Likewise. 13463 * xdisp.c (DoDsp): Likewise.
13464 13464
13465 1990-04-30 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13465 1990-04-30 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13466 13466
13467 * buffer.h: New macro R_ALLOC_SET_BUFFER for declaring all the 13467 * buffer.h: New macro R_ALLOC_SET_BUFFER for declaring all the
13468 text pointers of a buffer to the relocating allocator. 13468 text pointers of a buffer to the relocating allocator.
13469 * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro. 13469 * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro.
13470 * editfns.c (Finsert_buffer_substring): ditto. 13470 * editfns.c (Finsert_buffer_substring): ditto.
13471 * fileio.c (Fdo_auto_save): ditto. 13471 * fileio.c (Fdo_auto_save): ditto.
13472 * insdel.c (make_gap): ditto. 13472 * insdel.c (make_gap): ditto.
13473 * xfns.c (adjust_scrollbars): Don't set bf_cur->text. 13473 * xfns.c (adjust_scrollbars): Don't set bf_cur->text.
13474 13474
13475 1990-04-26 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13475 1990-04-26 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13476 13476
13477 * minibuf.c: Declare active_screen struct screen *, not 13477 * minibuf.c: Declare active_screen struct screen *, not
13478 Lisp_Screen *. 13478 Lisp_Screen *.
13479 13479
13480 1990-04-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13480 1990-04-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13481 13481
13482 * xterm.c (XTupdate_end): Only x_display_cursor if s is x_input_screen. 13482 * xterm.c (XTupdate_end): Only x_display_cursor if s is x_input_screen.
13483 13483
13484 1990-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13484 1990-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13485 13485
13486 * fns.c (Fy_or_n_p): If a C-g comes in and does not quit, quit by hand. 13486 * fns.c (Fy_or_n_p): If a C-g comes in and does not quit, quit by hand.
13487 13487
13488 * buffer.c (Frename_buffer): Allow renaming to same name it has. 13488 * buffer.c (Frename_buffer): Allow renaming to same name it has.
13489 13489
13490 1990-04-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13490 1990-04-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13491 13491
13492 * xfns.c (Fx_open_connection): Attach xrdb to x_current_display. 13492 * xfns.c (Fx_open_connection): Attach xrdb to x_current_display.
13493 13493
13494 1990-04-17 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13494 1990-04-17 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13495 13495
13496 * xterm.c (dumpborder): Now only used for X10. 13496 * xterm.c (dumpborder): Now only used for X10.
13497 (highlight, unhighlight): New functions for X11. 13497 (highlight, unhighlight): New functions for X11.
13498 13498
13499 1990-04-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13499 1990-04-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13500 13500
13501 * cm.c (Wcm_init): Return -2 if screen size not specified. 13501 * cm.c (Wcm_init): Return -2 if screen size not specified.
13502 * term.c (term_init): Special error message for that case. 13502 * term.c (term_init): Special error message for that case.
13503 13503
13504 1990-04-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13504 1990-04-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13505 13505
13506 * s-sunos4.h, s-sunos4shr.h (SYSTEM_MALLOC): Define it. 13506 * s-sunos4.h, s-sunos4shr.h (SYSTEM_MALLOC): Define it.
13507 13507
13508 1990-04-15 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13508 1990-04-15 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13509 13509
13510 * xfns.c (Fx_get_resource): Concatenate invocation_name before 13510 * xfns.c (Fx_get_resource): Concatenate invocation_name before
13511 the resource tag. 13511 the resource tag.
13512 (Fx_create_screen): Use the latest resource id's. 13512 (Fx_create_screen): Use the latest resource id's.
13513 13513
13514 1990-04-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13514 1990-04-13 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13515 13515
13516 * xfns.c (Fx_get_resource): New subr. 13516 * xfns.c (Fx_get_resource): New subr.
13517 (Fx_open_connection): Call x_load_resources. New parameter 13517 (Fx_open_connection): Call x_load_resources. New parameter
13518 xrm_string. 13518 xrm_string.
13519 * xrdb.c: New file for doing resource manager stuff. 13519 * xrdb.c: New file for doing resource manager stuff.
13522 13522
13523 * xselect.h: New file for the X selection stuff. 13523 * xselect.h: New file for the X selection stuff.
13524 13524
13525 * ymakefile: Take note of these new files. 13525 * ymakefile: Take note of these new files.
13526 13526
13527 1990-04-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13527 1990-04-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13528 13528
13529 * xterm.c (x_term_init): Use MAXPATHLEN. 13529 * xterm.c (x_term_init): Use MAXPATHLEN.
13530 13530
13531 1990-04-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13531 1990-04-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13532 13532
13533 * buffer.c (list_buffers_1): Get filename from list-buffers-directory. 13533 * buffer.c (list_buffers_1): Get filename from list-buffers-directory.
13534 13534
13535 1990-04-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13535 1990-04-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13536 13536
13537 * screen.c (coordinates_in_window): Return -1 if in modeline of 13537 * screen.c (coordinates_in_window): Return -1 if in modeline of
13538 window. 13538 window.
13539 (Fcoordinates_in_window_p): Return Qt if in modeline of window. 13539 (Fcoordinates_in_window_p): Return Qt if in modeline of window.
13540 (Flocate_window_from_coordinates): Use next_screen_window if 13540 (Flocate_window_from_coordinates): Use next_screen_window if
13541 MULTI_WINDOW is defined. 13541 MULTI_WINDOW is defined.
13542 13542
13543 1990-04-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13543 1990-04-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13544 13544
13545 * xterm.c (construct_mouse_event): Deal with the motion events 13545 * xterm.c (construct_mouse_event): Deal with the motion events
13546 first. Only grab the mouse when in the scrollbar. 13546 first. Only grab the mouse when in the scrollbar.
13547 13547
13548 1990-04-04 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13548 1990-04-04 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13549 13549
13550 * screen.c (coordinates_in_window): Include mode line as part of 13550 * screen.c (coordinates_in_window): Include mode line as part of
13551 window. 13551 window.
13552 13552
13553 * xterm.c (XTread_socket): Initialize nbytes to 0. 13553 * xterm.c (XTread_socket): Initialize nbytes to 0.
13554 (x_display_cursor): Don't draw if screen not selected. 13554 (x_display_cursor): Don't draw if screen not selected.
13555 13555
13556 * xdisp.c (DoDsp): Additional checks for screen being visible. 13556 * xdisp.c (DoDsp): Additional checks for screen being visible.
13557 13557
13558 1990-04-03 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13558 1990-04-03 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13559 13559
13560 * editfns.c (Fmessage): If there is a global minbuffer screen, 13560 * editfns.c (Fmessage): If there is a global minbuffer screen,
13561 raise it before displaying the message. 13561 raise it before displaying the message.
13562 13562
13563 * window.c (window_loop): Parameter SCREENS now affects which 13563 * window.c (window_loop): Parameter SCREENS now affects which
13564 screen is scanned for windows. All subrs calling window_loop must 13564 screen is scanned for windows. All subrs calling window_loop must
13565 pass a Lisp_Object here now. 13565 pass a Lisp_Object here now.
13566 13566
13567 1990-04-01 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13567 1990-04-01 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13568 13568
13569 * window.c (window_loop): Additional parameter mini to control 13569 * window.c (window_loop): Additional parameter mini to control
13570 minibuffer selection or not. 13570 minibuffer selection or not.
13571 (Fget_lru_window): 13571 (Fget_lru_window):
13572 (Fget_largest_window): 13572 (Fget_largest_window):
13573 (Fget_buffer_window): 13573 (Fget_buffer_window):
13574 (Fdelete_other_windows): 13574 (Fdelete_other_windows):
13575 (Fdelete_windows_on): 13575 (Fdelete_windows_on):
13576 (Freplace_buffer_in_windows): Use that parameter. 13576 (Freplace_buffer_in_windows): Use that parameter.
13577 13577
13578 1990-03-29 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13578 1990-03-29 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13579 13579
13580 * screen.c (Fselect_screen): Raise the selected screen. 13580 * screen.c (Fselect_screen): Raise the selected screen.
13581 13581
13582 * window.c (Fget_buffer_window): 13582 * window.c (Fget_buffer_window):
13583 (Fget_largest_window): 13583 (Fget_largest_window):
13592 mouse-screen. 13592 mouse-screen.
13593 13593
13594 * xfns.c (Fx_track_pointer): Don't turn off cursor, just call 13594 * xfns.c (Fx_track_pointer): Don't turn off cursor, just call
13595 x_display_cursor. 13595 x_display_cursor.
13596 13596
13597 1990-03-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13597 1990-03-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13598 13598
13599 * data.c (Fmake_local_variable): Give the variable value nil if 13599 * data.c (Fmake_local_variable): Give the variable value nil if
13600 unbound. 13600 unbound.
13601 13601
13602 * window.c (Fnext_window, Fprevious_window): For MULTI_SCREEN, 13602 * window.c (Fnext_window, Fprevious_window): For MULTI_SCREEN,
13604 next_screen. 13604 next_screen.
13605 13605
13606 * screen.c (Fscreen_selected_window): 13606 * screen.c (Fscreen_selected_window):
13607 (Fscreen_root_window): If screen is nil, use selected-screen. 13607 (Fscreen_root_window): If screen is nil, use selected-screen.
13608 13608
13609 1990-03-27 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13609 1990-03-27 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13610 13610
13611 * xterm.c (XTread_socket): SET_SCREEN_GARBAGED which returning 13611 * xterm.c (XTread_socket): SET_SCREEN_GARBAGED which returning
13612 symbol which causes DoDsp to be invoked. 13612 symbol which causes DoDsp to be invoked.
13613 * keyboard.c (read_key_sequence): Don't SET_SCREEN_GARBAGED here. 13613 * keyboard.c (read_key_sequence): Don't SET_SCREEN_GARBAGED here.
13614 13614
13618 * window.c: 13618 * window.c:
13619 * sysdep.c: 13619 * sysdep.c:
13620 * keyboard.c: 13620 * keyboard.c:
13621 * dispnew.c: Use the new macro. 13621 * dispnew.c: Use the new macro.
13622 13622
13623 1990-03-25 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13623 1990-03-25 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13624 13624
13625 * xfns.c (Fx_own_selection): Only take one argument, string. 13625 * xfns.c (Fx_own_selection): Only take one argument, string.
13626 13626
13627 1990-03-24 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13627 1990-03-24 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13628 13628
13629 * xfns.c (select_visual): Catch bullshit machines whose hardware 13629 * xfns.c (select_visual): Catch bullshit machines whose hardware
13630 doesn't support the X server pixel depth by looking at colormap_size. 13630 doesn't support the X server pixel depth by looking at colormap_size.
13631 (x_decode_color): Use x_screen_planes to check for color. 13631 (x_decode_color): Use x_screen_planes to check for color.
13632 13632
13633 1990-03-23 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13633 1990-03-23 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13634 13634
13635 * xterm.c (x_display_cursor): Try using vertical bar cursor. 13635 * xterm.c (x_display_cursor): Try using vertical bar cursor.
13636 (clear_cursor): Call x_display_cursor for X11. 13636 (clear_cursor): Call x_display_cursor for X11.
13637 13637
13638 * xfns.c: Zotzed Vx_pointer_mask. 13638 * xfns.c: Zotzed Vx_pointer_mask.
13640 wasted the cursor. Break out of loop if no display line. 13640 wasted the cursor. Break out of loop if no display line.
13641 Use mode line cursor if we're there. 13641 Use mode line cursor if we're there.
13642 (x_y_pos): New function. 13642 (x_y_pos): New function.
13643 (x_set_font): Dont' set x_font_{width,height}, they are gone. 13643 (x_set_font): Dont' set x_font_{width,height}, they are gone.
13644 13644
13645 1990-03-22 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13645 1990-03-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13646 13646
13647 * xfns.c (Fx_track_pointer): Check that s == selected_screen each 13647 * xfns.c (Fx_track_pointer): Check that s == selected_screen each
13648 time through loop. If event is nil, read mouse position. 13648 time through loop. If event is nil, read mouse position.
13649 13649
13650 * keyboard.c (get_char): DoDsp only if selected_screen visible. 13650 * keyboard.c (get_char): DoDsp only if selected_screen visible.
13653 event. 13653 event.
13654 13654
13655 * emacs.c (main): Check here for "-d" option and set display_arg. 13655 * emacs.c (main): Check here for "-d" option and set display_arg.
13656 * dispnew.c (init_display): Set Vwindow_system, etc. if display_arg. 13656 * dispnew.c (init_display): Set Vwindow_system, etc. if display_arg.
13657 13657
13658 1990-03-21 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13658 1990-03-21 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13659 13659
13660 * keyboard.c (read_key_sequence): Don't DoDsp if the screen was 13660 * keyboard.c (read_key_sequence): Don't DoDsp if the screen was
13661 just unmapped. 13661 just unmapped.
13662 (command_loop_1): Call the mouse motion handler before calling 13662 (command_loop_1): Call the mouse motion handler before calling
13663 read_key_sequence. 13663 read_key_sequence.
13673 * dispnew.c (init_display): Don't check env variable DISPLAY to 13673 * dispnew.c (init_display): Don't check env variable DISPLAY to
13674 set Vwindow_system. Now done in startup.el. 13674 set Vwindow_system. Now done in startup.el.
13675 13675
13676 * emacs.c: Removed variables xargc, xargv. 13676 * emacs.c: Removed variables xargc, xargv.
13677 13677
13678 1990-03-20 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13678 1990-03-20 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13679 13679
13680 * xfns.c (Fx_track_pointer): Go faster. 13680 * xfns.c (Fx_track_pointer): Go faster.
13681 13681
13682 * screen.h: New macro SCREENP. 13682 * screen.h: New macro SCREENP.
13683 13683
13684 * window.c: (Fminibuffer_window): Rewritten. 13684 * window.c: (Fminibuffer_window): Rewritten.
13685 13685
13686 1990-03-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13686 1990-03-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13687 13687
13688 * sysdep.c (perror): Control with HAVE_PERROR as well as HPUX. 13688 * sysdep.c (perror): Control with HAVE_PERROR as well as HPUX.
13689 * s-hpux.h (HAVE_PERROR): Define it. 13689 * s-hpux.h (HAVE_PERROR): Define it.
13690 13690
13691 1990-03-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13691 1990-03-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13692 13692
13693 * keyboard.c (command_loop_1): Restructured handling of X event 13693 * keyboard.c (command_loop_1): Restructured handling of X event
13694 things. 13694 things.
13695 (read_key_sequence): Handle new `unmapped-screen' symbol with new 13695 (read_key_sequence): Handle new `unmapped-screen' symbol with new
13696 Vunmap_screen_hook. 13696 Vunmap_screen_hook.
13698 * xterm.c (XTread_socket): Return unmapped-screen symbol if the 13698 * xterm.c (XTread_socket): Return unmapped-screen symbol if the
13699 window for UnmapNotify events. 13699 window for UnmapNotify events.
13700 13700
13701 * lread.c (Feval_region): GCPRO opoint. 13701 * lread.c (Feval_region): GCPRO opoint.
13702 13702
13703 1990-03-16 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13703 1990-03-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13704 13704
13705 * keyboard.c (command_loop_1): Call mouse-motion handler with 13705 * keyboard.c (command_loop_1): Call mouse-motion handler with
13706 argument. Also, don't call undo-boundary. 13706 argument. Also, don't call undo-boundary.
13707 13707
13708 * process.c (create_process): Set the process group for BSD at 13708 * process.c (create_process): Set the process group for BSD at
13709 the same time as for USG. 13709 the same time as for USG.
13710 13710
13711 1990-03-14 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13711 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13712 13712
13713 * xterm.c (x_new_selected_screen): Set x_input_screen here. 13713 * xterm.c (x_new_selected_screen): Set x_input_screen here.
13714 13714
13715 1990-03-11 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13715 1990-03-11 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13716 13716
13717 * xterm.c: Vx_mouse_grabbed now Vmouse_grabbed. 13717 * xterm.c: Vx_mouse_grabbed now Vmouse_grabbed.
13718 (XTread_socket): Generate exited-window symbols on LeaveNotify 13718 (XTread_socket): Generate exited-window symbols on LeaveNotify
13719 even if screen is focused. 13719 even if screen is focused.
13720 13720
13721 * xfns.c: Vx_mouse_grabbed now Vmouse_grabbed. 13721 * xfns.c: Vx_mouse_grabbed now Vmouse_grabbed.
13722 (outline_region): Now static. 13722 (outline_region): Now static.
13723 (Fx_track_pointer): Check x_mouse_screen == s in loop. 13723 (Fx_track_pointer): Check x_mouse_screen == s in loop.
13724 13724
13725 1990-03-10 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13725 1990-03-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13726 13726
13727 * xterm.c (encode_mouse_button): Correctly get the button from 13727 * xterm.c (encode_mouse_button): Correctly get the button from
13728 Motion events. 13728 Motion events.
13729 13729
13730 * xfns.c (x11_encode_mouse_button): Nuked. 13730 * xfns.c (x11_encode_mouse_button): Nuked.
13731 (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd. 13731 (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd.
13732 13732
13733 * keyboard.c (get_char): Re-set obj if we've keyboard-translated 13733 * keyboard.c (get_char): Re-set obj if we've keyboard-translated
13734 c. 13734 c.
13735 13735
13736 1990-03-08 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13736 1990-03-08 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13737 13737
13738 * xterm.c x_focus_screen no longer static. 13738 * xterm.c x_focus_screen no longer static.
13739 (x_error_handler): Use XDefaultIOError. 13739 (x_error_handler): Use XDefaultIOError.
13740 13740
13741 * screen.c (Ffocus_screen): New subr, removed Fscreen_has_focus. 13741 * screen.c (Ffocus_screen): New subr, removed Fscreen_has_focus.
13744 (Fdelete_screen): Pass second parm Qnil to Fselect_screen. 13744 (Fdelete_screen): Pass second parm Qnil to Fselect_screen.
13745 13745
13746 * window.c (Fdisplay_buffer, Fset_window_configuration): Pass 13746 * window.c (Fdisplay_buffer, Fset_window_configuration): Pass
13747 second parm Qnil to Fselect_screen. 13747 second parm Qnil to Fselect_screen.
13748 13748
13749 1990-03-07 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13749 1990-03-07 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13750 13750
13751 * screen.c (Fscreen_has_focus): New subr. 13751 * screen.c (Fscreen_has_focus): New subr.
13752 (Fselect_screen): Use x_focus_on_screen to physically select the 13752 (Fselect_screen): Use x_focus_on_screen to physically select the
13753 screen. 13753 screen.
13754 13754
13755 1990-03-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13755 1990-03-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13756 13756
13757 * xfns.c (x_set_mouse_position): Moved to xterm.c. 13757 * xfns.c (x_set_mouse_position): Moved to xterm.c.
13758 13758
13759 * fileio.c (Fremove_directory): New subr. 13759 * fileio.c (Fremove_directory): New subr.
13760 13760
13770 13770
13771 * buffer.c: Replaced Fbuffer_flush_undo with 13771 * buffer.c: Replaced Fbuffer_flush_undo with
13772 Fbuffer_disable_undo. 13772 Fbuffer_disable_undo.
13773 * process.c: Ditto. 13773 * process.c: Ditto.
13774 13774
13775 1990-03-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13775 1990-03-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13776 13776
13777 * xterm.c (XTupdate_end): Use parameter s rather than 13777 * xterm.c (XTupdate_end): Use parameter s rather than
13778 updating_screen. 13778 updating_screen.
13779 (XTread_socket): On EnterNotify, don't check s != focus_screen 13779 (XTread_socket): On EnterNotify, don't check s != focus_screen
13780 before selecting. On Focus In/Out don't set/reset mouse_screen. 13780 before selecting. On Focus In/Out don't set/reset mouse_screen.
13781 13781
13782 1990-03-04 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13782 1990-03-04 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13783 13783
13784 * eval.c If using X windows, include xterm.h. 13784 * eval.c If using X windows, include xterm.h.
13785 (error): TOTALLY_UNBLOCK_INPUT if using X. 13785 (error): TOTALLY_UNBLOCK_INPUT if using X.
13786 13786
13787 * xterm.h: BLOCK_INPUT, UNBLOCK_INPUT: No signal stuff, just inc 13787 * xterm.h: BLOCK_INPUT, UNBLOCK_INPUT: No signal stuff, just inc
13811 (x_bitmap_icon): 13811 (x_bitmap_icon):
13812 (x_text_icon): 13812 (x_text_icon):
13813 (x_new_font): Return 1 if failed, don't call error. 13813 (x_new_font): Return 1 if failed, don't call error.
13814 (x_make_screen_visible): Raise the screen as well. 13814 (x_make_screen_visible): Raise the screen as well.
13815 13815
13816 1990-03-02 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13816 1990-03-02 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13817 13817
13818 * screen.c (Frelease_focused_screen): Just check that screen is 13818 * screen.c (Frelease_focused_screen): Just check that screen is
13819 selected. 13819 selected.
13820 13820
13821 1990-02-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13821 1990-02-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13822 13822
13823 * screen.c (Fselect_screen_focused, Frelease_focused_screen): New 13823 * screen.c (Fselect_screen_focused, Frelease_focused_screen): New
13824 subrs. 13824 subrs.
13825 * xterm.c (x_focus_on_screen, x_unfocus_screen): New procedures 13825 * xterm.c (x_focus_on_screen, x_unfocus_screen): New procedures
13826 to implement focusing. 13826 to implement focusing.
13827 13827
13828 1990-02-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13828 1990-02-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13829 13829
13830 * casefiddle.c: Doc fix. 13830 * casefiddle.c: Doc fix.
13831 13831
13832 1990-02-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13832 1990-02-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13833 13833
13834 * xterm.h: Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock 13834 * xterm.h: Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock
13835 and sigsetmask if available. 13835 and sigsetmask if available.
13836 * xterm.c: Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD. 13836 * xterm.c: Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD.
13837 13837
13838 1990-02-27 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13838 1990-02-27 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13839 13839
13840 * minibuf.c (Fread_from_minibuffer): Initialize pos to 0. 13840 * minibuf.c (Fread_from_minibuffer): Initialize pos to 0.
13841 13841
13842 1990-02-25 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13842 1990-02-25 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13843 13843
13844 * keyboard.c (read_key_sequence): Handle mapped-screen event 13844 * keyboard.c (read_key_sequence): Handle mapped-screen event
13845 symbol by calling new hook Vmap_screen_hook. 13845 symbol by calling new hook Vmap_screen_hook.
13846 13846
13847 * xterm.c (x_make_screen_invisible): Use the new Xlib function 13847 * xterm.c (x_make_screen_invisible): Use the new Xlib function
13848 XWidthdrawWindow. 13848 XWidthdrawWindow.
13849 (x_iconify_screen): Use the new Xlib function XIconifyWindow. 13849 (x_iconify_screen): Use the new Xlib function XIconifyWindow.
13850 (XTread_socket): Return mapped-screen symbol to signal 13850 (XTread_socket): Return mapped-screen symbol to signal
13851 mapped-screen events. 13851 mapped-screen events.
13852 13852
13853 1990-02-23 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13853 1990-02-23 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13854 13854
13855 * keyboard.c (command_loop_1): Check the character for width 1 13855 * keyboard.c (command_loop_1): Check the character for width 1
13856 before doing direct_output_forward, as well as the cursor position 13856 before doing direct_output_forward, as well as the cursor position
13857 on the screen. 13857 on the screen.
13858 13858
13859 * xdisp.c (DoDsp): Use redisplay_windows rather than 13859 * xdisp.c (DoDsp): Use redisplay_windows rather than
13860 redisplay_all_windows, which was removed. 13860 redisplay_all_windows, which was removed.
13861 13861
13862 1990-02-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13862 1990-02-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13863 13863
13864 * unexencap.c: New file, waiting for papers. 13864 * unexencap.c: New file, waiting for papers.
13865 13865
13866 1990-02-22 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13866 1990-02-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13867 13867
13868 * keyboard.c: Removed much debugging stuff. 13868 * keyboard.c: Removed much debugging stuff.
13869 * xterm.c: Removed much debugging stuff. 13869 * xterm.c: Removed much debugging stuff.
13870 (x_error_handler): For X11, if caught BadAlloc error while 13870 (x_error_handler): For X11, if caught BadAlloc error while
13871 converting selection (note new variable x_converting_selection), 13871 converting selection (note new variable x_converting_selection),
13873 13873
13874 * xfns.c: Massive changes for crufty selection processing details. 13874 * xfns.c: Massive changes for crufty selection processing details.
13875 New X atoms: Xatom_clipboard, Xatom_delete, Xatom_insert_selection, 13875 New X atoms: Xatom_clipboard, Xatom_delete, Xatom_insert_selection,
13876 Xatom_insert_property, Xatom_pair. 13876 Xatom_insert_property, Xatom_pair.
13877 13877
13878 1990-02-21 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13878 1990-02-21 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13879 13879
13880 * keyboard.c (kbd_buffer_store_char): Check NULL objects. 13880 * keyboard.c (kbd_buffer_store_char): Check NULL objects.
13881 13881
13882 * xterm.c (XTread_socket): Correctly advance bufp for all KeyPress 13882 * xterm.c (XTread_socket): Correctly advance bufp for all KeyPress
13883 events. 13883 events.
13884 13884
13885 1990-02-20 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13885 1990-02-20 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13886 13886
13887 * keyboard.c (kbd_buffer_get_char): Use KBD_BUFFER_SIZE rather 13887 * keyboard.c (kbd_buffer_get_char): Use KBD_BUFFER_SIZE rather
13888 than sizeof kbd_buffer. 13888 than sizeof kbd_buffer.
13889 (read_key_sequence): Upon redraw-display symbol, set 13889 (read_key_sequence): Upon redraw-display symbol, set
13890 screen_garbaged. 13890 screen_garbaged.
13891 13891
13892 * xterm.c (XTread_socket): On EnterNotify events, make sure to 13892 * xterm.c (XTread_socket): On EnterNotify events, make sure to
13893 return mouse event for both scrollbars and windows. 13893 return mouse event for both scrollbars and windows.
13894 13894
13895 1990-02-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13895 1990-02-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13896 13896
13897 * casefiddle.c (casify_region): Move the new statement. 13897 * casefiddle.c (casify_region): Move the new statement.
13898 13898
13899 1990-02-19 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13899 1990-02-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13900 13900
13901 * casefiddle.c (casify_region): Return if beginning and end same. 13901 * casefiddle.c (casify_region): Return if beginning and end same.
13902 13902
13903 1990-02-18 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13903 1990-02-18 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13904 13904
13905 * keyboard.c (kbd_buffer_store_char): Use KBD_BUFFER_SIZE rather 13905 * keyboard.c (kbd_buffer_store_char): Use KBD_BUFFER_SIZE rather
13906 than sizeof kbd_buffer. 13906 than sizeof kbd_buffer.
13907 13907
13908 * fns.c (Fy_or_n_p): Only accept ints from get_char. 13908 * fns.c (Fy_or_n_p): Only accept ints from get_char.
13909 13909
13910 1990-02-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13910 1990-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13911 13911
13912 * minibuf.c (Fread_from_minibuffer): New arg POSITION. 13912 * minibuf.c (Fread_from_minibuffer): New arg POSITION.
13913 13913
13914 * unexsunos4.c: New file. Waiting for papers. 13914 * unexsunos4.c: New file. Waiting for papers.
13915 * s-sunos4shr.h: New file. 13915 * s-sunos4shr.h: New file.
13916 13916
13917 * emacs.c (main) [RUN_TIME_REMAP]: Call run_time_remap. 13917 * emacs.c (main) [RUN_TIME_REMAP]: Call run_time_remap.
13918 13918
13919 * ymakefile (LD): Let config file override with LD_CMD. 13919 * ymakefile (LD): Let config file override with LD_CMD.
13920 13920
13921 1990-02-14 Joseph Arceneaux (jla at albert.ai.mit.edu) 13921 1990-02-14 Joseph Arceneaux (jla@albert.ai.mit.edu)
13922 13922
13923 * keyboard.c (read_avail_input): pass read_socket_hook 13923 * keyboard.c (read_avail_input): pass read_socket_hook
13924 KBD_BUFFER_SIZE rather than doing sizeof (buf). 13924 KBD_BUFFER_SIZE rather than doing sizeof (buf).
13925 13925
13926 * xterm.c (XTread_socket): Set event.type = MotionNotify when 13926 * xterm.c (XTread_socket): Set event.type = MotionNotify when
13927 entering screen or scrollbar to fake motion event. 13927 entering screen or scrollbar to fake motion event.
13928 13928
13929 1990-02-13 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13929 1990-02-13 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13930 13930
13931 * window.c (next_screen, prev_screen): moved to screen.c 13931 * window.c (next_screen, prev_screen): moved to screen.c
13932 (Fnext_window): If mini non-nil, count the separate minibuffer 13932 (Fnext_window): If mini non-nil, count the separate minibuffer
13933 screen. 13933 screen.
13934 * screen.c (Fnext_screen): new subr. 13934 * screen.c (Fnext_screen): new subr.
13935 13935
13936 1990-02-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13936 1990-02-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13937 13937
13938 * xdisp.c (display_text_line, try_window, try_window_id, DoDsp): 13938 * xdisp.c (display_text_line, try_window, try_window_id, DoDsp):
13939 Don't display overlay arrow on more than one line in a window. 13939 Don't display overlay arrow on more than one line in a window.
13940 13940
13941 1990-02-12 Joseph Arceneaux (jla at albert.ai.mit.edu) 13941 1990-02-12 Joseph Arceneaux (jla@albert.ai.mit.edu)
13942 13942
13943 * doprnt.c (doprnt): Expand size of tembuf to 512. 13943 * doprnt.c (doprnt): Expand size of tembuf to 512.
13944 13944
13945 1990-02-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 13945 1990-02-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13946 13946
13947 * minibuf.c (Fread_no_blanks_input): Make second arg optional. 13947 * minibuf.c (Fread_no_blanks_input): Make second arg optional.
13948 13948
13949 1990-02-09 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13949 1990-02-09 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13950 13950
13951 * keyboard.c (get_char): Remember to set obj when executing macro. 13951 * keyboard.c (get_char): Remember to set obj when executing macro.
13952 (read_key_sequence): Handle the exited-scrollbar symbol. 13952 (read_key_sequence): Handle the exited-scrollbar symbol.
13953 Compare obj, not read_key_sequence_cmd. 13953 Compare obj, not read_key_sequence_cmd.
13954 13954
13956 window-manager variable. 13956 window-manager variable.
13957 (x_make_screen_invisible, x_iconify_screen): Don't use new R4 13957 (x_make_screen_invisible, x_iconify_screen): Don't use new R4
13958 calls (they crash), do it ourselves. 13958 calls (they crash), do it ourselves.
13959 (XTread_socket): Return exited-scrollbar symbol when doing so. 13959 (XTread_socket): Return exited-scrollbar symbol when doing so.
13960 13960
13961 1990-02-08 Joseph Arceneaux (jla at albert.ai.mit.edu) 13961 1990-02-08 Joseph Arceneaux (jla@albert.ai.mit.edu)
13962 13962
13963 * xterm.c (construct_mouse_event): Rewritten to do mouse-motion 13963 * xterm.c (construct_mouse_event): Rewritten to do mouse-motion
13964 compression. All mouse processing now done here. 13964 compression. All mouse processing now done here.
13965 Also, just use nil and t for x-mouse-grabbed. Record buttons 13965 Also, just use nil and t for x-mouse-grabbed. Record buttons
13966 pressed in new variable x_mouse_grabbed. XGrabPointer on button 13966 pressed in new variable x_mouse_grabbed. XGrabPointer on button
13967 depression. 13967 depression.
13968 * xfns.c (Fx_horizontal_line): use x_mouse_grabbed. 13968 * xfns.c (Fx_horizontal_line): use x_mouse_grabbed.
13969 13969
13970 1990-02-07 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13970 1990-02-07 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13971 13971
13972 * xdisp.c (DoDsp): If only updating selected screen, but there is 13972 * xdisp.c (DoDsp): If only updating selected screen, but there is
13973 a minibuffer screen, update it as well. 13973 a minibuffer screen, update it as well.
13974 13974
13975 1990-02-06 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13975 1990-02-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13976 13976
13977 * xfns.c (Fx_pixel_width, Fx_pixel_height): New subrs. 13977 * xfns.c (Fx_pixel_width, Fx_pixel_height): New subrs.
13978 * xterm.h New components pixel_width, pixel_height, to x_display. 13978 * xterm.h New components pixel_width, pixel_height, to x_display.
13979 * xterm.c (XTread_socket): On configure notify, set these components. 13979 * xterm.c (XTread_socket): On configure notify, set these components.
13980 13980
13981 * window.c (Fset_window_configuration): Select the screen of the 13981 * window.c (Fset_window_configuration): Select the screen of the
13982 root window if it's not the selected_screen. 13982 root window if it's not the selected_screen.
13983 * minibuf.c (read_minibuf): Remove all the screen selection stuff, 13983 * minibuf.c (read_minibuf): Remove all the screen selection stuff,
13984 now that this is integrated in Fset_window_configuration. 13984 now that this is integrated in Fset_window_configuration.
13985 13985
13986 1990-02-05 Joseph Arceneaux (jla at churchy.ai.mit.edu) 13986 1990-02-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13987 13987
13988 * screen.h: Declare Vglobal_minibuffer_screen. 13988 * screen.h: Declare Vglobal_minibuffer_screen.
13989 * xdisp.c (DoDsp): Set all_windows if using global-minibuffer-screen. 13989 * xdisp.c (DoDsp): Set all_windows if using global-minibuffer-screen.
13990 13990
13991 1990-02-03 Joseph Arceneaux (jla at geech) 13991 1990-02-03 Joseph Arceneaux (jla@geech)
13992 13992
13993 * window.c (Fset_window_configuration): Make sure to set 13993 * window.c (Fset_window_configuration): Make sure to set
13994 window->next to nil for a minibuffer-only screen. 13994 window->next to nil for a minibuffer-only screen.
13995 13995
13996 * screen.c (make_minibuffer_screen): Set mini_window->next nil. 13996 * screen.c (make_minibuffer_screen): Set mini_window->next nil.
13997 13997
13998 1990-02-01 Joseph Arceneaux (jla at albert.ai.mit.edu) 13998 1990-02-01 Joseph Arceneaux (jla@albert.ai.mit.edu)
13999 13999
14000 * screen.c (make_screen): Set wants_modeline elt to 1. 14000 * screen.c (make_screen): Set wants_modeline elt to 1.
14001 14001
14002 * window.c (Fset_window_configuration): Use screen->root_window 14002 * window.c (Fset_window_configuration): Use screen->root_window
14003 as arg to delete_all_subwindows rather than minibuf_window->prev. 14003 as arg to delete_all_subwindows rather than minibuf_window->prev.
14006 Frestore_screen_configuration. Save selected_screen if different 14006 Frestore_screen_configuration. Save selected_screen if different
14007 than minibuf screen, and re-select it after reading minibuf. 14007 than minibuf screen, and re-select it after reading minibuf.
14008 * screen.c: #if 0 Fscreen_configuration, 14008 * screen.c: #if 0 Fscreen_configuration,
14009 Frestore_screen_configuration. 14009 Frestore_screen_configuration.
14010 14010
14011 1990-02-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14011 1990-02-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14012 14012
14013 * m-ibmps2-aix.h: Undef NEED_SIOCTL. 14013 * m-ibmps2-aix.h: Undef NEED_SIOCTL.
14014 (SIGN_EXTEND_CHAR): Cast to `signed char'. 14014 (SIGN_EXTEND_CHAR): Cast to `signed char'.
14015 14015
14016 1990-01-28 Joseph Arceneaux (jla at churchy.ai.mit.edu) 14016 1990-01-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
14017 14017
14018 * xfns.c (Fx_track_pointer): rewrote this to loop while there are 14018 * xfns.c (Fx_track_pointer): rewrote this to loop while there are
14019 mouse events. 14019 mouse events.
14020 14020
14021 * xterm.c (XTread_socket): Return left-window-event symbol upon 14021 * xterm.c (XTread_socket): Return left-window-event symbol upon
14022 LeaveNotify. 14022 LeaveNotify.
14023 * keyboard.c (read_key_sequence): Handle this symbol. 14023 * keyboard.c (read_key_sequence): Handle this symbol.
14024 14024
14025 1990-01-27 Joseph Arceneaux (jla at churchy.ai.mit.edu) 14025 1990-01-27 Joseph Arceneaux (jla@churchy.ai.mit.edu)
14026 14026
14027 * xterm.c (x_display_cursor): Use dumpglyfs with SPACEGLYF for 14027 * xterm.c (x_display_cursor): Use dumpglyfs with SPACEGLYF for
14028 cursor, as `XFillRectaogle's kill HP-BSD server. 14028 cursor, as `XFillRectaogle's kill HP-BSD server.
14029 14029
14030 * xterm.h: Added nontext_cursor, modeline_cursor to x_display 14030 * xterm.h: Added nontext_cursor, modeline_cursor to x_display
14031 structure. 14031 structure.
14032 * xfns.c (x_set_mouse_color, Fx_track_pointer): Changes to use 14032 * xfns.c (x_set_mouse_color, Fx_track_pointer): Changes to use
14033 nontext_cursor. 14033 nontext_cursor.
14034 14034
14035 1990-01-25 Joseph Arceneaux (jla at albert.ai.mit.edu) 14035 1990-01-25 Joseph Arceneaux (jla@albert.ai.mit.edu)
14036 14036
14037 * xterm.h: Changed the face structure for X11 to handle GCs and 14037 * xterm.h: Changed the face structure for X11 to handle GCs and
14038 pixmaps. 14038 pixmaps.
14039 14039
14040 * xterm.c (XTread_socket): Return a motion event when mouse enters 14040 * xterm.c (XTread_socket): Return a motion event when mouse enters
14046 * xfns.c (install_vertical_scrollbar, install_horizontal_scrollbar): 14046 * xfns.c (install_vertical_scrollbar, install_horizontal_scrollbar):
14047 Accept EnterNotify events. Use XMapSubwindows rather than mapping 14047 Accept EnterNotify events. Use XMapSubwindows rather than mapping
14048 each one. 14048 each one.
14049 (Fx_set_face_font): New subr for X11 to set face GC. 14049 (Fx_set_face_font): New subr for X11 to set face GC.
14050 14050
14051 1990-01-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14051 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14052 14052
14053 * dispnew.c (direct_output_for_insert): Give up if buf in 2 windows. 14053 * dispnew.c (direct_output_for_insert): Give up if buf in 2 windows.
14054 14054
14055 * keyboard.c (command_loop_1): 14055 * keyboard.c (command_loop_1):
14056 Dumb bugs disabled special fast display for character motion. 14056 Dumb bugs disabled special fast display for character motion.
14057 14057
14058 * xdisp.c (DoDsp): For cursor motion within line, 14058 * xdisp.c (DoDsp): For cursor motion within line,
14059 hpos result from compute_motion is relative to window. 14059 hpos result from compute_motion is relative to window.
14060 14060
14061 1990-01-24 Richard Stallman (rms at albert.ai.mit.edu) 14061 1990-01-24 Richard Stallman (rms@albert.ai.mit.edu)
14062 14062
14063 * eval.c (Fmacroexpand): Handle explicit macros ((macro ...) ...). 14063 * eval.c (Fmacroexpand): Handle explicit macros ((macro ...) ...).
14064 14064
14065 1990-01-18 Joseph Arceneaux (jla at spiff) 14065 1990-01-18 Joseph Arceneaux (jla@spiff)
14066 14066
14067 * undo.c (Fundo_more): Fixed typo. 14067 * undo.c (Fundo_more): Fixed typo.
14068 14068
14069 1990-01-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14069 1990-01-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14070 14070
14071 * xdisp.c (display_text_line): When checking HPOS for continuation 14071 * xdisp.c (display_text_line): When checking HPOS for continuation
14072 line, compensate for w->left. 14072 line, compensate for w->left.
14073 14073
14074 1990-01-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14074 1990-01-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14075 14075
14076 * dispnew.c [no FIONREAD]: Undefine SIGIO. 14076 * dispnew.c [no FIONREAD]: Undefine SIGIO.
14077 14077
14078 * buffer.c (SetBfp): Use XTYPE to test for no selected window yet. 14078 * buffer.c (SetBfp): Use XTYPE to test for no selected window yet.
14079 14079
14081 Uniformly let NEED_TIME_H control use of time.h instead of sys/time.h. 14081 Uniformly let NEED_TIME_H control use of time.h instead of sys/time.h.
14082 14082
14083 * xterm.h (TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT): Don't use 14083 * xterm.h (TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT): Don't use
14084 SIGIO if no FIONREAD. 14084 SIGIO if no FIONREAD.
14085 14085
14086 1990-01-15 Joseph Arceneaux (jla at spiff) 14086 1990-01-15 Joseph Arceneaux (jla@spiff)
14087 14087
14088 * xfns.c (x_set_mouse_color): Set non-text pointer shape with new 14088 * xfns.c (x_set_mouse_color): Set non-text pointer shape with new
14089 variable Vx_nontext_pointer_shape. 14089 variable Vx_nontext_pointer_shape.
14090 14090
14091 * keyboard.c: More checks for evil bug which trashes kbd_*_ptr. 14091 * keyboard.c: More checks for evil bug which trashes kbd_*_ptr.
14092 14092
14093 * m/hp300bsd.h: Try using BSD load average stuff. 14093 * m/hp300bsd.h: Try using BSD load average stuff.
14094 14094
14095 1990-01-11 Joseph Arceneaux (jla at spiff) 14095 1990-01-11 Joseph Arceneaux (jla@spiff)
14096 14096
14097 * xfns.c (x_draw_pixmap): New routine. 14097 * xfns.c (x_draw_pixmap): New routine.
14098 14098
14099 1990-01-10 Jim Kingdon (kingdon at pogo) 14099 1990-01-10 Jim Kingdon (kingdon@pogo)
14100 14100
14101 * m/hp300bsd.h: New file 14101 * m/hp300bsd.h: New file
14102 14102
14103 1990-01-08 Joseph Arceneaux (jla at spiff) 14103 1990-01-08 Joseph Arceneaux (jla@spiff)
14104 14104
14105 * xfns.c (Fx_window_id): New subr. 14105 * xfns.c (Fx_window_id): New subr.
14106 14106
14107 * screen.c (make_screen): Set wants_modeline elt to mini_p. 14107 * screen.c (make_screen): Set wants_modeline elt to mini_p.
14108 If mini_p 0, then set root_window->next to nil. 14108 If mini_p 0, then set root_window->next to nil.
14109 14109
14110 1990-01-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14110 1990-01-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14111 14111
14112 * editfns.c (Fchar_after): Set N after coercing marker. 14112 * editfns.c (Fchar_after): Set N after coercing marker.
14113 14113
14114 1990-01-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14114 1990-01-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14115 14115
14116 * buffer.c (Fkill_all_local_variables): Force mode line update. 14116 * buffer.c (Fkill_all_local_variables): Force mode line update.
14117 14117
14118 1990-01-05 Joseph Arceneaux (jla at spiff) 14118 1990-01-05 Joseph Arceneaux (jla@spiff)
14119 14119
14120 * insdel.c: Declare Vfirst_change_function. 14120 * insdel.c: Declare Vfirst_change_function.
14121 14121
14122 * keyboard.c (read_key_sequence): Function keys are now lisp symbols. 14122 * keyboard.c (read_key_sequence): Function keys are now lisp symbols.
14123 (kbd_buffer_store_char): Abort if store pointer past 14123 (kbd_buffer_store_char): Abort if store pointer past
14124 buffer. Temproarry; This shouldn't be able to happen. 14124 buffer. Temproarry; This shouldn't be able to happen.
14125 (read_key_sequence): #ifdef HAVE_X_WINDOWS code 14125 (read_key_sequence): #ifdef HAVE_X_WINDOWS code
14126 which handles complex objects. 14126 which handles complex objects.
14127 (command_loop_1): Check not termcap screen before 14127 (command_loop_1): Check not termcap screen before
14128 processing non-char input. 14128 processing non-char input.
14129 (kbd_{store,fetch}_char): More debugging checks. 14129 (kbd_{store,fetch}_char): More debugging checks.
14130 14130
14131 * screen.c (make_screen): Set root_window height to 9 if mini_p. 14131 * screen.c (make_screen): Set root_window height to 9 if mini_p.
14132 (make_minibuffer_screen): Set the mini window's next, 14132 (make_minibuffer_screen): Set the mini window's next,
14141 (XTflash): Just dumpglyfs instead of redrawing the 14141 (XTflash): Just dumpglyfs instead of redrawing the
14142 screen after flashing the rectangle. 14142 screen after flashing the rectangle.
14143 14143
14144 * lread.c: (syms_of_lread): defsubr Fread_event. 14144 * lread.c: (syms_of_lread): defsubr Fread_event.
14145 14145
14146 1990-01-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14146 1990-01-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14147 14147
14148 * buffer.h, buffer.c (Vfirst_change_function): New Lisp variable. 14148 * buffer.h, buffer.c (Vfirst_change_function): New Lisp variable.
14149 * insdel.c (signal_before_change): Call that function. 14149 * insdel.c (signal_before_change): Call that function.
14150 14150
14151 * keyboard.c (cmd_error): Don't crash if TAIL is nil. 14151 * keyboard.c (cmd_error): Don't crash if TAIL is nil.
14152 14152
14153 1989-12-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14153 1989-12-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14154 14154
14155 * minibuf.c: Doc fixes. 14155 * minibuf.c: Doc fixes.
14156 14156
14157 1989-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14157 1989-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14158 14158
14159 * process.c (create_process): Unhold SIGCHLD in the child. 14159 * process.c (create_process): Unhold SIGCHLD in the child.
14160 14160
14161 1989-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14161 1989-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14162 14162
14163 * process.c (create_process): Treat HPUX like BSD for sigsetmask. 14163 * process.c (create_process): Treat HPUX like BSD for sigsetmask.
14164 14164
14165 1989-12-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14165 1989-12-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14166 14166
14167 * fns.c (Fmapconcat): Gcpro SEP around mapcar1. 14167 * fns.c (Fmapconcat): Gcpro SEP around mapcar1.
14168 14168
14169 1989-12-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14169 1989-12-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14170 14170
14171 * dispnew.c (get_display_line): Don't touch X data if not using X. 14171 * dispnew.c (get_display_line): Don't touch X data if not using X.
14172 14172
14173 * syntax.c (Fscan_sexps): Fix fatal documentation typo. 14173 * syntax.c (Fscan_sexps): Fix fatal documentation typo.
14174 14174
14186 14186
14187 * insdel.c (prepare_to_modify_buffer): Call signal_before_change. 14187 * insdel.c (prepare_to_modify_buffer): Call signal_before_change.
14188 (del_range, InsCStr): Call signal_after_change. 14188 (del_range, InsCStr): Call signal_after_change.
14189 (signal_after_change, signal_before_change): New functions. 14189 (signal_after_change, signal_before_change): New functions.
14190 14190
14191 1989-12-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14191 1989-12-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14192 14192
14193 * dispnew.c (init_display) [VMS]: Downcase terminal type. 14193 * dispnew.c (init_display) [VMS]: Downcase terminal type.
14194 14194
14195 1989-12-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14195 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14196 14196
14197 * sysdep.c: Use NEED_SIOCTL to control use of sioctl.h. 14197 * sysdep.c: Use NEED_SIOCTL to control use of sioctl.h.
14198 * m/m-mips.h, m/m-iris4d.h: Define that. 14198 * m/m-mips.h, m/m-iris4d.h: Define that.
14199 14199
14200 * m/m-ibmps2-aix.h (NEED_SIOCTL, HAVE_UNION_WAIT, HAVE_PTYS): Define. 14200 * m/m-ibmps2-aix.h (NEED_SIOCTL, HAVE_UNION_WAIT, HAVE_PTYS): Define.
14201 (HAVE_SYSVIPC, HAVE_SOCKETS, X_DEFAULT_FONT): Define. 14201 (HAVE_SYSVIPC, HAVE_SOCKETS, X_DEFAULT_FONT): Define.
14202 (sigsetmask): #undef this. 14202 (sigsetmask): #undef this.
14203 14203
14204 1989-12-15 Joseph Arceoeaux (jla at spiff) 14204 1989-12-15 Joseph Arceoeaux (jla@spiff)
14205 14205
14206 * lread.c (Fread_char): Catch error if read non-char. 14206 * lread.c (Fread_char): Catch error if read non-char.
14207 (Fread_event): New subr. Return any input object. 14207 (Fread_event): New subr. Return any input object.
14208 14208
14209 1989-12-14 Joseph Arceneaux (jla at spiff) 14209 1989-12-14 Joseph Arceneaux (jla@spiff)
14210 14210
14211 * xfns.c: New variable Vx_no_window_manager. 14211 * xfns.c: New variable Vx_no_window_manager.
14212 (Fx_track_pointer): If bufp < 0, abort. 14212 (Fx_track_pointer): If bufp < 0, abort.
14213 14213
14214 * xterm.c (XTread_socket): When leaving window, set x_mouse_x and 14214 * xterm.c (XTread_socket): When leaving window, set x_mouse_x and
14215 x_mouse_y to -1. 14215 x_mouse_y to -1.
14216 14216
14217 1989-12-13 Joseph Arceneaux (jla at spiff) 14217 1989-12-13 Joseph Arceneaux (jla@spiff)
14218 14218
14219 * xterm.c (XTread_socket): On ConfigureNotify events, return 14219 * xterm.c (XTread_socket): On ConfigureNotify events, return
14220 "redraw-screen" symbol. 14220 "redraw-screen" symbol.
14221 (dumpborder): Only do border stuff if x-no-window-manager non nil. 14221 (dumpborder): Only do border stuff if x-no-window-manager non nil.
14222 Also check if there is a tracking rectangle. 14222 Also check if there is a tracking rectangle.
14225 * keyboard.c (read_key_sequence): Return -2 for symbols. 14225 * keyboard.c (read_key_sequence): Return -2 for symbols.
14226 (command_loop_1): DoDsp when 'redraw-screen arrives as input. 14226 (command_loop_1): DoDsp when 'redraw-screen arrives as input.
14227 For mouse events, call Fexecute_mouse_event with 14227 For mouse events, call Fexecute_mouse_event with
14228 read_key_sequence_cmd instead of Vmouse_event. 14228 read_key_sequence_cmd instead of Vmouse_event.
14229 14229
14230 1989-12-08 Joseph Arceneaux (jla at spiff) 14230 1989-12-08 Joseph Arceneaux (jla@spiff)
14231 14231
14232 * process.c (create_process): For not USG, properly set the 14232 * process.c (create_process): For not USG, properly set the
14233 process group. 14233 process group.
14234 14234
14235 1989-12-07 Joseph Arceneaux (jla at spiff) 14235 1989-12-07 Joseph Arceneaux (jla@spiff)
14236 14236
14237 * term.c (topos): Under X Windows, abort if topos_hook not 14237 * term.c (topos): Under X Windows, abort if topos_hook not
14238 correct. Temporary. 14238 correct. Temporary.
14239 14239
14240 * xfns.c (Fx_horizontal_line): New subr. 14240 * xfns.c (Fx_horizontal_line): New subr.
14241 14241
14242 1989-12-05 Joseph Arceneaux (jla at spiff) 14242 1989-12-05 Joseph Arceneaux (jla@spiff)
14243 14243
14244 * keyboard.c (Fexecute_mouse_event): Don't set Vmouse_window here 14244 * keyboard.c (Fexecute_mouse_event): Don't set Vmouse_window here
14245 for X11. 14245 for X11.
14246 14246
14247 * xterm.c (construct_mouse_event): Vx_mouse_grabbed now indicates 14247 * xterm.c (construct_mouse_event): Vx_mouse_grabbed now indicates
14248 which keys are depressed. 14248 which keys are depressed.
14249 (construct_mouse_event): Set Vmouse_window here. 14249 (construct_mouse_event): Set Vmouse_window here.
14250 14250
14251 1989-12-04 Joseph Arceneaux (jla at spiff) 14251 1989-12-04 Joseph Arceneaux (jla@spiff)
14252 14252
14253 * screen.c (coordinates_in_window): New function. 14253 * screen.c (coordinates_in_window): New function.
14254 (Fcoordinates_in_window_p): Rewritten to use above. 14254 (Fcoordinates_in_window_p): Rewritten to use above.
14255 14255
14256 * dispextern.h: New element bufp for display_line structure when 14256 * dispextern.h: New element bufp for display_line structure when
14257 using X windows. 14257 using X windows.
14258 * xdisp.c (redisplay_window): Set this to the position in the 14258 * xdisp.c (redisplay_window): Set this to the position in the
14259 buffer of the first char in this display line. 14259 buffer of the first char in this display line.
14260 * dispnew.c (get_display_line): Set this to -1 here. 14260 * dispnew.c (get_display_line): Set this to -1 here.
14261 14261
14262 1989-12-03 Joseph Arceneaux (jla at spiff) 14262 1989-12-03 Joseph Arceneaux (jla@spiff)
14263 14263
14264 * alloc: Upped NSTATICS from 200 to 256. 14264 * alloc: Upped NSTATICS from 200 to 256.
14265 14265
14266 * xterm.c (XTread_socket): Report MotionNotify events only if 14266 * xterm.c (XTread_socket): Report MotionNotify events only if
14267 mouse has changed character position. Call x_read_mouse_position. 14267 mouse has changed character position. Call x_read_mouse_position.
14275 14275
14276 * lread.c (Fread_char): Return only chars. If new variable 14276 * lread.c (Fread_char): Return only chars. If new variable
14277 Vignore_mouse_events non nil, execute any mouse events which 14277 Vignore_mouse_events non nil, execute any mouse events which
14278 appear. 14278 appear.
14279 14279
14280 1989-12-01 Joseph Arceneaux (jla at spiff) 14280 1989-12-01 Joseph Arceneaux (jla@spiff)
14281 14281
14282 * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'. 14282 * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'.
14283 (x_rectangle): Draw half-size if negative argument. 14283 (x_rectangle): Draw half-size if negative argument.
14284 14284
14285 * xterm.c (XTread_socket): abort if garbage collecting when doing 14285 * xterm.c (XTread_socket): abort if garbage collecting when doing
14287 14287
14288 * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined. 14288 * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined.
14289 14289
14290 * emacs.c (main): If BSD, set pgrp to pid. 14290 * emacs.c (main): If BSD, set pgrp to pid.
14291 14291
14292 1989-11-30 Joseph Arceneaux (jla at spiff) 14292 1989-11-30 Joseph Arceneaux (jla@spiff)
14293 14293
14294 * callint.c (Fcall_interactively): For case 'e', set varies[i] to 14294 * callint.c (Fcall_interactively): For case 'e', set varies[i] to
14295 avoid entering in the command history. 14295 avoid entering in the command history.
14296 14296
14297 * xterm.c: Removed the function x_indicate_pointer_char. 14297 * xterm.c: Removed the function x_indicate_pointer_char.
14303 14303
14304 * screen.c: No rubber-banding function for X11. 14304 * screen.c: No rubber-banding function for X11.
14305 14305
14306 * window.c (Fmove_to_window_line): Document string fix. 14306 * window.c (Fmove_to_window_line): Document string fix.
14307 14307
14308 1989-11-29 Joseph Arceneaux (jla at spiff) 14308 1989-11-29 Joseph Arceneaux (jla@spiff)
14309 14309
14310 * lread.c (Fread_char): Return a Lisp_Object (directly from 14310 * lread.c (Fread_char): Return a Lisp_Object (directly from
14311 get_char). 14311 get_char).
14312 14312
14313 * keyboard.c: 14313 * keyboard.c:
14314 * xterm.c: Function keys now arrive as cons cells. 14314 * xterm.c: Function keys now arrive as cons cells.
14315 14315
14316 1989-11-27 Joseph Arceneaux (jla at spiff) 14316 1989-11-27 Joseph Arceneaux (jla@spiff)
14317 14317
14318 * keyboard.c (read_key_sequence): Handle Lisp_Symbols on input 14318 * keyboard.c (read_key_sequence): Handle Lisp_Symbols on input
14319 (function keys). Also, handle these and mouse events with 14319 (function keys). Also, handle these and mouse events with
14320 prefixes (by ignoring the prefixes for now). 14320 prefixes (by ignoring the prefixes for now).
14321 14321
14324 (XTread_socket): Return Lisp_Symbol for function key. 14324 (XTread_socket): Return Lisp_Symbol for function key.
14325 14325
14326 * buffer.c (reset_buffer_local_variables): Set function_key_map to 14326 * buffer.c (reset_buffer_local_variables): Set function_key_map to
14327 Qnil. 14327 Qnil.
14328 14328
14329 1989-11-24 Joseph Arceneaux (jla at spiff) 14329 1989-11-24 Joseph Arceneaux (jla@spiff)
14330 14330
14331 * buffer.h: Per-buffer function key maps. 14331 * buffer.h: Per-buffer function key maps.
14332 14332
14333 * keyboard.c (read_avail_input): Convert chars to Lisp_Objects in 14333 * keyboard.c (read_avail_input): Convert chars to Lisp_Objects in
14334 case of stdin. 14334 case of stdin.
14335 14335
14336 1989-11-22 Joseph Arceneaux (jla at spiff) 14336 1989-11-22 Joseph Arceneaux (jla@spiff)
14337 14337
14338 * keyboard.c (read_key_sequence): Check type of object returned 14338 * keyboard.c (read_key_sequence): Check type of object returned
14339 from get_char. Handle mouse events (set Vmouse_event) and 14339 from get_char. Handle mouse events (set Vmouse_event) and
14340 function keys. 14340 function keys.
14341 (get_char_menu_prompt): Return a Lisp_Object. 14341 (get_char_menu_prompt): Return a Lisp_Object.
14345 * xterm.c (XTread_socket): KeyPress events now return 14345 * xterm.c (XTread_socket): KeyPress events now return
14346 Lisp_Objects, as do ButtonPress events. 14346 Lisp_Objects, as do ButtonPress events.
14347 (construct_mouse_event): New function. 14347 (construct_mouse_event): New function.
14348 (encode_mouse_button): New function. 14348 (encode_mouse_button): New function.
14349 14349
14350 1989-11-21 Joseph Arceneaux (jla at spiff) 14350 1989-11-21 Joseph Arceneaux (jla@spiff)
14351 14351
14352 * keyboard.c (kbd_buffer_store_char, kbd_buffer_get_char): 14352 * keyboard.c (kbd_buffer_store_char, kbd_buffer_get_char):
14353 Store and get Lisp_Objects. 14353 Store and get Lisp_Objects.
14354 (get_char): Use those Lisp_Objects. 14354 (get_char): Use those Lisp_Objects.
14355 14355
14356 * fileio.c (Fread_filename_internal): If exactly complete, but 14356 * fileio.c (Fread_filename_internal): If exactly complete, but
14357 string was modified, return string. 14357 string was modified, return string.
14358 14358
14359 * minibuf.c (temp_minibuf_message): Pass correct arguments to Fsit_for. 14359 * minibuf.c (temp_minibuf_message): Pass correct arguments to Fsit_for.
14360 14360
14361 1989-11-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14361 1989-11-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14362 14362
14363 * s-386-ix.h: New file. 14363 * s-386-ix.h: New file.
14364 14364
14365 1989-11-17 Joseph Arceneaux (jla at spiff) 14365 1989-11-17 Joseph Arceneaux (jla@spiff)
14366 14366
14367 * xterm.c (dump_rectangle): Flush the X queue. 14367 * xterm.c (dump_rectangle): Flush the X queue.
14368 14368
14369 1989-11-16 Joseph Arceneaux (jla at spiff) 14369 1989-11-16 Joseph Arceneaux (jla@spiff)
14370 14370
14371 * xmenu.c (xmenu_show): Use ButtonReleaseMask instead of 14371 * xmenu.c (xmenu_show): Use ButtonReleaseMask instead of
14372 ButtonRelease. 14372 ButtonRelease.
14373 14373
14374 * fileio.c (Fmake_directory): New subr. 14374 * fileio.c (Fmake_directory): New subr.
14375 14375
14376 1989-11-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14376 1989-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14377 14377
14378 * config.h-dist (C_SWITCH_SITE, LD_SWITCH_SITE): Mention these. 14378 * config.h-dist (C_SWITCH_SITE, LD_SWITCH_SITE): Mention these.
14379 (HAVE_X11): Renamed from X11 and defined by default. 14379 (HAVE_X11): Renamed from X11 and defined by default.
14380 It shoukld have no effect when not using X. 14380 It shoukld have no effect when not using X.
14381 14381
14382 1989-11-14 Joseph Arceneaux (jla at spiff) 14382 1989-11-14 Joseph Arceneaux (jla@spiff)
14383 14383
14384 * xfns.c (Fx_get_selection, x_selection_arrival): use &event 14384 * xfns.c (Fx_get_selection, x_selection_arrival): use &event
14385 instead of event. 14385 instead of event.
14386 (x_selection_arrival): For incremental selections, loop on 14386 (x_selection_arrival): For incremental selections, loop on
14387 XGetWindowProperty if one is not enough. 14387 XGetWindowProperty if one is not enough.
14388 14388
14389 1989-11-13 Joseph Arceneaux (jla at spiff) 14389 1989-11-13 Joseph Arceneaux (jla@spiff)
14390 14390
14391 * ymakefile: Just link if ../oldXMenu/libXMenu11.a already exists. 14391 * ymakefile: Just link if ../oldXMenu/libXMenu11.a already exists.
14392 14392
14393 1989-11-09 Joseph Arceneaux (jla at spiff) 14393 1989-11-09 Joseph Arceneaux (jla@spiff)
14394 14394
14395 * m/m-sparc.h: If __GNUC__ use "-O", else "-O2" 14395 * m/m-sparc.h: If __GNUC__ use "-O", else "-O2"
14396 14396
14397 1989-11-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14397 1989-11-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14398 14398
14399 * search.c (Fstore_match_data): A marker pointing nowhere, treat as 0. 14399 * search.c (Fstore_match_data): A marker pointing nowhere, treat as 0.
14400 14400
14401 1989-11-08 Joseph Arceneaux (jla at spiff) 14401 1989-11-08 Joseph Arceneaux (jla@spiff)
14402 14402
14403 * search.c (Fmatch_data): fixed typo. 14403 * search.c (Fmatch_data): fixed typo.
14404 14404
14405 * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc. 14405 * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc.
14406 * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in 14406 * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in
14408 (Fkill_buffer): Use BUFFER_FREE on b->data, rather than malloc on 14408 (Fkill_buffer): Use BUFFER_FREE on b->data, rather than malloc on
14409 b->p1 + 1. 14409 b->p1 + 1.
14410 * buffer.h: New element data in buffer_text structure. 14410 * buffer.h: New element data in buffer_text structure.
14411 New define for it, bf_data. 14411 New define for it, bf_data.
14412 14412
14413 1989-11-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14413 1989-11-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14414 14414
14415 * marker.c (Fset_marker): Don't force POS into visible range. 14415 * marker.c (Fset_marker): Don't force POS into visible range.
14416 * window.c (set_marker_restricted): New function does what 14416 * window.c (set_marker_restricted): New function does what
14417 Fset_marker did. All calls in this file now use the new function. 14417 Fset_marker did. All calls in this file now use the new function.
14418 14418
14419 1989-11-07 Joseph Arceneaux (jla at spiff) 14419 1989-11-07 Joseph Arceneaux (jla@spiff)
14420 14420
14421 * buffer.h: Defines for allocating buffer variables. 14421 * buffer.h: Defines for allocating buffer variables.
14422 14422
14423 * ralloc.c: Completely rewritten. 14423 * ralloc.c: Completely rewritten.
14424 14424
14425 * alloc.c (xmalloc, xrealloc): Return 0 immediately for requests 14425 * alloc.c (xmalloc, xrealloc): Return 0 immediately for requests
14426 of 0 size. 14426 of 0 size.
14427 14427
14428 1989-11-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14428 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14429 14429
14430 * search.c (Flooking_at, Fstring_match, search_buffer): 14430 * search.c (Flooking_at, Fstring_match, search_buffer):
14431 Record in search_regs_from_string whether matching against a string. 14431 Record in search_regs_from_string whether matching against a string.
14432 (Fmatch_data): Save data as integers if from a string. 14432 (Fmatch_data): Save data as integers if from a string.
14433 14433
14441 * fns.c (Fload_average): FIXUP_KERNEL_SYMBOL_ADDR is now general hook. 14441 * fns.c (Fload_average): FIXUP_KERNEL_SYMBOL_ADDR is now general hook.
14442 * s-umips.h: Define it. 14442 * s-umips.h: Define it.
14443 14443
14444 * sysdep.c: Handle BROKEN_FIONREAD. 14444 * sysdep.c: Handle BROKEN_FIONREAD.
14445 14445
14446 1989-11-03 Joseph Arceneaux (jla at spiff) 14446 1989-11-03 Joseph Arceneaux (jla@spiff)
14447 14447
14448 * config.h-dist: Mention LISP_FLOAT_TYPE, GNU_MALLOC, and REL_ALLOC. 14448 * config.h-dist: Mention LISP_FLOAT_TYPE, GNU_MALLOC, and REL_ALLOC.
14449 14449
14450 * s/s-umips.h: New file. 14450 * s/s-umips.h: New file.
14451 14451
14452 1989-11-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14452 1989-11-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14453 14453
14454 * process.c (Fopen_network_stream): Handle EINTR in connect. 14454 * process.c (Fopen_network_stream): Handle EINTR in connect.
14455 Describe errno in err msg if connect fails. 14455 Describe errno in err msg if connect fails.
14456 14456
14457 1989-11-02 Joseph Arceneaux (jla at spiff) 14457 1989-11-02 Joseph Arceneaux (jla@spiff)
14458 14458
14459 * vm-limit.c: New file. 14459 * vm-limit.c: New file.
14460 * ralloc.c: New file. 14460 * ralloc.c: New file.
14461 * ymakefile: Take vm-limit.o into account. 14461 * ymakefile: Take vm-limit.o into account.
14462 14462
14463 1989-11-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14463 1989-11-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14464 14464
14465 * alloc.c (staticvec): Make this a simple vector of pointers 14465 * alloc.c (staticvec): Make this a simple vector of pointers
14466 rather than an alias for a vector of chars. 14466 rather than an alias for a vector of chars.
14467 14467
14468 1989-11-01 Joseph Arceneaux (jla at spiff) 14468 1989-11-01 Joseph Arceneaux (jla@spiff)
14469 14469
14470 * window.c: Moved some functions (save_window_save, 14470 * window.c: Moved some functions (save_window_save,
14471 replace_window, unshow_buffer) around. 14471 replace_window, unshow_buffer) around.
14472 * search.c: Moved function place. 14472 * search.c: Moved function place.
14473 * lread.c: Moved function read_escape. 14473 * lread.c: Moved function read_escape.
14481 * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle, 14481 * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle,
14482 outline_region, Fx_countour_region, Fx_uncontour_region): New 14482 outline_region, Fx_countour_region, Fx_uncontour_region): New
14483 subroutines for drawing rectangles and things. 14483 subroutines for drawing rectangles and things.
14484 (Fx_point_coordinates): New subr. 14484 (Fx_point_coordinates): New subr.
14485 14485
14486 1989-10-31 Joseph Arceneaux (jla at spiff) 14486 1989-10-31 Joseph Arceneaux (jla@spiff)
14487 14487
14488 * All .c and .h files: New copyright header. 14488 * All .c and .h files: New copyright header.
14489 14489
14490 1989-10-30 Joseph Arceneaux (jla at spiff) 14490 1989-10-30 Joseph Arceneaux (jla@spiff)
14491 14491
14492 * gmalloc.c: New GNU malloc. 14492 * gmalloc.c: New GNU malloc.
14493 14493
14494 * emacs.c (main, Fdump_emacs): No malloc init if GNU_MALLOC. 14494 * emacs.c (main, Fdump_emacs): No malloc init if GNU_MALLOC.
14495 14495
14496 * ymakefile: Check if GNU_MALLOC defined. 14496 * ymakefile: Check if GNU_MALLOC defined.
14497 14497
14498 1989-10-27 Joseph Arceneaux (jla at spiff) 14498 1989-10-27 Joseph Arceneaux (jla@spiff)
14499 14499
14500 * xfns.c (Fx_pointer_char): New subr. 14500 * xfns.c (Fx_pointer_char): New subr.
14501 * xterm.c (x_indicate_pointer): New procedure. 14501 * xterm.c (x_indicate_pointer): New procedure.
14502 14502
14503 * alloc.c (Fmake_vector_from_list, make_vector_from_list): New subrs. 14503 * alloc.c (Fmake_vector_from_list, make_vector_from_list): New subrs.
14504 14504
14505 1989-10-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14505 1989-10-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14506 14506
14507 * xterm.c (x_term_init): 14507 * xterm.c (x_term_init):
14508 Negate arg to fcntl F_SETOWN if F_SETOWN_SOCK_NEG. 14508 Negate arg to fcntl F_SETOWN if F_SETOWN_SOCK_NEG.
14509 * keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]: 14509 * keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]:
14510 No interrupt input if using a socket. 14510 No interrupt input if using a socket.
14511 * m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK. 14511 * m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK.
14512 14512
14513 1989-10-26 Joseph Arceneaux (jla at spiff) 14513 1989-10-26 Joseph Arceneaux (jla@spiff)
14514 14514
14515 * xterm.c (x_handle_error_gracefully): Make sure to completely 14515 * xterm.c (x_handle_error_gracefully): Make sure to completely
14516 release input before returning, using: 14516 release input before returning, using:
14517 * xterm.h New macro TOTALLY_UNBLOCK_INPUT. 14517 * xterm.h New macro TOTALLY_UNBLOCK_INPUT.
14518 14518
14519 * xmenu.c (xmenu_quit): No longer use this error_handler; use 14519 * xmenu.c (xmenu_quit): No longer use this error_handler; use
14520 default one. 14520 default one.
14521 14521
14522 1989-10-25 Joseph Arceneaux (jla at spiff) 14522 1989-10-25 Joseph Arceneaux (jla@spiff)
14523 14523
14524 * config.h-dist: Comment fix. 14524 * config.h-dist: Comment fix.
14525 14525
14526 1989-10-24 Joseph Arceneaux (jla at spiff) 14526 1989-10-24 Joseph Arceneaux (jla@spiff)
14527 14527
14528 * xfns.c (Fx_draw_lines, translate_vectors): New functions. 14528 * xfns.c (Fx_draw_lines, translate_vectors): New functions.
14529 14529
14530 1989-10-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14530 1989-10-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14531 14531
14532 * search.c (search_buffer): Always find null string. 14532 * search.c (search_buffer): Always find null string.
14533 14533
14534 * window.c (window_loop): For UNSHOW_BUFFER, don't Fset_buffer 14534 * window.c (window_loop): For UNSHOW_BUFFER, don't Fset_buffer
14535 unless window is the selected one. 14535 unless window is the selected one.
14536 14536
14537 1989-10-20 Joseph Arceneaux (jla at spiff) 14537 1989-10-20 Joseph Arceneaux (jla@spiff)
14538 14538
14539 * xdisp.c (display_minibuf_message): Choose minibuf screen first 14539 * xdisp.c (display_minibuf_message): Choose minibuf screen first
14540 of all. Return if not visible. 14540 of all. Return if not visible.
14541 14541
14542 1989-10-19 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14542 1989-10-19 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14543 14543
14544 * xterm.c (x_handle_error_gracefully): New procedure to handle 14544 * xterm.c (x_handle_error_gracefully): New procedure to handle
14545 non-fatal X errors. 14545 non-fatal X errors.
14546 (x_error_handler): Use it. 14546 (x_error_handler): Use it.
14547 (acceptable_x_error_p): New macro. 14547 (acceptable_x_error_p): New macro.
14548 14548
14549 * xfns.c (Fx_own_selection): Use second parameter SCREEN. 14549 * xfns.c (Fx_own_selection): Use second parameter SCREEN.
14550 14550
14551 * xdisp.c: (message, message1): No longer displays messages 14551 * xdisp.c: (message, message1): No longer displays messages
14552 when using X but not yet mapped. 14552 when using X but not yet mapped.
14553 14553
14554 1989-10-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14554 1989-10-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14555 14555
14556 * m-pyramid.h (NO_ARG_ARRAY): Define if using GCC. 14556 * m-pyramid.h (NO_ARG_ARRAY): Define if using GCC.
14557 14557
14558 1989-10-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14558 1989-10-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14559 14559
14560 * vmsfns.c (process_command_input): Call clear_waiting_for_input. 14560 * vmsfns.c (process_command_input): Call clear_waiting_for_input.
14561 14561
14562 1989-10-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14562 1989-10-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14563 14563
14564 * syntax.c (scan_words): If words_include_escapes not 0, 14564 * syntax.c (scan_words): If words_include_escapes not 0,
14565 treat Sescape and Scharquote like Sword. 14565 treat Sescape and Scharquote like Sword.
14566 (syms_of_syntax): Define Lisp variable. 14566 (syms_of_syntax): Define Lisp variable.
14567 14567
14573 * keyboard.c: Don't define kbd_count. 14573 * keyboard.c: Don't define kbd_count.
14574 14574
14575 * keyboard.c (read_key_sequence): Reject the prefix char generated 14575 * keyboard.c (read_key_sequence): Reject the prefix char generated
14576 for a Meta char, if it finds a non-prefix definition. 14576 for a Meta char, if it finds a non-prefix definition.
14577 14577
14578 1989-10-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14578 1989-10-13 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14579 14579
14580 * process.c (wait_reading_process_input): READ_KBD==2 means 14580 * process.c (wait_reading_process_input): READ_KBD==2 means
14581 wait until have mouse input. 14581 wait until have mouse input.
14582 * xfns.c (Fx_get_mouse_event): Use that. 14582 * xfns.c (Fx_get_mouse_event): Use that.
14583 * xterm.c (mouse_event_pending_p): New subroutine. 14583 * xterm.c (mouse_event_pending_p): New subroutine.
14584 14584
14585 1989-10-13 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14585 1989-10-13 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14586 14586
14587 * xfns.c (x_selection_arrival): 14587 * xfns.c (x_selection_arrival):
14588 (x_send_incremental): 14588 (x_send_incremental):
14589 (x_answer_selection_request): New procedures for incremental 14589 (x_answer_selection_request): New procedures for incremental
14590 selection transfer. 14590 selection transfer.
14591 14591
14592 1989-10-12 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14592 1989-10-12 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14593 14593
14594 * lread.c (complete_filename_p): New function which replaces 14594 * lread.c (complete_filename_p): New function which replaces
14595 absolute_filename_p. This one doesn't consider "~" valid. 14595 absolute_filename_p. This one doesn't consider "~" valid.
14596 14596
14597 1989-10-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14597 1989-10-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14598 14598
14599 * buffer.c: Comment fix. 14599 * buffer.c: Comment fix.
14600 14600
14601 1989-10-11 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14601 1989-10-11 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14602 14602
14603 * xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and 14603 * xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and
14604 Xatom_multiple. 14604 Xatom_multiple.
14605 14605
14606 * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH. 14606 * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH.
14607 14607
14608 * process.c (child_sig): Check pid <= 0 in case WNOHANG not defined. 14608 * process.c (child_sig): Check pid <= 0 in case WNOHANG not defined.
14609 14609
14610 1989-10-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14610 1989-10-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14611 14611
14612 * termcap.c (tgetent, gobble_line): Always store null at end of bfr. 14612 * termcap.c (tgetent, gobble_line): Always store null at end of bfr.
14613 Allocate one extra byte at end to ensure space. 14613 Allocate one extra byte at end to ensure space.
14614 Clean up order of arithmetic when updating ptrs into buffer 14614 Clean up order of arithmetic when updating ptrs into buffer
14615 after xrealloc. 14615 after xrealloc.
14616 14616
14617 1989-10-10 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14617 1989-10-10 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14618 14618
14619 * xfns.c (Fx_open_connection): Make all X Atoms here. 14619 * xfns.c (Fx_open_connection): Make all X Atoms here.
14620 14620
14621 * xterm.c: (x_iconify_screen): 14621 * xterm.c: (x_iconify_screen):
14622 (x_iconify_screen): Cleaned up this code. 14622 (x_iconify_screen): Cleaned up this code.
14623 (x_term_init): Removed warpmouseondeiconify stuff. 14623 (x_term_init): Removed warpmouseondeiconify stuff.
14624 14624
14625 1989-10-09 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14625 1989-10-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14626 14626
14627 * xdisp.c (DoDsp): Make sure to call unhold_window_change after 14627 * xdisp.c (DoDsp): Make sure to call unhold_window_change after
14628 before all returns. 14628 before all returns.
14629 14629
14630 * minibuf.c (read_minibuf): Changed set_mouse_position to 14630 * minibuf.c (read_minibuf): Changed set_mouse_position to
14631 Fset_mouse_position. 14631 Fset_mouse_position.
14632 14632
14633 * xterm.c (XTread_socket): dumprectangle (whole screen) instead of 14633 * xterm.c (XTread_socket): dumprectangle (whole screen) instead of
14643 Also check for invisible cursors. 14643 Also check for invisible cursors.
14644 (x_set_mouse_color): Check for invisible pointers. 14644 (x_set_mouse_color): Check for invisible pointers.
14645 (x_resize_scrollbars): BLOCK_INPUT whilst doing operations. 14645 (x_resize_scrollbars): BLOCK_INPUT whilst doing operations.
14646 (adjust_scrollbars): Likewise. 14646 (adjust_scrollbars): Likewise.
14647 14647
14648 1989-10-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14648 1989-10-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14649 14649
14650 * m/m-hp9000s800.h (XUNMARK): Delete definition. 14650 * m/m-hp9000s800.h (XUNMARK): Delete definition.
14651 (S_IFLNK): Do not undef it. 14651 (S_IFLNK): Do not undef it.
14652 14652
14653 1989-10-03 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14653 1989-10-03 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14654 14654
14655 * dispnew.c (get_display_line): If screen not visible, abort. 14655 * dispnew.c (get_display_line): If screen not visible, abort.
14656 14656
14657 1989-10-02 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14657 1989-10-02 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14658 14658
14659 * xterm.c (x_make_screen_visible): Set s->visible, unset 14659 * xterm.c (x_make_screen_visible): Set s->visible, unset
14660 s->iconified for HAVE_X11. 14660 s->iconified for HAVE_X11.
14661 14661
14662 1989-09-29 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14662 1989-09-29 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14663 14663
14664 * xterm.c (XTread_socket): Check screen s before proceeding for 14664 * xterm.c (XTread_socket): Check screen s before proceeding for
14665 MapNotify event. 14665 MapNotify event.
14666 14666
14667 * xterm.c: No longer sets the variable mouse_down_timestamp. 14667 * xterm.c: No longer sets the variable mouse_down_timestamp.
14668 * xfns.c: (Fx_get_mouse_event) mouse_timestamp 14668 * xfns.c: (Fx_get_mouse_event) mouse_timestamp
14669 (formerly mouse_down_timestamp) set here. Also, mask out upper 9 14669 (formerly mouse_down_timestamp) set here. Also, mask out upper 9
14670 bits before doing XSET. 14670 bits before doing XSET.
14671 14671
14672 1989-09-28 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14672 1989-09-28 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14673 14673
14674 * xfns.c (Fx_geometry): Kludge for the case of position `-0'. 14674 * xfns.c (Fx_geometry): Kludge for the case of position `-0'.
14675 (Fx_get_mouse_event): Also return the time stamp as last list elt. 14675 (Fx_get_mouse_event): Also return the time stamp as last list elt.
14676 (Fx_color_display_p): 14676 (Fx_color_display_p):
14677 (Fx_defined_color): 14677 (Fx_defined_color):
14678 (x_decode_color): 14678 (x_decode_color):
14679 (defined_color): Eliminate screen argument. 14679 (defined_color): Eliminate screen argument.
14680 (Fx_create_screen): No more ColorMap component to display.x. 14680 (Fx_create_screen): No more ColorMap component to display.x.
14681 * xterm.h: Likewise. 14681 * xterm.h: Likewise.
14682 14682
14683 1989-09-27 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14683 1989-09-27 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14684 14684
14685 * xfns.c (Fx_own_selection): 14685 * xfns.c (Fx_own_selection):
14686 (Fx_get_selection): 14686 (Fx_get_selection):
14687 (x_disown_selection): new funcs, which use new variables 14687 (x_disown_selection): new funcs, which use new variables
14688 Vx_selection_value, x_begin_selection_own, mouse_down_timestamp, 14688 Vx_selection_value, x_begin_selection_own, mouse_down_timestamp,
14694 SelectionRequest: 14694 SelectionRequest:
14695 SelectionNotify: New events to handle the selection inter-client 14695 SelectionNotify: New events to handle the selection inter-client
14696 communication mechanism. 14696 communication mechanism.
14697 ButtonPress: Set mouse_down_timestamp. 14697 ButtonPress: Set mouse_down_timestamp.
14698 14698
14699 1989-09-26 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 14699 1989-09-26 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14700 14700
14701 * xfns.c: New variable Vx_cursor_fore_pixel. 14701 * xfns.c: New variable Vx_cursor_fore_pixel.
14702 14702
14703 1989-09-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14703 1989-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14704 14704
14705 * lread.c (openp): Don't ! the result of `access'. 14705 * lread.c (openp): Don't ! the result of `access'.
14706 14706
14707 1989-09-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14707 1989-09-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14708 14708
14709 * fileio.c (Fread_file_name_internal): Try to work properly 14709 * fileio.c (Fread_file_name_internal): Try to work properly
14710 if dirs are specified using environment vars. Preserve use of vars. 14710 if dirs are specified using environment vars. Preserve use of vars.
14711 14711
14712 1989-09-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14712 1989-09-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14713 14713
14714 * fileio.c: Comment fix. 14714 * fileio.c: Comment fix.
14715 14715
14716 1989-09-18 Joseph Arceneaux (jla at spiff) 14716 1989-09-18 Joseph Arceneaux (jla@spiff)
14717 14717
14718 * xfns.c (Fx_get_cut_buffer): XFree the data returned by 14718 * xfns.c (Fx_get_cut_buffer): XFree the data returned by
14719 XFetchBytes. 14719 XFetchBytes.
14720 14720
14721 1989-09-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14721 1989-09-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14722 14722
14723 * fileio.c (Fwrite_region): Reinstall #if 0 around fstat. 14723 * fileio.c (Fwrite_region): Reinstall #if 0 around fstat.
14724 14724
14725 1989-09-12 Joseph Arceneaux (jla at spiff) 14725 1989-09-12 Joseph Arceneaux (jla@spiff)
14726 14726
14727 * xfns.c (defined_color): New function to test if a color is 14727 * xfns.c (defined_color): New function to test if a color is
14728 currently defined. 14728 currently defined.
14729 (x_decode_color): Use defined_color. 14729 (x_decode_color): Use defined_color.
14730 (Fx_defined_color): New subr. 14730 (Fx_defined_color): New subr.
14731 (select_visual): Select the appropriate X11 Visual. 14731 (select_visual): Select the appropriate X11 Visual.
14732 (Fx_open_connection): Use select_visual. screen_visual now 14732 (Fx_open_connection): Use select_visual. screen_visual now
14733 global and used when making emacs windows. 14733 global and used when making emacs windows.
14734 (Fx_color_display_p): New subr. 14734 (Fx_color_display_p): New subr.
14735 14735
14736 1989-09-11 Joseph Arceneaux (jla at spiff) 14736 1989-09-11 Joseph Arceneaux (jla@spiff)
14737 14737
14738 * fileio.c (Fwrite_region): fixed typo. 14738 * fileio.c (Fwrite_region): fixed typo.
14739 14739
14740 * keyboard.c (Fdiscard_input): fixed typo. 14740 * keyboard.c (Fdiscard_input): fixed typo.
14741 14741
14742 * window.c (Fnext_window): fixed typos. 14742 * window.c (Fnext_window): fixed typos.
14743 14743
14744 * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing 14744 * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing
14745 the associated operations. 14745 the associated operations.
14746 14746
14747 * dispnew.c (init_display): 14747 * dispnew.c (init_display):
14748 (Fsleep_for, Fsit_for): 14748 (Fsleep_for, Fsit_for):
14749 * process.c (Faccept_process_output): 14749 * process.c (Faccept_process_output):
14750 * keyboard.c ({clear,set}_waiting_for_input): 14750 * keyboard.c ({clear,set}_waiting_for_input):
14751 (quit_throw_to_get_char, get_char): 14751 (quit_throw_to_get_char, get_char):
14752 * xdisp.c (DoDsp, message, message1): Undid changes of Aug. 23 14752 * xdisp.c (DoDsp, message, message1): Undid changes of Aug. 23
14753 (see below); accept window changes most of the time. 14753 (see below); accept window changes most of the time.
14754 14754
14755 1989-09-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14755 1989-09-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14756 14756
14757 * keyboard.c: Eliminate kbd_count, and use two pointers, 14757 * keyboard.c: Eliminate kbd_count, and use two pointers,
14758 kbd_fetch_ptr and kbd_store_ptr. Assume buffer is empty when 14758 kbd_fetch_ptr and kbd_store_ptr. Assume buffer is empty when
14759 they are equal. This should eliminate timing error. 14759 they are equal. This should eliminate timing error.
14760 (kbd_buffer_store_char): Update kbd_store_ptr when storing. 14760 (kbd_buffer_store_char): Update kbd_store_ptr when storing.
14764 (get_input_pending): Compare the two pointers. 14764 (get_input_pending): Compare the two pointers.
14765 14765
14766 * fileio.c (Fwrite_region): Reenable using fstat rather than stat 14766 * fileio.c (Fwrite_region): Reenable using fstat rather than stat
14767 to get the modtime of the file just written, except on VMS and APOLLO. 14767 to get the modtime of the file just written, except on VMS and APOLLO.
14768 14768
14769 1989-09-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14769 1989-09-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14770 14770
14771 * emacs.c, doc.c, filelock.c: Move Emacs header includes after 14771 * emacs.c, doc.c, filelock.c: Move Emacs header includes after
14772 system header includes, and #undef NULL in between. 14772 system header includes, and #undef NULL in between.
14773 14773
14774 1989-08-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14774 1989-08-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14775 14775
14776 * process.c [SYSV_PTYS]: If `titan', include some other files. 14776 * process.c [SYSV_PTYS]: If `titan', include some other files.
14777 14777
14778 1989-08-29 Joseph Arceneaux (jla at spiff) 14778 1989-08-29 Joseph Arceneaux (jla@spiff)
14779 14779
14780 * fileio.c: read-file-name replaced with new version, formerly 14780 * fileio.c: read-file-name replaced with new version, formerly
14781 called new-read-file-name. 14781 called new-read-file-name.
14782 14782
14783 1989-08-26 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 14783 1989-08-26 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
14784 14784
14785 * window.c (Fscroll_other_window): Use save-excursion (in effect) 14785 * window.c (Fscroll_other_window): Use save-excursion (in effect)
14786 to save and restore current buffer and point. 14786 to save and restore current buffer and point.
14787 (window_scroll): If selected window's buffer isn't current, 14787 (window_scroll): If selected window's buffer isn't current,
14788 make it current, using save-excursion to go back. 14788 make it current, using save-excursion to go back.
14789 14789
14790 1989-08-24 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 14790 1989-08-24 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
14791 14791
14792 * Use two variables to convey reason for synch process death, 14792 * Use two variables to convey reason for synch process death,
14793 to avoid consing in signal handler. 14793 to avoid consing in signal handler.
14794 They are synch_process_death and synch_process_retcode. 14794 They are synch_process_death and synch_process_retcode.
14795 * callproc.c (Fcall_process): Use both variables. 14795 * callproc.c (Fcall_process): Use both variables.
14796 * process.c (child_sig): Set both variables. 14796 * process.c (child_sig): Set both variables.
14797 14797
14798 1989-08-24 Joseph Arceneaux (jla at spiff) 14798 1989-08-24 Joseph Arceneaux (jla@spiff)
14799 14799
14800 * xterm.c (x_wm_set_size_hint): Use new ICCCM values for size_hints. 14800 * xterm.c (x_wm_set_size_hint): Use new ICCCM values for size_hints.
14801 14801
14802 1989-08-24 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 14802 1989-08-24 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
14803 14803
14804 * buffer.c: Doc fix. 14804 * buffer.c: Doc fix.
14805 14805
14806 1989-08-24 Joseph Arceneaux (jla at spiff) 14806 1989-08-24 Joseph Arceneaux (jla@spiff)
14807 14807
14808 * xfns.c (Fx_create_screen): X11 part. Set height and width to 0 14808 * xfns.c (Fx_create_screen): X11 part. Set height and width to 0
14809 before calling change_screen_size. 14809 before calling change_screen_size.
14810 14810
14811 * buffer.c (kill-all-local-variables): Changed doc string. 14811 * buffer.c (kill-all-local-variables): Changed doc string.
14812 14812
14813 1989-08-23 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 14813 1989-08-23 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
14814 14814
14815 * dispnew.c (init_display): Call hold_window_change. 14815 * dispnew.c (init_display): Call hold_window_change.
14816 (Fsleep_for, Fsit_for): Temporarily unhold, while waiting. 14816 (Fsleep_for, Fsit_for): Temporarily unhold, while waiting.
14817 * process.c (Faccept_process_output): Likewise. 14817 * process.c (Faccept_process_output): Likewise.
14818 * keyboard.c ({clear,set}_waiting_for_input): Temporarily unhold. 14818 * keyboard.c ({clear,set}_waiting_for_input): Temporarily unhold.
14820 * xdisp.c (DoDsp, message, message1): 14820 * xdisp.c (DoDsp, message, message1):
14821 Unhold and rehold momentarily before any real work. 14821 Unhold and rehold momentarily before any real work.
14822 14822
14823 * Makefile (CPP): Use $(CC). 14823 * Makefile (CPP): Use $(CC).
14824 14824
14825 1989-08-22 Joseph Arceneaux (jla at spiff) 14825 1989-08-22 Joseph Arceneaux (jla@spiff)
14826 14826
14827 * xfns.c (x_set_mouse_color): Use new variables Vx_pointer_mask, 14827 * xfns.c (x_set_mouse_color): Use new variables Vx_pointer_mask,
14828 Vx_pointer_shape. 14828 Vx_pointer_shape.
14829 14829
14830 1989-08-21 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 14830 1989-08-21 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
14831 14831
14832 * alloc.c (malloc_warning): Do nothing if ignore_warnings. 14832 * alloc.c (malloc_warning): Do nothing if ignore_warnings.
14833 (init_alloc_once): Set ignore_warnings while initializing allocation. 14833 (init_alloc_once): Set ignore_warnings while initializing allocation.
14834 14834
14835 * buffer.c: Doc fix. 14835 * buffer.c: Doc fix.
14836 14836
14837 1989-08-21 Joseph Arceneaux (jla at spiff) 14837 1989-08-21 Joseph Arceneaux (jla@spiff)
14838 14838
14839 * xterm.c (x_calc_absolute_position): New function to calculate 14839 * xterm.c (x_calc_absolute_position): New function to calculate
14840 positive screen position. 14840 positive screen position.
14841 (x_set_position): Use it. 14841 (x_set_position): Use it.
14842 (x_reset_cursor): No longer exists. 14842 (x_reset_cursor): No longer exists.
14849 No longer uses x_reset_cursor. 14849 No longer uses x_reset_cursor.
14850 (x_create_window): 14850 (x_create_window):
14851 (x_set_background): 14851 (x_set_background):
14852 (x_set_foreground): Use x_set_mouse_color instead of x_reset_cursor. 14852 (x_set_foreground): Use x_set_mouse_color instead of x_reset_cursor.
14853 14853
14854 1989-08-18 Richard Stallman (rms at hobbes.ai.mit.edu) 14854 1989-08-18 Richard Stallman (rms@hobbes.ai.mit.edu)
14855 14855
14856 * vmsfns.c: Define PRV$V_... syms if prvdef.h does not. 14856 * vmsfns.c: Define PRV$V_... syms if prvdef.h does not.
14857 14857
14858 1989-08-18 Joseph Arceneaux (jla at spiff) 14858 1989-08-18 Joseph Arceneaux (jla@spiff)
14859 14859
14860 * xfns.c (Fx_geometry): New subr. 14860 * xfns.c (Fx_geometry): New subr.
14861 (x_figure_window_size): Don't worry about "geometry" here anymore; 14861 (x_figure_window_size): Don't worry about "geometry" here anymore;
14862 now done in x-win.el. 14862 now done in x-win.el.
14863 (x_icon): Look in parms for iconic-startup rather than in variable. 14863 (x_icon): Look in parms for iconic-startup rather than in variable.
14864 14864
14865 1989-08-16 Joseph Arceneaux (jla at spiff) 14865 1989-08-16 Joseph Arceneaux (jla@spiff)
14866 14866
14867 * xfns.c (x_set_*_scrollbar): Don't destroy a scrollbar if it 14867 * xfns.c (x_set_*_scrollbar): Don't destroy a scrollbar if it
14868 doesn't exist. Also set scrollbar size only if actually creating 14868 doesn't exist. Also set scrollbar size only if actually creating
14869 one. 14869 one.
14870 (x_set_name): Don't do anything if the X window doesn't exist. 14870 (x_set_name): Don't do anything if the X window doesn't exist.
14871 Set the icon name as well. 14871 Set the icon name as well.
14872 (x_window): Set the class hints for the window. 14872 (x_window): Set the class hints for the window.
14873 14873
14874 1989-08-16 Richard Stallman (rms at hobbes.ai.mit.edu) 14874 1989-08-16 Richard Stallman (rms@hobbes.ai.mit.edu)
14875 14875
14876 * lread.c (Fload): Fix unterminated comment. 14876 * lread.c (Fload): Fix unterminated comment.
14877 14877
14878 * scroll.c (scrolling_max_lines_saved): Replace fixed threshold of 20 14878 * scroll.c (scrolling_max_lines_saved): Replace fixed threshold of 20
14879 with 1/4 of average length of lines. 14879 with 1/4 of average length of lines.
14880 14880
14881 1989-08-13 Joseph Arceneaux (jla at spiff) 14881 1989-08-13 Joseph Arceneaux (jla@spiff)
14882 14882
14883 * ymakefile: Do ${make} for oldXMenu. 14883 * ymakefile: Do ${make} for oldXMenu.
14884 14884
14885 1989-08-13 Richard Stallman (rms at hobbes.ai.mit.edu) 14885 1989-08-13 Richard Stallman (rms@hobbes.ai.mit.edu)
14886 14886
14887 * eval.c: Doc fix. 14887 * eval.c: Doc fix.
14888 14888
14889 1989-08-12 Richard Stallman (rms at hobbes.ai.mit.edu) 14889 1989-08-12 Richard Stallman (rms@hobbes.ai.mit.edu)
14890 14890
14891 * emacs.c (main): Check for failure opening -t device. 14891 * emacs.c (main): Check for failure opening -t device.
14892 Fatal error if terminal isn't a real terminal. 14892 Fatal error if terminal isn't a real terminal.
14893 14893
14894 * window.c (Fscroll_other_window): Let Vother_window_scroll_buffer 14894 * window.c (Fscroll_other_window): Let Vother_window_scroll_buffer
14895 specify a buffer to scroll. 14895 specify a buffer to scroll.
14896 14896
14897 1989-08-11 Richard Stallman (rms at hobbes.ai.mit.edu) 14897 1989-08-11 Richard Stallman (rms@hobbes.ai.mit.edu)
14898 14898
14899 * dispnew.c: Handle BROKEN_FIONREAD as in other files. 14899 * dispnew.c: Handle BROKEN_FIONREAD as in other files.
14900 14900
14901 1989-08-09 Joseph Arceneaux (jla at spiff) 14901 1989-08-09 Joseph Arceneaux (jla@spiff)
14902 14902
14903 * ../oldXMenu/Makefile: Removed all the unneccessary X stuff. 14903 * ../oldXMenu/Makefile: Removed all the unneccessary X stuff.
14904 14904
14905 1989-08-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14905 1989-08-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14906 14906
14907 * fileio.c (barf_or_query_if_file_exists): When signalling, 14907 * fileio.c (barf_or_query_if_file_exists): When signalling,
14908 provide the expected args for a file-error. 14908 provide the expected args for a file-error.
14909 14909
14910 1989-08-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14910 1989-08-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14911 14911
14912 * process.c: Let NEED_BSDTTY control include of bsdtty.h. 14912 * process.c: Let NEED_BSDTTY control include of bsdtty.h.
14913 14913
14914 * process.c [BSD or STRIDE]: If ioctl.h fails to define O_NDELAY, 14914 * process.c [BSD or STRIDE]: If ioctl.h fails to define O_NDELAY,
14915 and we need it, try fcntl.h. 14915 and we need it, try fcntl.h.
14921 assume everything all set up for this. 14921 assume everything all set up for this.
14922 14922
14923 * m-hp9000s300.h: Unless NOT_C_CODE or NO_SHORTNAMES, 14923 * m-hp9000s300.h: Unless NOT_C_CODE or NO_SHORTNAMES,
14924 define WAITTYPE and WRETCODE, and include sys/wait.h. 14924 define WAITTYPE and WRETCODE, and include sys/wait.h.
14925 14925
14926 1989-08-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14926 1989-08-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14927 14927
14928 * callproc.c (child_setup): Get rid of junk in #if 0. 14928 * callproc.c (child_setup): Get rid of junk in #if 0.
14929 14929
14930 1989-08-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14930 1989-08-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14931 14931
14932 * abbrev.c (Fdefine_abbrev): Allow nil spec'd as expansion. 14932 * abbrev.c (Fdefine_abbrev): Allow nil spec'd as expansion.
14933 (Fexpand_abbrev): Eliminate abbrev length limit; use alloca. 14933 (Fexpand_abbrev): Eliminate abbrev length limit; use alloca.
14934 Eliminate redundant tests, always true. 14934 Eliminate redundant tests, always true.
14935 Record positions of both start and end of abbrev. 14935 Record positions of both start and end of abbrev.
14938 * callproc.c (Fcall_process_region): Use unwind-protect to delete 14938 * callproc.c (Fcall_process_region): Use unwind-protect to delete
14939 temp file. 14939 temp file.
14940 14940
14941 * lread.c (load_unwind): Free the pointer-word malloc'd in Fload. 14941 * lread.c (load_unwind): Free the pointer-word malloc'd in Fload.
14942 14942
14943 1989-08-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 14943 1989-08-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14944 14944
14945 * emacs.c (Fdump_emacs): Doc fix. 14945 * emacs.c (Fdump_emacs): Doc fix.
14946 14946
14947 1989-08-02 Joseph Arceneaux (jla at spiff) 14947 1989-08-02 Joseph Arceneaux (jla@spiff)
14948 14948
14949 * xfns.c: Reorganized several functions to be in same order as the 14949 * xfns.c: Reorganized several functions to be in same order as the
14950 enum list. 14950 enum list.
14951 (x_set_border_color): For X11, don't set pix to -1 for 14951 (x_set_border_color): For X11, don't set pix to -1 for
14952 gray values. 14952 gray values.
14953 (Fx_create_screen): Simplified this function even more. 14953 (Fx_create_screen): Simplified this function even more.
14954 14954
14955 1989-07-31 Joseph Arceneaux (jla at spiff) 14955 1989-07-31 Joseph Arceneaux (jla@spiff)
14956 14956
14957 * keymap.c: New subrs Fuse_local_mouse_map, Fcurrent_local_mouse_map. 14957 * keymap.c: New subrs Fuse_local_mouse_map, Fcurrent_local_mouse_map.
14958 14958
14959 * xfns.c (x_set_mouse_color): 14959 * xfns.c (x_set_mouse_color):
14960 (x_set_cur): No need to redraw display after doing these. 14960 (x_set_cur): No need to redraw display after doing these.
14962 (Fx_get_mouse_event): Accept motion events. 14962 (Fx_get_mouse_event): Accept motion events.
14963 (x11_encode_mouse_button): Encoding a la X11, except for one 14963 (x11_encode_mouse_button): Encoding a la X11, except for one
14964 kludge. This is used only for motion events. 14964 kludge. This is used only for motion events.
14965 14965
14966 * xterm.c (XTread_socket): Handle motion eveots. 14966 * xterm.c (XTread_socket): Handle motion eveots.
14967 14967
14968 1989-07-26 Joseph Arceneaux (jla at spiff) 14968 1989-07-26 Joseph Arceneaux (jla@spiff)
14969 14969
14970 * xfns.c (Fx_create_screen): I couldn't take it any more, the 14970 * xfns.c (Fx_create_screen): I couldn't take it any more, the
14971 ugliness of this routine offended me too deeply. It is now 14971 ugliness of this routine offended me too deeply. It is now
14972 completely rewritten for X11 and uses subroutines: 14972 completely rewritten for X11 and uses subroutines:
14973 (x_figure_window_size) 14973 (x_figure_window_size)
14979 (Fx_erase_rectangle): New subrs. 14979 (Fx_erase_rectangle): New subrs.
14980 14980
14981 * m/m-intel386.h: Changes in LOAD_AVE_TYPE, LOAD_AVE_CVT, and 14981 * m/m-intel386.h: Changes in LOAD_AVE_TYPE, LOAD_AVE_CVT, and
14982 FSCALE to make loadst work correctly. 14982 FSCALE to make loadst work correctly.
14983 14983
14984 1989-07-24 Joseph Arceneaux (jla at spiff) 14984 1989-07-24 Joseph Arceneaux (jla@spiff)
14985 14985
14986 * xfns.c (Fmodify_screen_parameters): Check s->output_method 14986 * xfns.c (Fmodify_screen_parameters): Check s->output_method
14987 before looping through alist. 14987 before looping through alist.
14988 14988
14989 (Fx_create_screen): Call x_default_parameter for font. 14989 (Fx_create_screen): Call x_default_parameter for font.
15002 calculations. 15002 calculations.
15003 15003
15004 * xterm.h: Added the screen parameter declarations from xfns.c for 15004 * xterm.h: Added the screen parameter declarations from xfns.c for
15005 X11. 15005 X11.
15006 15006
15007 1989-07-21 Joseph Arceneaux (jla at spiff) 15007 1989-07-21 Joseph Arceneaux (jla@spiff)
15008 15008
15009 * sysdep.c: Don't include sioctl.h on mips. 15009 * sysdep.c: Don't include sioctl.h on mips.
15010 15010
15011 * buffer.c (Flist_buffers): Pass prefix as arg. 15011 * buffer.c (Flist_buffers): Pass prefix as arg.
15012 15012
15013 * editfns.c (Finsert_char): Insert at most 256 chars at a whack. 15013 * editfns.c (Finsert_char): Insert at most 256 chars at a whack.
15014 15014
15015 * xterm.c (x_draw_box): Moved cursor box right by one pixel. 15015 * xterm.c (x_draw_box): Moved cursor box right by one pixel.
15016 15016
15017 1989-07-20 Joseph Arceneaux (jla at spiff) 15017 1989-07-20 Joseph Arceneaux (jla@spiff)
15018 15018
15019 * xfns.c: New variable x_screen_visuals, set if Fx_open_display, 15019 * xfns.c: New variable x_screen_visuals, set if Fx_open_display,
15020 to be used in screen-color-p. 15020 to be used in screen-color-p.
15021 15021
15022 * process.c (create_process): Don't call setpgrp_of_tty here. 15022 * process.c (create_process): Don't call setpgrp_of_tty here.
15027 (Fcall_process): Don't call setpgrp_of_tty here. 15027 (Fcall_process): Don't call setpgrp_of_tty here.
15028 15028
15029 * keyboard.c (command_loop_1): Make sure Vprefix_arg is NULL 15029 * keyboard.c (command_loop_1): Make sure Vprefix_arg is NULL
15030 before finalizing_kbd_macro_chars; 15030 before finalizing_kbd_macro_chars;
15031 15031
15032 1989-07-19 Joseph Arceneaux (jla at spiff) 15032 1989-07-19 Joseph Arceneaux (jla@spiff)
15033 15033
15034 * xfns.c (Fx_rebind_key): Completely rewrote this function for 15034 * xfns.c (Fx_rebind_key): Completely rewrote this function for
15035 X11. 15035 X11.
15036 15036
15037 1989-07-13 Joseph Arceneaux (jla at spiff) 15037 1989-07-13 Joseph Arceneaux (jla@spiff)
15038 15038
15039 * emacs.c: 15039 * emacs.c:
15040 * process.c: 15040 * process.c:
15041 * unexec.c: 15041 * unexec.c:
15042 * m/m-ibmrt-aix.h: Changed IBMRTAIX to IBMAIX. 15042 * m/m-ibmrt-aix.h: Changed IBMRTAIX to IBMAIX.
15043 * sysdep.c: Likewise. Also, don't define our closedir if IBMAIX. 15043 * sysdep.c: Likewise. Also, don't define our closedir if IBMAIX.
15044 * m/m-ibmps2-aix.h: New file. 15044 * m/m-ibmps2-aix.h: New file.
15045 15045
15046 1989-07-12 Joseph Arceneaux (jla at spiff) 15046 1989-07-12 Joseph Arceneaux (jla@spiff)
15047 15047
15048 * xdisp.c (message, message1): If using x, but haven't mapped the 15048 * xdisp.c (message, message1): If using x, but haven't mapped the
15049 window yet, use noninteractive output. 15049 window yet, use noninteractive output.
15050 15050
15051 * dispnew.c (Fredraw_display): Don't redraw a screen which is not 15051 * dispnew.c (Fredraw_display): Don't redraw a screen which is not
15057 (x_set_border_color) 15057 (x_set_border_color)
15058 (x_set_cursor_color) 15058 (x_set_cursor_color)
15059 (x_set_background_color) 15059 (x_set_background_color)
15060 (x_set_foreground_color): Don't redraw when screen isn't visible. 15060 (x_set_foreground_color): Don't redraw when screen isn't visible.
15061 15061
15062 1989-07-11 Joseph Arceneaux (jla at gluteus) 15062 1989-07-11 Joseph Arceneaux (jla@gluteus)
15063 15063
15064 * xterm.c (x_term_init, XTread_socket): Use ConnectionNumber for 15064 * xterm.c (x_term_init, XTread_socket): Use ConnectionNumber for
15065 both X10 and X11. This is #defined for X10. 15065 both X10 and X11. This is #defined for X10.
15066 15066
15067 * screen.c (Fset_screen_width, Fset_screen_height): These now take 15067 * screen.c (Fset_screen_width, Fset_screen_height): These now take
15068 a SCREEN argument. 15068 a SCREEN argument.
15069 15069
15070 1989-07-10 Joseph Arceneaux (jla at gluteus) 15070 1989-07-10 Joseph Arceneaux (jla@gluteus)
15071 15071
15072 * xterm.c (x_set_window_size): Call x_wm_set_size_hint. 15072 * xterm.c (x_set_window_size): Call x_wm_set_size_hint.
15073 (x_new_font): Don't call x_wm_set_size_hint. 15073 (x_new_font): Don't call x_wm_set_size_hint.
15074 15074
15075 * xfns.c (x_set_internal_border_width): Don't call 15075 * xfns.c (x_set_internal_border_width): Don't call
15076 x_set_resize_hint, and call x_set_window_size after BLOCK_INPUT. 15076 x_set_resize_hint, and call x_set_window_size after BLOCK_INPUT.
15077 15077
15078 * screen.c, dispnew.c (Fset_screen_width, Fset_screen_height): 15078 * screen.c, dispnew.c (Fset_screen_width, Fset_screen_height):
15079 These functions have moved to screen.c. 15079 These functions have moved to screen.c.
15080 15080
15081 1989-07-07 Joseph Arceneaux (jla at sugar-bombs.ai.mit.edu) 15081 1989-07-07 Joseph Arceneaux (jla@sugar-bombs.ai.mit.edu)
15082 15082
15083 * eval.c (Ffuncall): Handle 6 arguments. Also, print a nice error 15083 * eval.c (Ffuncall): Handle 6 arguments. Also, print a nice error
15084 message if there are more than 6 args. 15084 message if there are more than 6 args.
15085 15085
15086 * fns.c: (Fyes-or-no-p): 15086 * fns.c: (Fyes-or-no-p):
15094 * minibuf.c: (Fread_command): 15094 * minibuf.c: (Fread_command):
15095 (Fread_function): 15095 (Fread_function):
15096 (Fread_variable): 15096 (Fread_variable):
15097 (Fread_buffer): Extra arg to Fcompleting_read. 15097 (Fread_buffer): Extra arg to Fcompleting_read.
15098 15098
15099 1989-07-05 Joseph Arceneaux (jla at spiff) 15099 1989-07-05 Joseph Arceneaux (jla@spiff)
15100 15100
15101 * minibuf.c (read_minibuf): New argument back_n is number of 15101 * minibuf.c (read_minibuf): New argument back_n is number of
15102 characters to back-up point by. 15102 characters to back-up point by.
15103 (Fcompleting_read): Same. 15103 (Fcompleting_read): Same.
15104 * fileio.c: (Fnew_read_file_name): New version of Fread_file_name 15104 * fileio.c: (Fnew_read_file_name): New version of Fread_file_name
15105 using the above features. 15105 using the above features.
15106 (Finsert_file_contents): Check for negative file length. 15106 (Finsert_file_contents): Check for negative file length.
15107 15107
15108 1989-07-03 Joseph Arceneaux (jla at spiff) 15108 1989-07-03 Joseph Arceneaux (jla@spiff)
15109 15109
15110 * xfns.c: (x_pixel_width, x_pixel_height) New functions. 15110 * xfns.c: (x_pixel_width, x_pixel_height) New functions.
15111 * screen.c: (Fscreen_pixel_size): New subr. 15111 * screen.c: (Fscreen_pixel_size): New subr.
15112 15112
15113 1989-06-30 Joseph Arceneaux (jla at spiff) 15113 1989-06-30 Joseph Arceneaux (jla@spiff)
15114 15114
15115 * xterm.c: Use invocation_name as argument to XGetDefaults. 15115 * xterm.c: Use invocation_name as argument to XGetDefaults.
15116 15116
15117 1989-06-29 Joseph Arceneaux (jla at spiff) 15117 1989-06-29 Joseph Arceneaux (jla@spiff)
15118 15118
15119 * xterm.c (x_error_handler) #ifdef sony_news use XDefaultError 15119 * xterm.c (x_error_handler) #ifdef sony_news use XDefaultError
15120 instead of XPrintDefaultError due to weirdness in Sony library. 15120 instead of XPrintDefaultError due to weirdness in Sony library.
15121 * xterm.c: Avoid infinite raise/lower, enter/leave cycle when both 15121 * xterm.c: Avoid infinite raise/lower, enter/leave cycle when both
15122 auto_raise and auto_lower are set by checking times between 15122 auto_raise and auto_lower are set by checking times between
15123 consecutive Enter events. 15123 consecutive Enter events.
15124 15124
15125 1989-06-27 Joseph Arceneaux (jla at sugar-bombs.ai.mit.edu) 15125 1989-06-27 Joseph Arceneaux (jla@sugar-bombs.ai.mit.edu)
15126 15126
15127 * screen.c: (Fselect_screen) 15127 * screen.c: (Fselect_screen)
15128 * window.c: (Fselect_window) The previous strategy was bugging the 15128 * window.c: (Fselect_window) The previous strategy was bugging the
15129 lisp stuff, so these are now rewritten. 15129 lisp stuff, so these are now rewritten.
15130 15130
15131 1989-06-26 Joseph Arceneaux (jla at galapas.ai.mit.edu) 15131 1989-06-26 Joseph Arceneaux (jla@galapas.ai.mit.edu)
15132 15132
15133 * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been 15133 * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been
15134 removed. 15134 removed.
15135 (losecursor): This function now a #define in cm.h. 15135 (losecursor): This function now a #define in cm.h.
15136 15136
15145 for X11. 15145 for X11.
15146 (x_make_screen_invisible): Send an UnmapNotify event to the root 15146 (x_make_screen_invisible): Send an UnmapNotify event to the root
15147 window to aprise the window manager of the change. 15147 window to aprise the window manager of the change.
15148 (XTread_socket): Catch VisibilityNotify events. 15148 (XTread_socket): Catch VisibilityNotify events.
15149 15149
15150 1989-06-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15150 1989-06-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15151 15151
15152 * window.c (Fsplit_window): If horizontal, round left window size up. 15152 * window.c (Fsplit_window): If horizontal, round left window size up.
15153 15153
15154 1989-06-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15154 1989-06-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15155 15155
15156 * cm.h (cmplus): Improve formatting. 15156 * cm.h (cmplus): Improve formatting.
15157 Use losecursor when reach end of line, if losewrap. 15157 Use losecursor when reach end of line, if losewrap.
15158 15158
15159 * cm.h: New fields to handle multi-line and multi-char motion, 15159 * cm.h: New fields to handle multi-line and multi-char motion,
15163 * term.c (clear_end_of_line_raw): Don't clear last char of last line 15163 * term.c (clear_end_of_line_raw): Don't clear last char of last line
15164 if autowrap. 15164 if autowrap.
15165 15165
15166 * abbrev.c (Finsert_abbrev_table_description): Make 2nd arg optional. 15166 * abbrev.c (Finsert_abbrev_table_description): Make 2nd arg optional.
15167 15167
15168 1989-06-23 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15168 1989-06-23 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15169 15169
15170 * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp 15170 * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp
15171 function x-color-screen-p in x-win.el. 15171 function x-color-screen-p in x-win.el.
15172 (x_set_cursor_color): New method: first disallow same cursor as 15172 (x_set_cursor_color): New method: first disallow same cursor as
15173 background, then if cursor not foreground, use it as cursor 15173 background, then if cursor not foreground, use it as cursor
15174 foreground. 15174 foreground.
15175 15175
15176 1989-06-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15176 1989-06-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15177 15177
15178 * lisp.h (XPNTR): Don't define if already defined. 15178 * lisp.h (XPNTR): Don't define if already defined.
15179 15179
15180 1989-06-22 Joseph Arceneaux (jla at cream-of-wheat.ai.mit.edu) 15180 1989-06-22 Joseph Arceneaux (jla@cream-of-wheat.ai.mit.edu)
15181 15181
15182 * screen.c: New subrs Ficonify_screen, Fdeiconify_screen, 15182 * screen.c: New subrs Ficonify_screen, Fdeiconify_screen,
15183 Fread_mouse_position, Fset_mouse_position. 15183 Fread_mouse_position, Fset_mouse_position.
15184 15184
15185 * xterm.c: New functions x_deiconify_screen, x_iconify_screen. 15185 * xterm.c: New functions x_deiconify_screen, x_iconify_screen.
15186 15186
15187 1989-06-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15187 1989-06-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15188 15188
15189 * window.c (Fsplit_window, change_window_height): 15189 * window.c (Fsplit_window, change_window_height):
15190 Enforce minimum of 2 for window_min_width and window_min_height. 15190 Enforce minimum of 2 for window_min_width and window_min_height.
15191 15191
15192 1989-06-22 Joseph Arceneaux (jla at galapas.ai.mit.edu) 15192 1989-06-22 Joseph Arceneaux (jla@galapas.ai.mit.edu)
15193 15193
15194 * dispnew.c (unhold_window_change): Don't set and unset in_display 15194 * dispnew.c (unhold_window_change): Don't set and unset in_display
15195 before and after calling change_screen_size. 15195 before and after calling change_screen_size.
15196 15196
15197 1989-06-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15197 1989-06-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15198 15198
15199 * buffer.c (Fkill_buffer): Ignore errors deleting auto-save file. 15199 * buffer.c (Fkill_buffer): Ignore errors deleting auto-save file.
15200 Delete only if delete-auto-save-files. 15200 Delete only if delete-auto-save-files.
15201 15201
15202 * data.c (Fmake_local_variable): Don't change value if unbound. 15202 * data.c (Fmake_local_variable): Don't change value if unbound.
15203 15203
15204 1989-06-20 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15204 1989-06-20 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15205 15205
15206 * screen.c (Fselect_screen): Use x_set_mouse_position instead of 15206 * screen.c (Fselect_screen): Use x_set_mouse_position instead of
15207 x_enter_screen. 15207 x_enter_screen.
15208 15208
15209 * xterm.c (x_enter_screen): Deleted, now merged with 15209 * xterm.c (x_enter_screen): Deleted, now merged with
15212 15212
15213 * data.c (swap_in_symval_forwarding): Declared tem1. 15213 * data.c (swap_in_symval_forwarding): Declared tem1.
15214 (Fset): Changed variable name void to voide. Also, set it to a C 15214 (Fset): Changed variable name void to voide. Also, set it to a C
15215 true/false, rather than Qt or Qnil. 15215 true/false, rather than Qt or Qnil.
15216 15216
15217 1989-06-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15217 1989-06-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15218 15218
15219 * eval.c (Fdefvar): Operate on default value if sym is buffer-local. 15219 * eval.c (Fdefvar): Operate on default value if sym is buffer-local.
15220 (Fdefconst): Likewise. 15220 (Fdefconst): Likewise.
15221 15221
15222 * Allow buffer-local variables to be void in one buffer 15222 * Allow buffer-local variables to be void in one buffer
15225 (Fboundp, Fsymbol_value): Use that. 15225 (Fboundp, Fsymbol_value): Use that.
15226 (default_value): New function. 15226 (default_value): New function.
15227 (Fdefault_value): Use that. 15227 (Fdefault_value): Use that.
15228 (Fdefault_boundp): New function, uses that. 15228 (Fdefault_boundp): New function, uses that.
15229 15229
15230 1989-06-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15230 1989-06-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15231 15231
15232 * ymakefile: New variable OLDXMENU has filename of libXMenu.a 15232 * ymakefile: New variable OLDXMENU has filename of libXMenu.a
15233 as a target. Make temacs depend on it. 15233 as a target. Make temacs depend on it.
15234 15234
15235 1989-06-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15235 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15236 15236
15237 * ymakefile [HAVE_X11, HAVE_X_MENU]: Build oldXMenu. 15237 * ymakefile [HAVE_X11, HAVE_X_MENU]: Build oldXMenu.
15238 * xmenu.c: Get XMenu.h from sibling dir. 15238 * xmenu.c: Get XMenu.h from sibling dir.
15239 15239
15240 * buffer.c (Fkill_buffer): Return t if buffer is killed. 15240 * buffer.c (Fkill_buffer): Return t if buffer is killed.
15241 Delete auto-save file if any. 15241 Delete auto-save file if any.
15242 15242
15243 1989-06-09 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15243 1989-06-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15244 15244
15245 * window.c: initialize auto_new_screen to 0 (nil). 15245 * window.c: initialize auto_new_screen to 0 (nil).
15246 15246
15247 * screen.c (make_screen): added auto_lower to the list of screen 15247 * screen.c (make_screen): added auto_lower to the list of screen
15248 elements initialized. 15248 elements initialized.
15249 (make_minibuffer_screen): likewise. 15249 (make_minibuffer_screen): likewise.
15250 15250
15251 1989-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15251 1989-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15252 15252
15253 * window.c (Fset_window_point): Don't lose if window's buffer is 15253 * window.c (Fset_window_point): Don't lose if window's buffer is
15254 not current. 15254 not current.
15255 15255
15256 1989-06-08 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15256 1989-06-08 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15257 15257
15258 * xfns.c (Fx_open_connection): Added 9 Lisp variables 15258 * xfns.c (Fx_open_connection): Added 9 Lisp variables
15259 defined by the screen and server. 15259 defined by the screen and server.
15260 15260
15261 1989-06-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15261 1989-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15262 15262
15263 * m-pmax.h: New file. 15263 * m-pmax.h: New file.
15264 15264
15265 1989-06-08 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15265 1989-06-08 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15266 15266
15267 * xfns.c: removed superfluous definition of gray_bits. 15267 * xfns.c: removed superfluous definition of gray_bits.
15268 15268
15269 1989-06-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15269 1989-06-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15270 15270
15271 * m-hp9000s300.h: Define NEED_BSDTTY unless NOMULTIPLEJOBS. 15271 * m-hp9000s300.h: Define NEED_BSDTTY unless NOMULTIPLEJOBS.
15272 15272
15273 1989-06-07 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15273 1989-06-07 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15274 15274
15275 * emacs.c (Fkill_emacs): If under X, call 15275 * emacs.c (Fkill_emacs): If under X, call
15276 Fx_close_current_connection. This has fixed the "bad file" bug. 15276 Fx_close_current_connection. This has fixed the "bad file" bug.
15277 * xfns.c (Fx_close_current_connection): Added this subr which for 15277 * xfns.c (Fx_close_current_connection): Added this subr which for
15278 the moment serves only to close the X-connection when killing emacs. 15278 the moment serves only to close the X-connection when killing emacs.
15279 15279
15280 1989-06-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15280 1989-06-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15281 15281
15282 * m-hp9000s800.h: Define NEED_BSDTTY here. 15282 * m-hp9000s800.h: Define NEED_BSDTTY here.
15283 * s-hpux.h: Not here. 15283 * s-hpux.h: Not here.
15284 15284
15285 1989-06-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15285 1989-06-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15286 15286
15287 * s/s-hpux.h: Define NEED_BSDTTY. 15287 * s/s-hpux.h: Define NEED_BSDTTY.
15288 15288
15289 1989-06-06 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15289 1989-06-06 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15290 15290
15291 * xterm.c (x_new_selected_screen): Make the new selected_screen 15291 * xterm.c (x_new_selected_screen): Make the new selected_screen
15292 and it's selected_window's screen be the same. 15292 and it's selected_window's screen be the same.
15293 (x_enter_screen): Calculate the middle of the screen, and warp the 15293 (x_enter_screen): Calculate the middle of the screen, and warp the
15294 mouse there. Also, raise the screen before doing so. 15294 mouse there. Also, raise the screen before doing so.
15295 15295
15296 1989-06-05 Joseph Arceneaux (jla at cream-of-wheat.ai.mit.edu) 15296 1989-06-05 Joseph Arceneaux (jla@cream-of-wheat.ai.mit.edu)
15297 15297
15298 * xterm.c (x_set_window_size): If not already in DoDsp (checked 15298 * xterm.c (x_set_window_size): If not already in DoDsp (checked
15299 with variable in_display) then DoDsp here. Handles redisplay 15299 with variable in_display) then DoDsp here. Handles redisplay
15300 after screen configuration. 15300 after screen configuration.
15301 (x_error_handler): Print out stuff about the error if we're in 15301 (x_error_handler): Print out stuff about the error if we're in
15302 debug mode. 15302 debug mode.
15303 15303
15304 * dispnew.c (change_screen_size): No longer call DoDsp here. 15304 * dispnew.c (change_screen_size): No longer call DoDsp here.
15305 15305
15306 1989-06-05 Chris Hanson (cph at kleph) 15306 1989-06-05 Chris Hanson (cph@kleph)
15307 15307
15308 * syntax.c (Fmodify_syntax_entry): Change documentation string to 15308 * syntax.c (Fmodify_syntax_entry): Change documentation string to
15309 reflect earlier change to action of `p' syntax bit. 15309 reflect earlier change to action of `p' syntax bit.
15310 15310
15311 1989-06-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15311 1989-06-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15312 15312
15313 * lread.c (read1): Don't accept "" in middle of string. 15313 * lread.c (read1): Don't accept "" in middle of string.
15314 15314
15315 1989-05-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15315 1989-05-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15316 15316
15317 * search.c (Freplace_match): If \N has nothing to insert, 15317 * search.c (Freplace_match): If \N has nothing to insert,
15318 insert nothing. 15318 insert nothing.
15319 15319
15320 1989-05-29 Joseph Arceneaux (jla at gracilis.ai.mit.edu) 15320 1989-05-29 Joseph Arceneaux (jla@gracilis.ai.mit.edu)
15321 15321
15322 * xfns.c: (Fx_create_screen): If parms is nil and 15322 * xfns.c: (Fx_create_screen): If parms is nil and
15323 Vx_screen_defaults isn't, then use them. 15323 Vx_screen_defaults isn't, then use them.
15324 (Fdisplay_buffer): Call Fx_create_screen with Qnil. 15324 (Fdisplay_buffer): Call Fx_create_screen with Qnil.
15325 15325
15326 1989-05-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15326 1989-05-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15327 15327
15328 * syntax.c (scan_lists): Once within a word, treat Squote like Sword. 15328 * syntax.c (scan_lists): Once within a word, treat Squote like Sword.
15329 15329
15330 1989-05-24 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15330 1989-05-24 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15331 15331
15332 * dispnew.c (change_screen_size): DoDsp if not pretend. 15332 * dispnew.c (change_screen_size): DoDsp if not pretend.
15333 15333
15334 1989-05-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15334 1989-05-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15335 15335
15336 * search.c (skip_chars): Dumb error checking for \. 15336 * search.c (skip_chars): Dumb error checking for \.
15337 15337
15338 1989-05-22 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15338 1989-05-22 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15339 15339
15340 * screen.c (Fselect_screen): Under X, basically just warp the 15340 * screen.c (Fselect_screen): Under X, basically just warp the
15341 cursor into the desired screen. The event handler will then do 15341 cursor into the desired screen. The event handler will then do
15342 the right thing. 15342 the right thing.
15343 (Frestore_screen_configuration): Don't set the mouse position. 15343 (Frestore_screen_configuration): Don't set the mouse position.
15351 x_new_selected_screen here. 15351 x_new_selected_screen here.
15352 15352
15353 * xterm.c (XTread_socket): Add case slots for CirculateNotify and 15353 * xterm.c (XTread_socket): Add case slots for CirculateNotify and
15354 CirculateRequest events. 15354 CirculateRequest events.
15355 15355
15356 1989-05-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15356 1989-05-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15357 15357
15358 * doc.c (Fsubstitute_command_keys): Evaluate \\<...> keymap 15358 * doc.c (Fsubstitute_command_keys): Evaluate \\<...> keymap
15359 in proper buffer. 15359 in proper buffer.
15360 15360
15361 * keymap.c (Fapropos_internal): New Lisp function, old apropos 15361 * keymap.c (Fapropos_internal): New Lisp function, old apropos
15362 but only returns a list. 15362 but only returns a list.
15363 15363
15364 1989-05-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15364 1989-05-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15365 15365
15366 * process.c (Fopen_network_stream): Don't set kill-without-query. 15366 * process.c (Fopen_network_stream): Don't set kill-without-query.
15367 15367
15368 1989-05-19 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15368 1989-05-19 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15369 15369
15370 * xterm.c (x_new_selected_screen): This now takes a struct screen 15370 * xterm.c (x_new_selected_screen): This now takes a struct screen
15371 pointer as paramter. 15371 pointer as paramter.
15372 * (XTread_socket): call x_new_selected_screen *before* dumpborder. 15372 * (XTread_socket): call x_new_selected_screen *before* dumpborder.
15373 15373
15374 1989-05-16 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15374 1989-05-16 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15375 15375
15376 * xfns.c: (x_window_to_scrollbar): If the caller's not interested 15376 * xfns.c: (x_window_to_scrollbar): If the caller's not interested
15377 in the names--passing 0 for last two parameters--just return the 15377 in the names--passing 0 for last two parameters--just return the
15378 screen pointer. 15378 screen pointer.
15379 15379
15380 * xterm.c (x_enter_screen): Added this function for warping the 15380 * xterm.c (x_enter_screen): Added this function for warping the
15381 pointer into a screen. 15381 pointer into a screen.
15382 15382
15383 1989-05-16 Chris Hanson (cph at kleph) 15383 1989-05-16 Chris Hanson (cph@kleph)
15384 15384
15385 * syntax.c (scan_lists, scan_sexps_forward): Treat characters 15385 * syntax.c (scan_lists, scan_sexps_forward): Treat characters
15386 whose "prefix" bit is on as whitespace when they are encountered 15386 whose "prefix" bit is on as whitespace when they are encountered
15387 between expressions. When they occur within expressions they are 15387 between expressions. When they occur within expressions they are
15388 treated according to their syntax code. 15388 treated according to their syntax code.
15389 15389
15390 1989-05-16 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15390 1989-05-16 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15391 15391
15392 * xterm.c: (x_new_selected_screen): Don't call Fselect_screen. 15392 * xterm.c: (x_new_selected_screen): Don't call Fselect_screen.
15393 Just do everything here. 15393 Just do everything here.
15394 15394
15395 * window.c (Fselect_window): If the screen associated with the 15395 * window.c (Fselect_window): If the screen associated with the
15398 *not* call Fselect_screen. 15398 *not* call Fselect_screen.
15399 15399
15400 * screen.c (Fselect_screen): Now this is *only* a lisp subr. It 15400 * screen.c (Fselect_screen): Now this is *only* a lisp subr. It
15401 just calls Fselect_window on the selected window of the screen. 15401 just calls Fselect_window on the selected window of the screen.
15402 15402
15403 1989-05-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15403 1989-05-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15404 15404
15405 * editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick, 15405 * editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick,
15406 but maybe also increment save-tick. 15406 but maybe also increment save-tick.
15407 15407
15408 1989-05-15 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15408 1989-05-15 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15409 15409
15410 * xterm.c (x_set_window_size): Only one #ifdef HAVE_X11 due to new 15410 * xterm.c (x_set_window_size): Only one #ifdef HAVE_X11 due to new
15411 macro in: 15411 macro in:
15412 * xterm.h: New macro XChangeWindowSize for both X10 and X11. 15412 * xterm.h: New macro XChangeWindowSize for both X10 and X11.
15413 15413
15414 * xfns.c (Fx_create_screen): Use XCreateWindow instead of 15414 * xfns.c (Fx_create_screen): Use XCreateWindow instead of
15415 XCreateSimpleWindow to directly set some extra attributes. 15415 XCreateSimpleWindow to directly set some extra attributes.
15416 15416
15417 1989-05-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15417 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15418 15418
15419 * syntax.h (SYNTAX_PREFIX): New macro. 15419 * syntax.h (SYNTAX_PREFIX): New macro.
15420 * syntax.c (Fmodify_syntax_table): Handle `p'; set new flag. 15420 * syntax.c (Fmodify_syntax_table): Handle `p'; set new flag.
15421 (describe_syntax): Describe new flag. 15421 (describe_syntax): Describe new flag.
15422 (Fbackward_prefix_chars): Move back over such chars. 15422 (Fbackward_prefix_chars): Move back over such chars.
15423 15423
15424 * lread.c (read1): Dumb errors in last change. 15424 * lread.c (read1): Dumb errors in last change.
15425 15425
15426 1989-05-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15426 1989-05-13 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15427 15427
15428 * lread.c (read1): Error if EOF after `?' or in string. 15428 * lread.c (read1): Error if EOF after `?' or in string.
15429 15429
15430 * sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg. 15430 * sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg.
15431 15431
15432 1989-05-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15432 1989-05-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15433 15433
15434 * s/s-usg5-3.h: Define HAVE_SYSVIPC? 15434 * s/s-usg5-3.h: Define HAVE_SYSVIPC?
15435 15435
15436 * alloc.c (Fmake_byte_code): If purifying, purecopy all elements. 15436 * alloc.c (Fmake_byte_code): If purifying, purecopy all elements.
15437 15437
15438 * ymakefile (LIBXMENU): Use -loldX. 15438 * ymakefile (LIBXMENU): Use -loldX.
15439 Find libXMenu11.a in special place. 15439 Find libXMenu11.a in special place.
15440 15440
15441 1989-05-12 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) 15441 1989-05-12 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15442 15442
15443 * xfns.c (Fx_create_screen): If user has specified 15443 * xfns.c (Fx_create_screen): If user has specified
15444 `x-iconic-startup' then start emacs in iconic form. 15444 `x-iconic-startup' then start emacs in iconic form.
15445 Look for icon position in `icon-left' and `icon-top', or use 15445 Look for icon position in `icon-left' and `icon-top', or use
15446 window postion. 15446 window postion.
15447 15447
15448 * xterm.c (x_term_init): If server doesn't respond, use fatal 15448 * xterm.c (x_term_init): If server doesn't respond, use fatal
15449 instead of error. Also tell user about -d option. 15449 instead of error. Also tell user about -d option.
15450 15450
15451 1989-05-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15451 1989-05-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15452 15452
15453 * sysdep.c (init_sys_modes, reset_sys_modes): 15453 * sysdep.c (init_sys_modes, reset_sys_modes):
15454 Handle TIOCGLTC even if HAVE_TERMIO. 15454 Handle TIOCGLTC even if HAVE_TERMIO.
15455 15455
15456 * print.c (Qprint_escape_newlines): New variable. 15456 * print.c (Qprint_escape_newlines): New variable.
15457 * minibuf.c (read_minibuf): Make it t locally in minibuffers. 15457 * minibuf.c (read_minibuf): Make it t locally in minibuffers.
15458 15458
15459 * fileio.c (Fcopy_file): Check for error on close. 15459 * fileio.c (Fcopy_file): Check for error on close.
15460 15460
15461 1989-05-10 Joseph Arceneaux (jla at corn-chex.ai.mit.edu) 15461 1989-05-10 Joseph Arceneaux (jla@corn-chex.ai.mit.edu)
15462 15462
15463 * xfns.c (adjust_scrollbars): Don't subtract 2 from 15463 * xfns.c (adjust_scrollbars): Don't subtract 2 from
15464 h_scrollbar_height when calculating `length'. 15464 h_scrollbar_height when calculating `length'.
15465 15465
15466 1989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15466 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15467 15467
15468 * eval.c (call_debugger): Set entering_debugger. 15468 * eval.c (call_debugger): Set entering_debugger.
15469 (find_handler_cause): Don't enter debugger if that's set. 15469 (find_handler_cause): Don't enter debugger if that's set.
15470 (Fbacktrace): Clear it; we are presumably in the debugger. 15470 (Fbacktrace): Clear it; we are presumably in the debugger.
15471 15471
15472 * m/m-sps7.h: New file. 15472 * m/m-sps7.h: New file.
15473 15473
15474 1989-05-08 Joseph Arceneaux (jla at rice-chex.ai.mit.edu) 15474 1989-05-08 Joseph Arceneaux (jla@rice-chex.ai.mit.edu)
15475 15475
15476 * xterm.c (XTread_socket_hook): For X11, on map and unmap events 15476 * xterm.c (XTread_socket_hook): For X11, on map and unmap events
15477 check the window manager hints for iconification status. 15477 check the window manager hints for iconification status.
15478 15478
15479 * xterm.c (x_make_widow_icon): For X11, just request 15479 * xterm.c (x_make_widow_icon): For X11, just request
15480 iconification of the window manager. 15480 iconification of the window manager.
15481 15481
15482 1989-05-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15482 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15483 15483
15484 * m/m-clipper.h: New file. 15484 * m/m-clipper.h: New file.
15485 15485
15486 1989-05-07 Joseph Arceneaux (jla at corn-chex.ai.mit.edu) 15486 1989-05-07 Joseph Arceneaux (jla@corn-chex.ai.mit.edu)
15487 15487
15488 * xfns.c (adjust_scrollbars): Don't subtract 2 from 15488 * xfns.c (adjust_scrollbars): Don't subtract 2 from
15489 v_scrollbar_width when calculating `height'. 15489 v_scrollbar_width when calculating `height'.
15490 15490
15491 * xfns.c (x_set_foreground, x_set_border_pixel): Finished color 15491 * xfns.c (x_set_foreground, x_set_border_pixel): Finished color
15492 coordination. Scrollbar border, thump-arrows, and slider pixmap 15492 coordination. Scrollbar border, thump-arrows, and slider pixmap
15493 linked with foreground color; slider border with window border. 15493 linked with foreground color; slider border with window border.
15494 15494
15495 1989-05-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15495 1989-05-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15496 15496
15497 * lread.c (read1): Handle octal integers. 15497 * lread.c (read1): Handle octal integers.
15498 15498
15499 * macros.c: Doc fix. 15499 * macros.c: Doc fix.
15500 15500
15501 * search.c (Fstore_match_data): Allow ints instead of markers. 15501 * search.c (Fstore_match_data): Allow ints instead of markers.
15502 15502
15503 * keyboard.c (get_char_menu_prompt): New function; does menu prompting 15503 * keyboard.c (get_char_menu_prompt): New function; does menu prompting
15504 based on current keymaps. 15504 based on current keymaps.
15505 15505
15506 1989-05-05 Joseph Arceneaux (jla at gracilis.ai.mit.edu) 15506 1989-05-05 Joseph Arceneaux (jla@gracilis.ai.mit.edu)
15507 15507
15508 * xfns.c (Fx_set_face): Rewrote the doc-string and renamed the 15508 * xfns.c (Fx_set_face): Rewrote the doc-string and renamed the
15509 parameters. 15509 parameters.
15510 15510
15511 1989-05-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15511 1989-05-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15512 15512
15513 * unexec.c: New control parameters COFF_BSD_SYMBOLS, KEEP_OLD_PADDR, 15513 * unexec.c: New control parameters COFF_BSD_SYMBOLS, KEEP_OLD_PADDR,
15514 KEEP_OLD_TEXT_SCNPTR, ADJUST_TEXT_SCNHDR_SIZE, ADJUST_TEXTBASE, 15514 KEEP_OLD_TEXT_SCNPTR, ADJUST_TEXT_SCNHDR_SIZE, ADJUST_TEXTBASE,
15515 HEADER_INCL_IN_TEXT. 15515 HEADER_INCL_IN_TEXT.
15516 15516
15519 * keymap.c: Fapropos, etc., deleted. (Now in Lisp code.) 15519 * keymap.c: Fapropos, etc., deleted. (Now in Lisp code.)
15520 15520
15521 * eval.c (Fcommandp): Byte code object is command if interactive slot 15521 * eval.c (Fcommandp): Byte code object is command if interactive slot
15522 exists at all. 15522 exists at all.
15523 15523
15524 1989-05-05 Chris Hanson (cph at kleph) 15524 1989-05-05 Chris Hanson (cph@kleph)
15525 15525
15526 * process.c [HPUX && !NOMULTIPLEJOBS]: Include <bsdtty.h>, which 15526 * process.c [HPUX && !NOMULTIPLEJOBS]: Include <bsdtty.h>, which
15527 defines TIOCGPGRP. 15527 defines TIOCGPGRP.
15528 15528
15529 1989-05-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15529 1989-05-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15530 15530
15531 * data.c (Faref, Farray_length): Handle byte-code objects. 15531 * data.c (Faref, Farray_length): Handle byte-code objects.
15532 * fns.c (Flength, concat): Likewise. 15532 * fns.c (Flength, concat): Likewise.
15533 15533
15534 * data.c (Faref, Faset, Farray_length): Rename arg VECTOR to ARRAY. 15534 * data.c (Faref, Faset, Farray_length): Rename arg VECTOR to ARRAY.
15547 * keyboard.c (get_char): Use Fsit_for for echoing timeout, not alarm. 15547 * keyboard.c (get_char): Use Fsit_for for echoing timeout, not alarm.
15548 Do this before timeout for auto-save since the latter is longer. 15548 Do this before timeout for auto-save since the latter is longer.
15549 (request_echo): Function deleted. 15549 (request_echo): Function deleted.
15550 ({set,clear}_waiting_for_input): No need for echo_now, echo_flag. 15550 ({set,clear}_waiting_for_input): No need for echo_now, echo_flag.
15551 15551
15552 1989-05-04 Joseph Arceneaux (jla at gracilis.ai.mit.edu) 15552 1989-05-04 Joseph Arceneaux (jla@gracilis.ai.mit.edu)
15553 15553
15554 * xterm.c (x_lower_window, x_raise_window): Don't do anything if 15554 * xterm.c (x_lower_window, x_raise_window): Don't do anything if
15555 the window isn't visible. 15555 the window isn't visible.
15556 15556
15557 * xfns.c (x_set_foreground_color): Recolor the scrollbar windows 15557 * xfns.c (x_set_foreground_color): Recolor the scrollbar windows
15558 appropriately, compatible with xterm. 15558 appropriately, compatible with xterm.
15559 15559
15560 * xterm.c (x_reset_cursor): Do cursor recoloring. 15560 * xterm.c (x_reset_cursor): Do cursor recoloring.
15561 15561
15562 1989-05-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15562 1989-05-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15563 15563
15564 * fns.c (Frandom): With number as arg, return value < that number. 15564 * fns.c (Frandom): With number as arg, return value < that number.
15565 15565
15566 * sysdep.c [USG, BSD4_1] (random): Call `rand' twice, to get 15566 * sysdep.c [USG, BSD4_1] (random): Call `rand' twice, to get
15567 30 bits of significance. 15567 30 bits of significance.
15568 15568
15569 1989-05-03 Joe Arceneaux (jla at gracilis.ai.mit.edu) 15569 1989-05-03 Joe Arceneaux (jla@gracilis.ai.mit.edu)
15570 15570
15571 * xterm.c (x_draw_box): Use the cursor_gc. 15571 * xterm.c (x_draw_box): Use the cursor_gc.
15572 * xfns.c: (x_set_cursor_color, x_create_screen): Do a better job 15572 * xfns.c: (x_set_cursor_color, x_create_screen): Do a better job
15573 with cursor colors, and use 0 line width for the cursor_gc. 15573 with cursor colors, and use 0 line width for the cursor_gc.
15574 15574
15575 1989-05-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15575 1989-05-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15576 15576
15577 * Begin changing representation of compiled functions. 15577 * Begin changing representation of compiled functions.
15578 * lisp.h (enum Lisp_Type): New type code Lisp_Compiled, like a vector. 15578 * lisp.h (enum Lisp_Type): New type code Lisp_Compiled, like a vector.
15579 (COMPILED_*): Names for slots in those vectors. 15579 (COMPILED_*): Names for slots in those vectors.
15580 * alloc.c (Fmake_compiled_code): New function. 15580 * alloc.c (Fmake_compiled_code): New function.
15592 * eval.c, fileio.c, filelock.c, floatfns.c, fns.c, keyboard.c: 15592 * eval.c, fileio.c, filelock.c, floatfns.c, fns.c, keyboard.c:
15593 * keymap.c, lread.c, minibuf.c, mocklisp.c, print.c, process.c: 15593 * keymap.c, lread.c, minibuf.c, mocklisp.c, print.c, process.c:
15594 * screen.c, search.c, syntax.c, undo.c, vmsfns.c: 15594 * screen.c, search.c, syntax.c, undo.c, vmsfns.c:
15595 Many doc fixes. 15595 Many doc fixes.
15596 15596
15597 1989-04-30 Joseph Arceneaux (jla at hobbes) 15597 1989-04-30 Joseph Arceneaux (jla@hobbes)
15598 15598
15599 * xterm.c (XTring_bell): Wasn't passing selected_screen to XTflash. 15599 * xterm.c (XTring_bell): Wasn't passing selected_screen to XTflash.
15600 Fixed this. 15600 Fixed this.
15601 15601
15602 * xterm.c (XTread_socket): Don't check if server died under 15602 * xterm.c (XTread_socket): Don't check if server died under
15603 X11. Temporary. 15603 X11. Temporary.
15604 15604
15605 1989-04-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15605 1989-04-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15606 15606
15607 * window.c (Fdelete_other_windows): Bug getting top edge. 15607 * window.c (Fdelete_other_windows): Bug getting top edge.
15608 15608
15609 1989-04-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15609 1989-04-29 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15610 15610
15611 * keyboard.c (get_char): Auto save if enough time elapses. 15611 * keyboard.c (get_char): Auto save if enough time elapses.
15612 (auto_save_timeout): New Lisp variable. 15612 (auto_save_timeout): New Lisp variable.
15613 15613
15614 * xdisp.c (try_window, try_window_id): Set w->redo_mode_line 15614 * xdisp.c (try_window, try_window_id): Set w->redo_mode_line
15615 if should show percentage instead of `Bot'. 15615 if should show percentage instead of `Bot'.
15616 15616
15617 1989-04-29 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) 15617 1989-04-29 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu)
15618 15618
15619 * xterm.c (x_term_init): Don't set visible bell, as it pre-empts 15619 * xterm.c (x_term_init): Don't set visible bell, as it pre-empts
15620 .emacs control. 15620 .emacs control.
15621 15621
15622 1989-04-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15622 1989-04-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15623 15623
15624 * doc.c (syms_of_doc): Make Vdoc_file_name a Lisp variable 15624 * doc.c (syms_of_doc): Make Vdoc_file_name a Lisp variable
15625 named internal-doc-file-name. 15625 named internal-doc-file-name.
15626 15626
15627 1989-04-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15627 1989-04-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15628 15628
15629 * m-news.h: m-news800.h renamed. 15629 * m-news.h: m-news800.h renamed.
15630 Removed EXPLICIT_SIGN_EXTEND and COMPILER_REGISTER_BUG. 15630 Removed EXPLICIT_SIGN_EXTEND and COMPILER_REGISTER_BUG.
15631 Removed SEGMENT_MASK and sigmask. 15631 Removed SEGMENT_MASK and sigmask.
15632 LOAD_AVE_TYPE is now `double'; LOAD_AVE_CVT changed too. 15632 LOAD_AVE_TYPE is now `double'; LOAD_AVE_CVT changed too.
15633 Define m68000 if not defined. 15633 Define m68000 if not defined.
15634 15634
15635 1989-04-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15635 1989-04-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15636 15636
15637 * ymakefile: If COFF_ENCAPSULATE, define LD as gcc -nostdlib. 15637 * ymakefile: If COFF_ENCAPSULATE, define LD as gcc -nostdlib.
15638 15638
15639 * sysdep.c: Unconditionally include sys/ioctl.h. 15639 * sysdep.c: Unconditionally include sys/ioctl.h.
15640 15640
15641 * m/m-mips.h [USG]: Define LIBS_TERMCAP. 15641 * m/m-mips.h [USG]: Define LIBS_TERMCAP.
15642 If HAVE_X11, define HAVE_VFORK. 15642 If HAVE_X11, define HAVE_VFORK.
15643 15643
15644 1989-04-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15644 1989-04-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15645 15645
15646 * m/m-altos.h: Use termcap, not terminfo. 15646 * m/m-altos.h: Use termcap, not terminfo.
15647 Define COFF_ENCAPSULATE if using gcc. 15647 Define COFF_ENCAPSULATE if using gcc.
15648 Use built-in alloca if using gcc. 15648 Use built-in alloca if using gcc.
15649 Define PURESIZE. 15649 Define PURESIZE.
15655 * buffer.c, floatfns.c: Typos in DEFUN doc strings. 15655 * buffer.c, floatfns.c: Typos in DEFUN doc strings.
15656 * keyboard.c: Typo in DEFVAR_LISP doc string. 15656 * keyboard.c: Typo in DEFVAR_LISP doc string.
15657 15657
15658 * window.c (Fdelete_other_windows): Fix confusion about type of W. 15658 * window.c (Fdelete_other_windows): Fix confusion about type of W.
15659 15659
15660 1989-04-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15660 1989-04-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15661 15661
15662 * ymakefile (LDFLAGS): Forgot to use LD_SWITCH_SITE. 15662 * ymakefile (LDFLAGS): Forgot to use LD_SWITCH_SITE.
15663 15663
15664 * xterm.c (XTflash): Draw the bars here. 15664 * xterm.c (XTflash): Draw the bars here.
15665 (x_invert_screen): Change to invert entire window. 15665 (x_invert_screen): Change to invert entire window.
15718 Define X_PARM_AUTOLOWER. 15718 Define X_PARM_AUTOLOWER.
15719 15719
15720 * xdisp.c (display_string, redisplay-window, DoDsp): 15720 * xdisp.c (display_string, redisplay-window, DoDsp):
15721 Use SCREEN_WIDTH, SCREEN_HEIGHT. 15721 Use SCREEN_WIDTH, SCREEN_HEIGHT.
15722 15722
15723 1989-04-21 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15723 1989-04-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15724 15724
15725 * indent.c (compute_motion): Use SCREEN_WIDTH. 15725 * indent.c (compute_motion): Use SCREEN_WIDTH.
15726 * dispnew.c (update_line): Use SCREEN_WIDTH. 15726 * dispnew.c (update_line): Use SCREEN_WIDTH.
15727 (update_screen): Use SCREEN_HEIGHT. 15727 (update_screen): Use SCREEN_HEIGHT.
15728 15728
15729 1989-04-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15729 1989-04-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15730 15730
15731 * window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and 15731 * window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and
15732 Vtemp_buffer_show_hook to ..._function. 15732 Vtemp_buffer_show_hook to ..._function.
15733 15733
15734 * keyboard.c: rename mouse_hook to mouse_event_function. 15734 * keyboard.c: rename mouse_hook to mouse_event_function.
15737 renamed to -function. 15737 renamed to -function.
15738 15738
15739 * fileio.c (Finsert_file_contents): Allow quit in read. 15739 * fileio.c (Finsert_file_contents): Allow quit in read.
15740 (Fwrite_region): Allow quit in write. 15740 (Fwrite_region): Allow quit in write.
15741 15741
15742 1989-04-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15742 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15743 15743
15744 * doprnt.c (doprnt): Comment out %b since sprintf can't do it. 15744 * doprnt.c (doprnt): Comment out %b since sprintf can't do it.
15745 15745
15746 * Change X11 to HAVE_X11 everywhere. 15746 * Change X11 to HAVE_X11 everywhere.
15747 15747
15748 * m-sun3.h: Define C_SWITCH_MACHINE as -fsoft. 15748 * m-sun3.h: Define C_SWITCH_MACHINE as -fsoft.
15749 15749
15750 1989-04-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15750 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15751 15751
15752 * process.c: Don't define wstopsig, wtersig if already defined. 15752 * process.c: Don't define wstopsig, wtersig if already defined.
15753 15753
15754 * sysdep.c [VMS] (sys_getenv): Copy the string before returning it. 15754 * sysdep.c [VMS] (sys_getenv): Copy the string before returning it.
15755 15755
15756 * m-alliant.h: Define `vector'. 15756 * m-alliant.h: Define `vector'.
15757 15757
15758 1989-04-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15758 1989-04-13 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15759 15759
15760 * process.c (wait_reading_process_input) [sun]: If SIGIO failed 15760 * process.c (wait_reading_process_input) [sun]: If SIGIO failed
15761 to be sent, send it by hand. 15761 to be sent, send it by hand.
15762 15762
15763 1989-04-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15763 1989-04-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15764 15764
15765 * window.c (Fdelete_other_windows): recenter window to avoid scrolling. 15765 * window.c (Fdelete_other_windows): recenter window to avoid scrolling.
15766 15766
15767 1989-04-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15767 1989-04-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15768 15768
15769 * indent.c: Include screen.h. 15769 * indent.c: Include screen.h.
15770 15770
15771 * indent.c (pos_tab_offset, Fvertical_motion): Compute internal width 15771 * indent.c (pos_tab_offset, Fvertical_motion): Compute internal width
15772 correctly and uniformly. 15772 correctly and uniformly.
15774 * xdisp.c (try_window, try_window_id): Use exact internal width 15774 * xdisp.c (try_window, try_window_id): Use exact internal width
15775 to update tab_offset. 15775 to update tab_offset.
15776 (try_window_id): pos_tab_offset value needs adjustment only if 15776 (try_window_id): pos_tab_offset value needs adjustment only if
15777 starting a line in middle of a character. 15777 starting a line in middle of a character.
15778 15778
15779 1989-04-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15779 1989-04-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15780 15780
15781 * sysdep.c [USG]: If TIOCGWINSZ defined, include sioctl.h. 15781 * sysdep.c [USG]: If TIOCGWINSZ defined, include sioctl.h.
15782 15782
15783 1989-04-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15783 1989-04-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15784 15784
15785 * eval.c (Fbacktrace): Set Vprint_level to 3 throughout. 15785 * eval.c (Fbacktrace): Set Vprint_level to 3 throughout.
15786 15786
15787 * fns.c (Fload_average): nlist data structure is funny on convex. 15787 * fns.c (Fload_average): nlist data structure is funny on convex.
15788 15788
15805 15805
15806 * sysdep.c (init_sys_modes, reset_sys_modes): Don't try to hack 15806 * sysdep.c (init_sys_modes, reset_sys_modes): Don't try to hack
15807 TIOCGLTC, TIOCGETC, etc. if HAVE_TERMIO. 15807 TIOCGLTC, TIOCGETC, etc. if HAVE_TERMIO.
15808 Don't bother to undef these for XENIX. 15808 Don't bother to undef these for XENIX.
15809 15809
15810 1989-04-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15810 1989-04-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15811 15811
15812 * ymakefile (LIBES): Put LIBX first; it may depend on LIBS_MACHINE. 15812 * ymakefile (LIBES): Put LIBX first; it may depend on LIBS_MACHINE.
15813 15813
15814 * m-sequent.h: Define HAVE_ALLOCA. 15814 * m-sequent.h: Define HAVE_ALLOCA.
15815 15815
15816 1989-04-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15816 1989-04-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15817 15817
15818 * term.c (term_init): Can't use scroll region if no abs positioning. 15818 * term.c (term_init): Can't use scroll region if no abs positioning.
15819 15819
15820 1989-04-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15820 1989-04-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15821 15821
15822 * process.c (Fopen_network_stream): close desc. if connect fails. 15822 * process.c (Fopen_network_stream): close desc. if connect fails.
15823 15823
15824 1989-03-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15824 1989-03-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15825 15825
15826 * minibuf.c (Fall_completions): gcprotect ALLMATCHES and TAIL, 15826 * minibuf.c (Fall_completions): gcprotect ALLMATCHES and TAIL,
15827 not STRING. 15827 not STRING.
15828 15828
15829 * keyboard.c (read_avail_input): Handle EBADSLT like EAGAIN. 15829 * keyboard.c (read_avail_input): Handle EBADSLT like EAGAIN.
15830 15830
15831 1989-03-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15831 1989-03-29 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15832 15832
15833 * term.c (term_init): Either ic or ip or im or IC => can insert chars. 15833 * term.c (term_init): Either ic or ip or im or IC => can insert chars.
15834 15834
15835 * minibuf.c (read_minibuf_unwind): Ensure minibuf writable for erasure. 15835 * minibuf.c (read_minibuf_unwind): Ensure minibuf writable for erasure.
15836 15836
15837 1989-02-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15837 1989-02-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15838 15838
15839 * m-convex.h: Undefine NO_ARG_ARRAY. 15839 * m-convex.h: Undefine NO_ARG_ARRAY.
15840 Changed defns of DATA_SEG_BITS and XINT. 15840 Changed defns of DATA_SEG_BITS and XINT.
15841 Define alloca for GCC compilation. 15841 Define alloca for GCC compilation.
15842 15842
15843 1989-02-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15843 1989-02-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15844 15844
15845 * m-ibmrt-aix.h: Define BROKEN_FIONREAD. 15845 * m-ibmrt-aix.h: Define BROKEN_FIONREAD.
15846 15846
15847 1989-02-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15847 1989-02-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15848 15848
15849 * keymap.c (Fdefine_prefix_command): Set both value and fn defn, 15849 * keymap.c (Fdefine_prefix_command): Set both value and fn defn,
15850 with separate syms specified for each purpose. 15850 with separate syms specified for each purpose.
15851 15851
15852 1989-02-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15852 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15853 15853
15854 * callproc.c (Fcall_process): Open /dev/null with O_WRONLY. 15854 * callproc.c (Fcall_process): Open /dev/null with O_WRONLY.
15855 15855
15856 1989-02-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15856 1989-02-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15857 15857
15858 * window.c (window_scroll): Allow scrolling to very end (empty screen) 15858 * window.c (window_scroll): Allow scrolling to very end (empty screen)
15859 if that's exactly where we wanted to scroll to. 15859 if that's exactly where we wanted to scroll to.
15860 15860
15861 1989-02-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15861 1989-02-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15862 15862
15863 * data.c (Fkill_local_variable): New local to simplify big stmt. 15863 * data.c (Fkill_local_variable): New local to simplify big stmt.
15864 15864
15865 1989-02-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15865 1989-02-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15866 15866
15867 * xdisp.c (display_text_line): cvt chars to glyfs for overlay arrow. 15867 * xdisp.c (display_text_line): cvt chars to glyfs for overlay arrow.
15868 15868
15869 * sysdep.c (init_sys_modes, child_setup_tty) [IBMRTAIX]: 15869 * sysdep.c (init_sys_modes, child_setup_tty) [IBMRTAIX]:
15870 Don't ignore BRK, and don't signal it. 15870 Don't ignore BRK, and don't signal it.
15871 15871
15872 * process.c (pty): An IBMRTAIX conditional. 15872 * process.c (pty): An IBMRTAIX conditional.
15873 (create_process): Another here. 15873 (create_process): Another here.
15874 15874
15875 1989-02-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15875 1989-02-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15876 15876
15877 * keymap.c (Fdefine_prefix_command): Use Ffset, not Fset. 15877 * keymap.c (Fdefine_prefix_command): Use Ffset, not Fset.
15878 15878
15879 1989-02-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15879 1989-02-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15880 15880
15881 * fileio.c (Fset_visited_file_modtime): New fn. 15881 * fileio.c (Fset_visited_file_modtime): New fn.
15882 15882
15883 * xfns.c (Fx_create_screen) [X10]: XCreateWindow wants pixmaps as args. 15883 * xfns.c (Fx_create_screen) [X10]: XCreateWindow wants pixmaps as args.
15884 15884
15885 1989-02-03 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15885 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15886 15886
15887 * dispnew.c (Fsit_for): It accepts 3 args. 15887 * dispnew.c (Fsit_for): It accepts 3 args.
15888 15888
15889 1989-02-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15889 1989-02-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15890 15890
15891 * xterm.c (XTread_socket): For X10, make EVENT an XKeyPressedEvent. 15891 * xterm.c (XTread_socket): For X10, make EVENT an XKeyPressedEvent.
15892 (x_set_resize_hint): Call XSetResizeHint. 15892 (x_set_resize_hint): Call XSetResizeHint.
15893 15893
15894 * process.c: Declare interrupt_input. 15894 * process.c: Declare interrupt_input.
15895 15895
15896 * sysdep.c (init_sys_modes): TIOCSTART, not TCSTART. 15896 * sysdep.c (init_sys_modes): TIOCSTART, not TCSTART.
15897 15897
15898 1989-01-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15898 1989-01-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15899 15899
15900 * xterm.h (struct x_display): `GC' renamed `gc' in all field names. 15900 * xterm.h (struct x_display): `GC' renamed `gc' in all field names.
15901 Field `ColorMap' renamed to `color_map'. 15901 Field `ColorMap' renamed to `color_map'.
15902 (face_gc_values): face_GC_values renamed. 15902 (face_gc_values): face_GC_values renamed.
15903 15903
15904 1989-01-28 Joe Arceneaux (rms at sugar-bombs.ai.mit.edu) 15904 1989-01-28 Joe Arceneaux (rms@sugar-bombs.ai.mit.edu)
15905 15905
15906 * xterm.h (face_GC): Var deleted. 15906 * xterm.h (face_GC): Var deleted.
15907 (struct x_display): New field face_GC. 15907 (struct x_display): New field face_GC.
15908 (VSCROLL_WIDTH, HSCROLL_WIDTH): Moved here. 15908 (VSCROLL_WIDTH, HSCROLL_WIDTH): Moved here.
15909 (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): New vars. Eliminate them! 15909 (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): New vars. Eliminate them!
15968 Don't call XSetForeground, XSetBackground before making border tile. 15968 Don't call XSetForeground, XSetBackground before making border tile.
15969 New var `cursor_bits'. Init the screen's GC's. 15969 New var `cursor_bits'. Init the screen's GC's.
15970 15970
15971 * screen.c (Frubber_band_rectangle): For X11, just return nil. 15971 * screen.c (Frubber_band_rectangle): For X11, just return nil.
15972 15972
15973 1989-01-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15973 1989-01-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15974 15974
15975 * buffer.c (Fbuffer_modified_tick): New fn. 15975 * buffer.c (Fbuffer_modified_tick): New fn.
15976 15976
15977 * window.c (Fnext_window): Accept 3 args from Lisp. 15977 * window.c (Fnext_window): Accept 3 args from Lisp.
15978 15978
15979 1989-01-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15979 1989-01-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15980 15980
15981 * sysdep.c (sys_suspend): Handle case of SIGTSTP but not BSD. 15981 * sysdep.c (sys_suspend): Handle case of SIGTSTP but not BSD.
15982 15982
15983 1989-01-20 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15983 1989-01-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15984 15984
15985 * sysdep.c (init_sys_modes): Do TIOCSTART if def, like TCXONC. 15985 * sysdep.c (init_sys_modes): Do TIOCSTART if def, like TCXONC.
15986 15986
15987 1989-01-19 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15987 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15988 15988
15989 * process.c (wait_reading_process_input): New 2nd arg is extra usecs. 15989 * process.c (wait_reading_process_input): New 2nd arg is extra usecs.
15990 All callers changed. 15990 All callers changed.
15991 * dispnew.c (Fsit_for, Fsleep_for): New 2nd arg says 1st arg 15991 * dispnew.c (Fsit_for, Fsleep_for): New 2nd arg says 1st arg
15992 counts in milliseconds. 15992 counts in milliseconds.
15993 15993
15994 * buffer.c (Fkill_all_local_variables): Implement permanent locals. 15994 * buffer.c (Fkill_all_local_variables): Implement permanent locals.
15995 15995
15996 1989-01-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 15996 1989-01-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15997 15997
15998 * keymap.c (get_keyelt): Allow indirection within (STRING . DEFN). 15998 * keymap.c (get_keyelt): Allow indirection within (STRING . DEFN).
15999 15999
16000 1989-01-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16000 1989-01-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16001 16001
16002 * process.c (wait_reading_process_input): If select returns there 16002 * process.c (wait_reading_process_input): If select returns there
16003 is kbd input, but detect_input_pending can't find it, signal SIGIO. 16003 is kbd input, but detect_input_pending can't find it, signal SIGIO.
16004 This may avoid the X loop-on-logout bug. 16004 This may avoid the X loop-on-logout bug.
16005 16005
16009 * xdisp.c (Fredraw_display): Don't do set_terminal_modes. 16009 * xdisp.c (Fredraw_display): Don't do set_terminal_modes.
16010 * dispnew.c (Fredraw_screen): likewise. 16010 * dispnew.c (Fredraw_screen): likewise.
16011 16011
16012 * eval.c (Fcond): If no args, return nil. 16012 * eval.c (Fcond): If no args, return nil.
16013 16013
16014 1989-01-15 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16014 1989-01-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16015 16015
16016 * eval.c (Fbacktrace_frame): Require one arg. Return nil if too high. 16016 * eval.c (Fbacktrace_frame): Require one arg. Return nil if too high.
16017 16017
16018 1989-01-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16018 1989-01-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16019 16019
16020 * minibuf.c (read_minibuf): Set Vminibuf_scroll_window before 16020 * minibuf.c (read_minibuf): Set Vminibuf_scroll_window before
16021 switching windows. 16021 switching windows.
16022 16022
16023 * xterm.c (XTread_socket): If no HAVE_SELECT, wait for input 16023 * xterm.c (XTread_socket): If no HAVE_SELECT, wait for input
16038 * VMS keyboard input should have interrupt_input nonzero. 16038 * VMS keyboard input should have interrupt_input nonzero.
16039 * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set 16039 * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set
16040 interrupt_input to 1. 16040 interrupt_input to 1.
16041 (get_input_pending): Special case deleted. 16041 (get_input_pending): Special case deleted.
16042 16042
16043 1989-01-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16043 1989-01-13 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16044 16044
16045 * fileio.c (auto_save_1): Always make auto-save file owner-writable. 16045 * fileio.c (auto_save_1): Always make auto-save file owner-writable.
16046 16046
16047 * eval.c (Fbacktrace_frame): New fn. 16047 * eval.c (Fbacktrace_frame): New fn.
16048 16048
16076 * s/s-rtu.h: Likewise. 16076 * s/s-rtu.h: Likewise.
16077 * s/s-iris*.h: Define PTY_TTY_NAME_SPRINTF. 16077 * s/s-iris*.h: Define PTY_TTY_NAME_SPRINTF.
16078 16078
16079 * sunfns.c (Fsun_change_cursor_icon): Avoid ambiguity in eval order. 16079 * sunfns.c (Fsun_change_cursor_icon): Avoid ambiguity in eval order.
16080 16080
16081 1989-01-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16081 1989-01-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16082 16082
16083 * data.c (Fdefault_value): If var set up with default value as current, 16083 * data.c (Fdefault_value): If var set up with default value as current,
16084 take the current value slot, more up to date than the default slot. 16084 take the current value slot, more up to date than the default slot.
16085 16085
16086 1989-01-11 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16086 1989-01-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16087 16087
16088 * dispnew.c (init_display): don't handle SIGWINCH if using X. 16088 * dispnew.c (init_display): don't handle SIGWINCH if using X.
16089 16089
16090 * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save. 16090 * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save.
16091 This avoids duplicate messages and allows M-x auto-save to turn it on. 16091 This avoids duplicate messages and allows M-x auto-save to turn it on.
16092 16092
16093 * lread.c (Fload): Look in Vafter_load_alist. 16093 * lread.c (Fload): Look in Vafter_load_alist.
16094 (syms_of_load): Define after-load-alist. 16094 (syms_of_load): Define after-load-alist.
16095 16095
16096 1989-01-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16096 1989-01-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16097 16097
16098 * dired.c (Fdirectory_files): 4th arg NOSORT non-nil means don't sort. 16098 * dired.c (Fdirectory_files): 4th arg NOSORT non-nil means don't sort.
16099 16099
16100 * syntax.c (scan_lists): Change Sendcomment case so that 16100 * syntax.c (scan_lists): Change Sendcomment case so that
16101 ignoring comments works even for newline-terminated comments. 16101 ignoring comments works even for newline-terminated comments.
16102 16102
16103 * minibuf.c (read_minibuf): Default Vminibuf_scroll_window 16103 * minibuf.c (read_minibuf): Default Vminibuf_scroll_window
16104 to the window that was selected. 16104 to the window that was selected.
16105 16105
16106 1989-01-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16106 1989-01-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16107 16107
16108 * fns.c (do_yes_or_no_p): Typo, call2 => call1. 16108 * fns.c (do_yes_or_no_p): Typo, call2 => call1.
16109 16109
16110 * eval.c (Fbacktrace): Each frame item should have a newline. 16110 * eval.c (Fbacktrace): Each frame item should have a newline.
16111 16111
16132 (read1): Don't unread a -1. 16132 (read1): Don't unread a -1.
16133 16133
16134 * keymap.c (get_keyelt): If keymap defn is (STRING . FOO), 16134 * keymap.c (get_keyelt): If keymap defn is (STRING . FOO),
16135 remove just FOO. Will help HierarKey. 16135 remove just FOO. Will help HierarKey.
16136 16136
16137 1989-01-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16137 1989-01-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16138 16138
16139 * unexmips.c [IRIS_4D]: Don't include fcntl.h. 16139 * unexmips.c [IRIS_4D]: Don't include fcntl.h.
16140 (unexec): Look for LIT8, LIT4 sections iff they are defined. 16140 (unexec): Look for LIT8, LIT4 sections iff they are defined.
16141 16141
16142 * buffer.c (Fkill_all_local_variables): Force redisplay of mode lines. 16142 * buffer.c (Fkill_all_local_variables): Force redisplay of mode lines.
16143 16143
16144 1989-01-02 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16144 1989-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16145 16145
16146 * emacs.c (main): Do the setpgrp before handling -t. 16146 * emacs.c (main): Do the setpgrp before handling -t.
16147 16147
16148 * keyboard.c (Fsuspend_emacs): Use run-hooks to run suspend-hook 16148 * keyboard.c (Fsuspend_emacs): Use run-hooks to run suspend-hook
16149 and suspend-resume-hook. 16149 and suspend-resume-hook.
16158 * fileio.c (auto_save_1): Set auto_save_mode_bits from visited file. 16158 * fileio.c (auto_save_1): Set auto_save_mode_bits from visited file.
16159 (Fwrite_region) [not VMS]: If auto-saving, write file with that mode. 16159 (Fwrite_region) [not VMS]: If auto-saving, write file with that mode.
16160 16160
16161 * fileio.c (Fwrite_region): If START is a string, write that string. 16161 * fileio.c (Fwrite_region): If START is a string, write that string.
16162 16162
16163 1989-01-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16163 1989-01-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16164 16164
16165 * lisp.h (XMARKBIT, XSETMARKBIT): If mark bit is sign bit, 16165 * lisp.h (XMARKBIT, XSETMARKBIT): If mark bit is sign bit,
16166 use sign-test for XMARKBIT; value is then 1 or 0. 16166 use sign-test for XMARKBIT; value is then 1 or 0.
16167 Make XSETMARKBIT test 2nd arg for nonzeroness only. 16167 Make XSETMARKBIT test 2nd arg for nonzeroness only.
16168 16168
16173 New format %S converts everything (even strings) with prin1. 16173 New format %S converts everything (even strings) with prin1.
16174 * doprnt.c (doprnt): Treat %s like %S. 16174 * doprnt.c (doprnt): Treat %s like %S.
16175 16175
16176 * print.c (Fprin1_to_string): Opt 3nd arg non-nil does princ. 16176 * print.c (Fprin1_to_string): Opt 3nd arg non-nil does princ.
16177 16177
16178 1988-12-31 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16178 1988-12-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16179 16179
16180 * data.c (Fstring_to_int): Correct max # args. 16180 * data.c (Fstring_to_int): Correct max # args.
16181 16181
16182 1988-12-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16182 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16183 16183
16184 * ymakefile (LIBES, LIB_GCC): If using GCC, link with gnulib. 16184 * ymakefile (LIBES, LIB_GCC): If using GCC, link with gnulib.
16185 16185
16186 1988-12-29 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16186 1988-12-29 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16187 16187
16188 * editfns.c: Many doc improvements. 16188 * editfns.c: Many doc improvements.
16189 16189
16190 1988-12-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16190 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16191 16191
16192 * lisp.h (CHECK_NATNUM): New macro. 16192 * lisp.h (CHECK_NATNUM): New macro.
16193 16193
16194 * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column 16194 * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column
16195 or change tab to spaces if necessary. 16195 or change tab to spaces if necessary.
16214 16214
16215 * data.c (Fmakunbound): Don't allow nil or t as arg. 16215 * data.c (Fmakunbound): Don't allow nil or t as arg.
16216 16216
16217 * m/m-orion105.h (LOAD_AVE_TYPE): Now `long'. 16217 * m/m-orion105.h (LOAD_AVE_TYPE): Now `long'.
16218 16218
16219 1988-12-27 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16219 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16220 16220
16221 * dispnew.c (unhold_window_change): 16221 * dispnew.c (unhold_window_change):
16222 Don't signal SIGWINCH. Instead, do pending size-changes here, 16222 Don't signal SIGWINCH. Instead, do pending size-changes here,
16223 while holding any new size-changes that arrive, so they become 16223 while holding any new size-changes that arrive, so they become
16224 pending. Loop around to get the new pending ones. 16224 pending. Loop around to get the new pending ones.
16225 (change_screen_size): Clear any previous pending size-change. 16225 (change_screen_size): Clear any previous pending size-change.
16226 16226
16227 * search.c (place): Was clipping to (1- (point-max)) by mistake. 16227 * search.c (place): Was clipping to (1- (point-max)) by mistake.
16228 16228
16229 1988-12-24 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16229 1988-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16230 16230
16231 * window.c (Fdelete_window): Give all this window's space 16231 * window.c (Fdelete_window): Give all this window's space
16232 to one adjacent sibling. 16232 to one adjacent sibling.
16233 16233
16234 1988-12-23 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16234 1988-12-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16235 16235
16236 * keymap.c (describe_alist): Don't lose on non-cons-cell alist elts. 16236 * keymap.c (describe_alist): Don't lose on non-cons-cell alist elts.
16237 (Fwhere_is_internal): Don't fail to step down the alist. 16237 (Fwhere_is_internal): Don't fail to step down the alist.
16238 (Faccessible_keymaps): Considerable confusion in alist case. 16238 (Faccessible_keymaps): Considerable confusion in alist case.
16239 16239
16243 16243
16244 * print.c (float_to_string): Mostly rewritten; output format 16244 * print.c (float_to_string): Mostly rewritten; output format
16245 is now a printf %-spec. 16245 is now a printf %-spec.
16246 (Qfloat_output_format): Doc changed to match. 16246 (Qfloat_output_format): Doc changed to match.
16247 16247
16248 1988-12-22 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16248 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16249 16249
16250 * ymakefile (obj): Include floatfns.o. 16250 * ymakefile (obj): Include floatfns.o.
16251 * data.c (syms_of_data): Fix typo Snumberp_or_marker_p. 16251 * data.c (syms_of_data): Fix typo Snumberp_or_marker_p.
16252 16252
16253 * Allow keymaps to have other keymaps as tails. 16253 * Allow keymaps to have other keymaps as tails.
16260 16260
16261 * lread.c (read_escape): Support ANSI C `\x...' hex escapes. 16261 * lread.c (read_escape): Support ANSI C `\x...' hex escapes.
16262 16262
16263 * bytecode.c (Fbyte_code): fix jump operators for change in `pc'. 16263 * bytecode.c (Fbyte_code): fix jump operators for change in `pc'.
16264 16264
16265 1988-12-21 Joe Arceneaux (jla at gracilis.ai.mit.edu) 16265 1988-12-21 Joe Arceneaux (jla@gracilis.ai.mit.edu)
16266 16266
16267 * ymakefile: Commented #endif LISP_FLOAT_TYPE. Also changed 16267 * ymakefile: Commented #endif LISP_FLOAT_TYPE. Also changed
16268 the code pertaining to X11 to use the same files as X10. 16268 the code pertaining to X11 to use the same files as X10.
16269 16269
16270 * bytecode.c (Fbyte_code): Declared unsigned char *pc. 16270 * bytecode.c (Fbyte_code): Declared unsigned char *pc.
16271 16271
16272 1988-12-19 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) 16272 1988-12-19 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu)
16273 16273
16274 * xterm.c: Finished a first cut of the X11 version. 16274 * xterm.c: Finished a first cut of the X11 version.
16275 16275
16276 1988-12-18 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16276 1988-12-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16277 16277
16278 * sysdep.c (select): `buf' is now unsigned char. 16278 * sysdep.c (select): `buf' is now unsigned char.
16279 16279
16280 1988-12-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16280 1988-12-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16281 16281
16282 * m/m-elxsi.h: Don't define WORD_MACHINE or CANNOT_DUMP. 16282 * m/m-elxsi.h: Don't define WORD_MACHINE or CANNOT_DUMP.
16283 Do define symbols for load average. 16283 Do define symbols for load average.
16284 Define COFF and ADJUST_EXEC_HEADER. 16284 Define COFF and ADJUST_EXEC_HEADER.
16285 16285
16286 1988-12-16 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) 16286 1988-12-16 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu)
16287 16287
16288 * sink.h,sinkmask.h: Same file now works for both X10 and X11. 16288 * sink.h,sinkmask.h: Same file now works for both X10 and X11.
16289 * xterm.c,xfns.c (x_text_icon) Can now take new name as parameter. 16289 * xterm.c,xfns.c (x_text_icon) Can now take new name as parameter.
16290 16290
16291 1988-12-16 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16291 1988-12-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16292 16292
16293 * m/m-is386.h: No need to undef HAVE_PTYS, HAVE_SOCKETS, SYSV_PTYS 16293 * m/m-is386.h: No need to undef HAVE_PTYS, HAVE_SOCKETS, SYSV_PTYS
16294 since s-usg5-3.h no longer defines them. 16294 since s-usg5-3.h no longer defines them.
16295 16295
16296 1988-12-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16296 1988-12-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16297 16297
16298 * bytecode.el (Fbyte_code): Cache the pointer in the string 16298 * bytecode.el (Fbyte_code): Cache the pointer in the string
16299 to avoid recalculating it at each fetch. 16299 to avoid recalculating it at each fetch.
16300 Also turn off the error check for stack overflow/underflow. 16300 Also turn off the error check for stack overflow/underflow.
16301 16301
16302 1988-12-14 Joe Arceneaux (jla at apple-gunkies.ai.mit.edu) 16302 1988-12-14 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu)
16303 16303
16304 * xfns.c: Made the first cut for X11 version. 16304 * xfns.c: Made the first cut for X11 version.
16305 * xterm.c: (x_reset_cursor) Did the X11 version. 16305 * xterm.c: (x_reset_cursor) Did the X11 version.
16306 16306
16307 1988-12-14 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16307 1988-12-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16308 16308
16309 * keyboard.c (Fexecute_mouse_event): Set Vmouse_event. Doc fix. 16309 * keyboard.c (Fexecute_mouse_event): Set Vmouse_event. Doc fix.
16310 Run Vmouse_hook at the end. 16310 Run Vmouse_hook at the end.
16311 (syms_of_keyboard): Define var `mouse-hook'. 16311 (syms_of_keyboard): Define var `mouse-hook'.
16312 16312
16313 1988-12-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16313 1988-12-13 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16314 16314
16315 * term.c (insert_glyfs): Typo, was fetching G twice. 16315 * term.c (insert_glyfs): Typo, was fetching G twice.
16316 16316
16317 1988-12-10 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16317 1988-12-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16318 16318
16319 * keymap.c (describe_buffer_bindings): Print mouse bindings too. 16319 * keymap.c (describe_buffer_bindings): Print mouse bindings too.
16320 (describe_map): If have a chartab, use mouse-describe-key for prefixes. 16320 (describe_map): If have a chartab, use mouse-describe-key for prefixes.
16321 * keymap.c (describe_{map,map_tree,alist}, describe_vector): 16321 * keymap.c (describe_{map,map_tree,alist}, describe_vector):
16322 Extra arg mapping chars to their names. Calls changed. 16322 Extra arg mapping chars to their names. Calls changed.
16330 (Fwhere_is): Check the mouse map too; 16330 (Fwhere_is): Check the mouse map too;
16331 (Fwhere_is_internal): New arg is global map to use. 16331 (Fwhere_is_internal): New arg is global map to use.
16332 All callers changed in keypad.c and doc.c. 16332 All callers changed in keypad.c and doc.c.
16333 (where_is_string): New fn cvts result of Fwhere_is_internal to string. 16333 (where_is_string): New fn cvts result of Fwhere_is_internal to string.
16334 16334
16335 1988-12-09 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16335 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16336 16336
16337 * emacs.c (stack_bottom): New variable, set in main. 16337 * emacs.c (stack_bottom): New variable, set in main.
16338 * alloc.c (Fgarbage_collect): Save a copy of the entire stack contents. 16338 * alloc.c (Fgarbage_collect): Save a copy of the entire stack contents.
16339 16339
16340 1988-12-07 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16340 1988-12-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16341 16341
16342 * editfns.c (Funix_umask, Funix_sync): New functions. 16342 * editfns.c (Funix_umask, Funix_sync): New functions.
16343 16343
16344 * process.c (Fsignal_process): New function. 16344 * process.c (Fsignal_process): New function.
16345 16345
16346 1988-12-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16346 1988-12-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16347 16347
16348 * editfns.c (Fsubst_char_in_region): Fix typo in when to un-modify buf. 16348 * editfns.c (Fsubst_char_in_region): Fix typo in when to un-modify buf.
16349 16349
16350 1988-12-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16350 1988-12-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16351 16351
16352 * process.c (create_process): Take the usg's setpgrp and the close-and 16352 * process.c (create_process): Take the usg's setpgrp and the close-and
16353 -open of the tty outside the TIOCNOTTY conditional, since TIOCNOTTY 16353 -open of the tty outside the TIOCNOTTY conditional, since TIOCNOTTY
16354 is always missing outside BSD. Now the TIOCNOTTY conditional controls 16354 is always missing outside BSD. Now the TIOCNOTTY conditional controls
16355 only the TIOCNOTTY. 16355 only the TIOCNOTTY.
16356 16356
16357 1988-12-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16357 1988-12-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16358 16358
16359 * lread.c (Feval_current_buffer, Feval_region): 16359 * lread.c (Feval_current_buffer, Feval_region):
16360 If there is an error, don't restore original point. 16360 If there is an error, don't restore original point.
16361 16361
16362 * s-hpux.h (SHORT_CAST_BUG): Define this, for HPUX version 6.2. 16362 * s-hpux.h (SHORT_CAST_BUG): Define this, for HPUX version 6.2.
16377 * sysdep.c (TIOCSETN) [USG]: Use TCSETAW, not TCSETA. 16377 * sysdep.c (TIOCSETN) [USG]: Use TCSETAW, not TCSETA.
16378 16378
16379 * sysdep.c (setpriority) [USG]: No longer a no-op; use `nice'. 16379 * sysdep.c (setpriority) [USG]: No longer a no-op; use `nice'.
16380 16380
16381 * keymap.c (Fwhere_is_internal): New 4th arg inhibits looking thru 16381 * keymap.c (Fwhere_is_internal): New 4th arg inhibits looking thru
16382 indirect definitions--so you can search for one. 16382 indirect definitions--so you can search for one.
16383 16383
16384 * alloc.c, fns.c, search.c: Doc fix. 16384 * alloc.c, fns.c, search.c: Doc fix.
16385 16385
16386 1988-12-01 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16386 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16387 16387
16388 * process.c (read_process_output): Insert with insert_before_markers. 16388 * process.c (read_process_output): Insert with insert_before_markers.
16389 16389
16390 * filelock.c (lock_file_1, lock_superlock): 16390 * filelock.c (lock_file_1, lock_superlock):
16391 If USG, use chmod instead of fchmod. 16391 If USG, use chmod instead of fchmod.
16392 16392
16393 * environ.c (Fsetenv): Doc fix. 16393 * environ.c (Fsetenv): Doc fix.
16394 16394
16395 1988-11-25 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16395 1988-11-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16396 16396
16397 * eval.c (do_autoload): Verify FUNNAME is a symbol. 16397 * eval.c (do_autoload): Verify FUNNAME is a symbol.
16398 16398
16399 1988-11-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16399 1988-11-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16400 16400
16401 * fileio.c (Fread_file_name): New arg specifies initial minibuf cntnts. 16401 * fileio.c (Fread_file_name): New arg specifies initial minibuf cntnts.
16402 * callint.c (Fcall_interactively): Calls changed. 16402 * callint.c (Fcall_interactively): Calls changed.
16403 16403
16404 1988-10-08 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16404 1988-10-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16405 16405
16406 * insdel.c (make_gap): Error if buffer size exceeds range of Lisp int. 16406 * insdel.c (make_gap): Error if buffer size exceeds range of Lisp int.
16407 16407
16408 1988-10-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16408 1988-10-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16409 16409
16410 * window.c (Fsplit_window): Prevent error in Fset_window_buffer. 16410 * window.c (Fsplit_window): Prevent error in Fset_window_buffer.
16411 16411
16412 * sysdep.c (gettimeofday): Store -1 thru tzp so caller knows invalid. 16412 * sysdep.c (gettimeofday): Store -1 thru tzp so caller knows invalid.
16413 16413
16414 * xdisp.c (message): Pass 0 as new arg to doprnt. 16414 * xdisp.c (message): Pass 0 as new arg to doprnt.
16415 * callint.c (Fcall_interactively): Likewise. 16415 * callint.c (Fcall_interactively): Likewise.
16416 * editfns.c (format1): 16416 * editfns.c (format1):
16417 * doprnt.c (doprnt): Allow 0 as FORMAT_END arg meaning null-terminated. 16417 * doprnt.c (doprnt): Allow 0 as FORMAT_END arg meaning null-terminated.
16418 16418
16419 1988-10-05 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16419 1988-10-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16420 16420
16421 * keyboard.c: If UNIPLUS, include ioctl.h. 16421 * keyboard.c: If UNIPLUS, include ioctl.h.
16422 16422
16423 * sysdep.c (utime): Use new flag IRIS_UTIME, not IRIS. 16423 * sysdep.c (utime): Use new flag IRIS_UTIME, not IRIS.
16424 * s-iris*.h: Define that flag. 16424 * s-iris*.h: Define that flag.
16425 16425
16426 1988-10-04 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16426 1988-10-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16427 16427
16428 * term.c (term_init): If have `im' capability, permit ins/del char 16428 * term.c (term_init): If have `im' capability, permit ins/del char
16429 even without `ic'. 16429 even without `ic'.
16430 16430
16431 1988-10-03 Richard Stallman (rms at corn-chex.ai.mit.edu) 16431 1988-10-03 Richard Stallman (rms@corn-chex.ai.mit.edu)
16432 16432
16433 * m/m-hp9000s300.h: Conditionals for BSD vs HPUX. 16433 * m/m-hp9000s300.h: Conditionals for BSD vs HPUX.
16434 16434
16435 * ymakefile: Look for C_SWITCH_SITE, LD_SWITCH_SITE. 16435 * ymakefile: Look for C_SWITCH_SITE, LD_SWITCH_SITE.
16436 16436
16437 1988-09-30 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16437 1988-09-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16438 16438
16439 * editfns.c (Fformat): Allow nulls in the format. 16439 * editfns.c (Fformat): Allow nulls in the format.
16440 * doprnt.c (doprnt): likewise. End of format string is new arg. 16440 * doprnt.c (doprnt): likewise. End of format string is new arg.
16441 16441
16442 1988-09-28 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16442 1988-09-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16443 16443
16444 * m/m-7300.h: Undefine SHORTNAMES. Supposedly newer Unix now. 16444 * m/m-7300.h: Undefine SHORTNAMES. Supposedly newer Unix now.
16445 16445
16446 * print.c (print): Support new var print_length. 16446 * print.c (print): Support new var print_length.
16447 (syms_of_print): Define Lisp var print-length. 16447 (syms_of_print): Define Lisp var print-length.
16448 * eval.c (Fbacktrace): Print unevalled form with print_length = 3. 16448 * eval.c (Fbacktrace): Print unevalled form with print_length = 3.
16449 16449
16450 * Makefile (tags): Add TAGS as alternate target. 16450 * Makefile (tags): Add TAGS as alternate target.
16451 Process the files in ../lisp/term. 16451 Process the files in ../lisp/term.
16452 16452
16453 1988-09-27 Richard Stallman (rms at corn-chex.ai.mit.edu) 16453 1988-09-27 Richard Stallman (rms@corn-chex.ai.mit.edu)
16454 16454
16455 * doprnt.c (doprnt): Handle %-20s. 16455 * doprnt.c (doprnt): Handle %-20s.
16456 * editfns.c (Fformat): Likewise (make enough space for it). 16456 * editfns.c (Fformat): Likewise (make enough space for it).
16457 16457
16458 * minibuf.c (do_completion): If get "Complete but not unique" twice 16458 * minibuf.c (do_completion): If get "Complete but not unique" twice
16459 in a row, display all completions. New var last_exact_completion. 16459 in a row, display all completions. New var last_exact_completion.
16460 16460
16461 1988-09-26 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16461 1988-09-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16462 16462
16463 * dispnew.c (baud_rate): Now a Lisp variable, not a function. 16463 * dispnew.c (baud_rate): Now a Lisp variable, not a function.
16464 * termcap.c (tputs) [emacs]: Use baud_rate as the speed. 16464 * termcap.c (tputs) [emacs]: Use baud_rate as the speed.
16465 16465
16466 1988-09-19 Richard Stallman (rms at gluteus.ai.mit.edu) 16466 1988-09-19 Richard Stallman (rms@gluteus.ai.mit.edu)
16467 16467
16468 * window.c (Fset_window_configuration): Set deleted windows' buffer 16468 * window.c (Fset_window_configuration): Set deleted windows' buffer
16469 to nil, via new function delete_all_subwindows. 16469 to nil, via new function delete_all_subwindows.
16470 * window.c (Fset_window_buffer): Reject deleted windows. 16470 * window.c (Fset_window_buffer): Reject deleted windows.
16471 * window.c (init_window_once): Init the ->buffer fields 16471 * window.c (init_window_once): Init the ->buffer fields
16478 * callproc.c (Fcall_process): return synch_process_death. 16478 * callproc.c (Fcall_process): return synch_process_death.
16479 Always set synch_process_pid and do it with SIGCHLD masked off. 16479 Always set synch_process_pid and do it with SIGCHLD masked off.
16480 * sysdep.c (wait_for_termination) [subprocesses and not VMS]: 16480 * sysdep.c (wait_for_termination) [subprocesses and not VMS]:
16481 Use alarms to check every second whether synch_process_pid is 0. 16481 Use alarms to check every second whether synch_process_pid is 0.
16482 16482
16483 1988-09-17 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16483 1988-09-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16484 16484
16485 * xdisp.c (redisplay_window): If window-point is outside restriction 16485 * xdisp.c (redisplay_window): If window-point is outside restriction
16486 then correct it in the window. 16486 then correct it in the window.
16487 * window.c (Fdelete_buffer): Don't change buffer's point to a value 16487 * window.c (Fdelete_buffer): Don't change buffer's point to a value
16488 outside its restriction. 16488 outside its restriction.
16489 16489
16490 * sysdep.c (init_sys_modes) [MULTI_SCREEN]: Set Vterminal_screen's 16490 * sysdep.c (init_sys_modes) [MULTI_SCREEN]: Set Vterminal_screen's
16491 garbaged bit. 16491 garbaged bit.
16492 16492
16493 1988-09-16 Richard Stallman (rms at corn-chex.ai.mit.edu) 16493 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
16494 16494
16495 * keyboard.c (kbd_buffer_get_char): VMS now uses same code as Unix. 16495 * keyboard.c (kbd_buffer_get_char): VMS now uses same code as Unix.
16496 16496
16497 * vmsproc.c: New file for VMS only. 16497 * vmsproc.c: New file for VMS only.
16498 * callproc.c [VMS]: Omit Fcall_process and child_setup_tty. 16498 * callproc.c [VMS]: Omit Fcall_process and child_setup_tty.
16504 * keyboard.c (Fset_input_mode): 3rd arg sets meta_flag. 16504 * keyboard.c (Fset_input_mode): 3rd arg sets meta_flag.
16505 (syms_of_keyboard): Variable meta-flag deleted. 16505 (syms_of_keyboard): Variable meta-flag deleted.
16506 * sysdep.c (init_sys_modes): Don't override parity settings 16506 * sysdep.c (init_sys_modes): Don't override parity settings
16507 if meta_flag is 0. 16507 if meta_flag is 0.
16508 16508
16509 1988-09-15 Richard Stallman (rms at corn-chex.ai.mit.edu) 16509 1988-09-15 Richard Stallman (rms@corn-chex.ai.mit.edu)
16510 16510
16511 * search.c (Fsearch_forward, etc.): All buffer-search functions 16511 * search.c (Fsearch_forward, etc.): All buffer-search functions
16512 return new the value of point if they succeed. 16512 return new the value of point if they succeed.
16513 16513
16514 1988-09-13 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16514 1988-09-13 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16515 16515
16516 * cmds.c (Fnewline): Correct test of ARG1 to inhibit auto-fill. 16516 * cmds.c (Fnewline): Correct test of ARG1 to inhibit auto-fill.
16517 16517
16518 1988-09-12 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16518 1988-09-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16519 16519
16520 * window.c (Fdelete_window): Put nil as buffer of the deleted window. 16520 * window.c (Fdelete_window): Put nil as buffer of the deleted window.
16521 This makes select-window get an error earlier. 16521 This makes select-window get an error earlier.
16522 16522
16523 1988-09-06 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 16523 1988-09-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16524 16524
16525 * search.c (search_buffer, string_match, looking_at): 16525 * search.c (search_buffer, string_match, looking_at):
16526 Report matcher stack overflow as error, not just failure to match. 16526 Report matcher stack overflow as error, not just failure to match.
16527 16527
16528 * data.c (Fmake_local_variable): Add local variable to simplify 16528 * data.c (Fmake_local_variable): Add local variable to simplify
16529 too-complex expression. 16529 too-complex expression.
16530 16530