aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog.3
diff options
context:
space:
mode:
authorJuanma Barranquero2007-02-02 19:18:09 +0000
committerJuanma Barranquero2007-02-02 19:18:09 +0000
commitda1d68b27fd002f7b3980de37463bed9407d42bc (patch)
treecfaf090f9467b1a83e198a1364770f76962122bc /src/ChangeLog.3
parent745b9b1dbd4ca037f62185ff410b38f44703f1ad (diff)
downloademacs-da1d68b27fd002f7b3980de37463bed9407d42bc.tar.gz
emacs-da1d68b27fd002f7b3980de37463bed9407d42bc.zip
*** empty log message ***
Diffstat (limited to 'src/ChangeLog.3')
-rw-r--r--src/ChangeLog.31517
1 files changed, 755 insertions, 762 deletions
diff --git a/src/ChangeLog.3 b/src/ChangeLog.3
index bde54ff99f9..7ecccab5b5e 100644
--- a/src/ChangeLog.3
+++ b/src/ChangeLog.3
@@ -168,7 +168,7 @@
168 168
1691993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 1691993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
170 170
171 * s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this. 171 * s/sol2.h (SOLARIS_BROKEN_ACCESS): Don't define this.
172 172
173 * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if 173 * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
174 we're using GCC - that's an XLC switch. 174 we're using GCC - that's an XLC switch.
@@ -181,8 +181,8 @@
181 screws up AIX. 181 screws up AIX.
182 (struct emacs_tty): Test those symbols, instead of the ioctl 182 (struct emacs_tty): Test those symbols, instead of the ioctl
183 commands. 183 commands.
184 * sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars, 184 * sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars)
185 init_sys_modes): Same. 185 (init_sys_modes): Same.
186 186
187 * config.h.in (HAVE_RENAME): Include an #undef for this, so 187 * config.h.in (HAVE_RENAME): Include an #undef for this, so
188 configure will have something to edit. 188 configure will have something to edit.
@@ -202,8 +202,8 @@
202 202
2031993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 2031993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
204 204
205 * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM, 205 * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM)
206 LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the 206 (LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
207 search paths in these lists; they shouldn't do any harm if they 207 search paths in these lists; they shouldn't do any harm if they
208 don't have X11R5. 208 don't have X11R5.
209 209
@@ -293,8 +293,8 @@
2931993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 2931993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
294 294
295 * xfns.c: Clear out the old face stuff. 295 * xfns.c: Clear out the old face stuff.
296 (x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font, 296 (x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font)
297 Fx_set_face, Fx_get_face): Removed. 297 (Fx_set_face, Fx_get_face): Removed.
298 (syms_of_xfns): Remove defsubr for Fx_set_face. 298 (syms_of_xfns): Remove defsubr for Fx_set_face.
299 299
300 Arrange for font names to get fully resolved - no wildcards. 300 Arrange for font names to get fully resolved - no wildcards.
@@ -312,9 +312,9 @@
312 * xterm.c (x_new_font): Don't call init_frame_faces. 312 * xterm.c (x_new_font): Don't call init_frame_faces.
313 313
314 * xterm.h: New section for declarations for xfaces.c. 314 * xterm.h: New section for declarations for xfaces.c.
315 (init_frame_faces, free_frame_faces, intern_face, 315 (init_frame_faces, free_frame_faces, intern_face)
316 face_name_id_number, same_size_fonts, recompute_basic_faces, 316 (face_name_id_number, same_size_fonts, recompute_basic_faces)
317 compute_char_face, compute_glyph_face): Declare these here. 317 (compute_char_face, compute_glyph_face): Declare these here.
318 * xfaces.c (same_size_fonts): We can now remove this extern 318 * xfaces.c (same_size_fonts): We can now remove this extern
319 declaration. 319 declaration.
320 * xfns.c (face_name_id_number): Likewise. 320 * xfns.c (face_name_id_number): Likewise.
@@ -511,7 +511,7 @@
511 already declares this elsewhere. 511 already declares this elsewhere.
512 (PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it. 512 (PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
513 * m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h, 513 * m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
514 s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now. 514 * s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
515 515
516 * config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the 516 * config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
517 #defines to #undef's, so ../configure knows it should tweak them. 517 #defines to #undef's, so ../configure knows it should tweak them.
@@ -522,7 +522,7 @@
522 * xfaces.c (Fset_face_attribute_internal): Don't free the frame's 522 * xfaces.c (Fset_face_attribute_internal): Don't free the frame's
523 normal_gc or reverse_gc. 523 normal_gc or reverse_gc.
524 524
525 * keyboard.c (make_lispy_movement): Deal properly with mouse 525 * keyboard.c (make_lispy_movement): Deal properly with mouse
526 motion outside of all windows. 526 motion outside of all windows.
527 527
528 * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph 528 * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
@@ -536,7 +536,7 @@
536 536
5371993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 5371993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
538 538
539 * Version 19.7 released. 539 * Version 19.7 released.
540 540
541 * Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list. 541 * Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list.
542 542
@@ -588,7 +588,7 @@
588 * ymakefile (alloca.o): #define malloc and free to be xmalloc and 588 * ymakefile (alloca.o): #define malloc and free to be xmalloc and
589 xfree on the command line of this compilation. 589 xfree on the command line of this compilation.
590 590
591 * s/sco4.h: (TIME_WITH_SYS_TIME): This is no longer needed. 591 * s/sco4.h (TIME_WITH_SYS_TIME): This is no longer needed.
592 592
593 * s/linux.h: Remove copyright notices by Michael K. Johnson and 593 * s/linux.h: Remove copyright notices by Michael K. Johnson and
594 Rik Faith. They have both sent in papers now which make their 594 Rik Faith. They have both sent in papers now which make their
@@ -690,7 +690,7 @@
690 clear_waiting_for_input when we exit the loop because process 690 clear_waiting_for_input when we exit the loop because process
691 input has arrived. 691 input has arrived.
692 692
693 Changes for Silicon Graphics Iris 5D. 693 Changes for Silicon Graphics Iris 5D.
694 * unexelfsgi.c: New file; like unexelf.c, but tolerates program 694 * unexelfsgi.c: New file; like unexelf.c, but tolerates program
695 segments above BSS. 695 segments above BSS.
696 * m/iris5d.h: New file. 696 * m/iris5d.h: New file.
@@ -793,7 +793,7 @@
793 then load it; we can just take advantage of the PATH_DUMPLOADSEARCH. 793 then load it; we can just take advantage of the PATH_DUMPLOADSEARCH.
794 (crt0.o): Remember that crt0.c is in ${srcdir}. 794 (crt0.o): Remember that crt0.c is in ${srcdir}.
795 795
796 Install David Mackenzie's patches to make ${srcdir} work. 796 Install David Mackenzie's patches to make ${srcdir} work.
797 * Makefile.in (srcdir, VPATH): Get this value from the top-level 797 * Makefile.in (srcdir, VPATH): Get this value from the top-level
798 Makefile. 798 Makefile.
799 (xmakefile): Use ${srcdir} to find the files from which we produce 799 (xmakefile): Use ${srcdir} to find the files from which we produce
@@ -860,8 +860,8 @@
860 860
8611993-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 8611993-05-14 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
862 862
863 * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer, 863 * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer)
864 Foverlay_properties): Functions moved here from subr.el. 864 (Foverlay_properties): Functions moved here from subr.el.
865 865
8661993-05-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) 8661993-05-13 Jim Blandy (jimb@totoro.cs.oberlin.edu)
867 867
@@ -915,7 +915,7 @@
915 * buffer.c (Foverlay_get): Return Qnil if the requested property 915 * buffer.c (Foverlay_get): Return Qnil if the requested property
916 is missing from the property list. 916 is missing from the property list.
917 917
918 The text property routines can now modify buffers other 918 The text property routines can now modify buffers other
919 than the current one. 919 than the current one.
920 * insdel.c (modify_region): New argument BUFFER. Select that 920 * insdel.c (modify_region): New argument BUFFER. Select that
921 buffer while we prepare for the modification, and switch back when 921 buffer while we prepare for the modification, and switch back when
@@ -946,7 +946,7 @@
946 946
9471993-05-12 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 9471993-05-12 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
948 948
949 * ymakefile (xfaces.o): Add window.h to the dependencies. 949 * ymakefile (xfaces.o): Add window.h to the dependencies.
950 950
951 * xfaces.c (intern_frame_face): Exchange order of arguments, to 951 * xfaces.c (intern_frame_face): Exchange order of arguments, to
952 make callers correct. 952 make callers correct.
@@ -998,9 +998,9 @@
998 998
9991993-05-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 9991993-05-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
1000 1000
1001 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the 1001 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
1002 filesystem being ro, since Solaris 2.1 doesn't. 1002 filesystem being ro, since Solaris 2.1 doesn't.
1003 (file-writable-p): Call ro_fsys. 1003 (file-writable-p): Call ro_fsys.
1004 * s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this. 1004 * s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
1005 1005
1006 * systime.h: Use the strategy from getdate.y to include the proper 1006 * systime.h: Use the strategy from getdate.y to include the proper
@@ -1125,8 +1125,8 @@
1125 * window.c (Vmouse_event): Var deleted. 1125 * window.c (Vmouse_event): Var deleted.
1126 (syms_of_window): Don't make it a Lisp var. 1126 (syms_of_window): Don't make it a Lisp var.
1127 1127
1128 * keyboard.c (read_avail_input, Fset_input_mode): Make 1128 * keyboard.c (read_avail_input, Fset_input_mode): Make
1129 meta_key a three-value variable to support 8-bit input. 1129 meta_key a three-value variable to support 8-bit input.
1130 1130
11311993-05-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) 11311993-05-07 Jim Blandy (jimb@totoro.cs.oberlin.edu)
1132 1132
@@ -1191,8 +1191,8 @@
1191 * keyboard.c (syms_of_keyboard): Doc fix for 1191 * keyboard.c (syms_of_keyboard): Doc fix for
1192 extra-keyboard-modifiers. 1192 extra-keyboard-modifiers.
1193 1193
1194 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL, 1194 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL)
1195 CHAR_META): Shift these all up one bit, back to where they were. 1195 (CHAR_META): Shift these all up one bit, back to where they were.
1196 1196
11971993-05-02 Jim Blandy (jimb@totoro.cs.oberlin.edu) 11971993-05-02 Jim Blandy (jimb@totoro.cs.oberlin.edu)
1198 1198
@@ -1210,7 +1210,7 @@
1210 1210
12111993-04-29 Jim Blandy (jimb@totoro.cs.oberlin.edu) 12111993-04-29 Jim Blandy (jimb@totoro.cs.oberlin.edu)
1212 1212
1213 Implement extra_keyboard_modifiers properly. 1213 Implement extra_keyboard_modifiers properly.
1214 * keyboard.c (syms_of_keyboard): Doc fix for 1214 * keyboard.c (syms_of_keyboard): Doc fix for
1215 extra-keyboard-modifiers; use the same modifier bits as we do for 1215 extra-keyboard-modifiers; use the same modifier bits as we do for
1216 characters. 1216 characters.
@@ -1229,8 +1229,8 @@
1229 1229
1230 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in 1230 * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
1231 case we need them. 1231 case we need them.
1232 * termhooks.h (alt_modifier, super_modifier, hyper_modifier, 1232 * termhooks.h (alt_modifier, super_modifier, hyper_modifier)
1233 shift_modifier, ctrl_modifier, meta_modifier): Define these in 1233 (shift_modifier, ctrl_modifier, meta_modifier): Define these in
1234 terms of the CHAR_mumble macros, to avoid having the same thing 1234 terms of the CHAR_mumble macros, to avoid having the same thing
1235 defined in two places. 1235 defined in two places.
1236 1236
@@ -1284,7 +1284,7 @@
12841993-04-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) 12841993-04-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
1285 1285
1286 * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h, 1286 * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
1287 m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by 1287 * m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
1288 configure script. 1288 configure script.
1289 * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed; 1289 * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
1290 derived by configure script. 1290 derived by configure script.
@@ -1342,8 +1342,8 @@
1342 1342
1343 Make the modifier manipulation functions more robust. The old way 1343 Make the modifier manipulation functions more robust. The old way
1344 caused a bug once, and probably would again. 1344 caused a bug once, and probably would again.
1345 * termhooks.h (alt_modifier, super_modifier, hyper_modifier, 1345 * termhooks.h (alt_modifier, super_modifier, hyper_modifier)
1346 shift_modifier, ctrl_modifier, meta_modifier): Shift these all 1346 (shift_modifier, ctrl_modifier, meta_modifier): Shift these all
1347 down one bit in value, to avoid sign extension problems. 1347 down one bit in value, to avoid sign extension problems.
1348 * lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too. 1348 * lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
1349 * keyboard.c (lispy_modifier_list): Ignore modifier bits beyond 1349 * keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
@@ -1370,7 +1370,7 @@
1370 * lisp.h (LOADHIST_ATTACH): New macro. 1370 * lisp.h (LOADHIST_ATTACH): New macro.
1371 (Vcurrent_load_list, Vload_history): Vars declared. 1371 (Vcurrent_load_list, Vload_history): Vars declared.
1372 1372
1373 * eval.c: (defun, defmacro, defvar, defconst): 1373 * eval.c (defun, defmacro, defvar, defconst):
1374 Attach symbol argument to the list of globals for the input source. 1374 Attach symbol argument to the list of globals for the input source.
1375 (do_autoload): Save the old autoloads, in case we ever unload. 1375 (do_autoload): Save the old autoloads, in case we ever unload.
1376 1376
@@ -1429,7 +1429,7 @@
1429 that out now. 1429 that out now.
1430 1430
1431 Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>: 1431 Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
1432 * s/mach2.h: copied from the Emacs 18.59 distribution. 1432 * s/mach2.h: Copied from the Emacs 18.59 distribution.
1433 Don't define NO_REMAP, define START_FILES as 1433 Don't define NO_REMAP, define START_FILES as
1434 `pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the 1434 `pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
1435 default `-lm -lc' (there is no libc on the NeXT). 1435 default `-lm -lc' (there is no libc on the NeXT).
@@ -1452,8 +1452,8 @@
1452 * ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to 1452 * ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to
1453 link in a new version. 1453 link in a new version.
1454 1454
1455 * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error, 1455 * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error)
1456 Qoverflow_error, Qunderflow_error): Add extern to these declarations. 1456 (Qoverflow_error, Qunderflow_error): Add extern to these declarations.
1457 1457
14581993-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) 14581993-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1459 1459
@@ -1472,11 +1472,11 @@
1472 * keyboard.c (command_loop_1): Rebuild menu bar if 1472 * keyboard.c (command_loop_1): Rebuild menu bar if
1473 update_mode_lines is set. 1473 update_mode_lines is set.
1474 1474
1475 long_to_cons and cons_to_long are generally useful things; they're 1475 long_to_cons and cons_to_long are generally useful things; they're
1476 needed whether or not X is defined. 1476 needed whether or not X is defined.
1477 * xselect.c (long_to_cons, cons_to_long): Moved from here... 1477 * xselect.c (long_to_cons, cons_to_long): Moved from here...
1478 * data.c (long_to_cons, cons_to_long): ... to here. 1478 * data.c (long_to_cons, cons_to_long): ... to here.
1479 * lisp.h (long_to_cons, cons_to_long): Add extern declaration. 1479 * lisp.h (long_to_cons, cons_to_long): Add extern declaration.
1480 1480
1481 * xmenu.c (Qmenu_enable): Definition moved... 1481 * xmenu.c (Qmenu_enable): Definition moved...
1482 (syms_of_xmenu): ... along with initialization ... 1482 (syms_of_xmenu): ... along with initialization ...
@@ -1500,11 +1500,11 @@
1500 * alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare 1500 * alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
1501 these extern, not static. (!) 1501 these extern, not static. (!)
1502 1502
1503 * alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook, 1503 * alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook)
1504 old_realloc_hook): Declare that the functions these point to return 1504 (old_realloc_hook): Declare that the functions these point to return
1505 void *, not void. 1505 void *, not void.
1506 1506
1507 Adjust for autoconf merger. 1507 Adjust for autoconf merger.
1508 * config.h.in: Add extra line to top, in case autoconf gets fixed 1508 * config.h.in: Add extra line to top, in case autoconf gets fixed
1509 and decides not to add Makefile-style comments to the top of the 1509 and decides not to add Makefile-style comments to the top of the
1510 files it generates which we are forced to lop off. 1510 files it generates which we are forced to lop off.
@@ -1594,8 +1594,8 @@
1594 This isn't specific to X, and it allows us to avoid #including 1594 This isn't specific to X, and it allows us to avoid #including
1595 xterm.h in files that don't really have anything to do with X. 1595 xterm.h in files that don't really have anything to do with X.
1596 * blockinput.h: New file. 1596 * blockinput.h: New file.
1597 * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, 1597 * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT)
1598 UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. 1598 (UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
1599 (x_input_blocked, x_pending_input): Deleted; there are analogs 1599 (x_input_blocked, x_pending_input): Deleted; there are analogs
1600 in blockinput.h called interrupt_input_blocked and 1600 in blockinput.h called interrupt_input_blocked and
1601 interrupt_input_pending. 1601 interrupt_input_pending.
@@ -1615,8 +1615,7 @@
1615 1615
1616 Block the processing of interrupt input while we're manipulating the 1616 Block the processing of interrupt input while we're manipulating the
1617 malloc heap. 1617 malloc heap.
1618 * alloc.c: (xfree): New function, to make it easy to free things 1618 * alloc.c (xfree): New function, to make it easy to free things safely.
1619 safely.
1620 (xmalloc, xrealloc): Block X input while doing the deed. 1619 (xmalloc, xrealloc): Block X input while doing the deed.
1621 (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree 1620 (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
1622 instead of free. 1621 instead of free.
@@ -1624,8 +1623,8 @@
1624 hooks into the GNU malloc routines. 1623 hooks into the GNU malloc routines.
1625 * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc 1624 * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
1626 on startup. 1625 on startup.
1627 * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, 1626 * alloc.c (make_interval, make_float, Fcons, Fmake_vector)
1628 Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): 1627 (Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
1629 Use xmalloc instead of malloc; don't bother to check if out of 1628 Use xmalloc instead of malloc; don't bother to check if out of
1630 memory here. 1629 memory here.
1631 (Fgarbage_collect): Call xrealloc instead of realloc. 1630 (Fgarbage_collect): Call xrealloc instead of realloc.
@@ -1638,7 +1637,7 @@
1638 * xfaces.c (xfree): Don't #define this to be free; use the 1637 * xfaces.c (xfree): Don't #define this to be free; use the
1639 definition in alloc.c. 1638 definition in alloc.c.
1640 * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, 1639 * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
1641 xmenu.c, xterm.c: Use xfree instead of free. 1640 * xmenu.c, xterm.c: Use xfree instead of free.
1642 * hftctl.c: Use xfree and xmalloc instead of free and malloc. 1641 * hftctl.c: Use xfree and xmalloc instead of free and malloc.
1643 * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc 1642 * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
1644 and malloc. 1643 and malloc.
@@ -1648,8 +1647,8 @@
1648 of free and malloc. BLOCK_INPUT around routines which we know 1647 of free and malloc. BLOCK_INPUT around routines which we know
1649 will call malloc. 1648 will call malloc.
1650 1649
1651 ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, 1650 * ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o)
1652 xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that 1651 (xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
1653 these depend on blockinput.h. 1652 these depend on blockinput.h.
1654 1653
1655 * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're 1654 * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
@@ -1761,8 +1760,8 @@
1761 * xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>. 1760 * xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
1762 * xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm. 1761 * xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
1763 * process.c [VMS] (DCL_PROMPT): Remove hack. 1762 * process.c [VMS] (DCL_PROMPT): Remove hack.
1764 (WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG, 1763 (WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG)
1765 WCOREDUMP, WTERMSIG): New dummy definitions. 1764 (WCOREDUMP, WTERMSIG): New dummy definitions.
1766 (deactivate_process): Add missing semicolon. 1765 (deactivate_process): Add missing semicolon.
1767 * dispnew.c (init_display): Get display name from environment 1766 * dispnew.c (init_display): Get display name from environment
1768 properly on VMS as well as Unix. 1767 properly on VMS as well as Unix.
@@ -2004,7 +2003,7 @@
2004 2003
20051993-03-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 20041993-03-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
2006 2005
2007 * cmds.c (overwrite_binary_mode): Deleted; this implements the 2006 * cmds.c (overwrite_binary_mode): Deleted; this implements the
2008 wrong feature. 2007 wrong feature.
2009 (Qoverwrite_mode_binary): New variable. 2008 (Qoverwrite_mode_binary): New variable.
2010 (internal_self_insert): If current_buffer->overwrite_mode is 2009 (internal_self_insert): If current_buffer->overwrite_mode is
@@ -2185,7 +2184,7 @@
2185 2184
21861993-03-12 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) 21851993-03-12 Eric S. Raymond (eric@mole.gnu.ai.mit.edu)
2187 2186
2188 * term.c (CONDITIONAL_REASSIGN): fixed reference to tigetstr. 2187 * term.c (CONDITIONAL_REASSIGN): Fixed reference to tigetstr.
2189 This should have been tgetstr, but I typoed and tigetstr happens 2188 This should have been tgetstr, but I typoed and tigetstr happens
2190 to link and even do the right thing if you're on a System V box. 2189 to link and even do the right thing if you're on a System V box.
2191 2190
@@ -2304,8 +2303,8 @@
2304 * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no 2303 * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
2305 need to include `-lPW'; that has been merged with `-lc'. 2304 need to include `-lPW'; that has been merged with `-lc'.
2306 2305
2307 * emacs.c (__do_global_ctors, __do_global_ctors_aux, 2306 * emacs.c (__do_global_ctors, __do_global_ctors_aux)
2308 __do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't 2307 (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
2309 define these if ORDINARY_LINK is #defined; in that case, the 2308 define these if ORDINARY_LINK is #defined; in that case, the
2310 standard linking procedure will find definitions for these. 2309 standard linking procedure will find definitions for these.
2311 2310
@@ -2549,7 +2548,7 @@
2549 * indent.c (current_column, Fmove_to_column, compute_motion): 2548 * indent.c (current_column, Fmove_to_column, compute_motion):
2550 Expect display table elts to be vectors. 2549 Expect display table elts to be vectors.
2551 2550
2552 * alloc.c: (Fmake_rope, Frope_elt): Fns deleted. 2551 * alloc.c (Fmake_rope, Frope_elt): Fns deleted.
2553 2552
2554 * lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros. 2553 * lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.
2555 2554
@@ -2616,10 +2615,10 @@
2616 2615
26171993-03-02 Karl Berry (karl@cs.umb.edu) 26161993-03-02 Karl Berry (karl@cs.umb.edu)
2618 2617
2619 * s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD): 2618 * s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD):
2620 Define. 2619 Define.
2621 (HAVE_TIMEVAL): Do not define. 2620 (HAVE_TIMEVAL): Do not define.
2622 (NO_ASM): Only define once. 2621 (NO_ASM): Only define once.
2623 2622
26241993-03-02 Jim Blandy (jimb@totoro.cs.oberlin.edu) 26231993-03-02 Jim Blandy (jimb@totoro.cs.oberlin.edu)
2625 2624
@@ -2701,10 +2700,10 @@
2701 2700
2702 Use the term `scroll bar', instead of `scrollbar'. 2701 Use the term `scroll bar', instead of `scrollbar'.
2703 * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, 2702 * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
2704 lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, 2703 * lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
2705 xterm.c, xterm.h: Terminology changed. 2704 * xterm.c, xterm.h: Terminology changed.
2706 2705
2707 Don't generate switch-frame events by checking Vlast_event_frame; 2706 Don't generate switch-frame events by checking Vlast_event_frame;
2708 use a separate variable for that bookkeeping. In order to 2707 use a separate variable for that bookkeeping. In order to
2709 generate them properly, we may need to fiddle with it. 2708 generate them properly, we may need to fiddle with it.
2710 * keyboard.c (internal_last_event_frame): New variable. 2709 * keyboard.c (internal_last_event_frame): New variable.
@@ -3103,12 +3102,12 @@
3103 3102
31041993-02-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) 31031993-02-08 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3105 3104
3106 * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding, 3105 * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding)
3107 Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional 3106 (Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
3108 argument ACCEPT_DEFAULT, to control whether this function sees 3107 argument ACCEPT_DEFAULT, to control whether this function sees
3109 bindings for t. 3108 bindings for t.
3110 (Fwhere_is_internal, describe_map_tree, describe_map_2, 3109 (Fwhere_is_internal, describe_map_tree, describe_map_2)
3111 describe_vector): Pass the proper arguments to Flookup_key. 3110 (describe_vector): Pass the proper arguments to Flookup_key.
3112 3111
3113 * fileio.c (Fexpand_file_name): Pass DEFALT through 3112 * fileio.c (Fexpand_file_name): Pass DEFALT through
3114 Fexpand_file_name before using it. 3113 Fexpand_file_name before using it.
@@ -3161,7 +3160,7 @@
3161 3160
31621993-01-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) 31611993-01-25 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3163 3162
3164 `live-frame-p' has become `frame-live-p'. 3163 `live-frame-p' has become `frame-live-p'.
3165 * frame.c (Qlive_frame_p): Renamed to Qframe_live_p. 3164 * frame.c (Qlive_frame_p): Renamed to Qframe_live_p.
3166 (Flive_frame_p): Renamed to Fframe_live_p. 3165 (Flive_frame_p): Renamed to Fframe_live_p.
3167 (syms_of_frame): Defsubrs and initializations adjusted. 3166 (syms_of_frame): Defsubrs and initializations adjusted.
@@ -3300,8 +3299,8 @@
3300 * commands.h (unread_command_event): Change extern declaration. 3299 * commands.h (unread_command_event): Change extern declaration.
3301 * keyboard.c (unread_command_event): Change the definition. 3300 * keyboard.c (unread_command_event): Change the definition.
3302 (syms_of_keyboard): Change DEFVAR, and adjust the docstring. 3301 (syms_of_keyboard): Change DEFVAR, and adjust the docstring.
3303 (command_loop_1, read_char, Finput_pending, Fdiscard_input, 3302 (command_loop_1, read_char, Finput_pending, Fdiscard_input)
3304 quit_throw_to_read_char, init_keyboard): Change to use 3303 (quit_throw_to_read_char, init_keyboard): Change to use
3305 unread_command_events, with the new semantics. 3304 unread_command_events, with the new semantics.
3306 * lread.c (read_char): Same. 3305 * lread.c (read_char): Same.
3307 * minibuf.c (temp_echo_area_glyphs): Same. 3306 * minibuf.c (temp_echo_area_glyphs): Same.
@@ -3325,7 +3324,7 @@
3325 3324
3326 * xterm.c (x_set_window_size): Always mark the frame garbaged. 3325 * xterm.c (x_set_window_size): Always mark the frame garbaged.
3327 3326
3328 * window.c (Vmouse_window): Variable removed; it can't be handled 3327 * window.c (Vmouse_window): Variable removed; it can't be handled
3329 properly without race conditions, and the events give you all the 3328 properly without race conditions, and the events give you all the
3330 information you need anyway. 3329 information you need anyway.
3331 (syms_of_window): Remove DEFVAR. 3330 (syms_of_window): Remove DEFVAR.
@@ -3422,10 +3421,10 @@
3422 * xterm.h (struct x_display): vertical_scrollbars and 3421 * xterm.h (struct x_display): vertical_scrollbars and
3423 judge_timestamp members deleted. 3422 judge_timestamp members deleted.
3424 (struct scrollbar): Redesigned to be a template for a Lisp_Vector. 3423 (struct scrollbar): Redesigned to be a template for a Lisp_Vector.
3425 (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, 3424 (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK)
3426 SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, 3425 (SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW)
3427 VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, 3426 (VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE)
3428 VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): 3427 (VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE):
3429 New macros, to help deal with the lispy structures, and deal with 3428 New macros, to help deal with the lispy structures, and deal with
3430 the graphics. 3429 the graphics.
3431 * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. 3430 * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted.
@@ -3441,11 +3440,11 @@
3441 * xterm.c (x_window_to_scrollbar): Scrollbars are chained on 3440 * xterm.c (x_window_to_scrollbar): Scrollbars are chained on
3442 frames' scrollbar field, not their x.display->vertical_scrollbars 3441 frames' scrollbar field, not their x.display->vertical_scrollbars
3443 field. 3442 field.
3444 (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, 3443 (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move)
3445 x_scrollbar_remove, XTset_vertical_scrollbar, 3444 (x_scrollbar_remove, XTset_vertical_scrollbar)
3446 XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, 3445 (XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars)
3447 x_scrollbar_expose, x_scrollbar_handle_click, 3446 (x_scrollbar_expose, x_scrollbar_handle_click)
3448 x_scrollbar_handle_motion): Substantially rewritten to correct 3447 (x_scrollbar_handle_motion): Substantially rewritten to correct
3449 typos and brainos, and to accomodate the lispy structures. 3448 typos and brainos, and to accomodate the lispy structures.
3450 3449
3451 * xterm.c (x_scrollbar_background_expose): Function deleted; we 3450 * xterm.c (x_scrollbar_background_expose): Function deleted; we
@@ -3479,10 +3478,10 @@
3479 window_internal_width. 3478 window_internal_width.
3480 (pos_tab_offset, Fvertical_motion): Use window_internal_width 3479 (pos_tab_offset, Fvertical_motion): Use window_internal_width
3481 instead of writing it out. 3480 instead of writing it out.
3482 * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left, 3481 * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left)
3483 Fscroll_right): Same. 3482 (Fscroll_right): Same.
3484 * xdisp.c (redisplay, try_window, try_window_id, 3483 * xdisp.c (redisplay, try_window, try_window_id)
3485 display_text_line): Same. 3484 (display_text_line): Same.
3486 3485
3487 * xdisp.c (display_string): Add new variable `f', to be W's 3486 * xdisp.c (display_string): Add new variable `f', to be W's
3488 frame. Use it to set desired_glyphs, and to get the frame's width 3487 frame. Use it to set desired_glyphs, and to get the frame's width
@@ -3502,17 +3501,17 @@
3502 (x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars. 3501 (x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars.
3503 (x_frame_parms): Adjusted accordingly. 3502 (x_frame_parms): Adjusted accordingly.
3504 3503
3505 * xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, 3504 * xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT)
3506 PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using: 3505 (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using:
3507 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW, 3506 (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW)
3508 PIXEL_TO_CHAR_COL): New macros. 3507 (PIXEL_TO_CHAR_COL): New macros.
3509 * xfns.c [not HAVE_X11] (Fx_create_frame): Use the 3508 * xfns.c [not HAVE_X11] (Fx_create_frame): Use the
3510 PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's 3509 PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's
3511 character size, and the CHAR_TO_PIXEL* macros for vice versa. 3510 character size, and the CHAR_TO_PIXEL* macros for vice versa.
3512 * xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines, 3511 * xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines)
3513 scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box, 3512 (scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box)
3514 clear_cursor, x_display_bar_cursor, x_draw_single_glyph, 3513 (clear_cursor, x_display_bar_cursor, x_draw_single_glyph)
3515 x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros. 3514 (x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros.
3516 3515
3517 * xterm.c (x_wm_set_size_hint): The max_width and max_height 3516 * xterm.c (x_wm_set_size_hint): The max_width and max_height
3518 members of the size_hints are expressed in pixels, not columns. 3517 members of the size_hints are expressed in pixels, not columns.
@@ -3606,8 +3605,8 @@
3606 input_event to use frame_or_window now. 3605 input_event to use frame_or_window now.
3607 * xterm.c (construct_mouse_click, XTread_socket): Same. 3606 * xterm.c (construct_mouse_click, XTread_socket): Same.
3608 3607
3609 * xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, 3608 * xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part)
3610 last_mouse_scroll_range_start, last_mouse_scroll_range_end): 3609 (last_mouse_scroll_range_start, last_mouse_scroll_range_end):
3611 Replaced with... 3610 Replaced with...
3612 (last_mouse_scrollbar): New variable. 3611 (last_mouse_scrollbar): New variable.
3613 (note_mouse_movement): Clear last_mouse_scrollbar when we have 3612 (note_mouse_movement): Clear last_mouse_scrollbar when we have
@@ -3719,7 +3718,7 @@
3719 3718
37201993-01-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) 37191993-01-07 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3721 3720
3722 * config.h.in: protect against multiple #inclusions. 3721 * config.h.in: Protect against multiple #inclusions.
3723 3722
3724 * config.h.in: Add a declaration for getenv. 3723 * config.h.in: Add a declaration for getenv.
3725 3724
@@ -3757,7 +3756,7 @@
3757 3756
37581992-12-21 Jim Blandy (jimb@totoro.cs.oberlin.edu) 37571992-12-21 Jim Blandy (jimb@totoro.cs.oberlin.edu)
3759 3758
3760 * keyboard.c: Protect all references to kbd_buffer_frames with 3759 * keyboard.c: Protect all references to kbd_buffer_frames with
3761 #ifdef MULTI_FRAME. 3760 #ifdef MULTI_FRAME.
3762 3761
3763 * frame.h (struct frame): New fields `can_have_scrollbars' and 3762 * frame.h (struct frame): New fields `can_have_scrollbars' and
@@ -3771,11 +3770,11 @@
3771 * xterm.h (struct x_display): vertical_scrollbars, 3770 * xterm.h (struct x_display): vertical_scrollbars,
3772 judge_timestamp, vertical_scrollbar_extra: New fields. 3771 judge_timestamp, vertical_scrollbar_extra: New fields.
3773 (struct scrollbar): New struct. 3772 (struct scrollbar): New struct.
3774 (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, 3773 (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT)
3775 VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, 3774 (VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER)
3776 VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, 3775 (VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER)
3777 CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, 3776 (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH)
3778 PIXEL_TO_CHAR_HEIGHT): New accessors and macros. 3777 (PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
3779 * frame.c (make_frame): Initialize the `can_have_scrollbars' and 3778 * frame.c (make_frame): Initialize the `can_have_scrollbars' and
3780 `has_vertical_scrollbars' fields of the frame. 3779 `has_vertical_scrollbars' fields of the frame.
3781 * term.c (term_init): Note that TERMCAP terminals don't support 3780 * term.c (term_init): Note that TERMCAP terminals don't support
@@ -3797,17 +3796,17 @@
3797 * xterm.c: #include <X11/cursorfont.h> and "window.h". 3796 * xterm.c: #include <X11/cursorfont.h> and "window.h".
3798 (x_vertical_scrollbar_cursor): New variable. 3797 (x_vertical_scrollbar_cursor): New variable.
3799 (x_term_init): Initialize it. 3798 (x_term_init): Initialize it.
3800 (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, 3799 (last_mouse_bar, last_mouse_bar_frame, last_mouse_part)
3801 last_mouse_scroll_range_start, last_mouse_scroll_range_end): New 3800 (last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
3802 variables. 3801 variables.
3803 (XTmouse_position): Use them to return scrollbar movement events. 3802 (XTmouse_position): Use them to return scrollbar movement events.
3804 Take new arguments, for that purpose. 3803 Take new arguments, for that purpose.
3805 (x_window_to_scrollbar, x_scrollbar_create, 3804 (x_window_to_scrollbar, x_scrollbar_create)
3806 x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, 3805 (x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move)
3807 XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, 3806 (XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar)
3808 XTjudge_scrollbars, x_scrollbar_expose, 3807 (XTjudge_scrollbars, x_scrollbar_expose)
3809 x_scrollbar_background_expose, x_scrollbar_handle_click, 3808 (x_scrollbar_background_expose, x_scrollbar_handle_click)
3810 x_scrollbar_handle_motion): New functions to implement scrollbars. 3809 (x_scrollbar_handle_motion): New functions to implement scrollbars.
3811 (x_term_init): Set the termhooks.h hooks to point to them. 3810 (x_term_init): Set the termhooks.h hooks to point to them.
3812 (x_set_window_size): Use new macros to calculate frame size. Set 3811 (x_set_window_size): Use new macros to calculate frame size. Set
3813 vertical_scrollbar_extra field. 3812 vertical_scrollbar_extra field.
@@ -3842,9 +3841,9 @@
3842 v_thumbdown, v_slider, h_scrollbar, h_thumbup, 3841 v_thumbdown, v_slider, h_scrollbar, h_thumbup,
3843 h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height 3842 h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height
3844 fields. 3843 fields.
3845 * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part, 3844 * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part)
3846 Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part, 3845 (Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part)
3847 Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete 3846 (Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
3848 interface. 3847 interface.
3849 (head_table): Removed from here as well. 3848 (head_table): Removed from here as well.
3850 (syms_of_keyboard): And here. 3849 (syms_of_keyboard): And here.
@@ -4108,8 +4107,8 @@
4108 * xterm.c (XTread_socket): When we get MapNotify, UnmapNotify, 4107 * xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
4109 Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not 4108 Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not
4110 f->visible. 4109 f->visible.
4111 (x_do_pending_expose, x_raise_frame, x_lower_frame, 4110 (x_do_pending_expose, x_raise_frame, x_lower_frame)
4112 x_make_frame_invisible, x_make_frame_visible, x_iconify_frame): 4111 (x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
4113 Test and set f->async_visible and f->async_iconified, not 4112 Test and set f->async_visible and f->async_iconified, not
4114 f->visible or f->async_iconified. 4113 f->visible or f->async_iconified.
4115 4114
@@ -4287,8 +4286,8 @@
4287 `make-obsolete-variable' to warn people. 4286 `make-obsolete-variable' to warn people.
4288 * command.h (unread_command_char): Change name in extern declaration. 4287 * command.h (unread_command_char): Change name in extern declaration.
4289 * keyboard.c (unread_command_char): Rename. 4288 * keyboard.c (unread_command_char): Rename.
4290 (command_loop_1, read_char, Finput_pending, Fdiscard_input, 4289 (command_loop_1, read_char, Finput_pending, Fdiscard_input)
4291 quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change 4290 (quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
4292 references. 4291 references.
4293 * lread.c (Fread_char): Change reference. 4292 * lread.c (Fread_char): Change reference.
4294 * minibuf.c (temp_echo_area_glyphs): Change reference to 4293 * minibuf.c (temp_echo_area_glyphs): Change reference to
@@ -4373,7 +4372,7 @@
4373 calling getwd. 4372 calling getwd.
4374 #include <sys/types.h> and <sys/stat.h>, for the call to stat. 4373 #include <sys/types.h> and <sys/stat.h>, for the call to stat.
4375 4374
4376 Indicate whether an autoload form stands for a keymap or not. 4375 Indicate whether an autoload form stands for a keymap or not.
4377 * eval.c (Fautoload): Renamed fifth argument TYPE. Document the 4376 * eval.c (Fautoload): Renamed fifth argument TYPE. Document the
4378 fact that (eq TYPE 'keymap) means FUNCTION will become a keymap 4377 fact that (eq TYPE 'keymap) means FUNCTION will become a keymap
4379 when loaded. 4378 when loaded.
@@ -4441,15 +4440,15 @@
4441 (read_key_sequence): Declare PROMPT to be char *, not a 4440 (read_key_sequence): Declare PROMPT to be char *, not a
4442 Lisp_Object. Use the appropriate accessors on keybuf when looking 4441 Lisp_Object. Use the appropriate accessors on keybuf when looking
4443 for ASCII function key sequences. 4442 for ASCII function key sequences.
4444 * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers, 4443 * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers)
4445 Fmouse_click_p, read_char): Add external declarations for these. 4444 (Fmouse_click_p, read_char): Add external declarations for these.
4446 * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume 4445 * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
4447 that Flength returns an integer. 4446 that Flength returns an integer.
4448 * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist, 4447 * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist)
4449 Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p, 4448 (Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p)
4450 Fdirectory_file_name, Ffile_name_directory, 4449 (Fdirectory_file_name, Ffile_name_directory)
4451 expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code, 4450 (expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code)
4452 Fundo_boundary, truncate_undo_list): Add extern declarations for 4451 (Fundo_boundary, truncate_undo_list): Add extern declarations for
4453 these. 4452 these.
4454 * lread.c (read_char): Add an extern declaration for this, 4453 * lread.c (read_char): Add an extern declaration for this,
4455 indicating that it returns a Lisp_Object. 4454 indicating that it returns a Lisp_Object.
@@ -4458,7 +4457,7 @@
4458 unread_command_char. 4457 unread_command_char.
4459 * print.c (print): Cast the frame's address to an integer before 4458 * print.c (print): Cast the frame's address to an integer before
4460 passing it to sprintf to form the frame's printed form. 4459 passing it to sprintf to form the frame's printed form.
4461 * process.c: (status_convert): Declare this to return a 4460 * process.c (status_convert): Declare this to return a
4462 Lisp_Object at the top of the file. 4461 Lisp_Object at the top of the file.
4463 (decode_status): Don't untag XCONS (tem)->cdr before storing it in 4462 (decode_status): Don't untag XCONS (tem)->cdr before storing it in
4464 tem; tem is a Lisp_Object, too. 4463 tem; tem is a Lisp_Object, too.
@@ -4508,9 +4507,9 @@
4508 PART as Qnil, not zero. 4507 PART as Qnil, not zero.
4509 (x_calc_absolute_position): Remember that x_screen_width and 4508 (x_calc_absolute_position): Remember that x_screen_width and
4510 x_screen_height are ints, not Lisp_Objects. 4509 x_screen_height are ints, not Lisp_Objects.
4511 * xterm.h (x_screen_count, x_release, x_screen_height, 4510 * xterm.h (x_screen_count, x_release, x_screen_height)
4512 x_screen_height_mm, x_screen_width, x_screen_width_mm, 4511 (x_screen_height_mm, x_screen_width, x_screen_width_mm)
4513 x_save_under, x_screen_planes): Declare this as ints, to match 4512 (x_save_under, x_screen_planes): Declare this as ints, to match
4514 their definitions in xterm.c. 4513 their definitions in xterm.c.
4515 * ymakefile: Note the new dependencies caused by the new 4514 * ymakefile: Note the new dependencies caused by the new
4516 #inclusions above. 4515 #inclusions above.
@@ -4566,7 +4565,7 @@
4566 that nobody outside of this file uses it. 4565 that nobody outside of this file uses it.
4567 4566
4568 * keymap.c: Deal with autoloaded keymaps properly. 4567 * keymap.c: Deal with autoloaded keymaps properly.
4569 (get_keymap_1): Renamed to inner_get_keymap; made 4568 (get_keymap_1): Renamed to inner_get_keymap; made
4570 static. New argument AUTOLOAD says to pursue autoloads if 4569 static. New argument AUTOLOAD says to pursue autoloads if
4571 non-zero. 4570 non-zero.
4572 (Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1 4571 (Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
@@ -4595,9 +4594,9 @@
4595 4594
45961992-10-27 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 45951992-10-27 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
4597 4596
4598 * sysdep.c (get_system_name): Use gethostname for USG systems if 4597 * sysdep.c (get_system_name): Use gethostname for USG systems if
4599 HAVE_GETHOSTNAME is defined. 4598 HAVE_GETHOSTNAME is defined.
4600 * s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it. 4599 * s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it.
4601 4600
46021992-10-27 Jim Blandy (jimb@totoro.cs.oberlin.edu) 46011992-10-27 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4603 4602
@@ -4678,7 +4677,7 @@
4678 4677
4679 * xdisp.c (message): If M is zero, clear echo_area_glyphs and 4678 * xdisp.c (message): If M is zero, clear echo_area_glyphs and
4680 previous_echo_glyphs, so that the minibuffer shows through. 4679 previous_echo_glyphs, so that the minibuffer shows through.
4681* * editfns.c (Fmessage): With no arguments, clear any active 4680 * editfns.c (Fmessage): With no arguments, clear any active
4682 message; let the minibuffer contents show through. 4681 message; let the minibuffer contents show through.
4683 * minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs 4682 * minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
4684 and previous_echo_glyphs; let message do that work. 4683 and previous_echo_glyphs; let message do that work.
@@ -4691,7 +4690,7 @@
4691 (init_keyboard): Don't allocate it here. 4690 (init_keyboard): Don't allocate it here.
4692 (syms_of_keyboard): Allocate it here, and staticpro it. 4691 (syms_of_keyboard): Allocate it here, and staticpro it.
4693 * keyboard.h (this_command_keys): Extern declaration changed. Doc fix. 4692 * keyboard.h (this_command_keys): Extern declaration changed. Doc fix.
4694 * callint.c (Fcall_interactively): Change handling of 'e' spec; 4693 * callint.c (Fcall_interactively): Change handling of 'e' spec;
4695 this_command_keys is now a vector. 4694 this_command_keys is now a vector.
4696 4695
4697 * keyboard.c (read_char): Call ourselves with the appropriate 4696 * keyboard.c (read_char): Call ourselves with the appropriate
@@ -4700,7 +4699,7 @@
4700 store things in it. 4699 store things in it.
4701 4700
4702 * window.c: Try to deal coherently with deleted windows: 4701 * window.c: Try to deal coherently with deleted windows:
4703* (Flive_window_p): New function. 4702 (Flive_window_p): New function.
4704 (Qlive_window_p): New variable, to name it in type errors. 4703 (Qlive_window_p): New variable, to name it in type errors.
4705 (syms_of_window): Defsubr Slive_window_p, init and staticpro 4704 (syms_of_window): Defsubr Slive_window_p, init and staticpro
4706 Qlive_window_p. 4705 Qlive_window_p.
@@ -4709,9 +4708,9 @@
4709 * window.c (decode_window): Use CHECK_LIVE_WINDOW instead of 4708 * window.c (decode_window): Use CHECK_LIVE_WINDOW instead of
4710 CHECK_WINDOW; the only thing a user should be able to do to a dead 4709 CHECK_WINDOW; the only thing a user should be able to do to a dead
4711 window is check its type. 4710 window is check its type.
4712 (Fcoordinates_in_window_p, Fnext_window, Fprevious_window, 4711 (Fcoordinates_in_window_p, Fnext_window, Fprevious_window)
4713 Fdelete_other_windows, Fselect_window, Fsplit_window, 4712 (Fdelete_other_windows, Fselect_window, Fsplit_window)
4714 Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of 4713 (Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
4715 CHECK_WINDOW. 4714 CHECK_WINDOW.
4716 * frame.c (make_frame_without_minibuffer, Fwindow_frame): Same. 4715 * frame.c (make_frame_without_minibuffer, Fwindow_frame): Same.
4717 * sunfns.c (Fsun_menu_internal): Same. 4716 * sunfns.c (Fsun_menu_internal): Same.
@@ -4891,7 +4890,7 @@
4891 (syms_of_keyboard): DEFVAR Vlast_event_frame whether or not 4890 (syms_of_keyboard): DEFVAR Vlast_event_frame whether or not
4892 MULTI_FRAME is defined. 4891 MULTI_FRAME is defined.
4893 4892
4894 * keyboard.c: Add switch-frame events. 4893 * keyboard.c: Add switch-frame events.
4895 (Qswitch_frame): New event header symbol. 4894 (Qswitch_frame): New event header symbol.
4896 (head_table): Include Qswitch_frame in the table of event heads. 4895 (head_table): Include Qswitch_frame in the table of event heads.
4897 (kbd_buffer_get_event): Detect when a frame switch has occurred, 4896 (kbd_buffer_get_event): Detect when a frame switch has occurred,
@@ -5102,15 +5101,15 @@
5102 are not 5 elements long. 5101 are not 5 elements long.
5103 (EVENT_HEAD): Work correctly on all sorts of events, not just 5102 (EVENT_HEAD): Work correctly on all sorts of events, not just
5104 events with parameters. 5103 events with parameters.
5105 (EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, 5104 (EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON)
5106 EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful 5105 (EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful
5107 anymore; this information may appear twice in an event. These 5106 anymore; this information may appear twice in an event. These
5108 are replaced by the POSN_ accessors, which are meant to be 5107 are replaced by the POSN_ accessors, which are meant to be
5109 composed with the EVENT_START and EVENT_END accessors. 5108 composed with the EVENT_START and EVENT_END accessors.
5110 (EVENT_START, EVENT_END): Two new accessors, to get at the 5109 (EVENT_START, EVENT_END): Two new accessors, to get at the
5111 starting and ending position of an event. 5110 starting and ending position of an event.
5112 (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON, 5111 (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON)
5113 POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher 5112 (POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
5114 diasassemble the values returned by EVENT_START and EVENT_END. 5113 diasassemble the values returned by EVENT_START and EVENT_END.
5115 * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first 5114 * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first
5116 testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on 5115 testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on
@@ -5124,7 +5123,7 @@
5124 5123
5125 * keyboard.c (Qevent_unmodified): Replaced by... 5124 * keyboard.c (Qevent_unmodified): Replaced by...
5126 (Qevent_symbol_elements): New property. 5125 (Qevent_symbol_elements): New property.
5127 (syms_of_keyboard): initialize and staticpro the latter, not the 5126 (syms_of_keyboard): Initialize and staticpro the latter, not the
5128 former. 5127 former.
5129 * keyboard.h (Qevent_unmodified): Extern declaration replaced by... 5128 * keyboard.h (Qevent_unmodified): Extern declaration replaced by...
5130 (Qevent_symbol_elements): This. 5129 (Qevent_symbol_elements): This.
@@ -5248,7 +5247,7 @@
5248 got removed with no comment or ChangeLog entry, and 5247 got removed with no comment or ChangeLog entry, and
5249 append-to-buffer uses it. 5248 append-to-buffer uses it.
5250 5249
5251 * window.c (struct save_window_data): Add a member called 5250 * window.c (struct save_window_data): Add a member called
5252 focus_frame, to save and restore the screen's focus frame. 5251 focus_frame, to save and restore the screen's focus frame.
5253 (Fset_window_configuration): Redirect the frame's focus as 5252 (Fset_window_configuration): Redirect the frame's focus as
5254 indicated in the window configuration. 5253 indicated in the window configuration.
@@ -5284,12 +5283,12 @@
5284 5283
5285 * xselect.c (Qcut_buffer0): Symbol removed; we're using a new 5284 * xselect.c (Qcut_buffer0): Symbol removed; we're using a new
5286 interface to the cut buffer now. 5285 interface to the cut buffer now.
5287 (NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value, 5286 (NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value)
5288 cut_buffer_cached, cut_buffer_just_set): New variables. 5287 (cut_buffer_cached, cut_buffer_just_set): New variables.
5289 (Fx_own_selection, Fx_selection_value): Dike out the code to 5288 (Fx_own_selection, Fx_selection_value): Dike out the code to
5290 handle CUT_BUFFER0 requests. 5289 handle CUT_BUFFER0 requests.
5291 (Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache, 5290 (Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache)
5292 x_invalidate_cut_buffer_cache): New functions. 5291 (x_invalidate_cut_buffer_cache): New functions.
5293 (syms_of_xselect): Don't bother to initialize Qcut_buffer0. 5292 (syms_of_xselect): Don't bother to initialize Qcut_buffer0.
5294 Initialize and staticpro cut_buffer_value, and defsubr 5293 Initialize and staticpro cut_buffer_value, and defsubr
5295 Sx_get_cut_buffer and Sx_set_cut_buffer. 5294 Sx_get_cut_buffer and Sx_set_cut_buffer.
@@ -5327,9 +5326,9 @@
5327 5326
53281992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 53271992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5329 5328
5330 * frame.c (Fselect_frame, Fframe_root_window, 5329 * frame.c (Fselect_frame, Fframe_root_window)
5331 Fframe_selected_window, Fnext_frame, Fmake_frame_visible, 5330 (Fframe_selected_window, Fnext_frame, Fmake_frame_visible)
5332 Fmake_frame_invisible, Ficonify_frame): Doc fixes. 5331 (Fmake_frame_invisible, Ficonify_frame): Doc fixes.
5333 5332
5334 * ralloc.c: Since the users of the relocating allocation code 5333 * ralloc.c: Since the users of the relocating allocation code
5335 handle memory exhaustion, it's better to return an error code to 5334 handle memory exhaustion, it's better to return an error code to
@@ -5378,8 +5377,8 @@
5378 (syms_of_keyboard): Doc fix for Vlast_event_frame. 5377 (syms_of_keyboard): Doc fix for Vlast_event_frame.
5379 (Vlast_event_frame): Doc fix. 5378 (Vlast_event_frame): Doc fix.
5380 5379
5381 * termhooks.h (alt_modifier, hyper_modifier, super_modifier, 5380 * termhooks.h (alt_modifier, hyper_modifier, super_modifier)
5382 down_modifier, drag_modifier): New modifiers, to support the new 5381 (down_modifier, drag_modifier): New modifiers, to support the new
5383 input system. Re-arranged modifiers so that their bits are in 5382 input system. Re-arranged modifiers so that their bits are in
5384 canonical order; this makes reorder_modifiers slightly simpler. 5383 canonical order; this makes reorder_modifiers slightly simpler.
5385 * keyboard.c (format_modifiers, reorder_modifiers): Handle the new 5384 * keyboard.c (format_modifiers, reorder_modifiers): Handle the new
@@ -5421,16 +5420,16 @@
5421 between text with different properties. Use the old and new 5420 between text with different properties. Use the old and new
5422 positions as arguments to these calls. 5421 positions as arguments to these calls.
5423 5422
5424 * intervals.c, intervals.h: (map_intervals, make_buffer_interval, 5423 * intervals.c, intervals.h (map_intervals, make_buffer_interval)
5425 make_string_interval,run_hooks): Deleted. 5424 (make_string_interval, run_hooks): Deleted.
5426 5425
54271992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 54261992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5428 5427
5429 * keymap.c (DENSE_TABLE_SIZE): Doc fix. 5428 * keymap.c (DENSE_TABLE_SIZE): Doc fix.
5430 (keymap_table): Function removed; this function exists only to 5429 (keymap_table): Function removed; this function exists only to
5431 support an incorrect understanding of the format of keymaps. 5430 support an incorrect understanding of the format of keymaps.
5432 (access_keymap, store_in_keymap, Fcopy_keymap, 5431 (access_keymap, store_in_keymap, Fcopy_keymap)
5433 Faccessible_keymaps): Correctly handle vectors at any point in the 5432 (Faccessible_keymaps): Correctly handle vectors at any point in the
5434 keymap; don't assume it must be at the front. 5433 keymap; don't assume it must be at the front.
5435 (describe_map): Instead of calling describe_vector on the vector 5434 (describe_map): Instead of calling describe_vector on the vector
5436 in the cadr of the keymap (if present) and then calling 5435 in the cadr of the keymap (if present) and then calling
@@ -5656,12 +5655,12 @@
5656 5655
56571992-09-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) 56561992-09-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5658 5657
5659 * s/esix5r4.h: New file. 5658 * s/esix5r4.h: New file.
5660 5659
5661 * sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP. 5660 * sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP.
5662 Use CDISABLE, not CDEL. 5661 Use CDISABLE, not CDEL.
5663 Turn off IEXTEN if it exists. 5662 Turn off IEXTEN if it exists.
5664 * systty.h (CDISABLE): New macro; may be defined from CDEL. 5663 * systty.h (CDISABLE): New macro; may be defined from CDEL.
5665 5664
5666 * keyboard.c (command_loop_1): Bind inhibit-quit to t when in Fsit_for. 5665 * keyboard.c (command_loop_1): Bind inhibit-quit to t when in Fsit_for.
5667 5666
@@ -5676,7 +5675,7 @@
5676 5675
56771992-09-09 Jim Blandy (jimb@pogo.cs.oberlin.edu) 56761992-09-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5678 5677
5679 * frame.c (choose_minibuf_frame): abort if the selected frame has 5678 * frame.c (choose_minibuf_frame): Abort if the selected frame has
5680 nil in its minibuffer_window slot; this shouldn't happen any more. 5679 nil in its minibuffer_window slot; this shouldn't happen any more.
5681 * window.c (minibuffer_window): Accept an optional FRAME argument; 5680 * window.c (minibuffer_window): Accept an optional FRAME argument;
5682 if specified, return the minibuffer used by that frame. 5681 if specified, return the minibuffer used by that frame.
@@ -5758,9 +5757,9 @@
5758 5757
57591992-09-03 Jim Blandy (jimb@pogo.cs.oberlin.edu) 57581992-09-03 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5760 5759
5761 * editfns.c (Fcurrent_time_string): Change docstring to 5760 * editfns.c (Fcurrent_time_string): Change docstring to
5762 indicate that we will probably add the timezone to the end, 5761 indicate that we will probably add the timezone to the end,
5763 now that we have it available on many systems. 5762 now that we have it available on many systems.
5764 5763
5765 * xrdb.c: Don't include <X11/Xos.h>. Under R4, it stupidly 5764 * xrdb.c: Don't include <X11/Xos.h>. Under R4, it stupidly
5766 insists on defining SIGCHLD, even if it already has a definition. 5765 insists on defining SIGCHLD, even if it already has a definition.
@@ -5774,7 +5773,7 @@
5774 otherwise, approximate the right thing, by using min_width and 5773 otherwise, approximate the right thing, by using min_width and
5775 min_height as the base size. 5774 min_height as the base size.
5776 5775
57771992-09-02 Barry A. Warsaw (warsaw@anthem.nlm.nih.gov) 57761992-09-02 Barry A. Warsaw (warsaw@anthem.nlm.nih.gov)
5778 5777
5779 Extended syntax.c in the following ways to support up to 2 5778 Extended syntax.c in the following ways to support up to 2
5780 orthogonal comment styles per mode. This is needed for C++. 5779 orthogonal comment styles per mode. This is needed for C++.
@@ -5817,7 +5816,7 @@
5817 * doc.c (Fsnarf_documentation): Signal an error if this is 5816 * doc.c (Fsnarf_documentation): Signal an error if this is
5818 called in a dumped Emacs. 5817 called in a dumped Emacs.
5819 5818
5820 * alloc.c (mark_object): mark a symbol's name after marking its 5819 * alloc.c (mark_object): Mark a symbol's name after marking its
5821 value, function, and property list rather than before; this way, 5820 value, function, and property list rather than before; this way,
5822 symbols' names are readable, giving us a chance to detect some 5821 symbols' names are readable, giving us a chance to detect some
5823 kinds of heap corruption. 5822 kinds of heap corruption.
@@ -5899,7 +5898,7 @@
5899 versions of HP/UX before 6.5. 5898 versions of HP/UX before 6.5.
5900 Don't define BIG_ENDIAN if it seems that <endian.h> has already 5899 Don't define BIG_ENDIAN if it seems that <endian.h> has already
5901 done so. 5900 done so.
5902 [BSD4_3] Define m68000, instead of hp9000s300; crt0.c uses these 5901 [BSD4_3] Define m68000, instead of hp9000s300; crt0.c uses these
5903 to decide what sort of startup code to use. 5902 to decide what sort of startup code to use.
5904 [not BSD4_3] Under HP/UX, always define the BSD memory functions 5903 [not BSD4_3] Under HP/UX, always define the BSD memory functions
5905 (bcopy, bzero, and bcmp) in terms of the SYSV string functions 5904 (bcopy, bzero, and bcmp) in terms of the SYSV string functions
@@ -5988,7 +5987,7 @@
5988 hasn't specified the icon position. Let the window manager put 5987 hasn't specified the icon position. Let the window manager put
5989 the icon where it likes. 5988 the icon where it likes.
5990 5989
5991 * xterm.c (x_make_frame_invisible): Don't forget to check the 5990 * xterm.c (x_make_frame_invisible): Don't forget to check the
5992 return value of XWithdrawWindow; it could indicate that the window 5991 return value of XWithdrawWindow; it could indicate that the window
5993 wasn't successfully redrawn. 5992 wasn't successfully redrawn.
5994 5993
@@ -6005,7 +6004,7 @@
6005 one-line windows are the minibuffer, or that all minibuffers are 6004 one-line windows are the minibuffer, or that all minibuffers are
6006 one line high. Use MINI_WINDOW_P. 6005 one line high. Use MINI_WINDOW_P.
6007 6006
6008 * systerm.h: Renamed to systty.h, to be more consistent with 6007 * systerm.h: Renamed to systty.h, to be more consistent with
6009 everything else in Unix. 6008 everything else in Unix.
6010 * dispnew.c, emacs.c, keyboard.c, process.c, sysdep.c: #include 6009 * dispnew.c, emacs.c, keyboard.c, process.c, sysdep.c: #include
6011 directive changed. 6010 directive changed.
@@ -6022,7 +6021,7 @@
6022 6021
60231992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) 60221992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6024 6023
6025 * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate 6024 * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate
6026 number of arguments. 6025 number of arguments.
6027 * fns.c (Fyes_or_no_p): Same. 6026 * fns.c (Fyes_or_no_p): Same.
6028 6027
@@ -6041,7 +6040,7 @@
6041 6040
60421992-08-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) 60411992-08-19 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6043 6042
6044 * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when 6043 * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when
6045 available [HAVE_X11R4]; send the UnmapNotify event when 6044 available [HAVE_X11R4]; send the UnmapNotify event when
6046 appropriate [HAVE_X11]; just unmap the window if that's all that's 6045 appropriate [HAVE_X11]; just unmap the window if that's all that's
6047 needed [not HAVE_X11]. 6046 needed [not HAVE_X11].
@@ -6101,7 +6100,7 @@
6101 6100
61021992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) 61011992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6103 6102
6104 * frame.h (struct frame): New member - explicit_name. 6103 * frame.h (struct frame): New member - explicit_name.
6105 * frame.c (make_frame): Clear it. 6104 * frame.c (make_frame): Clear it.
6106 * xfns.c (x_set_name): Take new argument EXPLICIT, instead of 6105 * xfns.c (x_set_name): Take new argument EXPLICIT, instead of
6107 OLDVAL. 6106 OLDVAL.
@@ -6188,7 +6187,7 @@
6188 6187
6189 * xterm.c: Doc fixes. 6188 * xterm.c: Doc fixes.
6190 6189
6191 More SYSV portability changes from Eric Raymond: 6190 More SYSV portability changes from Eric Raymond:
6192 6191
6193 * xterm.c [USG5]: Don't include <sys/types.h>. 6192 * xterm.c [USG5]: Don't include <sys/types.h>.
6194 6193
@@ -6223,60 +6222,60 @@
6223 6222
62241992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) 62231992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6225 6224
6226 Applied SYSV portability changes from Eric Raymond: 6225 Applied SYSV portability changes from Eric Raymond:
6227 6226
6228 * xrdb.c [USG5]: Define SYSV, and then include <unistd.h>. 6227 * xrdb.c [USG5]: Define SYSV, and then include <unistd.h>.
6229 Apparently, Xlib.h include string.h if SYSV is defined, and 6228 Apparently, Xlib.h include string.h if SYSV is defined, and
6230 strings.h if not. 6229 strings.h if not.
6231 Don't include <sys/types.h>; just declare getuid to return an 6230 Don't include <sys/types.h>; just declare getuid to return an
6232 int. Big deal. 6231 int. Big deal.
6233 (MAXPATHLEN): If this is not defined by the system's include 6232 (MAXPATHLEN): If this is not defined by the system's include
6234 files, give it a value of 256. 6233 files, give it a value of 256.
6235 (get_user_db): Fetch the defaults directly from the display 6234 (get_user_db): Fetch the defaults directly from the display
6236 structure, rather than using XResourceManagerString; that 6235 structure, rather than using XResourceManagerString; that
6237 function doesn't exist in the older versions of X. 6236 function doesn't exist in the older versions of X.
6238 6237
6239 * xterm.c (x_set_text_property): New function. 6238 * xterm.c (x_set_text_property): New function.
6240 * xfns.c (x_set_name): Use it instead of XSetWMName and 6239 * xfns.c (x_set_name): Use it instead of XSetWMName and
6241 XSetWMIconName. 6240 XSetWMIconName.
6242 6241
6243 * xfns.c (select_visual): Fetch the visual id directly from v; 6242 * xfns.c (select_visual): Fetch the visual id directly from v;
6244 don't call XVisualIDFromVisual, since that function is not 6243 don't call XVisualIDFromVisual, since that function is not
6245 available in earlier versions of X. 6244 available in earlier versions of X.
6246 6245
6247 * term.c (term_get_fkeys): Some systems define `static' to be the 6246 * term.c (term_get_fkeys): Some systems define `static' to be the
6248 empty string, which means that you can't have constant 6247 empty string, which means that you can't have constant
6249 initialized arrays inside a function. So move the `keys' array 6248 initialized arrays inside a function. So move the `keys' array
6250 outside of the function. 6249 outside of the function.
6251 * xdisp.c (decode_mode_spec): Same deal, with lots_of_dashes. 6250 * xdisp.c (decode_mode_spec): Same deal, with lots_of_dashes.
6252 * xfns.c (x_make_gc): Same deal, regarding cursor_bits. 6251 * xfns.c (x_make_gc): Same deal, regarding cursor_bits.
6253 6252
6254 * term.c (keys): Include definitions for "K2" (the center key on 6253 * term.c (keys): Include definitions for "K2" (the center key on
6255 an IBM keypad), "F1" (F11), and "F2" (F12). Handle "k0" and "k;" 6254 an IBM keypad), "F1" (F11), and "F2" (F12). Handle "k0" and "k;"
6256 specially; see the code for details. 6255 specially; see the code for details.
6257 6256
6258 * term.c (clear_end_of_line): Remember that on some systems, 6257 * term.c (clear_end_of_line): Remember that on some systems,
6259 "static" gets defined to be the null string, so we can't declare 6258 "static" gets defined to be the null string, so we can't declare
6260 an array to be static and then initialize it. Since the array in 6259 an array to be static and then initialize it. Since the array in
6261 question (buf) is only one element long, just make it a scalar 6260 question (buf) is only one element long, just make it a scalar
6262 rather than an array; it can then be initialized, even if it's 6261 rather than an array; it can then be initialized, even if it's
6263 not static. 6262 not static.
6264 6263
6265 * systime.h [not HAVE_TIMEVAL] (EMACS_USECS, EMACS_SET_USECS): 6264 * systime.h [not HAVE_TIMEVAL] (EMACS_USECS, EMACS_SET_USECS):
6266 Don't forget to define dummy versions of these. 6265 Don't forget to define dummy versions of these.
6267 6266
6268 * systime.h [USE_UTIME]: time_t is a typedef, not a struct. 6267 * systime.h [USE_UTIME]: time_t is a typedef, not a struct.
6269 Don't prefix it with `struct'. 6268 Don't prefix it with `struct'.
6270 6269
6271 * systerm.h (EMACS_SET_TTY_PGRP): When there doesn't seem to be 6270 * systerm.h (EMACS_SET_TTY_PGRP): When there doesn't seem to be
6272 any way to do this, don't forget to give it a dummy definition. 6271 any way to do this, don't forget to give it a dummy definition.
6273 6272
6274 * sysdep.c (select): There's no need to cast the return value of 6273 * sysdep.c (select): There's no need to cast the return value of
6275 signal anymore, since we have the SIGTYPE macro defined. 6274 signal anymore, since we have the SIGTYPE macro defined.
6276 6275
6277 * sysdep.c (read_input_waiting): When scanning for quit 6276 * sysdep.c (read_input_waiting): When scanning for quit
6278 characters, use the value of quit_char, rather than assuming that 6277 characters, use the value of quit_char, rather than assuming that
6279 C-g is the quit character. And don't forget to declare i. 6278 C-g is the quit character. And don't forget to declare i.
6280 6279
6281 * sysdep.c [USG5]: Don't include fcntl.h. 6280 * sysdep.c [USG5]: Don't include fcntl.h.
6282 6281
@@ -6291,7 +6290,7 @@
6291 utimes(2)) emulation lurking in the X shared libraries.) 6290 utimes(2)) emulation lurking in the X shared libraries.)
6292 6291
6293 * s/usg5-4.h (USE_UTIME): Remove this definition; the C library 6292 * s/usg5-4.h (USE_UTIME): Remove this definition; the C library
6294 still doesn't have utimes. 6293 still doesn't have utimes.
6295 6294
6296 * ralloc.c (get_bloc): When initializing new_bloc->variable, cast 6295 * ralloc.c (get_bloc): When initializing new_bloc->variable, cast
6297 NIL to (POINTER *). 6296 NIL to (POINTER *).
@@ -6334,11 +6333,11 @@
6334 wasn't written portably, and it should probably go somewhere else 6333 wasn't written portably, and it should probably go somewhere else
6335 anyway - say, funcall or eval. 6334 anyway - say, funcall or eval.
6336 6335
6337 End of changes from Eric Raymond. 6336 End of changes from Eric Raymond.
6338 6337
6339 * xfns.c (Fx_create_frame): Make the default for the icon-type 6338 * xfns.c (Fx_create_frame): Make the default for the icon-type
6340 parameter nil, not t. It seems to cause problems with some X 6339 parameter nil, not t. It seems to cause problems with some X
6341 servers. 6340 servers.
6342 6341
6343 * lisp.h (DEFVAR_PER_BUFFER): Add new argument, TYPE, to help 6342 * lisp.h (DEFVAR_PER_BUFFER): Add new argument, TYPE, to help
6344 check the types of buffer-local variable slots. 6343 check the types of buffer-local variable slots.
@@ -6382,11 +6381,11 @@
6382 * window.c (init_window_once): Initialize minibuf_window before 6381 * window.c (init_window_once): Initialize minibuf_window before
6383 FRAME_ROOT_WINDOW, so the latter actually points to something. 6382 FRAME_ROOT_WINDOW, so the latter actually points to something.
6384 6383
6385 * keyboard.c (Fexecute_mouse_event): dyked-out function deleted. 6384 * keyboard.c (Fexecute_mouse_event): Dyked-out function deleted.
6386 We're not going to use this mouse interface. 6385 We're not going to use this mouse interface.
6387 (Vmouse_window, Vmouse_event, Vmouse_event_function, 6386 (Vmouse_window, Vmouse_event, Vmouse_event_function)
6388 Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook, 6387 (Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook)
6389 Vmouse_motion_handler): Variables deleted; they were to be used by 6388 (Vmouse_motion_handler): Variables deleted; they were to be used by
6390 Fexecute_mouse_event. 6389 Fexecute_mouse_event.
6391 (syms_of_keyboard): Same. 6390 (syms_of_keyboard): Same.
6392 (command_loop_1): Remove dyked-out code to support 6391 (command_loop_1): Remove dyked-out code to support
@@ -6414,7 +6413,7 @@
6414 6413
64151992-08-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) 64141992-08-11 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6416 6415
6417 * fileio.c (Fread_filename): Don't add one here. 6416 * fileio.c (Fread_filename): Don't add one here.
6418 * minibuf.c (Fcompleting_read): Instead, stop subtracting one 6417 * minibuf.c (Fcompleting_read): Instead, stop subtracting one
6419 here, so this function lives up to its doc string, which I think 6418 here, so this function lives up to its doc string, which I think
6420 specifies an okay way to work. 6419 specifies an okay way to work.
@@ -6435,7 +6434,7 @@
6435 * xfns.c [not HAVE_X11] (Fx_create_frame): Delete section that's 6434 * xfns.c [not HAVE_X11] (Fx_create_frame): Delete section that's
6436 only included if we *do* have X11. Blind patching. 6435 only included if we *do* have X11. Blind patching.
6437 6436
6438 * xfns.c (x_icon): Rewritten to call x_wm_set_icon_position and 6437 * xfns.c (x_icon): Rewritten to call x_wm_set_icon_position and
6439 x_wm_set_window_state instead of calling XSetWMHints directly. 6438 x_wm_set_window_state instead of calling XSetWMHints directly.
6440 * xterm.c (x_wm_hints): New variable. 6439 * xterm.c (x_wm_hints): New variable.
6441 (x_wm_set_window_state, x_wm_set_icon_pixmap, 6440 (x_wm_set_window_state, x_wm_set_icon_pixmap,
@@ -6474,16 +6473,16 @@
6474 6473
64751992-08-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) 64741992-08-10 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6476 6475
6477 * xfns.c (Qbackground_color, Qborder_color, Qborder_width, 6476 * xfns.c (Qbackground_color, Qborder_color, Qborder_width)
6478 Qcursor_color, Qfont, Qforeground_color, Qgeometry, 6477 (Qcursor_color, Qfont, Qforeground_color, Qgeometry)
6479 Qhorizontal_scroll_bar, Qicon_left, Qicon_top, Qiconic_startup, 6478 (Qhorizontal_scroll_bar, Qicon_left, Qicon_top, Qiconic_startup)
6480 Qinternal_border_width, Qleft, Qmouse_color, Qparent_id, 6479 (Qinternal_border_width, Qleft, Qmouse_color, Qparent_id)
6481 Qsuppress_icon, Qsuppress_initial_map, Qtop, Qundefined_color, 6480 (Qsuppress_icon, Qsuppress_initial_map, Qtop, Qundefined_color)
6482 Qvertical_scroll_bar, Qwindow_id, Qx_frame_parameter): New 6481 (Qvertical_scroll_bar, Qwindow_id, Qx_frame_parameter): New
6483 symbols, with lisp code to rebuild syms_of_xfns. 6482 symbols, with lisp code to rebuild syms_of_xfns.
6484 (syms_of_xfns): Initialize and staticpro them. 6483 (syms_of_xfns): Initialize and staticpro them.
6485 (Qheight, Qminibuffer, Qname, Qnone, Qonly, Qwidth, 6484 (Qheight, Qminibuffer, Qname, Qnone, Qonly, Qwidth)
6486 Qunsplittable): Add extern declaration for these. 6485 (Qunsplittable): Add extern declaration for these.
6487 (x_init_parm_symbols): Don't initialize Qx_frame_parameter here; 6486 (x_init_parm_symbols): Don't initialize Qx_frame_parameter here;
6488 it's done in syms_of_xfns. 6487 it's done in syms_of_xfns.
6489 (x_default_parameter): Change the argument char *PROPNAME into a 6488 (x_default_parameter): Change the argument char *PROPNAME into a
@@ -6491,12 +6490,12 @@
6491 (Fx_geometry, x_figure_window_size, x_icon, Fx_create_frame): Use 6490 (Fx_geometry, x_figure_window_size, x_icon, Fx_create_frame): Use
6492 the new Q... variables, instead of interning things. 6491 the new Q... variables, instead of interning things.
6493 6492
6494 * frame.c (Qheight, Qicon, Qmodeline, Qname, Qnone, Qonly, 6493 * frame.c (Qheight, Qicon, Qmodeline, Qname, Qnone, Qonly)
6495 Qunsplittable, Qwidth, Qx): New symbol, with lisp code to rebuild 6494 (Qunsplittable, Qwidth, Qx): New symbol, with lisp code to rebuild
6496 syms_of_frame. 6495 syms_of_frame.
6497 (syms_of_xfns): Initialize and staticpro them. 6496 (syms_of_xfns): Initialize and staticpro them.
6498 (Fframep, Fframe_visible_p, Fframe_parameters): Use 6497 (Fframep, Fframe_visible_p, Fframe_parameters): Use the new Q...
6499 the new Q... variables, instead of interning things. 6498 variables, instead of interning things.
6500 (store_in_alist): Change the argument char *PROPNAME into a 6499 (store_in_alist): Change the argument char *PROPNAME into a
6501 Lisp_Object PROP; let the caller take care of interning the atom. 6500 Lisp_Object PROP; let the caller take care of interning the atom.
6502 6501
@@ -6513,16 +6512,16 @@
6513 x_set_frame_parameters, not x_set_frame_parameter. 6512 x_set_frame_parameters, not x_set_frame_parameter.
6514 * xfns.c (x_set_frame_param): Replaced by x_set_frame_parameters. 6513 * xfns.c (x_set_frame_param): Replaced by x_set_frame_parameters.
6515 (x_set_frame_parameters): Process the alist of parameters here. 6514 (x_set_frame_parameters): Process the alist of parameters here.
6516 Notice `width', `height', `top', and `left' parameters. 6515 Notice `width', `height', `top', and `left' parameters.
6517 Hold off changing the frame size and position until the end, so we 6516 Hold off changing the frame size and position until the end, so we
6518 can do both parameters at once when they are both specified. 6517 can do both parameters at once when they are both specified.
6519 (x_default_parameter): Call x_set_frame_parameters, not 6518 (x_default_parameter): Call x_set_frame_parameters, not
6520 x_set_frame_param. 6519 x_set_frame_param.
6521 6520
6522 * frame.c (Fmake_frame_visible, Fmake_frame_invisible, 6521 * frame.c (Fmake_frame_visible, Fmake_frame_invisible)
6523 Ficonify_frame, Fframe_parameters, Fmodify_frame_parameters, 6522 (Ficonify_frame, Fframe_parameters, Fmodify_frame_parameters)
6524 Fset_frame_height, Fset_frame_width, Fset_frame_size, 6523 (Fset_frame_height, Fset_frame_width, Fset_frame_size)
6525 Fset_frame_position): Place clauses controlled by FRAME_X_P inside 6524 (Fset_frame_position): Place clauses controlled by FRAME_X_P inside
6526 `#ifdef HAVE_X_WINDOWS ... #endif' clauses. 6525 `#ifdef HAVE_X_WINDOWS ... #endif' clauses.
6527 6526
6528 * frame.c (Fset_frame_position): Doc fix. 6527 * frame.c (Fset_frame_position): Doc fix.
@@ -6579,8 +6578,8 @@
6579 * xterm.c (in_display): Deleted this; it's never used in xterm.c, 6578 * xterm.c (in_display): Deleted this; it's never used in xterm.c,
6580 and there is another variable by the same name in dispnew.c. 6579 and there is another variable by the same name in dispnew.c.
6581 6580
6582 * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width, 6581 * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width)
6583 Fset_frame_size, Fframe_height, Fframe_width): New functions, for 6582 (Fset_frame_size, Fframe_height, Fframe_width): New functions, for
6584 use when Emacs is not compiled with multiple screens. 6583 use when Emacs is not compiled with multiple screens.
6585 [not MULTI_SCREEN] (Fset_screen_height, Fset_screen_width): 6584 [not MULTI_SCREEN] (Fset_screen_height, Fset_screen_width):
6586 Functions added for backward compatibility with Emacs 18. These 6585 Functions added for backward compatibility with Emacs 18. These
@@ -6602,8 +6601,8 @@
66021992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) 66011992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6603 6602
6604 * dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c, 6603 * dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c,
6605 window.c, xdisp.c, xfns.c xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X, 6604 * window.c, xdisp.c, xfns.c xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X)
6606 FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P, 6605 (FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P,
6607 and FRAME_HAS_MINIBUF_P, for consistency with the rest of the 6606 and FRAME_HAS_MINIBUF_P, for consistency with the rest of the
6608 frame macros. 6607 frame macros.
6609 6608
@@ -6627,7 +6626,7 @@
6627 6626
66281992-08-06 Joseph Arceneaux (jla@gnu.ai.mit.edu) 66271992-08-06 Joseph Arceneaux (jla@gnu.ai.mit.edu)
6629 6628
6630 * doc.c (Vdata_directory): Declared. 6629 * doc.c (Vdata_directory): Declared.
6631 (syms_of_doc): Initialized. 6630 (syms_of_doc): Initialized.
6632 6631
6633 * fileio.c (Fread_filename): Add 1 to the offset position for the 6632 * fileio.c (Fread_filename): Add 1 to the offset position for the
@@ -6831,8 +6830,8 @@
6831 * lread.c: Include <ctype.h> at the top of the file, instead of 6830 * lread.c: Include <ctype.h> at the top of the file, instead of
6832 just before isfloat_string; read0 wants to use it too. 6831 just before isfloat_string; read0 wants to use it too.
6833 6832
6834 * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region, 6833 * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region)
6835 Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc 6834 (Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc
6836 fixes. 6835 fixes.
6837 6836
6838 * process.c (Fprocess_status): Use get_process to find the process 6837 * process.c (Fprocess_status): Use get_process to find the process
@@ -6858,10 +6857,10 @@
6858 functions describing the size of the characters of a font. 6857 functions describing the size of the characters of a font.
6859 6858
6860 * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h, 6859 * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h,
6861 window.c, termopts.h, termhooks.h, termchar.h, term.c sysdep.c, 6860 * window.c, termopts.h, termhooks.h, termchar.h, term.c sysdep.c,
6862 scroll.c, screen.c, screen.h, process.c, print.c, minibuf.c, 6861 * scroll.c, screen.c, screen.h, process.c, print.c, minibuf.c,
6863 lisp.h keyboard.c, indent.c, fns.c, emacs.c, dispnew.c, 6862 * lisp.h keyboard.c, indent.c, fns.c, emacs.c, dispnew.c,
6864 dispextern.h, cm.h, alloc.c, config.h.in: Screens are now called 6863 * dispextern.h, cm.h, alloc.c, config.h.in: Screens are now called
6865 frames, to avoid even more confusion with X terminology than 6864 frames, to avoid even more confusion with X terminology than
6866 Emacs's "windows" already cause. All macros, functions, and 6865 Emacs's "windows" already cause. All macros, functions, and
6867 variables renamed; all uses changed. 6866 variables renamed; all uses changed.
@@ -6968,7 +6967,7 @@
6968 6967
6969 * emacs.c (Vkill_emacs_hook): Declare this here; it should have a 6968 * emacs.c (Vkill_emacs_hook): Declare this here; it should have a
6970 docstring, so we might as well DEFVAR it. 6969 docstring, so we might as well DEFVAR it.
6971 (syms_of_emacs): initialize it, and DEFVAR_LISP it with an 6970 (syms_of_emacs): Initialize it, and DEFVAR_LISP it with an
6972 appropriate docstring. 6971 appropriate docstring.
6973 6972
69741992-06-28 Jim Blandy (jimb@pogo.cs.oberlin.edu) 69731992-06-28 Jim Blandy (jimb@pogo.cs.oberlin.edu)
@@ -6997,8 +6996,8 @@
6997 `horizontal split.' 6996 `horizontal split.'
6998 (make_lispy_event, make_lispy_movement, syms_of_keyboard): Uses 6997 (make_lispy_event, make_lispy_movement, syms_of_keyboard): Uses
6999 renamed here. 6998 renamed here.
7000 keyboard.h (Qvertical_split): Extern declaration changed here. 6999 * keyboard.h (Qvertical_split): Extern declaration changed here.
7001 window.c (Fcoordinates_in_window_p): Changed this to return 7000 * window.c (Fcoordinates_in_window_p): Changed this to return
7002 `vertical-line' at the appropriate times, rather than 7001 `vertical-line' at the appropriate times, rather than
7003 `vertical-split'. 7002 `vertical-split'.
7004 7003
@@ -7064,28 +7063,28 @@
7064 the `#ifdef MULTI_SCREEN' conditional. 7063 the `#ifdef MULTI_SCREEN' conditional.
7065 * screen.h [not MULTI_SCREEN] (the_only_screen): extern 7064 * screen.h [not MULTI_SCREEN] (the_only_screen): extern
7066 declaration for it here. 7065 declaration for it here.
7067 [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, SCREEN_DESIRED_GLYPHS, 7066 [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, SCREEN_DESIRED_GLYPHS)
7068 SCREEN_TEMP_GLYPHS, SCREEN_HEIGHT, SCREEN_WIDTH, 7067 (SCREEN_TEMP_GLYPHS, SCREEN_HEIGHT, SCREEN_WIDTH)
7069 SCREEN_NEW_HEIGHT, SCREEN_NEW_WIDTH, SCREEN_CURSOR_X, 7068 (SCREEN_NEW_HEIGHT, SCREEN_NEW_WIDTH, SCREEN_CURSOR_X)
7070 SCREEN_CURSOR_Y, SCREEN_ROOT_WINDOW, SCREEN_INSERT_COST, 7069 (SCREEN_CURSOR_Y, SCREEN_ROOT_WINDOW, SCREEN_INSERT_COST)
7071 SCREEN_DELETE_COST, SCREEN_INSERTN_COST, SCREEN_DELETEN_COST, 7070 (SCREEN_DELETE_COST, SCREEN_INSERTN_COST, SCREEN_DELETEN_COST)
7072 SCREEN_MESSAGE_BUF, SCREEN_SCROLL_BOTTOM_VPOS): Macros changed to 7071 (SCREEN_MESSAGE_BUF, SCREEN_SCROLL_BOTTOM_VPOS): Macros changed to
7073 refer to the_only_screen. 7072 refer to the_only_screen.
7074 * dispnew.c [not MULTI_SCREEN] (one_screen_cursX, 7073 * dispnew.c [not MULTI_SCREEN] (one_screen_cursX)
7075 one_screen_cursY, one_screen_current_glyphs, 7074 (one_screen_cursY, one_screen_current_glyphs)
7076 one_screen_desired_glyphs, one_screen_temp_glyphs, 7075 (one_screen_desired_glyphs, one_screen_temp_glyphs)
7077 delayed_screen_width, delayed_screen_height): Variables 7076 (delayed_screen_width, delayed_screen_height): Variables
7078 deleted; they're all now kept in the_only_screen. 7077 deleted; they're all now kept in the_only_screen.
7079 * xdisp.c [not MULTI_SCREEN] (message_buf): Variable deleted; same 7078 * xdisp.c [not MULTI_SCREEN] (message_buf): Variable deleted; same
7080 fate. 7079 fate.
7081 * term.c [not MULTI_SCREEN] (one_screen_width, one_screen_height): 7080 * term.c [not MULTI_SCREEN] (one_screen_width, one_screen_height):
7082 Variables deleted; same fate. 7081 Variables deleted; same fate.
7083 * screen.h [not MULTI_SCREEN]: extern declarations for the above 7082 * screen.h [not MULTI_SCREEN]: Extern declarations for the above
7084 variables removed. 7083 variables removed.
7085 * window.c [not MULTI_SCREEN] (root_window): Variable deleted. 7084 * window.c [not MULTI_SCREEN] (root_window): Variable deleted.
7086 [not MULTI_SCREEN] (init_window_once): Use SCREEN_ROOT_WINDOW to 7085 [not MULTI_SCREEN] (init_window_once): Use SCREEN_ROOT_WINDOW to
7087 refer to the root window, instead of referring to it directly. 7086 refer to the root window, instead of referring to it directly.
7088 * window.h [not MULTI_SCREEN] (root_window): extern declaration 7087 * window.h [not MULTI_SCREEN] (root_window): Extern declaration
7089 removed. 7088 removed.
7090 * scroll.c [not MULTI_SCREEN] (insert_line_cost, delete_line_cost, 7089 * scroll.c [not MULTI_SCREEN] (insert_line_cost, delete_line_cost,
7091 insert_n_lines_cost, delete_n_lines_cost): Variables deleted; same 7090 insert_n_lines_cost, delete_n_lines_cost): Variables deleted; same
@@ -7093,8 +7092,8 @@
7093 7092
7094 * dispnew.c [not MULTI_SCREEN] (cursX, cursY): Renamed to 7093 * dispnew.c [not MULTI_SCREEN] (cursX, cursY): Renamed to
7095 `one_screen_cursX' and `one_screen_cursY'. 7094 `one_screen_cursX' and `one_screen_cursY'.
7096 * screen.h [not MULTI_SCREEN] (cursX, cursY, SCREEN_CURSOR_X, 7095 * screen.h [not MULTI_SCREEN] (cursX, cursY, SCREEN_CURSOR_X)
7097 SCREEN_CURSOR_Y): extern declarations and macros changed 7096 (SCREEN_CURSOR_Y): Extern declarations and macros changed
7098 accordingly. 7097 accordingly.
7099 7098
7100 * term.c [not MULTI_SCREEN] (screen_width, screen_height): Renamed 7099 * term.c [not MULTI_SCREEN] (screen_width, screen_height): Renamed
@@ -7102,8 +7101,8 @@
7102 conflict with local variables when referenced by the `SCREEN_foo' 7101 conflict with local variables when referenced by the `SCREEN_foo'
7103 macros. 7102 macros.
7104 * screen.h [not MULTI_SCREEN] (screen_width, screen_height): 7103 * screen.h [not MULTI_SCREEN] (screen_width, screen_height):
7105 extern declarations changed accordingly. 7104 Extern declarations changed accordingly.
7106 * termchar.h (screen_width, screen_height): extern declarations 7105 * termchar.h (screen_width, screen_height): Extern declarations
7107 deleted. Everyone should go through the `SCREEN_foo' macros. 7106 deleted. Everyone should go through the `SCREEN_foo' macros.
7108 (SCREEN_WIDTH, SCREEN_HEIGHT): Changed accordingly. 7107 (SCREEN_WIDTH, SCREEN_HEIGHT): Changed accordingly.
7109 7108
@@ -7148,7 +7147,7 @@
7148 * eval.c (Fsignal): Put call to TOTALLY_UNBLOCK_INPUT under the 7147 * eval.c (Fsignal): Put call to TOTALLY_UNBLOCK_INPUT under the
7149 protection of a `#ifdef HAVE_X_WINDOWS' conditional. 7148 protection of a `#ifdef HAVE_X_WINDOWS' conditional.
7150 7149
7151 * keyboard.c (kbd_buffer_get_event): Expect *mouse_position_hook 7150 * keyboard.c (kbd_buffer_get_event): Expect *mouse_position_hook
7152 to return the timestamp as an unsigned long, not a lisp_Object. 7151 to return the timestamp as an unsigned long, not a lisp_Object.
7153 This matches the change made to `struct input_event'. 7152 This matches the change made to `struct input_event'.
7154 (make_lispy_movement): Change argument TIME to an unsigned long. 7153 (make_lispy_movement): Change argument TIME to an unsigned long.
@@ -7216,7 +7215,7 @@
7216 7215
72171992-06-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) 72161992-06-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7218 7217
7219 * syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.) 7218 * syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.):
7220 Cast character to unsigned char before indexing. 7219 Cast character to unsigned char before indexing.
7221 7220
72221992-06-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) 72211992-06-19 Jim Blandy (jimb@pogo.cs.oberlin.edu)
@@ -7317,7 +7316,7 @@
7317 7316
7318 * screen.c (Fdelete_screen): Typo in loop looking for new 7317 * screen.c (Fdelete_screen): Typo in loop looking for new
7319 last_nonminibuf_screen - change `screen = XCONS (screens)->cdr` 7318 last_nonminibuf_screen - change `screen = XCONS (screens)->cdr`
7320 to `screens = XCONS (screens)->cdr` 7319 to `screens = XCONS (screens)->cdr`
7321 7320
7322 * xdisp.c (echo_area_display): Don't neglect to draw all the lines 7321 * xdisp.c (echo_area_display): Don't neglect to draw all the lines
7323 of the minibuffer window (or echo area) when a message is being 7322 of the minibuffer window (or echo area) when a message is being
@@ -7572,7 +7571,7 @@
7572 will inhibit spurious redisplays when process input arrives during 7571 will inhibit spurious redisplays when process input arrives during
7573 a sit-for. 7572 a sit-for.
7574 7573
7575 * process.c (Faccept_process_output): Pass zero as read_kbd 7574 * process.c (Faccept_process_output): Pass zero as read_kbd
7576 argument to wait_reading_process_input when PROC is nil, not when 7575 argument to wait_reading_process_input when PROC is nil, not when
7577 PROC is non-nil. 7576 PROC is non-nil.
7578 7577
@@ -7606,7 +7605,7 @@
7606 7605
76071992-05-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) 76061992-05-15 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7608 7607
7609 * ymakefile [defined (__GNUC__) and __GNUC__ > 1]: define 7608 * ymakefile [defined (__GNUC__) and __GNUC__ > 1]: Define
7610 YMF_PASS_LDFLAGS so that it can deal with an empty flags argument. 7609 YMF_PASS_LDFLAGS so that it can deal with an empty flags argument.
7611 7610
7612 * callproc.c (Fcall_process): Under VMS, a nil INFILE argument 7611 * callproc.c (Fcall_process): Under VMS, a nil INFILE argument
@@ -7618,9 +7617,9 @@
76181992-05-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) 76171992-05-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7619 7618
7620 * termhooks.h: Change timestamp from a Lisp_Object to an unsigned 7619 * termhooks.h: Change timestamp from a Lisp_Object to an unsigned
7621 long. 7620 long.
7622 * keyboard.c (kbd_buffer_store_event): We don't have to apply the 7621 * keyboard.c (kbd_buffer_store_event): We don't have to apply the
7623 XINT macro to the timestamp member of the event anymore. 7622 XINT macro to the timestamp member of the event anymore.
7624 7623
7625 * process.c (wait_reading_process_output): Don't turn off polling. 7624 * process.c (wait_reading_process_output): Don't turn off polling.
7626 7625
@@ -7638,7 +7637,7 @@
7638 7637
76391992-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) 76381992-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7640 7639
7641 * callint.c (Fprefix_numeric_value): Value 1 for symbol other than `-'. 7640 * callint.c (Fprefix_numeric_value): Value 1 for symbol other than `-'.
7642 7641
76431992-05-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) 76421992-05-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7644 7643
@@ -7659,7 +7658,7 @@
7659 * process.c (wait_reading_process_input): Make C-g really quit in 7658 * process.c (wait_reading_process_input): Make C-g really quit in
7660 sit-for case. 7659 sit-for case.
7661 7660
7662 * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC. 7661 * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC.
7663 7662
76641992-05-12 Jim Blandy (jimb@pogo.cs.oberlin.edu) 76631992-05-12 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7665 7664
@@ -7725,8 +7724,8 @@
7725 * callint.c (Fcall_interactively): Get symbol's function by 7724 * callint.c (Fcall_interactively): Get symbol's function by
7726 calling indirect_function, instead of just looping. 7725 calling indirect_function, instead of just looping.
7727 * doc.c (Fdocumentation): Same. 7726 * doc.c (Fdocumentation): Same.
7728 * eval.c (Finteractive_p, Fcommandp, do_autoload, Feval, 7727 * eval.c (Finteractive_p, Fcommandp, do_autoload, Feval)
7729 Ffuncall): Same. 7728 (Ffuncall): Same.
7730 * keyboard.c (Fcommand_execute): Same. 7729 * keyboard.c (Fcommand_execute): Same.
7731 7730
7732 * data.c (Fsymbol_function): Name the argument `symbol' instead of 7731 * data.c (Fsymbol_function): Name the argument `symbol' instead of
@@ -7827,9 +7826,9 @@
7827 7826
7828 * syssignal.h (sigpause, sigblock, sigunblock, sigsetmask): Macros 7827 * syssignal.h (sigpause, sigblock, sigunblock, sigsetmask): Macros
7829 removed; they require GCC, and Emacs 19 should compile without GCC. 7828 removed; they require GCC, and Emacs 19 should compile without GCC.
7830 (EMACS_SIGPAUSE, EMACS_SIGBLOCK, EMACS_SIGUNBLOCK, 7829 (EMACS_SIGPAUSE, EMACS_SIGBLOCK, EMACS_SIGUNBLOCK)
7831 EMACS_SIGSETMASK, EMACS_SIGFREE, EMACS_SIGHOLDX, EMACS_SIGBLOCKX, 7830 (EMACS_SIGSETMASK, EMACS_SIGFREE, EMACS_SIGHOLDX, EMACS_SIGBLOCKX)
7832 EMACS_SIGUNBLOCKX, EMACS_SIGPAUSEX): These are new macros that 7831 (EMACS_SIGUNBLOCKX, EMACS_SIGPAUSEX): These are new macros that
7833 don't require GCC, but expand to statements. 7832 don't require GCC, but expand to statements.
7834 * callproc.c (Fcall_process): Use new EMACS_SIG* macros from 7833 * callproc.c (Fcall_process): Use new EMACS_SIG* macros from
7835 syssignal.h. 7834 syssignal.h.
@@ -7904,7 +7903,7 @@
7904 * ymakefile (CC, MAKE): Set these variables from optional macros. 7903 * ymakefile (CC, MAKE): Set these variables from optional macros.
7905 Change all uses of `make' to ${MAKE}. 7904 Change all uses of `make' to ${MAKE}.
7906 7905
7907 * ymakefile: use HAVE_X11 as alias for X11. 7906 * ymakefile: Use HAVE_X11 as alias for X11.
7908 7907
7909 * ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2. 7908 * ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2.
7910 7909
@@ -8214,8 +8213,8 @@
8214 * m/pfa50.h: New file. 8213 * m/pfa50.h: New file.
8215 * process.c (create_process, process_send_signal): Added changes 8214 * process.c (create_process, process_send_signal): Added changes
8216 for m/pfa50.h. 8215 for m/pfa50.h.
8217 * sysdep.c: same. 8216 * sysdep.c: Same.
8218 * unexec.c: same. 8217 * unexec.c: Same.
8219 8218
82201992-03-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) 82191992-03-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
8221 8220
@@ -8365,8 +8364,8 @@
8365 (hfqry, hfskbd): Declare these functions as static before all uses. 8364 (hfqry, hfskbd): Declare these functions as static before all uses.
8366 * unexaix.c (make_hdr, mark_x, copy_text_and_data, copy_sym): 8365 * unexaix.c (make_hdr, mark_x, copy_text_and_data, copy_sym):
8367 Declare as static before all uses. 8366 Declare as static before all uses.
8368 Remove extraneous semicolons from #ifdefs of COFF and XCOFF 8367 Remove extraneous semicolons from #ifdefs of COFF and XCOFF.
8369 (unrelocate_symbols): cast the initializers of t_start and d_start 8368 (unrelocate_symbols): Cast the initializers of t_start and d_start
8370 to ulong. 8369 to ulong.
8371 8370
8372 * s/template.h: Include a clause for the HAVE_TERMIO flag. 8371 * s/template.h: Include a clause for the HAVE_TERMIO flag.
@@ -8418,8 +8417,8 @@
8418 8417
8419 * sysdep.c (reset_sys_modes): Doc fix. 8418 * sysdep.c (reset_sys_modes): Doc fix.
8420 8419
8421 * keyboard.c (sigfree, sigholdx, sigblockx, sigunblockx, 8420 * keyboard.c (sigfree, sigholdx, sigblockx, sigunblockx)
8422 sigpausex): Definitions moved to syssignal.h. 8421 (sigpausex): Definitions moved to syssignal.h.
8423 8422
8424 * dispnew.c: Doc fix. 8423 * dispnew.c: Doc fix.
8425 8424
@@ -8502,14 +8501,14 @@
8502 (store_screen_param): If the value of the minibuffer parameter is 8501 (store_screen_param): If the value of the minibuffer parameter is
8503 a window, try to make it the surrogate minibuffer window. 8502 a window, try to make it the surrogate minibuffer window.
8504 (Qminibuffer): New variable, to support above change. 8503 (Qminibuffer): New variable, to support above change.
8505 (syms_of_screen): initialize and staticpro it. 8504 (syms_of_screen): Initialize and staticpro it.
8506 8505
8507 * m/tad68k.h: New file. 8506 * m/tad68k.h: New file.
8508 8507
8509 * fileio.c (Ffile_accessible_directory_p): New function. 8508 * fileio.c (Ffile_accessible_directory_p): New function.
8510 (syms_of_fileio): defsubr it. 8509 (syms_of_fileio): defsubr it.
8511 * callproc.c: #include <errno.h>. 8510 * callproc.c: #include <errno.h>.
8512 (child_setup): Accept yet another argument, current_dir. 8511 (child_setup): Accept yet another argument, current_dir.
8513 Don't try to report an error here if current_dir is inaccessible; 8512 Don't try to report an error here if current_dir is inaccessible;
8514 this function is called in a vforking process. Just have the 8513 this function is called in a vforking process. Just have the
8515 process exit with an error code. 8514 process exit with an error code.
@@ -8563,7 +8562,7 @@
8563 8562
85641992-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) 85631992-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8565 8564
8566 * m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted. 8565 * m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted.
8567 8566
85681992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) 85671992-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
8569 8568
@@ -8576,12 +8575,12 @@
8576 8575
8577 * keyboard.h: New file, for external declarations used in 8576 * keyboard.h: New file, for external declarations used in
8578 processing keyboard input and events. 8577 processing keyboard input and events.
8579 * lisp.h (Qmode_line, Qvertical_split, num_input_chars, 8578 * lisp.h (Qmode_line, Qvertical_split, num_input_chars)
8580 poll_suppress_count): Extern declarations moved to keyboard.h. 8579 (poll_suppress_count): Extern declarations moved to keyboard.h.
8581 * keyboard.c: #include "keyboard.h". 8580 * keyboard.c: #include "keyboard.h".
8582 (Qvscrollbar_par, Qvslider_part, Qvthumbup_part, 8581 (Qvscrollbar_par, Qvslider_part, Qvthumbup_part)
8583 Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, 8582 (Qvthumbdown_part, Qhscrollbar_part, Qhslider_part)
8584 Qhthumbleft_part, Qhthumbright_part): Moved declarations here from 8583 (Qhthumbleft_part, Qhthumbright_part): Moved declarations here from
8585 xfns.c, so they're with the other event heading symbols. 8584 xfns.c, so they're with the other event heading symbols.
8586 * eval.c: #include "keyboard.h". 8585 * eval.c: #include "keyboard.h".
8587 * ymakefile (callint.o, keyboard.o, keymap.o, xfns.o, eval.o): 8586 * ymakefile (callint.o, keyboard.o, keymap.o, xfns.o, eval.o):
@@ -8605,13 +8604,13 @@
8605 Vmouse_screen_part. 8604 Vmouse_screen_part.
8606 (syms_of_xterm): Changed accordingly. 8605 (syms_of_xterm): Changed accordingly.
8607 8606
8608 * keyboard.h (EVENT_HAS_PARAMETERS, EVENT_HEAD, EVENT_WINDOW, 8607 * keyboard.h (EVENT_HAS_PARAMETERS, EVENT_HEAD, EVENT_WINDOW)
8609 EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN, 8608 (EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN)
8610 EVENT_TIMESTAMP, EVENT_HEAD_UNMODIFIED, EVENT_HEAD_KIND): New 8609 (EVENT_TIMESTAMP, EVENT_HEAD_UNMODIFIED, EVENT_HEAD_KIND): New
8611 macros to recognize and access events that have parameters, like 8610 macros to recognize and access events that have parameters, like
8612 mouse events. 8611 mouse events.
8613 * keyboard.c (read_char, echo_char, Fmouse_click_p, 8612 * keyboard.c (read_char, echo_char, Fmouse_click_p)
8614 read_key_sequence): Use them. 8613 (read_key_sequence): Use them.
8615 * keymap.c: #include "keyboard.h". 8614 * keymap.c: #include "keyboard.h".
8616 (access_keymap, store_in_keymap, Fsingle_key_description): Use the 8615 (access_keymap, store_in_keymap, Fsingle_key_description): Use the
8617 macros from keyboard.h. 8616 macros from keyboard.h.
@@ -8674,11 +8673,11 @@
8674 causes the window to pop to the front every time a message 8673 causes the window to pop to the front every time a message
8675 appears, which isn't desirable. 8674 appears, which isn't desirable.
8676 8675
8677 * screen.c (Fselect_screen, Fdelete_screen, Fset_mouse_position, 8676 * screen.c (Fselect_screen, Fdelete_screen, Fset_mouse_position)
8678 Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen, 8677 (Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen)
8679 Fdeiconify_screen, Fscreen_parameters, Fmodify_screen_parameters, 8678 (Fdeiconify_screen, Fscreen_parameters, Fmodify_screen_parameters)
8680 Fset_screen_height, Fset_screen_width, Fset_screen_size, 8679 (Fset_screen_height, Fset_screen_width, Fset_screen_size)
8681 Fset_screen_position): Use SCREEN_IS_X macro instead of testing 8680 (Fset_screen_position): Use SCREEN_IS_X macro instead of testing
8682 for output_x_window. 8681 for output_x_window.
8683 * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same. 8682 * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same.
8684 8683
@@ -8988,7 +8987,7 @@
8988 8987
89891991-11-26 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 89881991-11-26 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
8990 8989
8991 * search.c: need to include sys/types.h because of recent mod to 8990 * search.c: Need to include sys/types.h because of recent mod to
8992 regex.h. 8991 regex.h.
8993 8992
89941991-11-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) 89931991-11-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -9038,13 +9037,13 @@
9038 (Flive_screen_p): New lisp predicate. 9037 (Flive_screen_p): New lisp predicate.
9039 (syms_of_screen): Initialize, staticpro, and defsubr the lot. 9038 (syms_of_screen): Initialize, staticpro, and defsubr the lot.
9040 * dispnew.c (Fredraw_screen): Use CHECK_LIVE_SCREEN. 9039 * dispnew.c (Fredraw_screen): Use CHECK_LIVE_SCREEN.
9041 * screen.c (Fscreen_root_window, Fscreen_selected_window, 9040 * screen.c (Fscreen_root_window, Fscreen_selected_window)
9042 Fnext_screen, Fset_mouse_position, Frestore_screen_configuration, 9041 (Fnext_screen, Fset_mouse_position, Frestore_screen_configuration)
9043 Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen, 9042 (Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen)
9044 Fdeiconify_screen, Fscreen_visible_p, Fredirect_screen_focus, 9043 (Fdeiconify_screen, Fscreen_visible_p, Fredirect_screen_focus)
9045 Fscreen_focus, Fmodify_screen_parameters, Fset_screen_height, 9044 (Fscreen_focus, Fmodify_screen_parameters, Fset_screen_height)
9046 Fset_screen_width, Fset_screen_size, Fset_screen_position, 9045 (Fset_screen_width, Fset_screen_size, Fset_screen_position)
9047 Fselect_screen): Use CHECK_LIVE_SCREEN. 9046 (Fselect_screen): Use CHECK_LIVE_SCREEN.
9048 * window.c (Fwindow_at, Fcurrent_window_configuration): Use 9047 * window.c (Fwindow_at, Fcurrent_window_configuration): Use
9049 CHECK_LIVE_SCREEN. 9048 CHECK_LIVE_SCREEN.
9050 * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use 9049 * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use
@@ -9131,8 +9130,8 @@
9131 screen's only window is a minibuffer, aka a "minibuffer screen" or 9130 screen's only window is a minibuffer, aka a "minibuffer screen" or
9132 a "minibuffer-only" screen. 9131 a "minibuffer-only" screen.
9133 * dispnew.c (change_screen_size): Use it. 9132 * dispnew.c (change_screen_size): Use it.
9134 * screen.c (Fselect_screen, next_screen, prev_screen, 9133 * screen.c (Fselect_screen, next_screen, prev_screen)
9135 Fdelete_screen): Use it. 9134 (Fdelete_screen): Use it.
9136 * window.c (Fdisplay_buffer): Use it. 9135 * window.c (Fdisplay_buffer): Use it.
9137 9136
9138 * screen.c (next_screen, prev_screen): Make MINIBUF a lisp 9137 * screen.c (next_screen, prev_screen): Make MINIBUF a lisp
@@ -9229,7 +9228,7 @@
9229 (pixel_to_glyph_coords, construct_mouse_click, 9228 (pixel_to_glyph_coords, construct_mouse_click,
9230 note_mouse_position, XTmouse_position): Put these all on the same 9229 note_mouse_position, XTmouse_position): Put these all on the same
9231 page. 9230 page.
9232 (XTread_socket): case MotionNotify, call note_mouse_position with 9231 (XTread_socket): Case MotionNotify, call note_mouse_position with
9233 the right args; don't call pixel_to_glyph_translation. 9232 the right args; don't call pixel_to_glyph_translation.
9234 (x_term_init): Set mouse_position_hook instead of 9233 (x_term_init): Set mouse_position_hook instead of
9235 mouse_tracking_enable_hook. 9234 mouse_tracking_enable_hook.
@@ -9313,7 +9312,7 @@
9313 * keyboard.c (kbd_buffer_read_char): Renamed to 9312 * keyboard.c (kbd_buffer_read_char): Renamed to
9314 kbd_buffer_get_event, for consistency with kbd_buffer_store_event. 9313 kbd_buffer_get_event, for consistency with kbd_buffer_store_event.
9315 9314
9316 * window.c (Fwindow_at): modified to take the coordinates as a 9315 * window.c (Fwindow_at): Modified to take the coordinates as a
9317 pair, not a two-element list, for ease of use and compatibility 9316 pair, not a two-element list, for ease of use and compatibility
9318 with events. Make SCREEN argument second and optional. 9317 with events. Make SCREEN argument second and optional.
9319 (Fcoordinates_in_window_p): Modified to take and return the 9318 (Fcoordinates_in_window_p): Modified to take and return the
@@ -9329,7 +9328,7 @@
9329 * window.c (coordinates_in_window): Make it static. 9328 * window.c (coordinates_in_window): Make it static.
9330 9329
9331 * window.c (Flocate_window_from_coordinates): Renamed to 9330 * window.c (Flocate_window_from_coordinates): Renamed to
9332 Fwindow_at. 9331 Fwindow_at.
9333 (syms_of_window): Adjusted. 9332 (syms_of_window): Adjusted.
9334 * lisp.h: Adjusted to say so. 9333 * lisp.h: Adjusted to say so.
9335 9334
@@ -9396,8 +9395,8 @@
9396 last_event_timestamp. 9395 last_event_timestamp.
9397 * xselect.c (mouse_timestamp): Don't use this anymore. 9396 * xselect.c (mouse_timestamp): Don't use this anymore.
9398 (last_event_timestamp): Use this instead. 9397 (last_event_timestamp): Use this instead.
9399 (Fx_own_selection, Fx_own_clipboard, Fx_get_selection, 9398 (Fx_own_selection, Fx_own_clipboard, Fx_get_selection)
9400 Fx_get_clipboard): Use last_event_timestamp instead of 9399 (Fx_get_clipboard): Use last_event_timestamp instead of
9401 mouse_timestamp. 9400 mouse_timestamp.
9402 9401
9403 * xdisp.c (redisplay): Don't pass extra arguments to 9402 * xdisp.c (redisplay): Don't pass extra arguments to
@@ -9498,9 +9497,9 @@
94981991-08-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 94971991-08-15 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9499 9498
9500 * bytecode.c (Qbyte_code_meter): New. 9499 * bytecode.c (Qbyte_code_meter): New.
9501 (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase, 9500 (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase)
9502 Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil, 9501 (Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil)
9503 BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New 9502 (BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New
9504 byte codes. 9503 byte codes.
9505 (Fbyte_code): Implemented new codes listed above. Added code to 9504 (Fbyte_code): Implemented new codes listed above. Added code to
9506 count how many times a function is called. 9505 count how many times a function is called.
@@ -9574,7 +9573,7 @@
9574 * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes 9573 * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes
9575 to process.c. 9574 to process.c.
9576 (syms_of_eval): Initialize and staticpro above. 9575 (syms_of_eval): Initialize and staticpro above.
9577 * lisp.h: added extern declaration for above. 9576 * lisp.h: Added extern declaration for above.
9578 9577
95791991-08-10 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 95781991-08-10 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9580 9579
@@ -9616,7 +9615,7 @@
9616 (this_filter, filter_process, filter_string): Variables now 9615 (this_filter, filter_process, filter_string): Variables now
9617 unnecessary. 9616 unnecessary.
9618 9617
9619 * xfns.c (Fx_get_resource): Take the screen name as an optional 9618 * xfns.c (Fx_get_resource): Take the screen name as an optional
9620 argument and look up resources using the name of the screen as 9619 argument and look up resources using the name of the screen as
9621 part of the key. 9620 part of the key.
9622 [not HAVE_X11] (Fx_get_default): Take optional 2nd arg NAME and 9621 [not HAVE_X11] (Fx_get_default): Take optional 2nd arg NAME and
@@ -9634,8 +9633,8 @@
9634 (Fx_create_screen): Don't use it here. 9633 (Fx_create_screen): Don't use it here.
9635 9634
9636 * keyboard.c (classify_object): #if 0'd function finally removed. 9635 * keyboard.c (classify_object): #if 0'd function finally removed.
9637 * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar, 9636 * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar)
9638 Qexited_window, Qredraw_screen): Unused, so removed. 9637 (Qexited_window, Qredraw_screen): Unused, so removed.
9639 (syms_of_xterm): Don't bother to initialize above. 9638 (syms_of_xterm): Don't bother to initialize above.
9640 9639
9641 * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for 9640 * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for
@@ -9731,13 +9730,13 @@
9731 9730
97321991-07-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 97311991-07-26 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
9733 9732
9734 * keyboard.c (command_loop_1): pass both arguments to 9733 * keyboard.c (command_loop_1): Pass both arguments to
9735 Fselect_screen. 9734 Fselect_screen.
9736 9735
9737 * screen.c (make_screen): Divide the size by sizeof (Lisp_Object) 9736 * screen.c (make_screen): Divide the size by sizeof (Lisp_Object)
9738 before passing it to Fmake_vector. 9737 before passing it to Fmake_vector.
9739 9738
9740 * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed 9739 * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): Fixed
9741 definition. 9740 definition.
9742 9741
9743 * screen.c: #include termhooks.h and therefore stdio.h. 9742 * screen.c: #include termhooks.h and therefore stdio.h.
@@ -9751,7 +9750,7 @@
9751 (Fselect_window): Removed grunge to support minibuffer hack. 9750 (Fselect_window): Removed grunge to support minibuffer hack.
9752 * screen.h (struct screen): Added focus_screen member, and 9751 * screen.h (struct screen): Added focus_screen member, and
9753 accessor for it. 9752 accessor for it.
9754 * alloc.c (mark_object): mark focus_screen member of Lisp_Screens. 9753 * alloc.c (mark_object): Mark focus_screen member of Lisp_Screens.
9755 * xterm.c (XTscreen_rehighlight): Use the focus_screen member to 9754 * xterm.c (XTscreen_rehighlight): Use the focus_screen member to
9756 decide which screen to highlight. 9755 decide which screen to highlight.
9757 (XTread_socket): Use focus_screen when enqueuing keystrokes. 9756 (XTread_socket): Use focus_screen when enqueuing keystrokes.
@@ -9940,7 +9939,7 @@
9940 [HAVE_SHM] (init_alloc_once): Initialize pure_size here. 9939 [HAVE_SHM] (init_alloc_once): Initialize pure_size here.
9941 * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size, 9940 * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size,
9942 instead of PURESIZE. 9941 instead of PURESIZE.
9943 (pure_size): extern declaration added here. 9942 (pure_size): Extern declaration added here.
9944 * ymakefile: Added puresize.h to dependencies for alloc.c and 9943 * ymakefile: Added puresize.h to dependencies for alloc.c and
9945 data.c's .o files. 9944 data.c's .o files.
9946 9945
@@ -10020,16 +10019,16 @@
10020 * minibuf.c (assoc_for_completion): New function. 10019 * minibuf.c (assoc_for_completion): New function.
10021 (do_completion): Use that to check for exact match. 10020 (do_completion): Use that to check for exact match.
10022 10021
10023 * minibuf.c (Ftry_completion): Fix handling of matches aside from 10022 * minibuf.c (Ftry_completion): Fix handling of matches aside from
10024 case. If ignoring case, and all else equal, try to preserve the 10023 case. If ignoring case, and all else equal, try to preserve the
10025 case of the characters in the input. 10024 case of the characters in the input.
10026 10025
10027 * process.c (status_notify): GCPRO tail. 10026 * process.c (status_notify): GCPRO tail.
10028 10027
10029 * sysdep.c (creat_copy_attrs, rename_sans_version): Always set 10028 * sysdep.c (creat_copy_attrs, rename_sans_version): Always set
10030 protection to O:REWD when creating file. Added new function 10029 protection to O:REWD when creating file. Added new function
10031 rename_sans_version, which strips the version number from the target 10030 rename_sans_version, which strips the version number from the target
10032 filename, renames the temporary file to this filename, and then 10031 filename, renames the temporary file to this filename, and then
10033 sets the file protection of this new file to be the same as the file 10032 sets the file protection of this new file to be the same as the file
10034 being edited. 10033 being edited.
10035 10034
@@ -10060,8 +10059,8 @@
10060 * sysdep.c: If HAVE_TERMIOS is not defined, define tcgetattr in 10059 * sysdep.c: If HAVE_TERMIOS is not defined, define tcgetattr in
10061 terms of the TIOCGETP ioctl. 10060 terms of the TIOCGETP ioctl.
10062 (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR. 10061 (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR.
10063 (discard_tty_input, init_baud_rate, child_setup_tty, 10062 (discard_tty_input, init_baud_rate, child_setup_tty)
10064 init_sys_modes, tabs_safe_p, reset_sys_modes): 10063 (init_sys_modes, tabs_safe_p, reset_sys_modes):
10065 Use tcgetattr, and if HAVE_TCATTR, use tcsetattr. 10064 Use tcgetattr, and if HAVE_TCATTR, use tcsetattr.
10066 10065
100671991-07-13 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) 100661991-07-13 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
@@ -10291,7 +10290,7 @@
10291 10290
102921991-06-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 102911991-06-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
10293 10292
10294 * buffer.h (struct buffer_text, struct buffer): small change to 10293 * buffer.h (struct buffer_text, struct buffer): Small change to
10295 comments. 10294 comments.
10296 10295
10297 * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to 10296 * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to
@@ -10318,7 +10317,7 @@
10318 * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so 10317 * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so
10319 that we always process/toss events we don't want to return. 10318 that we always process/toss events we don't want to return.
10320 10319
10321 * screen.c (Fselect_screen): Call Ffocus_screen instead of 10320 * screen.c (Fselect_screen): Call Ffocus_screen instead of
10322 x_new_selected_screen, which doesn't exist anymore. 10321 x_new_selected_screen, which doesn't exist anymore.
10323 10322
10324 * xfns.c (Ffocus_screen): Declare the type of the SCREEN argument. 10323 * xfns.c (Ffocus_screen): Declare the type of the SCREEN argument.
@@ -10466,8 +10465,8 @@
10466 that; otherwise, the while loop lied. 10465 that; otherwise, the while loop lied.
10467 (make_lispy_event): Added code to produce mouse movement events. 10466 (make_lispy_event): Added code to produce mouse movement events.
10468 (init_keyboard): Clear the mouse movement buffer. 10467 (init_keyboard): Clear the mouse movement buffer.
10469 (Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen, 10468 (Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen)
10470 Qexited_window, Qexited_scrollbar): Removed extern declarations 10469 (Qexited_window, Qexited_scrollbar): Removed extern declarations
10471 for these, since they're no longer generated. 10470 for these, since they're no longer generated.
10472 (syms_of_keyboard): Initialize and staticpro Qmouse_movement, 10471 (syms_of_keyboard): Initialize and staticpro Qmouse_movement,
10473 remove DEFVAR_LISP for Vignore_mouse_events. 10472 remove DEFVAR_LISP for Vignore_mouse_events.
@@ -10531,9 +10530,9 @@
10531 * keyboard.c (do_mouse_tracking): Define this variable, which 10530 * keyboard.c (do_mouse_tracking): Define this variable, which
10532 controls whether kbd_buffer_read_char will ignore button up and 10531 controls whether kbd_buffer_read_char will ignore button up and
10533 mouse movement events. 10532 mouse movement events.
10534 * termhooks.h: Declare do_mouse_tracking here. 10533 * termhooks.h: Declare do_mouse_tracking here.
10535 10534
10536 * xterm.h (STANDARD_EVENT_SET): New constant, giving the event 10535 * xterm.h (STANDARD_EVENT_SET): New constant, giving the event
10537 mask all the windows use. 10536 mask all the windows use.
10538 10537
10539 * xfns.c (Vx_send_mouse_movement_events): Removed this variable; 10538 * xfns.c (Vx_send_mouse_movement_events): Removed this variable;
@@ -10644,10 +10643,10 @@
10644 10643
106451991-04-16 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) 106441991-04-16 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
10646 10645
10647 * bytecode.c (PUSH): Alliant can't be bothered to implement the 10646 * bytecode.c (PUSH): Alliant can't be bothered to implement the
10648 preincrement operator right, so use a comma. 10647 preincrement operator right, so use a comma.
10649 10648
10650 * print.c (syms_of_print): staticpro Qexternal_debugging_output. 10649 * print.c (syms_of_print): staticpro Qexternal_debugging_output.
10651 10650
10652 * editfns.c (clip_to_bounds): No longer static - used in window.c. 10651 * editfns.c (clip_to_bounds): No longer static - used in window.c.
10653 * window.c (unshow_buffer): Use clip_to_bounds to make sure we 10652 * window.c (unshow_buffer): Use clip_to_bounds to make sure we
@@ -10677,7 +10676,7 @@
10677 * eval.c (Fcondition_case): Initialize the `handler_list' member 10676 * eval.c (Fcondition_case): Initialize the `handler_list' member
10678 of the catchtag. 10677 of the catchtag.
10679 10678
10680 * keyboard.c (read_char): reset recent_keys_index when it is 10679 * keyboard.c (read_char): Reset recent_keys_index when it is
10681 greater than OR EQUAL to the number of elements in recent_keys, 10680 greater than OR EQUAL to the number of elements in recent_keys,
10682 stupid. 10681 stupid.
10683 10682
@@ -10814,9 +10813,9 @@
10814 10813
108151991-03-19 Jim Blandy (jimb@churchy.ai.mit.edu) 108141991-03-19 Jim Blandy (jimb@churchy.ai.mit.edu)
10816 10815
10817 * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char, 10816 * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char)
10818 read_key_sequence, Fexecute_extended_command, Fset_input_mode, 10817 (read_key_sequence, Fexecute_extended_command, Fset_input_mode)
10819 init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp) 10818 (init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp)
10820 instead of XSETINT (var, exp) in those cases where var is not 10819 instead of XSETINT (var, exp) in those cases where var is not
10821 known to already be a Lisp_Int. 10820 known to already be a Lisp_Int.
10822 * search.c (skip_chars): Same. 10821 * search.c (skip_chars): Same.
@@ -10833,8 +10832,8 @@
10833 10832
108341991-03-17 Jim Blandy (jimb@geech.ai.mit.edu) 108331991-03-17 Jim Blandy (jimb@geech.ai.mit.edu)
10835 10834
10836 * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map, 10835 * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map)
10837 append_key): Minor typos and brainos corrected. 10836 (append_key): Minor typos and brainos corrected.
10838 10837
10839 * keyboard.c (read_char): Removed code to find the vector in a 10838 * keyboard.c (read_char): Removed code to find the vector in a
10840 (kbd-macro . VECTOR) - style macro, since the macro is represented 10839 (kbd-macro . VECTOR) - style macro, since the macro is represented
@@ -10895,9 +10894,9 @@
10895 * commands.h, lisp.h: Changed global_map and current_global_map to 10894 * commands.h, lisp.h: Changed global_map and current_global_map to
10896 be Lisp_Objects, not Lisp_Vectors. 10895 be Lisp_Objects, not Lisp_Vectors.
10897 keyboard.c (read_key_sequence): Same. 10896 keyboard.c (read_key_sequence): Same.
10898 keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key, 10897 keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key)
10899 Fuse_global_map, Fwhere_is_internal, describe_buffer_bindings, 10898 (Fuse_global_map, Fwhere_is_internal, describe_buffer_bindings)
10900 syms_of_keymap): Same. 10899 (syms_of_keymap): Same.
10901 10900
10902 * keymap.c (Fdefine_key): Braino: increment idx and clear metized 10901 * keymap.c (Fdefine_key): Braino: increment idx and clear metized
10903 flag even when the element of the key sequence isn't a character. 10902 flag even when the element of the key sequence isn't a character.
@@ -11041,9 +11040,9 @@
11041 11040
110421991-02-23 Jim Blandy (jimb@pogo.ai.mit.edu) 110411991-02-23 Jim Blandy (jimb@pogo.ai.mit.edu)
11043 11042
11044 * keyboard.c: (recent_keys, this_command_keys, 11043 * keyboard.c (recent_keys, this_command_keys)
11045 menu_prompt_more_char, help_char, last_command_char, quit_char, 11044 (menu_prompt_more_char, help_char, last_command_char, quit_char)
11046 last_input_char): Changed to Lisp_Objects, so we can use function 11045 (last_input_char): Changed to Lisp_Objects, so we can use function
11047 keys for them. 11046 keys for them.
11048 (Vglobal_function_map): Variable deleted. 11047 (Vglobal_function_map): Variable deleted.
11049 (echo_char): Echo function keys too. The argument C is now a 11048 (echo_char): Echo function keys too. The argument C is now a
@@ -11175,7 +11174,7 @@
11175 longer convert X keycodes to symbols in this section of code. 11174 longer convert X keycodes to symbols in this section of code.
11176 (x_convert_modifiers): New function to turn the X modifier bits 11175 (x_convert_modifiers): New function to turn the X modifier bits
11177 into struct input_event modifier bits. 11176 into struct input_event modifier bits.
11178 (encode_mouse_button): removed, since this work isn't done here 11177 (encode_mouse_button): Removed, since this work isn't done here
11179 anymore. 11178 anymore.
11180 (Vx_send_mouse_movement_events): Add an extern declaration for 11179 (Vx_send_mouse_movement_events): Add an extern declaration for
11181 this. 11180 this.
@@ -11193,7 +11192,7 @@
11193 * xterm.c (construct_mouse_event): Construct a struct input_event 11192 * xterm.c (construct_mouse_event): Construct a struct input_event
11194 instead of a lispy event. 11193 instead of a lispy event.
11195 11194
11196 * screen.c (coordinates_in_window): Added explanatory comment. 11195 * screen.c (coordinates_in_window): Added explanatory comment.
11197 (window_from_coordinates): Change PART, whose returned values are 11196 (window_from_coordinates): Change PART, whose returned values are
11198 dependent on X-windows, to be called MODELINE_P, with appropriate 11197 dependent on X-windows, to be called MODELINE_P, with appropriate
11199 new return values. 11198 new return values.
@@ -11204,7 +11203,7 @@
11204 11203
112051991-02-18 Jim Blandy (jimb@pogo.ai.mit.edu) 112041991-02-18 Jim Blandy (jimb@pogo.ai.mit.edu)
11206 11205
11207 * termhooks.h: Added up_modifier to the enum for modifier bits; 11206 * termhooks.h: Added up_modifier to the enum for modifier bits;
11208 this bit will be applied to mouse events. 11207 this bit will be applied to mouse events.
11209 (struct input_event): Changed specification of non_ascii_keystroke 11208 (struct input_event): Changed specification of non_ascii_keystroke
11210 events to send the function key number instead of a symbol. 11209 events to send the function key number instead of a symbol.
@@ -11231,7 +11230,7 @@
11231 routines which enqueue them can be called from signal handlers, 11230 routines which enqueue them can be called from signal handlers,
11232 and therefore should not cons. 11231 and therefore should not cons.
11233 11232
11234 * keyboard.c: (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Change 11233 * keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Change
11235 these to be of type `struct input_event *'. 11234 these to be of type `struct input_event *'.
11236 (kbd_buffer_store_event): Manipulate struct input_events instead 11235 (kbd_buffer_store_event): Manipulate struct input_events instead
11237 of lisp objects. 11236 of lisp objects.
@@ -11268,7 +11267,7 @@
11268 11267
112691991-02-13 Jim Blandy (jimb@pogo.ai.mit.edu) 112681991-02-13 Jim Blandy (jimb@pogo.ai.mit.edu)
11270 11269
11271 * xterm.c (init_input_symbols): remove the `xk-' prefix from all 11270 * xterm.c (init_input_symbols): Remove the `xk-' prefix from all
11272 the function key symbols, since they're going to be used for 11271 the function key symbols, since they're going to be used for
11273 function keys from all sorts of terminals, not just when running 11272 function keys from all sorts of terminals, not just when running
11274 under X. 11273 under X.
@@ -11322,27 +11321,27 @@
113221991-02-05 Jim Blandy (jimb@geech.ai.mit.edu) 113211991-02-05 Jim Blandy (jimb@geech.ai.mit.edu)
11323 11322
11324 * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h, 11323 * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h,
11325 s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h, 11324 * s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h,
11326 s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h: 11325 * s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h:
11327 Globally replaced INTERRUPTABLE with INTERRUPTIBLE. 11326 Globally replaced INTERRUPTABLE with INTERRUPTIBLE.
11328 11327
11329 * xterm.c (construct_mouse_event): Renamed to 11328 * xterm.c (construct_mouse_event): Renamed to
11330 construct_mouse_click, since there are kinds of mouse events 11329 construct_mouse_click, since there are kinds of mouse events
11331 besides clicks (movement, for example). 11330 besides clicks (movement, for example).
11332 (XTread_socket): rename calls here. 11331 (XTread_socket): Rename calls here.
11333 11332
11334 * xterm.c (mapped_screen_symbol, unmapped_screen_symbol, 11333 * xterm.c (mapped_screen_symbol, unmapped_screen_symbol)
11335 exited_scrollbar_symbol, exited_window_symbol, 11334 (exited_scrollbar_symbol, exited_window_symbol)
11336 redraw_screen_symbol, mouse_moved_symbol): Renamed to 11335 (redraw_screen_symbol, mouse_moved_symbol): Renamed to
11337 Qmapped_screen, Qunmapped_screen, Qexited_scrollbar, 11336 Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
11338 Qexited_window, Qredraw_screen, Qmouse_moved, to agree with naming 11337 Qexited_window, Qredraw_screen, Qmouse_moved, to agree with naming
11339 conventions elsewhere in Emacs. 11338 conventions elsewhere in Emacs.
11340 11339
11341 * xfns.c (text_part_sym, modeline_part_sym, 11340 * xfns.c (text_part_sym, modeline_part_sym)
11342 vertical_scrollbar_sym, vertical_slider_sym, vertical_thumbup_sym, 11341 (vertical_scrollbar_sym, vertical_slider_sym, vertical_thumbup_sym)
11343 vertical_thumbdown_sym, horizontal_scrollbar_sym, 11342 (vertical_thumbdown_sym, horizontal_scrollbar_sym)
11344 horizontal_slider_sym, horizontal_thumbleft_sym, 11343 (horizontal_slider_sym, horizontal_thumbleft_sym)
11345 horizontal_thumbright_sym): Renamed to Qtext_part, Qmodeline_part, 11344 (horizontal_thumbright_sym): Renamed to Qtext_part, Qmodeline_part,
11346 Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part, 11345 Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part,
11347 Qhscrollbar_part, Qhslider_part, Qhthumbleft_part, 11346 Qhscrollbar_part, Qhslider_part, Qhthumbleft_part,
11348 Qhthumbright_part, to agree with the naming conventions elsewhere 11347 Qhthumbright_part, to agree with the naming conventions elsewhere
@@ -11394,7 +11393,7 @@
11394 variables renamed to Vmouse_screen_part, 11393 variables renamed to Vmouse_screen_part,
11395 Vx_send_mouse_movement_events. 11394 Vx_send_mouse_movement_events.
11396 11395
11397 * lread.c (Feval_buffer): function deleted. 11396 * lread.c (Feval_buffer): Function deleted.
11398 (Feval_current_buffer): Removed "#if 0 ... #endif" around this 11397 (Feval_current_buffer): Removed "#if 0 ... #endif" around this
11399 function. 11398 function.
11400 11399
@@ -11419,7 +11418,7 @@
11419 * xterm.h: Added external declaration for x_focus_screen. 11418 * xterm.h: Added external declaration for x_focus_screen.
11420 11419
11421 * search.h: File deleted. 11420 * search.h: File deleted.
11422 * buffer.h: declare searchbuf here instead. 11421 * buffer.h: Declare searchbuf here instead.
11423 11422
11424 * screen.c (Ffocus_screen, Funfocus_screen): Moved these functions 11423 * screen.c (Ffocus_screen, Funfocus_screen): Moved these functions
11425 to xfns.c, since they're x-specific. 11424 to xfns.c, since they're x-specific.
@@ -11471,7 +11470,7 @@
11471 cursor in its filled and hollow forms. 11470 cursor in its filled and hollow forms.
11472 * xterm.h (enum text_cursor_kinds): Added enum for the different 11471 * xterm.h (enum text_cursor_kinds): Added enum for the different
11473 kinds of cursors which might be displayed in a window. 11472 kinds of cursors which might be displayed in a window.
11474 (struct x_display): added member `text_cursor_kind' which says 11473 (struct x_display): Added member `text_cursor_kind' which says
11475 which kind of cursor is currently being displayed in the window, so 11474 which kind of cursor is currently being displayed in the window, so
11476 we can arrange to redraw it effectively. 11475 we can arrange to redraw it effectively.
11477 11476
@@ -11522,7 +11521,7 @@
11522 11521
115231991-01-28 Jim Blandy (jimb@geech.ai.mit.edu) 115221991-01-28 Jim Blandy (jimb@geech.ai.mit.edu)
11524 11523
11525 * ymakefile: noted that callint.o depends on mocklisp.h, 11524 * ymakefile: Noted that callint.o depends on mocklisp.h,
11526 and dired.o on search.h. 11525 and dired.o on search.h.
11527 11526
11528 * environ.h: Deleted - its creation in the first place was misguided. 11527 * environ.h: Deleted - its creation in the first place was misguided.
@@ -11540,7 +11539,7 @@
11540 11539
115411991-01-27 Jim Blandy (jimb@geech.ai.mit.edu) 115401991-01-27 Jim Blandy (jimb@geech.ai.mit.edu)
11542 11541
11543 * lisp.h (struct handler): add poll_suppress_count member, so 11542 * lisp.h (struct handler): Add poll_suppress_count member, so
11544 we can restore poll_suppress_count when we handle an error. 11543 we can restore poll_suppress_count when we handle an error.
11545 * eval.c (struct catchtag): Add it here too, for throws. 11544 * eval.c (struct catchtag): Add it here too, for throws.
11546 (internal_catch, Fcondition_case, internal_condition_case): Record 11545 (internal_catch, Fcondition_case, internal_condition_case): Record
@@ -11569,13 +11568,13 @@
11569 11568
115701991-01-15 Jim Blandy (jimb@geech.ai.mit.edu) 115691991-01-15 Jim Blandy (jimb@geech.ai.mit.edu)
11571 11570
11572 * doc.c (Fsnarf_documentation): handle attaching docstrings to 11571 * doc.c (Fsnarf_documentation): Handle attaching docstrings to
11573 bytecode objects too. 11572 bytecode objects too.
11574 11573
11575 * syntax.h (syntax_spec_code): make external declaration for this 11574 * syntax.h (syntax_spec_code): Make external declaration for this
11576 unsigned char to match the definition in syntax.c. 11575 unsigned char to match the definition in syntax.c.
11577 11576
11578 * indent.c (compute_motion): added comments describing how it 11577 * indent.c (compute_motion): Added comments describing how it
11579 can be used. 11578 can be used.
11580 11579
115811991-01-15 Richard Stallman (rms@mole.ai.mit.edu) 115801991-01-15 Richard Stallman (rms@mole.ai.mit.edu)
@@ -11630,12 +11629,12 @@
11630 11629
116311991-01-12 Jim Blandy (jimb@pogo.ai.mit.edu) 116301991-01-12 Jim Blandy (jimb@pogo.ai.mit.edu)
11632 11631
11633 * dispnew.c (buffer_posn_from_coords): compute_motion starting 11632 * dispnew.c (buffer_posn_from_coords): Compute_motion starting
11634 from bufp[y] instead of counting from the top of the window. 11633 from bufp[y] instead of counting from the top of the window.
11635 11634
116361991-01-11 Richard Mlynarik (mly@pizza.ai.mit.edu) 116351991-01-11 Richard Mlynarik (mly@pizza.ai.mit.edu)
11637 11636
11638 * window.c (window-configuration-p): Needed. Added. 11637 * window.c (window-configuration-p): Needed. Added.
11639 11638
116401991-01-11 Jim Blandy (jimb@churchy.ai.mit.edu) 116391991-01-11 Jim Blandy (jimb@churchy.ai.mit.edu)
11641 11640
@@ -11666,7 +11665,7 @@
11666 11665
11667 * alloc.c (Fmake_byte_code): Flesh out docstring. 11666 * alloc.c (Fmake_byte_code): Flesh out docstring.
11668 11667
11669 * window.c (window_loop): pick the first window correctly, even 11668 * window.c (window_loop): Pick the first window correctly, even
11670 when screen == 0. 11669 when screen == 0.
11671 11670
11672 * dispnew.c (scroll_screen_lines): Don't forget to call 11671 * dispnew.c (scroll_screen_lines): Don't forget to call
@@ -11701,15 +11700,15 @@
11701 highlight_face, since they're part of the interval code, and 11700 highlight_face, since they're part of the interval code, and
11702 shouldn't be installed yet. 11701 shouldn't be installed yet.
11703 11702
11704 * dispnew.c (init_display): calculate_costs expects a screen 11703 * dispnew.c (init_display): Calculate_costs expects a screen
11705 parameter; pass selected_screen, instead of nothing. 11704 parameter; pass selected_screen, instead of nothing.
11706 11705
11707 * search.c (Freplace_match): Protect STRING. 11706 * search.c (Freplace_match): Protect STRING.
11708 * process.c (run_filter): New function. 11707 * process.c (run_filter): New function.
11709 (read_process_output, exec_sentinel): Use run_filter to call the 11708 (read_process_output, exec_sentinel): Use run_filter to call the
11710 process's filter function. 11709 process's filter function.
11711 (status_notify): GCPro MSG. 11710 (status_notify): GCPro MSG.
11712 * process.c (Fopen_network_stream): Protect various args. 11711 * process.c (Fopen_network_stream): Protect various args.
11713 * print.c (Fprin1_to_string, Fprint): Protect OBJ. 11712 * print.c (Fprin1_to_string, Fprint): Protect OBJ.
11714 * lread.c (Feval_region): Check type of B. 11713 * lread.c (Feval_region): Check type of B.
11715 * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2. 11714 * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2.
@@ -11745,12 +11744,12 @@
11745 point directly. 11744 point directly.
11746 * window.c (Fselect_window): Here too. 11745 * window.c (Fselect_window): Here too.
11747 11746
11748 * xdisp.c (redisplay_all_windows): removed static declaration for 11747 * xdisp.c (redisplay_all_windows): Removed static declaration for
11749 this nonexistent function. 11748 this nonexistent function.
11750 11749
117511991-01-04 Jim Blandy (jimb@pogo.ai.mit.edu) 117501991-01-04 Jim Blandy (jimb@pogo.ai.mit.edu)
11752 11751
11753 * window.c (window_loop): neatened up. MINI being non-zero now 11752 * window.c (window_loop): Neatened up. MINI being non-zero now
11754 makes it recognize active minibuffer windows. Iterates properly 11753 makes it recognize active minibuffer windows. Iterates properly
11755 over multiple screens when asked nicely. 11754 over multiple screens when asked nicely.
11756 (Fget_lru_window, Fget_largest_window): SCREENS arguments are now 11755 (Fget_lru_window, Fget_largest_window): SCREENS arguments are now
@@ -11785,35 +11784,35 @@
11785 lines just inserted--old version lost a line. 11784 lines just inserted--old version lost a line.
11786 11785
11787 * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h 11786 * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h
11788 (Ffocus_screen, Funfocus_screen): use Joe's new definitions, and 11787 (Ffocus_screen, Funfocus_screen): Use Joe's new definitions, and
11789 only define these functions ifdef HAVE_X_WINDOWS. 11788 only define these functions ifdef HAVE_X_WINDOWS.
11790 (window_from_coordinates): use next_screen_window instead of 11789 (window_from_coordinates): Use next_screen_window instead of
11791 Fnext_window, so that global minibuffers work. 11790 Fnext_window, so that global minibuffers work.
11792 11791
11793 * lread.c (syms_of_read): Don't forget to defsubr 11792 * lread.c (syms_of_read): Don't forget to defsubr
11794 read-char-exclusive. 11793 read-char-exclusive.
11795 11794
11796 * lisp.h (Fscreenp, Fselect_screen, Ffocus_screen, 11795 * lisp.h (Fscreenp, Fselect_screen, Ffocus_screen)
11797 Funfocus_screen, Fselected_screen, Fwindow_screen, 11796 (Funfocus_screen, Fselected_screen, Fwindow_screen)
11798 Fscreen_root_window, Fscreen_selected_window, Fscreen_list, 11797 (Fscreen_root_window, Fscreen_selected_window, Fscreen_list)
11799 Fnext_screen, Fdelete_screen, Fread_mouse_position, 11798 (Fnext_screen, Fdelete_screen, Fread_mouse_position)
11800 Fset_mouse_position, Fmake_screen_visible, Fmake_screen_invisible, 11799 (Fset_mouse_position, Fmake_screen_visible, Fmake_screen_invisible)
11801 Ficonify_screen, Fdeiconify_screen, Fscreen_visible_p, 11800 (Ficonify_screen, Fdeiconify_screen, Fscreen_visible_p)
11802 Fvisible_screen_list, Fscreen_parameters, 11801 (Fvisible_screen_list, Fscreen_parameters)
11803 Fmodify_screen_parameters, Fscreen_pixel_size, Fscreen_height, 11802 (Fmodify_screen_parameters, Fscreen_pixel_size, Fscreen_height)
11804 Fscreen_width, Fset_screen_height, Fset_screen_width, 11803 (Fscreen_width, Fset_screen_height, Fset_screen_width)
11805 Fset_screen_size, Fset_screen_position, Fcoordinates_in_window_p, 11804 (Fset_screen_size, Fset_screen_position, Fcoordinates_in_window_p)
11806 Flocate_window_from_coordinates, Frubber_band_rectangle): added 11805 (Flocate_window_from_coordinates, Frubber_band_rectangle): Added
11807 extern declarations for all these. 11806 extern declarations for all these.
11808 11807
11809 * lisp.h (Qscreenp): added an extern declaration for this. 11808 * lisp.h (Qscreenp): Added an extern declaration for this.
11810 11809
11811 * lisp.h (DBL_DIG): Added constant for the maximum number of 11810 * lisp.h (DBL_DIG): Added constant for the maximum number of
11812 decimal digits a float could print to. Used in print.c. 11811 decimal digits a float could print to. Used in print.c.
11813 11812
11814 * keymap.c (Fkey_description): Produce pretty descriptions of 11813 * keymap.c (Fkey_description): Produce pretty descriptions of
11815 mouse and window system events too. 11814 mouse and window system events too.
11816 (Fsingle_key_description): signal an error if obj is not a key. 11815 (Fsingle_key_description): Signal an error if obj is not a key.
11817 11816
11818 * data.c (Fkeyp, Qkeyp): Added predicate to recognize things which 11817 * data.c (Fkeyp, Qkeyp): Added predicate to recognize things which
11819 can be bound - this includes keys, symbols (for function keys and 11818 can be bound - this includes keys, symbols (for function keys and
@@ -11827,7 +11826,7 @@
11827 11826
11828 (classify_object): Place the object in read_key_sequence_cmd. 11827 (classify_object): Place the object in read_key_sequence_cmd.
11829 11828
11830 (Fread_key_sequence): recognize that when read_key_sequence 11829 (Fread_key_sequence): Recognize that when read_key_sequence
11831 returns -1 or -2, it's a mouse event or window system event. 11830 returns -1 or -2, it's a mouse event or window system event.
11832 11831
118331991-01-01 Jim Blandy (jimb@pogo.ai.mit.edu) 118321991-01-01 Jim Blandy (jimb@pogo.ai.mit.edu)
@@ -11837,7 +11836,7 @@
11837 (Fdo_auto_save): Don't call run-hooks before it's defined. This 11836 (Fdo_auto_save): Don't call run-hooks before it's defined. This
11838 only happens before emacs is dumped, when loading inc-vers.el. 11837 only happens before emacs is dumped, when loading inc-vers.el.
11839 11838
11840 * eval.c (Fsignal): TOTALLY_UNBLOCK_INPUT here. 11839 * eval.c (Fsignal): TOTALLY_UNBLOCK_INPUT here.
11841 (error): Not here. 11840 (error): Not here.
11842 11841
11843 (Feval): We use argvals[0..5], so declare it to have six elements 11842 (Feval): We use argvals[0..5], so declare it to have six elements
@@ -11855,10 +11854,10 @@
11855 11854
118561990-12-28 Jim Blandy (jimb@geech.ai.mit.edu) 118551990-12-28 Jim Blandy (jimb@geech.ai.mit.edu)
11857 11856
11858 * print.c (print): put obj in a non-register variable so 11857 * print.c (print): Put obj in a non-register variable so
11859 we could gcpro it. Also fixed some syntax errors. 11858 we could gcpro it. Also fixed some syntax errors.
11860 11859
11861 * editfns.c (Fformat): declare nstrings, and declare nstrings and 11860 * editfns.c (Fformat): Declare nstrings, and declare nstrings and
11862 strings in a local block. 11861 strings in a local block.
11863 (Fformat): XFLOAT(args[n]) isn't a float; ->data is. 11862 (Fformat): XFLOAT(args[n]) isn't a float; ->data is.
11864 11863
@@ -11950,7 +11949,7 @@
11950 11949
119511990-12-05 Jim Blandy (jimb@pogo.ai.mit.edu) 119501990-12-05 Jim Blandy (jimb@pogo.ai.mit.edu)
11952 11951
11953 * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING. 11952 * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING.
11954 (cmd_error): Protect TAIL while printing. 11953 (cmd_error): Protect TAIL while printing.
11955 (input_poll_signal, start_polling): Use polling_period. 11954 (input_poll_signal, start_polling): Use polling_period.
11956 (syms_of_keyboard): Initialize it and make it a Lisp var. 11955 (syms_of_keyboard): Initialize it and make it a Lisp var.
@@ -11966,7 +11965,7 @@
11966 11965
11967 * eval.c (Fbacktrace): gcpro TAIL. 11966 * eval.c (Fbacktrace): gcpro TAIL.
11968 * emacs.c (Fkill_emacs): gcpro ARG. 11967 * emacs.c (Fkill_emacs): gcpro ARG.
11969 * editfns.c (Fformat): remove remains of gcpro'd args. 11968 * editfns.c (Fformat): Remove remains of gcpro'd args.
11970 11969
11971 * dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version 11970 * dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version
11972 if CANNOT_DUMP. 11971 if CANNOT_DUMP.
@@ -11986,11 +11985,11 @@
11986 11985
119871990-12-03 Jim Blandy (jimb@geech.ai.mit.edu) 119861990-12-03 Jim Blandy (jimb@geech.ai.mit.edu)
11988 11987
11989 * callproc.c (Fcall_process): change synch_process_pid to 11988 * callproc.c (Fcall_process): Change synch_process_pid to
11990 synch_process_alive, as a general flag that we are waiting for 11989 synch_process_alive, as a general flag that we are waiting for
11991 a synchronous process to die. This obviates the need to block 11990 a synchronous process to die. This obviates the need to block
11992 SIGCHLDs until we know the pid. 11991 SIGCHLDs until we know the pid.
11993 * sysdep.c (wait_for_termination): wait for synch_process_alive to 11992 * sysdep.c (wait_for_termination): Wait for synch_process_alive to
11994 be false. 11993 be false.
11995 11994
11996 * process.c (sigchld_handler): If pid not recognized, look for a 11995 * process.c (sigchld_handler): If pid not recognized, look for a
@@ -12037,13 +12036,13 @@
12037 12036
120381990-11-20 Jim Blandy (jimb@churchy.ai.mit.edu) 120371990-11-20 Jim Blandy (jimb@churchy.ai.mit.edu)
12039 12038
12040 * print.c (Fexternal_debugging_output): added new function which 12039 * print.c (Fexternal_debugging_output): Added new function which
12041 writes a character to stderr, for use when debugging emacs with 12040 writes a character to stderr, for use when debugging emacs with
12042 gdb. 12041 gdb.
12043 12042
120441990-11-14 Jim Blandy (jimb@churchy.ai.mit.edu) 120431990-11-14 Jim Blandy (jimb@churchy.ai.mit.edu)
12045 12044
12046 * dispnew.c (window_change_signal): used to assume that SIGWINCHes 12045 * dispnew.c (window_change_signal): Used to assume that SIGWINCHes
12047 always applied to the currently selected screen. Now it scans the 12046 always applied to the currently selected screen. Now it scans the
12048 list of screens for a screen controlled by termcap, and changes that 12047 list of screens for a screen controlled by termcap, and changes that
12049 screen's size. 12048 screen's size.
@@ -12061,18 +12060,18 @@
12061 12060
12062 * regex.c: Disabled definition of NULL from lisp.h 12061 * regex.c: Disabled definition of NULL from lisp.h
12063 12062
12064 * crt0.c (_start): added static declaration of start1. 12063 * crt0.c (_start): Added static declaration of start1.
12065 12064
12066 * xfns.c: added definition for Vbar_cursor. 12065 * xfns.c: Added definition for Vbar_cursor.
12067 (syms_of_xfns): Added DEFVAR_LISP clause for Vbar_cursor. 12066 (syms_of_xfns): Added DEFVAR_LISP clause for Vbar_cursor.
12068 12067
12069 * xterm.c (XTread_socket): passed &event.xkey instead of &event to 12068 * xterm.c (XTread_socket): Passed &event.xkey instead of &event to
12070 XLookupString, so things will typecheck nicely. 12069 XLookupString, so things will typecheck nicely.
12071 12070
12072 * Globally rewrote all references to Vmouse_buffer to use the 12071 * Globally rewrote all references to Vmouse_buffer to use the
12073 buffer viewed by Vmouse_window instead. 12072 buffer viewed by Vmouse_window instead.
12074 12073
12075 * alloc.c (xmalloc, xrealloc): removed calls to 12074 * alloc.c (xmalloc, xrealloc): Removed calls to
12076 {un,}hold_window_change. The new SIGWINCH-handling code and 12075 {un,}hold_window_change. The new SIGWINCH-handling code and
12077 do_pending_window_change make them unnecessary. 12076 do_pending_window_change make them unnecessary.
12078 12077
@@ -12128,14 +12127,14 @@
12128 12127
121291990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu) 121281990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu)
12130 12129
12131 * indent.c (position_indentation): renamed stray `bf_cur' to 12130 * indent.c (position_indentation): Renamed stray `bf_cur' to
12132 `current_buffer', and old `CharAt' usages to `FETCH_CHAR'. 12131 `current_buffer', and old `CharAt' usages to `FETCH_CHAR'.
12133 * buffer.c (Fbuffer_disable_undo): the symbol object for this 12132 * buffer.c (Fbuffer_disable_undo): The symbol object for this
12134 subroutine was still named Sbuffer_flush_undo, and the symbol's 12133 subroutine was still named Sbuffer_flush_undo, and the symbol's
12135 lisp name was similarly out of date. Renamed both, and added an 12134 lisp name was similarly out of date. Renamed both, and added an
12136 alias in lisp/subr.el . 12135 alias in lisp/subr.el .
12137 12136
12138 * keyboard.c (Fset_input_mode): a `meta_flag' had escaped being 12137 * keyboard.c (Fset_input_mode): A `meta_flag' had escaped being
12139 renamed to `meta_key'. 12138 renamed to `meta_key'.
12140 12139
121411990-10-29 Richard Stallman (rms@mole.ai.mit.edu) 121401990-10-29 Richard Stallman (rms@mole.ai.mit.edu)
@@ -12147,29 +12146,29 @@
12147 12146
121481990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu) 121471990-10-29 Jim Blandy (jimb@pogo.ai.mit.edu)
12149 12148
12150 * window.c (Fset_window_start, window_scroll): renamed stray 12149 * window.c (Fset_window_start, window_scroll): Renamed stray
12151 references to `redo_mode_line' to `update_mode_line'. 12150 references to `redo_mode_line' to `update_mode_line'.
12152 12151
12153 * xdisp.c (decode_mode_spec): renamed stray references to `bf_cur' 12152 * xdisp.c (decode_mode_spec): Renamed stray references to `bf_cur'
12154 and `bf_modified' to `current_buffer' and `MODIFF'. 12153 and `bf_modified' to `current_buffer' and `MODIFF'.
12155 12154
121561990-10-25 Jim Blandy (jimb@pogo.ai.mit.edu) 121551990-10-25 Jim Blandy (jimb@pogo.ai.mit.edu)
12157 12156
12158 * environ.h: file created - contains declarations for users of the 12157 * environ.h: File created - contains declarations for users of the
12159 environment variable list. 12158 environment variable list.
12160 * callproc.c (environ): removed extern declaration of environ, and 12159 * callproc.c (environ): Removed extern declaration of environ, and
12161 included environ.h. 12160 included environ.h.
12162 12161
121631990-10-24 Jim Blandy (jimb@pogo.ai.mit.edu) 121621990-10-24 Jim Blandy (jimb@pogo.ai.mit.edu)
12164 12163
12165 * callproc.c (init_callproc): removed extern declaration of 12164 * callproc.c (init_callproc): Removed extern declaration of
12166 environ - it's already taken care of at the top of the file. 12165 environ - it's already taken care of at the top of the file.
12167 12166
12168 * mocklisp.h: file created - externally declares certain 12167 * mocklisp.h: File created - externally declares certain
12169 functions defined in mocklisp.c. 12168 functions defined in mocklisp.c.
12170 * lisp.h (Fread_buffer, Fread_key_sequence): added extern 12169 * lisp.h (Fread_buffer, Fread_key_sequence): Added extern
12171 declarations for these functions. 12170 declarations for these functions.
12172 * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed 12171 * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): Removed
12173 extern declarations for these functions, included mocklisp.h. 12172 extern declarations for these functions, included mocklisp.h.
12174 Moved external declaration of index to top of file. 12173 Moved external declaration of index to top of file.
12175 12174
@@ -12181,23 +12180,23 @@
12181 12180
121821990-10-23 Jim Blandy (jimb@geech.ai.mit.edu) 121811990-10-23 Jim Blandy (jimb@geech.ai.mit.edu)
12183 12182
12184 * indent.h (last_known_column_point): added extern declaration for 12183 * indent.h (last_known_column_point): Added extern declaration for
12185 this variable. 12184 this variable.
12186 buffer.c (last_known_column_point): removed extern declaration for 12185 * buffer.c (last_known_column_point): Removed extern declaration for
12187 this variable, included indent.h. 12186 this variable, included indent.h.
12188 (Vprin1_to_string_buffer): removed extern declaration - it's 12187 (Vprin1_to_string_buffer): Removed extern declaration - it's
12189 already in lisp.h. 12188 already in lisp.h.
12190 12189
12191 * lisp.h (catchlist, backtrace_list, stack_bottom, 12190 * lisp.h (catchlist, backtrace_list, stack_bottom)
12192 current_global_map): added extern declarations for these 12191 (current_global_map): Added extern declarations for these
12193 variables. 12192 variables.
12194 * alloc.c: removed external declarations for catchlist, 12193 * alloc.c: Removed external declarations for catchlist,
12195 backtrace_list, and stack_bottom, since this file includes 12194 backtrace_list, and stack_bottom, since this file includes
12196 lisp.h. 12195 lisp.h.
12197 * callint.c: (current_global_map): removed extern declaration. 12196 * callint.c (current_global_map): Removed extern declaration.
12198 12197
12199 * search.h: new file - declares searchbuf. 12198 * search.h: New file - declares searchbuf.
12200 * dired.c (Fdirectory_files): removed extern declaration of 12199 * dired.c (Fdirectory_files): Removed extern declaration of
12201 searchbuf, included search.h. 12200 searchbuf, included search.h.
12202 12201
12203 * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'. 12202 * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'.
@@ -12214,10 +12213,10 @@
12214 12213
122151990-10-22 Jim Blandy (jimb@pogo.ai.mit.edu) 122141990-10-22 Jim Blandy (jimb@pogo.ai.mit.edu)
12216 12215
12217 * xdisp.c: added `extern' declaration for command_loop_level. 12216 * xdisp.c: Added `extern' declaration for command_loop_level.
12218 12217
12219 * term.c (term_init): Internal cleanups. 12218 * term.c (term_init): Internal cleanups.
12220 (write_glyphs): renamed argument `start' to `string'. 12219 (write_glyphs): Renamed argument `start' to `string'.
12221 12220
122221990-10-21 Richard Stallman (rms@mole.ai.mit.edu) 122211990-10-21 Richard Stallman (rms@mole.ai.mit.edu)
12223 12222
@@ -12244,7 +12243,7 @@
12244 12243
122451990-10-19 Jim Blandy (jimb@pogo.ai.mit.edu) 122441990-10-19 Jim Blandy (jimb@pogo.ai.mit.edu)
12246 12245
12247 * scroll.c (do_scrolling): allocate queue using alloca instead 12246 * scroll.c (do_scrolling): Allocate queue using alloca instead
12248 of variable-sized arrays. 12247 of variable-sized arrays.
12249 12248
122501990-10-19 Richard Stallman (rms@mole.ai.mit.edu) 122491990-10-19 Richard Stallman (rms@mole.ai.mit.edu)
@@ -12253,10 +12252,10 @@
12253 12252
122541990-10-18 Jim Blandy (jimb@pogo.ai.mit.edu) 122531990-10-18 Jim Blandy (jimb@pogo.ai.mit.edu)
12255 12254
12256 * print.c (internal_with_output_to_temp_buffer): install an 12255 * print.c (internal_with_output_to_temp_buffer): Install an
12257 unwind_protect to make sure the current buffer is restored. 12256 unwind_protect to make sure the current buffer is restored.
12258 12257
12259 * minibuf.c (read_minibuf): call recursive_edit_1 instead of 12258 * minibuf.c (read_minibuf): Call recursive_edit_1 instead of
12260 Frecursive_edit, to support the new command_loop_level 12259 Frecursive_edit, to support the new command_loop_level
12261 arrangement. 12260 arrangement.
12262 12261
@@ -12266,7 +12265,7 @@
12266 * lread.c (openp): Since access returns 0 on success, change that 12265 * lread.c (openp): Since access returns 0 on success, change that
12267 into a 1 before returning it. 12266 into a 1 before returning it.
12268 12267
12269 * lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no 12268 * lisp.h: Deleted DEFSIMPLE and DEFPRED, since they're no
12270 longer used. 12269 longer used.
12271 12270
122721990-10-18 Richard Stallman (rms@mole.ai.mit.edu) 122711990-10-18 Richard Stallman (rms@mole.ai.mit.edu)
@@ -12281,7 +12280,7 @@
12281 12280
122821990-10-18 Jim Blandy (jimb@pogo.ai.mit.edu) 122811990-10-18 Jim Blandy (jimb@pogo.ai.mit.edu)
12283 12282
12284 * keymap.c (Flookup_key): rearranged to use an index into the key 12283 * keymap.c (Flookup_key): Rearranged to use an index into the key
12285 sequence instead of a pointer and a level counter. 12284 sequence instead of a pointer and a level counter.
12286 12285
122871990-10-18 Richard Stallman (rms@mole.ai.mit.edu) 122861990-10-18 Richard Stallman (rms@mole.ai.mit.edu)
@@ -12297,7 +12296,7 @@
12297 12296
122981990-10-17 Jim Blandy (jimb@pogo.ai.mit.edu) 122971990-10-17 Jim Blandy (jimb@pogo.ai.mit.edu)
12299 12298
12300 * keyboard.c (command_loop): made call to command_loop_2 12299 * keyboard.c (command_loop): Made call to command_loop_2
12301 conditional on minibuf_level too (it used to be only conditional 12300 conditional on minibuf_level too (it used to be only conditional
12302 on command_loop_level), since this is what 18.56 and all the other 12301 on command_loop_level), since this is what 18.56 and all the other
12303 functions in Emacs 19 keyboard.c do. 12302 functions in Emacs 19 keyboard.c do.
@@ -12321,7 +12320,7 @@
12321 12320
123221990-10-16 Jim Blandy (jimb@pogo.ai.mit.edu) 123211990-10-16 Jim Blandy (jimb@pogo.ai.mit.edu)
12323 12322
12324 * indent.c (position_indentation): instead of using CharAt, use a 12323 * indent.c (position_indentation): Instead of using CharAt, use a
12325 pointer to scan the buffer - this is faster. 12324 pointer to scan the buffer - this is faster.
12326 12325
12327 * emacs.c (Fdump_emacs): The conditional expression which passes 12326 * emacs.c (Fdump_emacs): The conditional expression which passes
@@ -12351,10 +12350,10 @@
12351 * buffer.c (list_buffers_1): Select the buffer given in 12350 * buffer.c (list_buffers_1): Select the buffer given in
12352 Vstandard_output using Fset_buffer instead of set_buffer_internal. 12351 Vstandard_output using Fset_buffer instead of set_buffer_internal.
12353 12352
12354 * buffer.c (set_buffer_internal): deleted variable swb - it's 12353 * buffer.c (set_buffer_internal): Deleted variable swb - it's
12355 never used. 12354 never used.
12356 12355
12357 * buffer.c (count_modified_buffers): function deleted - it's 12356 * buffer.c (count_modified_buffers): Function deleted - it's
12358 not used anymore. 12357 not used anymore.
12359 12358
123601990-10-11 Jim Blandy (jimb@pogo.ai.mit.edu) 123591990-10-11 Jim Blandy (jimb@pogo.ai.mit.edu)
@@ -12364,7 +12363,7 @@
12364 do not have a DEFVAR_PER_BUFFER, as described in the comments 12363 do not have a DEFVAR_PER_BUFFER, as described in the comments
12365 above buffer_local_flags. 12364 above buffer_local_flags.
12366 12365
12367 * buffer.c (Fget_buffer_create): move initialization of 12366 * buffer.c (Fget_buffer_create): Move initialization of
12368 b->save_length and b->last_window_start to reset_buffer. 12367 b->save_length and b->last_window_start to reset_buffer.
12369 12368
123701990-10-11 Richard Stallman (rms@mole.ai.mit.edu) 123691990-10-11 Richard Stallman (rms@mole.ai.mit.edu)
@@ -12385,7 +12384,7 @@
12385 12384
123861990-10-10 Jim Blandy (jimb@pogo.ai.mit.edu) 123851990-10-10 Jim Blandy (jimb@pogo.ai.mit.edu)
12387 12386
12388 * alloc.c (gc_sweep): only unchain markers that are in a buffer. 12387 * alloc.c (gc_sweep): Only unchain markers that are in a buffer.
12389 12388
123901990-10-10 Mike Rowan (mtr@apple-gunkies) 123891990-10-10 Mike Rowan (mtr@apple-gunkies)
12391 12390
@@ -12394,11 +12393,11 @@
12394 12393
123951990-10-09 Jim Blandy (jimb@churchy.ai.mit.edu) 123941990-10-09 Jim Blandy (jimb@churchy.ai.mit.edu)
12396 12395
12397 * xdist.c: (decode_mode_spec): reworked code to handle %* - it now 12396 * xdist.c (decode_mode_spec): Reworked code to handle %* - it now
12398 goes like `if return else if return else ... return' instead of 12397 goes like `if return else if return else ... return' instead of
12399 using a conditional operator. 12398 using a conditional operator.
12400 12399
12401 * xdist.c: (fmodetrunc): function deleted - no longer used. 12400 * xdist.c (fmodetrunc): Function deleted - no longer used.
12402 12401
124031990-10-09 Richard Stallman (rms@mole.ai.mit.edu) 124021990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
12404 12403
@@ -12427,32 +12426,32 @@
12427 12426
124281990-10-06 Jim Blandy (jimb@pogo.ai.mit.edu) 124271990-10-06 Jim Blandy (jimb@pogo.ai.mit.edu)
12429 12428
12430 * sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'. 12429 * sysdep.c (tabs_safe_p, get_screen_size): Renamed `sg' to `tty'.
12431 12430
12432 * sysdep.c (init_baud_rate): rearranged code for calculating 12431 * sysdep.c (init_baud_rate): Rearranged code for calculating
12433 baud_rate. 12432 baud_rate.
12434 12433
124351990-10-05 Jim Blandy (jimb@pogo.ai.mit.edu) 124341990-10-05 Jim Blandy (jimb@pogo.ai.mit.edu)
12436 12435
12437 * search.c (Freplace_match): used Finsert_buffer_substring instead 12436 * search.c (Freplace_match): Used Finsert_buffer_substring instead
12438 of place and deleted place. 12437 of place and deleted place.
12439 12438
12440 * search.c (place): function removed 12439 * search.c (place): Function removed.
12441 12440
12442 * process.c (count_active_processes): Deleted; not used. 12441 * process.c (count_active_processes): Deleted; not used.
12443 12442
12444 * minibuf.c (read_minibuf): renamed `prefix' argument to `initial'. 12443 * minibuf.c (read_minibuf): Renamed `prefix' argument to `initial'.
12445 12444
124461990-10-01 Jim Blandy (jimb@pogo.ai.mit.edu) 124451990-10-01 Jim Blandy (jimb@pogo.ai.mit.edu)
12447 12446
12448 * lread.c (Fload): renamed `MISSING-OK' to `NOERROR'. 12447 * lread.c (Fload): Renamed `MISSING-OK' to `NOERROR'.
12449 12448
12450 * keyboard.c (describe_map): renamed `keys' to `string'. 12449 * keyboard.c (describe_map): Renamed `keys' to `string'.
12451 12450
12452 * keyboard.c `Vauto_save_interval' unrenamed back to 12451 * keyboard.c `Vauto_save_interval' unrenamed back to
12453 `auto-save-interval'. 12452 `auto-save-interval'.
12454 12453
12455 * keymap.c (Fdefine_key, Flookup_key): renamed arguments called 12454 * keymap.c (Fdefine_key, Flookup_key): Renamed arguments called
12456 `keys' to `key'. 12455 `keys' to `key'.
12457 12456
124581990-10-01 Richard Stallman (rms@mole.ai.mit.edu) 124571990-10-01 Richard Stallman (rms@mole.ai.mit.edu)
@@ -12479,20 +12478,20 @@
12479 * keyboard.c: `auto_save_interval' renamed to 12478 * keyboard.c: `auto_save_interval' renamed to
12480 `Vauto_save_interval', since it *is* a lisp-accessible variable. 12479 `Vauto_save_interval', since it *is* a lisp-accessible variable.
12481 12480
12482 * fileio.c (Fdo_auto_save): call record_auto_save so that 12481 * fileio.c (Fdo_auto_save): Call record_auto_save so that
12483 read_char knows when we've auto-saved. 12482 read_char knows when we've auto-saved.
12484 12483
12485 * keyboard.c (record_auto_save): added function to support the new 12484 * keyboard.c (record_auto_save): Added function to support the new
12486 auto-save conditions. 12485 auto-save conditions.
12487 12486
12488 * keyboard.c (read_char): use num_input_chars and last_auto_save 12487 * keyboard.c (read_char): Use num_input_chars and last_auto_save
12489 instead of keystrokes to decide when to autosave. 12488 instead of keystrokes to decide when to autosave.
12490 12489
12491 * keyboard.c (keystrokes): variable deleted. 12490 * keyboard.c (keystrokes): Variable deleted.
12492 12491
124931990-09-30 Mike Rowan (mtr@spike.ai.mit.edu) 124921990-09-30 Mike Rowan (mtr@spike.ai.mit.edu)
12494 12493
12495 * keyboard.c, alloc.c: added malloc warning code from 12494 * keyboard.c, alloc.c: Added malloc warning code from
12496 18.56. 12495 18.56.
12497 12496
12498 * dispnew.c, xdisp.c: (un)hold_window_change no longer exists; 12497 * dispnew.c, xdisp.c: (un)hold_window_change no longer exists;
@@ -12509,7 +12508,7 @@
12509 12508
12510 * lread.c (Fload): Warn if elc file older than source file. 12509 * lread.c (Fload): Warn if elc file older than source file.
12511 12510
12512 * ymakefile (LIB_X11_LIB): New parameter,default -lX11. 12511 * ymakefile (LIB_X11_LIB): New parameter, default -lX11.
12513 (LIBX): Use that. 12512 (LIBX): Use that.
12514 12513
12515 * Makefile (xmakefile): Delete junk.c at the beginning. 12514 * Makefile (xmakefile): Delete junk.c at the beginning.
@@ -12529,49 +12528,49 @@
12529 12528
125301990-09-28 Jim Blandy (jimb@pogo.ai.mit.edu) 125291990-09-28 Jim Blandy (jimb@pogo.ai.mit.edu)
12531 12530
12532 * fileio.c (Fwrite_region): renamed variable `fd' to `desc' and 12531 * fileio.c (Fwrite_region): Renamed variable `fd' to `desc' and
12533 changed argument to open from `1' to `O_WRONLY'. 12532 changed argument to open from `1' to `O_WRONLY'.
12534 12533
12535 * fileio.c (O_WRONLY): added clause to define this if not already 12534 * fileio.c (O_WRONLY): Added clause to define this if not already
12536 defined. 12535 defined.
12537 12536
12538 * emacs.c (Fdump_emacs): removed a_name variable. 12537 * emacs.c (Fdump_emacs): Removed a_name variable.
12539 12538
12540 * emacs.c (Fkill_emacs): removed code which asked about modified 12539 * emacs.c (Fkill_emacs): Removed code which asked about modified
12541 buffers and running subprocesses. 12540 buffers and running subprocesses.
12542 12541
12543 * editfns.c (Fcurrent_time_string): renamed variable `now' to 12542 * editfns.c (Fcurrent_time_string): Renamed variable `now' to
12544 `current_time'. 12543 `current_time'.
12545 12544
12546 * dispnew.c (update_line): renamed variables `m1' and `m2' to 12545 * dispnew.c (update_line): Renamed variables `m1' and `m2' to
12547 `begmatch' and `endmatch'. 12546 `begmatch' and `endmatch'.
12548 12547
12549 * dispnew.c (update_screen): use preempt_count as a limit instead 12548 * dispnew.c (update_screen): Use preempt_count as a limit instead
12550 of a counter; count with i instead. 12549 of a counter; count with i instead.
12551 12550
12552 * dispnew.c (visible_bell, inverse_video, baud_rate, 12551 * dispnew.c (visible_bell, inverse_video, baud_rate)
12553 Vwindow_system): rearranged comments. 12552 (Vwindow_system): Rearranged comments.
12554 12553
125551990-09-27 Richard Stallman (rms@mole.ai.mit.edu) 125541990-09-27 Richard Stallman (rms@mole.ai.mit.edu)
12556 12555
12557 * emacs.c (main) : Set the DISPLAY environment value when both of 12556 * emacs.c (main) : Set the DISPLAY environment value when both of
12558 MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined. 12557 MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined.
12559 12558
12560 * m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they 12559 * m-convex.h (LIB_STANDARD, LIBS_MACHINE): Remove these, they
12561 cause an unnecessary C1/C2 dependency. 12560 cause an unnecessary C1/C2 dependency.
12562 12561
12563 * m-convex.h (LD_SWITCH_MACHINE): use -e__start to specify 12562 * m-convex.h (LD_SWITCH_MACHINE): Use -e__start to specify
12564 where crt0.c begins. 12563 where crt0.c begins.
12565 12564
12566 * m-convex.h (HAVE_SETSID): define; must call setsid 12565 * m-convex.h (HAVE_SETSID): Define; must call setsid
12567 when creating an inferior with a different controlling tty. 12566 when creating an inferior with a different controlling tty.
12568 * process.c (create_process): rearrange so that HAVE_SETSID 12567 * process.c (create_process): Rearrange so that HAVE_SETSID
12569 will be seen when not under USG. 12568 will be seen when not under USG.
12570 12569
12571 * m-convex.h (S_IFMT etc): define in case of posix compilation. 12570 * m-convex.h (S_IFMT etc): Define in case of posix compilation.
12572 12571
12573 * m-convex.h (FIRST_PTY_LETTER): do it at runtime. 12572 * m-convex.h (FIRST_PTY_LETTER): Do it at runtime.
12574 * unexconvex.c (first_pty_letter): routine to locate lowest pty. 12573 * unexconvex.c (first_pty_letter): Routine to locate lowest pty.
12575 12574
12576 * unexconvex.c: Rewrite so it can cope with thread-local sections. 12575 * unexconvex.c: Rewrite so it can cope with thread-local sections.
12577 12576
@@ -12635,9 +12634,9 @@
12635 12634
126361990-09-03 Mike Rowan (mtr@apple-gunkies) 126351990-09-03 Mike Rowan (mtr@apple-gunkies)
12637 12636
12638 * sysdep.c: added setup_pty from 18.56 12637 * sysdep.c: Added setup_pty from 18.56
12639 12638
12640 * process.c: merged in 18.55->6 changes. Same for process.h 12639 * process.c: Merged in 18.55->6 changes. Same for process.h
12641 12640
12642 globally replaced: 12641 globally replaced:
12643 redisplay_preserving_echo_area -> redisplay_preserve_echo_area 12642 redisplay_preserving_echo_area -> redisplay_preserve_echo_area
@@ -12712,7 +12711,7 @@
12712 free_screen_glyphs now takes screen argument. 12711 free_screen_glyphs now takes screen argument.
12713 12712
12714 * window.c (Fnext_window, Fprevious_window): Fixed typo. New 12713 * window.c (Fnext_window, Fprevious_window): Fixed typo. New
12715 behaviour: mini non-nil implies all_screens if global mini screen 12714 behaviour: mini non-nil implies all_screens if global mini screen
12716 exists, implies current screen only if not. 12715 exists, implies current screen only if not.
12717 (Fdisplay_buffer): Simplification of multi-screen code. 12716 (Fdisplay_buffer): Simplification of multi-screen code.
12718 12717
@@ -12741,7 +12740,7 @@
12741 * xfns.c (x_y_pos): Nuked. Replaced by pixel_to_char_translation 12740 * xfns.c (x_y_pos): Nuked. Replaced by pixel_to_char_translation
12742 and notice_mouse_movment (dispnew.c, xterm.c). 12741 and notice_mouse_movment (dispnew.c, xterm.c).
12743 (Fx_point_coordinates): Also nuked. 12742 (Fx_point_coordinates): Also nuked.
12744 mouse_buffer_offset: New lisp variable. 12743 (mouse_buffer_offset): New lisp variable.
12745 12744
12746 * xterm.c (notice_mouse_movement): Use it in call to 12745 * xterm.c (notice_mouse_movement): Use it in call to
12747 pixel_to_char_translation. 12746 pixel_to_char_translation.
@@ -12760,7 +12759,7 @@
12760 12759
127611990-08-12 Joseph Arceneaux (jla@churchy.ai.mit.edu) 127601990-08-12 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12762 12761
12763 * dispnew.c (pixel_to_char_translation): New algorithm for 12762 * dispnew.c (pixel_to_char_translation): New algorithm for
12764 finding y. 12763 finding y.
12765 12764
12766 * xfns.c (install_*_scrollbar): No more height, width parameters. 12765 * xfns.c (install_*_scrollbar): No more height, width parameters.
@@ -12781,7 +12780,7 @@
12781 * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape, 12780 * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape,
12782 setting new variable grabbed_cursor. Return Qt if successful, 12781 setting new variable grabbed_cursor. Return Qt if successful,
12783 Qnil otherwise. 12782 Qnil otherwise.
12784 (Fx_ungrab_pointer): free grabbed_cursor if non zero. Return Qnil. 12783 (Fx_ungrab_pointer): Free grabbed_cursor if non zero. Return Qnil.
12785 12784
127861990-08-10 Joseph Arceneaux (jla@churchy.ai.mit.edu) 127851990-08-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12787 12786
@@ -12802,7 +12801,7 @@
12802 12801
128031990-08-07 Joseph Arceneaux (jla@churchy.ai.mit.edu) 128021990-08-07 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12804 12803
12805 * dispextern.h: element bufp of screen_glyphs no longer dependent 12804 * dispextern.h: Element bufp of screen_glyphs no longer dependent
12806 on X windows. 12805 on X windows.
12807 * xdisp.c (display_text_line): Likewise. 12806 * xdisp.c (display_text_line): Likewise.
12808 12807
@@ -12845,7 +12844,7 @@
12845 leaving screen, as well as setting x_mouse_x = x_mouse_y = -1. 12844 leaving screen, as well as setting x_mouse_x = x_mouse_y = -1.
12846 12845
12847 * keyboard.c: Vmouse_window, Vmouse_event declared extern and no 12846 * keyboard.c: Vmouse_window, Vmouse_event declared extern and no
12848 longer DEFVARed: they are already delclared in window.c 12847 longer DEFVARed: they are already delclared in window.c.
12849 12848
12850 * screen.c (window_from_coordinates): Use Fnext_window, even if 12849 * screen.c (window_from_coordinates): Use Fnext_window, even if
12851 MULTI_SCREEN, to obtain the next window. This is an test. 12850 MULTI_SCREEN, to obtain the next window. This is an test.
@@ -12858,18 +12857,18 @@
128581990-08-04 Joseph Arceneaux (jla@churchy.ai.mit.edu) 128571990-08-04 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12859 12858
12860 * screen.c (Fcoordinates_in_window_p): Doc fix. Simplified. 12859 * screen.c (Fcoordinates_in_window_p): Doc fix. Simplified.
12861 (window_from_coordinates): New function. 12860 (window_from_coordinates): New function.
12862 (Flocate_window_from_coordinates): Use it. 12861 (Flocate_window_from_coordinates): Use it.
12863 12862
12864 * keyboard.c (classify_object): New function for dealing with the 12863 * keyboard.c (classify_object): New function for dealing with the
12865 input object. New symbol, mouse-motion, called here. 12864 input object. New symbol, mouse-motion, called here.
12866 Call to mouse-motion-handler now takes no parameters. 12865 Call to mouse-motion-handler now takes no parameters.
12867 (read_key_sequence): Use the new function. Don't set keybuf[0] 12866 (read_key_sequence): Use the new function. Don't set keybuf[0]
12868 to 0. 12867 to 0.
12869 12868
12870 * xterm.c (init_input_symbols): Create all the Lisp symbols 12869 * xterm.c (init_input_symbols): Create all the Lisp symbols
12871 returned in the input stream. 12870 returned in the input stream.
12872 func_key_syms: New array to hold all symbols for function keys. 12871 (func_key_syms): New array to hold all symbols for function keys.
12873 (x_func_key_to_sym): Use this array. 12872 (x_func_key_to_sym): Use this array.
12874 (notice_mouse_movement): New function for dealing with motion 12873 (notice_mouse_movement): New function for dealing with motion
12875 events. 12874 events.
@@ -12910,7 +12909,7 @@
12910 12909
129111990-07-26 Joseph Arceneaux (jla@churchy.ai.mit.edu) 129101990-07-26 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12912 12911
12913 * xdisp.c (display_text_line): String to rope copy for inserting 12912 * xdisp.c (display_text_line): String to rope copy for inserting
12914 arrow text. 12913 arrow text.
12915 12914
129161990-07-25 Joseph Arceneaux (jla@churchy.ai.mit.edu) 129151990-07-25 Joseph Arceneaux (jla@churchy.ai.mit.edu)
@@ -12918,7 +12917,7 @@
12918 * xdisp.c (display_mode_line): Check that the name has actually 12917 * xdisp.c (display_mode_line): Check that the name has actually
12919 changed before calling x_set_name. 12918 changed before calling x_set_name.
12920 12919
12921 * ralloc.c (check_memory_limits): New function. 12920 * ralloc.c (check_memory_limits): New function.
12922 Also check if new memory will be larger than elisp pointer. 12921 Also check if new memory will be larger than elisp pointer.
12923 (r_alloc_sbrk): Call this function. 12922 (r_alloc_sbrk): Call this function.
12924 (relocate_blocs_upward, relocate_blocs_downward): Eliminated. 12923 (relocate_blocs_upward, relocate_blocs_downward): Eliminated.
@@ -12939,10 +12938,10 @@
12939 12938
12940 * dispnew.c (safe_bcopy): No longer static. 12939 * dispnew.c (safe_bcopy): No longer static.
12941 12940
12942 * ralloc.c (relocate_blocs_upward, relocate_blocs_downward): Use 12941 * ralloc.c (relocate_blocs_upward, relocate_blocs_downward):
12943 safe_bcopy. 12942 Use safe_bcopy.
12944 12943
12945 * mem_limits.c: typedef SIZE. 12944 * mem_limits.c: typedef SIZE.
12946 12945
129471990-07-19 Joseph Arceneaux (jla@churchy.ai.mit.edu) 129461990-07-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12948 12947
@@ -12953,7 +12952,7 @@
12953 12952
129541990-07-18 Joseph Arceneaux (jla@churchy.ai.mit.edu) 129531990-07-18 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12955 12954
12956 * indent.c (Fmove_to_column): Set end to ZV. 12955 * indent.c (Fmove_to_column): Set end to ZV.
12957 12956
129581990-07-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 129571990-07-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
12959 12958
@@ -12963,11 +12962,11 @@
12963 12962
129641990-07-17 Joseph Arceneaux (jla@churchy.ai.mit.edu) 129631990-07-17 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12965 12964
12966 * buffer.c (list_buffers_1): Don't check list-buffers-directory. 12965 * buffer.c (list_buffers_1): Don't check list-buffers-directory.
12967 12966
129681990-07-16 Joseph Arceneaux (jla@churchy.ai.mit.edu) 129671990-07-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
12969 12968
12970 * xdisp.c (display_text_line): Don't print ellipsis if they're 12969 * xdisp.c (display_text_line): Don't print ellipsis if they're
12971 off the left edge. 12970 off the left edge.
12972 12971
129731990-07-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 129721990-07-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -13026,7 +13025,7 @@
13026 13025
130271990-06-15 Joseph Arceneaux (jla@churchy.ai.mit.edu) 130261990-06-15 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13028 13027
13029 * term.c: (cursor_to): Only add chars_wasted if not calling hook. 13028 * term.c (cursor_to): Only add chars_wasted if not calling hook.
13030 (clear_end_of_line_raw): Likewise. 13029 (clear_end_of_line_raw): Likewise.
13031 (clear_end_of_line): Check that screen is termcap before using 13030 (clear_end_of_line): Check that screen is termcap before using
13032 chars_wasted. 13031 chars_wasted.
@@ -13046,7 +13045,7 @@
13046 SCREEN_WIDTH (selected_screen). 13045 SCREEN_WIDTH (selected_screen).
13047 * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from 13046 * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from
13048 screen_width. 13047 screen_width.
13049 (change_window_size): No longer check output_type and set 13048 (change_window_size): No longer check output_type and set
13050 ScreenRows. 13049 ScreenRows.
13051 13050
130521990-06-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 130511990-06-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -13056,8 +13055,8 @@
13056 13055
130571990-06-06 Joseph Arceneaux (jla@churchy.ai.mit.edu) 130561990-06-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13058 13057
13059 * keyboard.c (echo_prompt): Now uses glyphs. 13058 * keyboard.c (echo_prompt): Now uses glyphs.
13060 echobuf, echobuf_ptr: These variables now glyphs. 13059 echobuf, echobuf_ptr: These variables now glyphs.
13061 13060
130621990-06-05 Joseph Arceneaux (jla@churchy.ai.mit.edu) 130611990-06-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13063 13062
@@ -13065,17 +13064,17 @@
13065 omessage. 13064 omessage.
13066 * alloc.c (Fgarbage_collect): Ditto. 13065 * alloc.c (Fgarbage_collect): Ditto.
13067 13066
13068 * xdisp.c (message): message_buf set here, realloced if smaller 13067 * xdisp.c (message): message_buf set here, realloced if smaller
13069 than screen width. 13068 than screen width.
13070 message_buf now type GLYF *. New variable message_buf_size holds 13069 message_buf now type GLYF *. New variable message_buf_size holds
13071 its size. 13070 its size.
13072 Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set 13071 Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set
13073 echo_area_glyphs. 13072 echo_area_glyphs.
13074 13073
13075 * print.c (printchar, strout): Use message_buf_size. Convert to 13074 * print.c (printchar, strout): Use message_buf_size. Convert to
13076 glyfs before assigning chars. 13075 glyfs before assigning chars.
13077 (str_to_glyph_cpy, str_to_glyph_ncpy, 13076 (str_to_glyph_cpy, str_to_glyph_ncpy)
13078 glyph_to_str_cpy, glyph_to_str_ncpy): New functions. 13077 (glyph_to_str_cpy, glyph_to_str_ncpy): New functions.
13079 13078
130801990-06-03 Joseph Arceneaux (jla@churchy.ai.mit.edu) 130791990-06-03 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13081 13080
@@ -13109,7 +13108,7 @@
13109 (ILcost, DLcost, ILncost, DLncost): Now pointers. 13108 (ILcost, DLcost, ILncost, DLncost): Now pointers.
13110 (do_scrolling): Use alloca for queue. 13109 (do_scrolling): Use alloca for queue.
13111 13110
13112 * term.c (term_init): selected_screen as arg to calculate_costs. 13111 * term.c (term_init): selected_screen as arg to calculate_costs.
13113 (calculate_costs): 13112 (calculate_costs):
13114 Dynamically allocate chars_wasted, copybuf, DC_ICcost. 13113 Dynamically allocate chars_wasted, copybuf, DC_ICcost.
13115 Set RPov based on actual width. 13114 Set RPov based on actual width.
@@ -13119,17 +13118,17 @@
13119 13118
131201990-06-02 Joseph Arceneaux (jla@churchy.ai.mit.edu) 131191990-06-02 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13121 13120
13122 * term.c (calculate_ins_del_char_costs, string_cost_one_line): 13121 * term.c (calculate_ins_del_char_costs, string_cost_one_line):
13123 Made static. 13122 Made static.
13124 13123
13125 * dispnew.c: Declare scrolling_1; 13124 * dispnew.c: Declare scrolling_1;
13126 13125
13127 * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID): Renamed 13126 * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID): Renamed
13128 calculate_ins_del_char_costs, ins_del_costs, and line_ins_del. 13127 calculate_ins_del_char_costs, ins_del_costs, and line_ins_del.
13129 CalcIDCosts1 and CalcLID also renamed. 13128 CalcIDCosts1 and CalcLID also renamed.
13130 (calculate_scrolling): Now void. 13129 (calculate_scrolling): Now void.
13131 13130
13132 * Global renaming: bf_modified -> MODIFF. CharAt -> CHAR_AT_POSITION. 13131 * Global renaming: bf_modified -> MODIFF. CharAt -> CHAR_AT_POSITION.
13133 BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF. 13132 BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF.
13134 SetPoint -> SET_PT. 13133 SetPoint -> SET_PT.
13135 13134
@@ -13140,10 +13139,10 @@
13140 * print.c: Include dispextern.h. 13139 * print.c: Include dispextern.h.
13141 (printchar, strout): Use message_buf. 13140 (printchar, strout): Use message_buf.
13142 13141
13143 * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght. 13142 * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght.
13144 * term.c: Likewise. 13143 * term.c: Likewise.
13145 13144
13146 * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID): These now take a 13145 * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID): These now take a
13147 screen argument. 13146 screen argument.
13148 (CalcIDCosts): Dynamically allocate ILcost, etc. 13147 (CalcIDCosts): Dynamically allocate ILcost, etc.
13149 (ILcost, DLcost, ILncost, DLncost): Now pointers. 13148 (ILcost, DLcost, ILncost, DLncost): Now pointers.
@@ -13165,7 +13164,7 @@
13165 Macro SetBfx removed. 13164 Macro SetBfx removed.
13166 Macro SetPoint renamed SET_PT. 13165 Macro SetPoint renamed SET_PT.
13167 13166
13168 * fileio.c (Fexpand_file_name): Simplified. 13167 * fileio.c (Fexpand_file_name): Simplified.
13169 13168
131701990-06-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 131691990-06-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13171 13170
@@ -13181,9 +13180,9 @@
13181 13180
131821990-05-31 Joseph Arceneaux (jla@churchy.ai.mit.edu) 131811990-05-31 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13183 13182
13184 * process.c (Fprocess_connection): Return the type of a process 13183 * process.c (Fprocess_connection): Return the type of a process
13185 object. 13184 object.
13186 (syms_of_process): Initialize pty_process and stream_process. 13185 (syms_of_process): Initialize pty_process and stream_process.
13187 Declare Fprocess_type. 13186 Declare Fprocess_type.
13188 * process.h New element type to struct Lisp_Process. 13187 * process.h New element type to struct Lisp_Process.
13189 13188
@@ -13191,23 +13190,23 @@
13191 13190
131921990-05-28 Joseph Arceneaux (jla@churchy.ai.mit.edu) 131911990-05-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13193 13192
13194 * fileio.c (Finsert_file_contents): Use new variable how_much to 13193 * fileio.c (Finsert_file_contents): Use new variable how_much to
13195 hold read result. 13194 hold read result.
13196 13195
131971990-05-24 Joseph Arceneaux (jla@churchy.ai.mit.edu) 131961990-05-24 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13198 13197
13199 * lread.c (read_char_exclusive): New subr. 13198 * lread.c (read_char_exclusive): New subr.
13200 13199
132011990-05-24 David Lawrence (tale@pogo.ai.mit.edu) 132001990-05-24 David Lawrence (tale@pogo.ai.mit.edu)
13202 13201
13203 * fileio.c (file_executable_p): New function. 13202 * fileio.c (file_executable_p): New function.
13204 13203
132051990-05-23 Joseph Arceneaux (jla@churchy.ai.mit.edu) 132041990-05-23 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13206 13205
13207 * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was 13206 * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was
13208 successful. 13207 successful.
13209 13208
13210 * editfns.c (syms_of_editfns): DEFVAR the new variables. 13209 * editfns.c (syms_of_editfns): DEFVAR the new variables.
13211 13210
13212 * eval.c (Finteractive_p): Don't skip the first frame if the 13211 * eval.c (Finteractive_p): Don't skip the first frame if the
13213 function was compiled. 13212 function was compiled.
@@ -13219,12 +13218,12 @@
13219 13218
13220 * Renamed meta_flag meta_key. 13219 * Renamed meta_flag meta_key.
13221 13220
13222 * termopts.h: Comment changes. 13221 * termopts.h: Comment changes.
13223 13222
132241990-05-20 Joseph Arceneaux (jla@churchy.ai.mit.edu) 132231990-05-20 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13225 13224
13226 * buffer.h: upcase_table and downcase_table are now Lisp_Objects. 13225 * buffer.h: upcase_table and downcase_table are now Lisp_Objects.
13227 * alloc.c (mark_object, gc_sweep): Related changes. 13226 * alloc.c (mark_object, gc_sweep): Related changes.
13228 * casetab.c: Ditto. 13227 * casetab.c: Ditto.
13229 13228
132301990-05-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 132291990-05-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -13310,7 +13309,7 @@
13310 13309
133111990-05-16 Joseph Arceneaux (jla@churchy.ai.mit.edu) 133101990-05-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13312 13311
13313 * xdisp.c (try_window): No return value. 13312 * xdisp.c (try_window): No return value.
13314 Fix calls to try_window. 13313 Fix calls to try_window.
13315 * Global variable RedoModes is now redraw_mode_line. 13314 * Global variable RedoModes is now redraw_mode_line.
13316 13315
@@ -13344,12 +13343,12 @@
13344 13343
133451990-05-10 Joseph Arceneaux (jla@churchy.ai.mit.edu) 133441990-05-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13346 13345
13347 * dispextern.h: new struct screen_glyfs replaces struct 13346 * dispextern.h: New struct screen_glyfs replaces struct
13348 display_line. 13347 display_line.
13349 * screen.c: new screen elements current_glyfs, desired_glyfs, and 13348 * screen.c: New screen elements current_glyfs, desired_glyfs, and
13350 temp_glyfs. 13349 temp_glyfs.
13351 * dispnew.c: (make_screen_glyfs, free_screen_glyfs, 13350 * dispnew.c (make_screen_glyfs, free_screen_glyfs):
13352 remake_screen_glyfs): New functions. 13351 (remake_screen_glyfs): New functions.
13353 (make_display_lines, new_display_line, return_display_line): 13352 (make_display_lines, new_display_line, return_display_line):
13354 Functions deleted. 13353 Functions deleted.
13355 (change_screen_size, init_display): Use the new functions. 13354 (change_screen_size, init_display): Use the new functions.
@@ -13364,7 +13363,7 @@
13364 (line_hash_code, line_draw_cost): Cleaned up. 13363 (line_hash_code, line_draw_cost): Cleaned up.
13365 Args are different, and hash computation too. 13364 Args are different, and hash computation too.
13366 (update_screen): Rearrange buffer-emptying code. 13365 (update_screen): Rearrange buffer-emptying code.
13367 * xdisp.c: (display_minibuf_message, redisplay): Rewritten for new 13366 * xdisp.c (display_minibuf_message, redisplay): Rewritten for new
13368 structures. 13367 structures.
13369 (display_text_line, display_mode_line): Likewise. 13368 (display_text_line, display_mode_line): Likewise.
13370 (display_mode_element, display_string): Likewise. 13369 (display_mode_element, display_string): Likewise.
@@ -13403,8 +13402,7 @@
13403 13402
134041990-05-08 Joseph Arceneaux (jla@churchy.ai.mit.edu) 134031990-05-08 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13405 13404
13406 * process.c (Fopen_network_stream): Also handle numeric inet 13405 * process.c (Fopen_network_stream): Also handle numeric inet addresses.
13407 addresses.
13408 13406
134091990-05-06 Joseph Arceneaux (jla@churchy.ai.mit.edu) 134071990-05-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13410 13408
@@ -13436,8 +13434,8 @@
13436 * xterm.c (x_display_cursor): Don't check s->phys_x when drawing 13434 * xterm.c (x_display_cursor): Don't check s->phys_x when drawing
13437 cursor. 13435 cursor.
13438 13436
13439 * undo.c: New version. 13437 * undo.c: New version.
13440 * undo.h: No longer exists. 13438 * undo.h: No longer exists.
13441 * alloc.c (Fgarbage_collect): Call truncate_undo_list. 13439 * alloc.c (Fgarbage_collect): Call truncate_undo_list.
13442 (syms_of_alloc): Define vars undo-threshold and undo-high-threshold. 13440 (syms_of_alloc): Define vars undo-threshold and undo-high-threshold.
13443 * buffer.c (Fget_buffer_create): Set undo_list to t or nil. 13441 * buffer.c (Fget_buffer_create): Set undo_list to t or nil.
@@ -13448,9 +13446,9 @@
13448 * buffer.h: New element undo_list in struct buffer. 13446 * buffer.h: New element undo_list in struct buffer.
13449 * fileio.c (Finsert_file_contents): Store nil in undo_list. 13447 * fileio.c (Finsert_file_contents): Store nil in undo_list.
13450 13448
13451 * buffer.c: Variable bf_text deleted. 13449 * buffer.c: Variable bf_text deleted.
13452 (Fkill_buffer, SetBfp): Delete code that worked with it. 13450 (Fkill_buffer, SetBfp): Delete code that worked with it.
13453 (SetBfx): Now a macro in buffer.h 13451 (SetBfx): Now a macro in buffer.h
13454 * editfns.c (Fwiden, Fnarrow_to_region): Related changes. 13452 * editfns.c (Fwiden, Fnarrow_to_region): Related changes.
13455 (save_restriction_save, save_restriction_restore): Likewise. 13453 (save_restriction_save, save_restriction_restore): Likewise.
13456 (Finsert_buffer_substring): Likewise. 13454 (Finsert_buffer_substring): Likewise.
@@ -13463,12 +13461,12 @@
13463 13461
134641990-04-30 Joseph Arceneaux (jla@churchy.ai.mit.edu) 134621990-04-30 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13465 13463
13466 * buffer.h: New macro R_ALLOC_SET_BUFFER for declaring all the 13464 * buffer.h: New macro R_ALLOC_SET_BUFFER for declaring all the
13467 text pointers of a buffer to the relocating allocator. 13465 text pointers of a buffer to the relocating allocator.
13468 * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro. 13466 * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro.
13469 * editfns.c (Finsert_buffer_substring): ditto. 13467 * editfns.c (Finsert_buffer_substring): Ditto.
13470 * fileio.c (Fdo_auto_save): ditto. 13468 * fileio.c (Fdo_auto_save): Ditto.
13471 * insdel.c (make_gap): ditto. 13469 * insdel.c (make_gap): Ditto.
13472 * xfns.c (adjust_scrollbars): Don't set bf_cur->text. 13470 * xfns.c (adjust_scrollbars): Don't set bf_cur->text.
13473 13471
134741990-04-26 Joseph Arceneaux (jla@churchy.ai.mit.edu) 134721990-04-26 Joseph Arceneaux (jla@churchy.ai.mit.edu)
@@ -13488,12 +13486,12 @@
13488 13486
134891990-04-19 Joseph Arceneaux (jla@churchy.ai.mit.edu) 134871990-04-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13490 13488
13491 * xfns.c (Fx_open_connection): Attach xrdb to x_current_display. 13489 * xfns.c (Fx_open_connection): Attach xrdb to x_current_display.
13492 13490
134931990-04-17 Joseph Arceneaux (jla@churchy.ai.mit.edu) 134911990-04-17 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13494 13492
13495 * xterm.c (dumpborder): Now only used for X10. 13493 * xterm.c (dumpborder): Now only used for X10.
13496 (highlight, unhighlight): New functions for X11. 13494 (highlight, unhighlight): New functions for X11.
13497 13495
134981990-04-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 134961990-04-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13499 13497
@@ -13506,26 +13504,26 @@
13506 13504
135071990-04-15 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135051990-04-15 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13508 13506
13509 * xfns.c (Fx_get_resource): Concatenate invocation_name before 13507 * xfns.c (Fx_get_resource): Concatenate invocation_name before
13510 the resource tag. 13508 the resource tag.
13511 (Fx_create_screen): Use the latest resource id's. 13509 (Fx_create_screen): Use the latest resource id's.
13512 13510
135131990-04-13 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135111990-04-13 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13514 13512
13515 * xfns.c (Fx_get_resource): New subr. 13513 * xfns.c (Fx_get_resource): New subr.
13516 (Fx_open_connection): Call x_load_resources. New parameter 13514 (Fx_open_connection): Call x_load_resources. New parameter
13517 xrm_string. 13515 xrm_string.
13518 * xrdb.c: New file for doing resource manager stuff. 13516 * xrdb.c: New file for doing resource manager stuff.
13519 13517
13520 * xscrollbar.h: New file for scrollbar bitmaps. 13518 * xscrollbar.h: New file for scrollbar bitmaps.
13521 13519
13522 * xselect.h: New file for the X selection stuff. 13520 * xselect.h: New file for the X selection stuff.
13523 13521
13524 * ymakefile: Take note of these new files. 13522 * ymakefile: Take note of these new files.
13525 13523
135261990-04-10 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135241990-04-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13527 13525
13528 * xterm.c (x_term_init): Use MAXPATHLEN. 13526 * xterm.c (x_term_init): Use MAXPATHLEN.
13529 13527
135301990-04-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 135281990-04-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13531 13529
@@ -13533,15 +13531,14 @@
13533 13531
135341990-04-06 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135321990-04-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13535 13533
13536 * screen.c (coordinates_in_window): Return -1 if in modeline of 13534 * screen.c (coordinates_in_window): Return -1 if in modeline of window.
13537 window. 13535 (Fcoordinates_in_window_p): Return Qt if in modeline of window.
13538 (Fcoordinates_in_window_p): Return Qt if in modeline of window. 13536 (Flocate_window_from_coordinates): Use next_screen_window if
13539 (Flocate_window_from_coordinates): Use next_screen_window if
13540 MULTI_WINDOW is defined. 13537 MULTI_WINDOW is defined.
13541 13538
135421990-04-05 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135391990-04-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13543 13540
13544 * xterm.c (construct_mouse_event): Deal with the motion events 13541 * xterm.c (construct_mouse_event): Deal with the motion events
13545 first. Only grab the mouse when in the scrollbar. 13542 first. Only grab the mouse when in the scrollbar.
13546 13543
135471990-04-04 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135441990-04-04 Joseph Arceneaux (jla@churchy.ai.mit.edu)
@@ -13549,138 +13546,138 @@
13549 * screen.c (coordinates_in_window): Include mode line as part of 13546 * screen.c (coordinates_in_window): Include mode line as part of
13550 window. 13547 window.
13551 13548
13552 * xterm.c (XTread_socket): Initialize nbytes to 0. 13549 * xterm.c (XTread_socket): Initialize nbytes to 0.
13553 (x_display_cursor): Don't draw if screen not selected. 13550 (x_display_cursor): Don't draw if screen not selected.
13554 13551
13555 * xdisp.c (DoDsp): Additional checks for screen being visible. 13552 * xdisp.c (DoDsp): Additional checks for screen being visible.
13556 13553
135571990-04-03 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135541990-04-03 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13558 13555
13559 * editfns.c (Fmessage): If there is a global minibuffer screen, 13556 * editfns.c (Fmessage): If there is a global minibuffer screen,
13560 raise it before displaying the message. 13557 raise it before displaying the message.
13561 13558
13562 * window.c (window_loop): Parameter SCREENS now affects which 13559 * window.c (window_loop): Parameter SCREENS now affects which
13563 screen is scanned for windows. All subrs calling window_loop must 13560 screen is scanned for windows. All subrs calling window_loop must
13564 pass a Lisp_Object here now. 13561 pass a Lisp_Object here now.
13565 13562
135661990-04-01 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135631990-04-01 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13567 13564
13568 * window.c (window_loop): Additional parameter mini to control 13565 * window.c (window_loop): Additional parameter mini to control
13569 minibuffer selection or not. 13566 minibuffer selection or not.
13570 (Fget_lru_window): 13567 (Fget_lru_window):
13571 (Fget_largest_window): 13568 (Fget_largest_window):
13572 (Fget_buffer_window): 13569 (Fget_buffer_window):
13573 (Fdelete_other_windows): 13570 (Fdelete_other_windows):
13574 (Fdelete_windows_on): 13571 (Fdelete_windows_on):
13575 (Freplace_buffer_in_windows): Use that parameter. 13572 (Freplace_buffer_in_windows): Use that parameter.
13576 13573
135771990-03-29 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135741990-03-29 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13578 13575
13579 * screen.c (Fselect_screen): Raise the selected screen. 13576 * screen.c (Fselect_screen): Raise the selected screen.
13580 13577
13581 * window.c (Fget_buffer_window): 13578 * window.c (Fget_buffer_window):
13582 (Fget_largest_window): 13579 (Fget_largest_window):
13583 (Fget_lru_window): New parameter all_screens. 13580 (Fget_lru_window): New parameter all_screens.
13584 (Fdisplay_buffer): Use the new param in Fget_lru_window, 13581 (Fdisplay_buffer): Use the new param in Fget_lru_window,
13585 Fget_buffer_window, and Fget_largest_window. 13582 Fget_buffer_window, and Fget_largest_window.
13586 (Fscroll_other_window): Use new param in Fget_buffer_window. 13583 (Fscroll_other_window): Use new param in Fget_buffer_window.
13587 * buffer.c (Fother_buffer): ditto. 13584 * buffer.c (Fother_buffer): Ditto.
13588 13585
13589 * xterm.c (x_display_cursor): Always draw the cursor if ON is 13586 * xterm.c (x_display_cursor): Always draw the cursor if ON is
13590 true. Don't check if the screen S is selected or equal to 13587 true. Don't check if the screen S is selected or equal to
13591 mouse-screen. 13588 mouse-screen.
13592 13589
13593 * xfns.c (Fx_track_pointer): Don't turn off cursor, just call 13590 * xfns.c (Fx_track_pointer): Don't turn off cursor, just call
13594 x_display_cursor. 13591 x_display_cursor.
13595 13592
135961990-03-28 Joseph Arceneaux (jla@churchy.ai.mit.edu) 135931990-03-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13597 13594
13598 * data.c (Fmake_local_variable): Give the variable value nil if 13595 * data.c (Fmake_local_variable): Give the variable value nil if
13599 unbound. 13596 unbound.
13600 13597
13601 * window.c (Fnext_window, Fprevious_window): For MULTI_SCREEN, 13598 * window.c (Fnext_window, Fprevious_window): For MULTI_SCREEN,
13602 check if Vglobal_minibuffer_screen is non-nil and maybe call 13599 check if Vglobal_minibuffer_screen is non-nil and maybe call
13603 next_screen. 13600 next_screen.
13604 13601
13605 * screen.c (Fscreen_selected_window): 13602 * screen.c (Fscreen_selected_window):
13606 (Fscreen_root_window): If screen is nil, use selected-screen. 13603 (Fscreen_root_window): If screen is nil, use selected-screen.
13607 13604
136081990-03-27 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136051990-03-27 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13609 13606
13610 * xterm.c (XTread_socket): SET_SCREEN_GARBAGED which returning 13607 * xterm.c (XTread_socket): SET_SCREEN_GARBAGED which returning
13611 symbol which causes DoDsp to be invoked. 13608 symbol which causes DoDsp to be invoked.
13612 * keyboard.c (read_key_sequence): Don't SET_SCREEN_GARBAGED here. 13609 * keyboard.c (read_key_sequence): Don't SET_SCREEN_GARBAGED here.
13613 13610
13614 * screen.h: New macro SET_SCREEN_GARBAGED. 13611 * screen.h: New macro SET_SCREEN_GARBAGED.
13615 13612
13616 * xfns.c: 13613 * xfns.c:
13617 * window.c: 13614 * window.c:
13618 * sysdep.c: 13615 * sysdep.c:
13619 * keyboard.c: 13616 * keyboard.c:
13620 * dispnew.c: Use the new macro. 13617 * dispnew.c: Use the new macro.
13621 13618
136221990-03-25 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136191990-03-25 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13623 13620
13624 * xfns.c (Fx_own_selection): Only take one argument, string. 13621 * xfns.c (Fx_own_selection): Only take one argument, string.
13625 13622
136261990-03-24 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136231990-03-24 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13627 13624
13628 * xfns.c (select_visual): Catch bullshit machines whose hardware 13625 * xfns.c (select_visual): Catch bullshit machines whose hardware
13629 doesn't support the X server pixel depth by looking at colormap_size. 13626 doesn't support the X server pixel depth by looking at colormap_size.
13630 (x_decode_color): Use x_screen_planes to check for color. 13627 (x_decode_color): Use x_screen_planes to check for color.
13631 13628
136321990-03-23 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136291990-03-23 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13633 13630
13634 * xterm.c (x_display_cursor): Try using vertical bar cursor. 13631 * xterm.c (x_display_cursor): Try using vertical bar cursor.
13635 (clear_cursor): Call x_display_cursor for X11. 13632 (clear_cursor): Call x_display_cursor for X11.
13636 13633
13637 * xfns.c: Zotzed Vx_pointer_mask. 13634 * xfns.c: Zotzed Vx_pointer_mask.
13638 (Fx_track_pointer): Call x_display_cursor if we just 13635 (Fx_track_pointer): Call x_display_cursor if we just
13639 wasted the cursor. Break out of loop if no display line. 13636 wasted the cursor. Break out of loop if no display line.
13640 Use mode line cursor if we're there. 13637 Use mode line cursor if we're there.
13641 (x_y_pos): New function. 13638 (x_y_pos): New function.
13642 (x_set_font): Dont' set x_font_{width,height}, they are gone. 13639 (x_set_font): Dont' set x_font_{width,height}, they are gone.
13643 13640
136441990-03-22 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136411990-03-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13645 13642
13646 * xfns.c (Fx_track_pointer): Check that s == selected_screen each 13643 * xfns.c (Fx_track_pointer): Check that s == selected_screen each
13647 time through loop. If event is nil, read mouse position. 13644 time through loop. If event is nil, read mouse position.
13648 13645
13649 * keyboard.c (get_char): DoDsp only if selected_screen visible. 13646 * keyboard.c (get_char): DoDsp only if selected_screen visible.
13650 13647
13651 * xterm.c (XTread_socket): Mark screen as visible only on expose 13648 * xterm.c (XTread_socket): Mark screen as visible only on expose
13652 event. 13649 event.
13653 13650
13654 * emacs.c (main): Check here for "-d" option and set display_arg. 13651 * emacs.c (main): Check here for "-d" option and set display_arg.
13655 * dispnew.c (init_display): Set Vwindow_system, etc. if display_arg. 13652 * dispnew.c (init_display): Set Vwindow_system, etc. if display_arg.
13656 13653
136571990-03-21 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136541990-03-21 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13658 13655
13659 * keyboard.c (read_key_sequence): Don't DoDsp if the screen was 13656 * keyboard.c (read_key_sequence): Don't DoDsp if the screen was
13660 just unmapped. 13657 just unmapped.
13661 (command_loop_1): Call the mouse motion handler before calling 13658 (command_loop_1): Call the mouse motion handler before calling
13662 read_key_sequence. 13659 read_key_sequence.
13663 (interrupt_signal): Fixed typo checking screen type. 13660 (interrupt_signal): Fixed typo checking screen type.
13664 13661
13665 * xfns.c (Fx_track_mouse): Don't crash because of null display 13662 * xfns.c (Fx_track_mouse): Don't crash because of null display
13666 line. Don't set obj til call to get_char. 13663 line. Don't set obj til call to get_char.
13667 13664
13668 * xterm.c (x_term_init): Disable SIGWINCH here. 13665 * xterm.c (x_term_init): Disable SIGWINCH here.
13669 13666
13670 * fns.c (Fmember): New subr. 13667 * fns.c (Fmember): New subr.
13671 13668
13672 * dispnew.c (init_display): Don't check env variable DISPLAY to 13669 * dispnew.c (init_display): Don't check env variable DISPLAY to
13673 set Vwindow_system. Now done in startup.el. 13670 set Vwindow_system. Now done in startup.el.
13674 13671
13675 * emacs.c: Removed variables xargc, xargv. 13672 * emacs.c: Removed variables xargc, xargv.
13676 13673
136771990-03-20 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136741990-03-20 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13678 13675
13679 * xfns.c (Fx_track_pointer): Go faster. 13676 * xfns.c (Fx_track_pointer): Go faster.
13680 13677
13681 * screen.h: New macro SCREENP. 13678 * screen.h: New macro SCREENP.
13682 13679
13683 * window.c: (Fminibuffer_window): Rewritten. 13680 * window.c (Fminibuffer_window): Rewritten.
13684 13681
136851990-03-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 136821990-03-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13686 13683
@@ -13689,139 +13686,138 @@
13689 13686
136901990-03-19 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136871990-03-19 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13691 13688
13692 * keyboard.c (command_loop_1): Restructured handling of X event 13689 * keyboard.c (command_loop_1): Restructured handling of X event
13693 things. 13690 things.
13694 (read_key_sequence): Handle new `unmapped-screen' symbol with new 13691 (read_key_sequence): Handle new `unmapped-screen' symbol with new
13695 Vunmap_screen_hook. 13692 Vunmap_screen_hook.
13696 13693
13697 * xterm.c (XTread_socket): Return unmapped-screen symbol if the 13694 * xterm.c (XTread_socket): Return unmapped-screen symbol if the
13698 window for UnmapNotify events. 13695 window for UnmapNotify events.
13699 13696
13700 * lread.c (Feval_region): GCPRO opoint. 13697 * lread.c (Feval_region): GCPRO opoint.
13701 13698
137021990-03-16 Joseph Arceneaux (jla@churchy.ai.mit.edu) 136991990-03-16 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13703 13700
13704 * keyboard.c (command_loop_1): Call mouse-motion handler with 13701 * keyboard.c (command_loop_1): Call mouse-motion handler with
13705 argument. Also, don't call undo-boundary. 13702 argument. Also, don't call undo-boundary.
13706 13703
13707 * process.c (create_process): Set the process group for BSD at 13704 * process.c (create_process): Set the process group for BSD at
13708 the same time as for USG. 13705 the same time as for USG.
13709 13706
137101990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137071990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13711 13708
13712 * xterm.c (x_new_selected_screen): Set x_input_screen here. 13709 * xterm.c (x_new_selected_screen): Set x_input_screen here.
13713 13710
137141990-03-11 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137111990-03-11 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13715 13712
13716 * xterm.c: Vx_mouse_grabbed now Vmouse_grabbed. 13713 * xterm.c: Vx_mouse_grabbed now Vmouse_grabbed.
13717 (XTread_socket): Generate exited-window symbols on LeaveNotify 13714 (XTread_socket): Generate exited-window symbols on LeaveNotify
13718 even if screen is focused. 13715 even if screen is focused.
13719 13716
13720 * xfns.c: Vx_mouse_grabbed now Vmouse_grabbed. 13717 * xfns.c: Vx_mouse_grabbed now Vmouse_grabbed.
13721 (outline_region): Now static. 13718 (outline_region): Now static.
13722 (Fx_track_pointer): Check x_mouse_screen == s in loop. 13719 (Fx_track_pointer): Check x_mouse_screen == s in loop.
13723 13720
137241990-03-10 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137211990-03-10 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13725 13722
13726 * xterm.c (encode_mouse_button): Correctly get the button from 13723 * xterm.c (encode_mouse_button): Correctly get the button from
13727 Motion events. 13724 Motion events.
13728 13725
13729 * xfns.c (x11_encode_mouse_button): Nuked. 13726 * xfns.c (x11_encode_mouse_button): Nuked.
13730 (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd. 13727 (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd.
13731 13728
13732 * keyboard.c (get_char): Re-set obj if we've keyboard-translated 13729 * keyboard.c (get_char): Re-set obj if we've keyboard-translated c.
13733 c.
13734 13730
137351990-03-08 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137311990-03-08 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13736 13732
13737 * xterm.c (x_focus_screen): no longer static. 13733 * xterm.c (x_focus_screen): No longer static.
13738 (x_error_handler): Use XDefaultIOError. 13734 (x_error_handler): Use XDefaultIOError.
13739 13735
13740 * screen.c (Ffocus_screen): New subr, removed Fscreen_has_focus. 13736 * screen.c (Ffocus_screen): New subr, removed Fscreen_has_focus.
13741 (Fselect_screen): New, optional parameter no_enter. 13737 (Fselect_screen): New, optional parameter no_enter.
13742 (Frestore_screen_configuration): 13738 (Frestore_screen_configuration):
13743 (Fdelete_screen): Pass second parm Qnil to Fselect_screen. 13739 (Fdelete_screen): Pass second parm Qnil to Fselect_screen.
13744 13740
13745 * window.c (Fdisplay_buffer, Fset_window_configuration): Pass 13741 * window.c (Fdisplay_buffer, Fset_window_configuration): Pass
13746 second parm Qnil to Fselect_screen. 13742 second parm Qnil to Fselect_screen.
13747 13743
137481990-03-07 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137441990-03-07 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13749 13745
13750 * screen.c (Fscreen_has_focus): New subr. 13746 * screen.c (Fscreen_has_focus): New subr.
13751 (Fselect_screen): Use x_focus_on_screen to physically select the 13747 (Fselect_screen): Use x_focus_on_screen to physically select the
13752 screen. 13748 screen.
13753 13749
137541990-03-06 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137501990-03-06 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13755 13751
13756 * xfns.c (x_set_mouse_position): Moved to xterm.c. 13752 * xfns.c (x_set_mouse_position): Moved to xterm.c.
13757 13753
13758 * fileio.c (Fremove_directory): New subr. 13754 * fileio.c (Fremove_directory): New subr.
13759 13755
13760 * screen.c (Frelease_focused_screen): Just call x_unfocus_screen. 13756 * screen.c (Frelease_focused_screen): Just call x_unfocus_screen.
13761 13757
13762 * xterm.c (XTread_socket): On FocusOut, if s isn't mouse screen, 13758 * xterm.c (XTread_socket): On FocusOut, if s isn't mouse screen,
13763 return exited-window. On LeaveNotify, simplify if expression for 13759 return exited-window. On LeaveNotify, simplify if expression for
13764 dumpborder. Reworked FocusIn/FocusOut events. 13760 dumpborder. Reworked FocusIn/FocusOut events.
13765 (x_unfocus_screen): Check that screen is x_focus_screen. 13761 (x_unfocus_screen): Check that screen is x_focus_screen.
13766 (x_set_mouse_position): Moved from xfns.c. Use new macro 13762 (x_set_mouse_position): Moved from xfns.c. Use new macro
13767 XWarpPointer. 13763 XWarpPointer.
13768 * xterm.h: New macro XWarpPointer. 13764 * xterm.h: New macro XWarpPointer.
13769 13765
13770 * buffer.c: Replaced Fbuffer_flush_undo with 13766 * buffer.c: Replaced Fbuffer_flush_undo with
13771 Fbuffer_disable_undo. 13767 Fbuffer_disable_undo.
13772 * process.c: Ditto. 13768 * process.c: Ditto.
13773 13769
137741990-03-05 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137701990-03-05 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13775 13771
13776 * xterm.c (XTupdate_end): Use parameter s rather than 13772 * xterm.c (XTupdate_end): Use parameter s rather than
13777 updating_screen. 13773 updating_screen.
13778 (XTread_socket): On EnterNotify, don't check s != focus_screen 13774 (XTread_socket): On EnterNotify, don't check s != focus_screen
13779 before selecting. On Focus In/Out don't set/reset mouse_screen. 13775 before selecting. On Focus In/Out don't set/reset mouse_screen.
13780 13776
137811990-03-04 Joseph Arceneaux (jla@churchy.ai.mit.edu) 137771990-03-04 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13782 13778
13783 * eval.c: If using X windows, include xterm.h. 13779 * eval.c: If using X windows, include xterm.h.
13784 (error): TOTALLY_UNBLOCK_INPUT if using X. 13780 (error): TOTALLY_UNBLOCK_INPUT if using X.
13785 13781
13786 * xterm.h: BLOCK_INPUT, UNBLOCK_INPUT: No signal stuff, just inc 13782 * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT): No signal stuff, just inc
13787 and decrement x_input_blocked. 13783 and decrement x_input_blocked.
13788 13784
13789 * xfns.c (adjust_scrollbars): Don't BLOCK_INPUT. 13785 * xfns.c (adjust_scrollbars): Don't BLOCK_INPUT.
13790 (x_set_font): Check result of x_new_font. Call error if nonzero. 13786 (x_set_font): Check result of x_new_font. Call error if nonzero.
13791 (x_set_icon_type): Check result of x_*_icon, maybe call error. 13787 (x_set_icon_type): Check result of x_*_icon, maybe call error.
13792 13788
13793 * screen.c (Fdeiconify_screen): Use x_make_screen_visible rather 13789 * screen.c (Fdeiconify_screen): Use x_make_screen_visible rather
13794 than x_deiconify_screen. Return screen. 13790 than x_deiconify_screen. Return screen.
13795 (Fmake_screen_visible): Don't raise it here. Return screen. 13791 (Fmake_screen_visible): Don't raise it here. Return screen.
13796 13792
13797 * xterm.c (XTwrite_glyfs): Don't show cursor if screen is 13793 * xterm.c (XTwrite_glyfs): Don't show cursor if screen is
13798 global-minibuffer-screen. 13794 global-minibuffer-screen.
13799 (x_new_selected_screen): Do dumpborder and check auto-raise here, 13795 (x_new_selected_screen): Do dumpborder and check auto-raise here,
13800 rather than XEvent switch. 13796 rather than XEvent switch.
13801 (x_deiconify_screen): No longer exists. 13797 (x_deiconify_screen): No longer exists.
13802 (x_do_pending_expose, x_clear_cursor): 13798 (x_do_pending_expose, x_clear_cursor):
13803 (x_invert_screen, scraplines, stufflines, x_bitmap_icon): 13799 (x_invert_screen, scraplines, stufflines, x_bitmap_icon):
13804 (x_text_icon, x_new_font): Don't BLOCK_INPUT. 13800 (x_text_icon, x_new_font): Don't BLOCK_INPUT.
13805 (XTins_del_lines): BLOCK_INPUT here. 13801 (XTins_del_lines): BLOCK_INPUT here.
13806 (XTupdate_end): Don't turn on cursor if minibuffer-screen. 13802 (XTupdate_end): Don't turn on cursor if minibuffer-screen.
13807 (XTread_socket): On MotionNotify, just that screen is selected before 13803 (XTread_socket): On MotionNotify, just that screen is selected before
13808 processing. 13804 processing.
13809 (XTtopos): If updating_screen, just set x and y, don't flush. 13805 (XTtopos): If updating_screen, just set x and y, don't flush.
13810 (x_bitmap_icon): 13806 (x_bitmap_icon):
13811 (x_text_icon): 13807 (x_text_icon):
13812 (x_new_font): Return 1 if failed, don't call error. 13808 (x_new_font): Return 1 if failed, don't call error.
13813 (x_make_screen_visible): Raise the screen as well. 13809 (x_make_screen_visible): Raise the screen as well.
13814 13810
138151990-03-02 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138111990-03-02 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13816 13812
13817 * screen.c (Frelease_focused_screen): Just check that screen is 13813 * screen.c (Frelease_focused_screen): Just check that screen is
13818 selected. 13814 selected.
13819 13815
138201990-02-28 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138161990-02-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13821 13817
13822 * screen.c (Fselect_screen_focused, Frelease_focused_screen): New 13818 * screen.c (Fselect_screen_focused, Frelease_focused_screen): New
13823 subrs. 13819 subrs.
13824 * xterm.c (x_focus_on_screen, x_unfocus_screen): New procedures 13820 * xterm.c (x_focus_on_screen, x_unfocus_screen): New procedures
13825 to implement focusing. 13821 to implement focusing.
13826 13822
138271990-02-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 138231990-02-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -13830,9 +13826,9 @@
13830 13826
138311990-02-28 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138271990-02-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13832 13828
13833 * xterm.h: Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock 13829 * xterm.h: Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock
13834 and sigsetmask if available. 13830 and sigsetmask if available.
13835 * xterm.c: Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD. 13831 * xterm.c: Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD.
13836 13832
138371990-02-27 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138331990-02-27 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13838 13834
@@ -13843,19 +13839,19 @@
13843 * keyboard.c (read_key_sequence): Handle mapped-screen event 13839 * keyboard.c (read_key_sequence): Handle mapped-screen event
13844 symbol by calling new hook Vmap_screen_hook. 13840 symbol by calling new hook Vmap_screen_hook.
13845 13841
13846 * xterm.c (x_make_screen_invisible): Use the new Xlib function 13842 * xterm.c (x_make_screen_invisible): Use the new Xlib function
13847 XWidthdrawWindow. 13843 XWidthdrawWindow.
13848 (x_iconify_screen): Use the new Xlib function XIconifyWindow. 13844 (x_iconify_screen): Use the new Xlib function XIconifyWindow.
13849 (XTread_socket): Return mapped-screen symbol to signal 13845 (XTread_socket): Return mapped-screen symbol to signal
13850 mapped-screen events. 13846 mapped-screen events.
13851 13847
138521990-02-23 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138481990-02-23 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13853 13849
13854 * keyboard.c (command_loop_1): Check the character for width 1 13850 * keyboard.c (command_loop_1): Check the character for width 1
13855 before doing direct_output_forward, as well as the cursor position 13851 before doing direct_output_forward, as well as the cursor position
13856 on the screen. 13852 on the screen.
13857 13853
13858 * xdisp.c (DoDsp): Use redisplay_windows rather than 13854 * xdisp.c (DoDsp): Use redisplay_windows rather than
13859 redisplay_all_windows, which was removed. 13855 redisplay_all_windows, which was removed.
13860 13856
138611990-02-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 138571990-02-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -13870,8 +13866,8 @@
13870 converting selection (note new variable x_converting_selection), 13866 converting selection (note new variable x_converting_selection),
13871 just set new variable x_selection_alloc_error. 13867 just set new variable x_selection_alloc_error.
13872 13868
13873 * xfns.c: Massive changes for crufty selection processing details. 13869 * xfns.c: Massive changes for crufty selection processing details.
13874 New X atoms: Xatom_clipboard, Xatom_delete, Xatom_insert_selection, 13870 New X atoms: Xatom_clipboard, Xatom_delete, Xatom_insert_selection,
13875 Xatom_insert_property, Xatom_pair. 13871 Xatom_insert_property, Xatom_pair.
13876 13872
138771990-02-21 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138731990-02-21 Joseph Arceneaux (jla@churchy.ai.mit.edu)
@@ -13883,7 +13879,7 @@
13883 13879
138841990-02-20 Joseph Arceneaux (jla@churchy.ai.mit.edu) 138801990-02-20 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13885 13881
13886 * keyboard.c (kbd_buffer_get_char): Use KBD_BUFFER_SIZE rather 13882 * keyboard.c (kbd_buffer_get_char): Use KBD_BUFFER_SIZE rather
13887 than sizeof kbd_buffer. 13883 than sizeof kbd_buffer.
13888 (read_key_sequence): Upon redraw-display symbol, set 13884 (read_key_sequence): Upon redraw-display symbol, set
13889 screen_garbaged. 13885 screen_garbaged.
@@ -13919,7 +13915,7 @@
13919 13915
139201990-02-14 Joseph Arceneaux (jla@albert.ai.mit.edu) 139161990-02-14 Joseph Arceneaux (jla@albert.ai.mit.edu)
13921 13917
13922 * keyboard.c (read_avail_input): pass read_socket_hook 13918 * keyboard.c (read_avail_input): Pass read_socket_hook
13923 KBD_BUFFER_SIZE rather than doing sizeof (buf). 13919 KBD_BUFFER_SIZE rather than doing sizeof (buf).
13924 13920
13925 * xterm.c (XTread_socket): Set event.type = MotionNotify when 13921 * xterm.c (XTread_socket): Set event.type = MotionNotify when
@@ -13927,10 +13923,10 @@
13927 13923
139281990-02-13 Joseph Arceneaux (jla@churchy.ai.mit.edu) 139241990-02-13 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13929 13925
13930 * window.c (next_screen, prev_screen): moved to screen.c 13926 * window.c (next_screen, prev_screen): Moved to screen.c.
13931 (Fnext_window): If mini non-nil, count the separate minibuffer 13927 (Fnext_window): If mini non-nil, count the separate minibuffer
13932 screen. 13928 screen.
13933 * screen.c (Fnext_screen): new subr. 13929 * screen.c (Fnext_screen): New subr.
13934 13930
139351990-02-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 139311990-02-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
13936 13932
@@ -13964,7 +13960,7 @@
13964 Also, just use nil and t for x-mouse-grabbed. Record buttons 13960 Also, just use nil and t for x-mouse-grabbed. Record buttons
13965 pressed in new variable x_mouse_grabbed. XGrabPointer on button 13961 pressed in new variable x_mouse_grabbed. XGrabPointer on button
13966 depression. 13962 depression.
13967 * xfns.c (Fx_horizontal_line): use x_mouse_grabbed. 13963 * xfns.c (Fx_horizontal_line): Use x_mouse_grabbed.
13968 13964
139691990-02-07 Joseph Arceneaux (jla@churchy.ai.mit.edu) 139651990-02-07 Joseph Arceneaux (jla@churchy.ai.mit.edu)
13970 13966
@@ -14014,7 +14010,7 @@
14014 14010
140151990-01-28 Joseph Arceneaux (jla@churchy.ai.mit.edu) 140111990-01-28 Joseph Arceneaux (jla@churchy.ai.mit.edu)
14016 14012
14017 * xfns.c (Fx_track_pointer): rewrote this to loop while there are 14013 * xfns.c (Fx_track_pointer): Rewrote this to loop while there are
14018 mouse events. 14014 mouse events.
14019 14015
14020 * xterm.c (XTread_socket): Return left-window-event symbol upon 14016 * xterm.c (XTread_socket): Return left-window-event symbol upon
@@ -14121,7 +14117,7 @@
14121 * keyboard.c (read_key_sequence): Function keys are now lisp symbols. 14117 * keyboard.c (read_key_sequence): Function keys are now lisp symbols.
14122 (kbd_buffer_store_char): Abort if store pointer past 14118 (kbd_buffer_store_char): Abort if store pointer past
14123 buffer. Temproarry; This shouldn't be able to happen. 14119 buffer. Temproarry; This shouldn't be able to happen.
14124 (read_key_sequence): #ifdef HAVE_X_WINDOWS code 14120 (read_key_sequence): #ifdef HAVE_X_WINDOWS code
14125 which handles complex objects. 14121 which handles complex objects.
14126 (command_loop_1): Check not termcap screen before 14122 (command_loop_1): Check not termcap screen before
14127 processing non-char input. 14123 processing non-char input.
@@ -14140,7 +14136,7 @@
14140 (XTflash): Just dumpglyfs instead of redrawing the 14136 (XTflash): Just dumpglyfs instead of redrawing the
14141 screen after flashing the rectangle. 14137 screen after flashing the rectangle.
14142 14138
14143 * lread.c: (syms_of_lread): defsubr Fread_event. 14139 * lread.c (syms_of_lread): defsubr Fread_event.
14144 14140
141451990-01-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 141411990-01-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14146 14142
@@ -14208,9 +14204,9 @@
142081989-12-14 Joseph Arceneaux (jla@spiff) 142041989-12-14 Joseph Arceneaux (jla@spiff)
14209 14205
14210 * xfns.c: New variable Vx_no_window_manager. 14206 * xfns.c: New variable Vx_no_window_manager.
14211 (Fx_track_pointer): If bufp < 0, abort. 14207 (Fx_track_pointer): If bufp < 0, abort.
14212 14208
14213 * xterm.c (XTread_socket): When leaving window, set x_mouse_x and 14209 * xterm.c (XTread_socket): When leaving window, set x_mouse_x and
14214 x_mouse_y to -1. 14210 x_mouse_y to -1.
14215 14211
142161989-12-13 Joseph Arceneaux (jla@spiff) 142121989-12-13 Joseph Arceneaux (jla@spiff)
@@ -14228,12 +14224,12 @@
14228 14224
142291989-12-08 Joseph Arceneaux (jla@spiff) 142251989-12-08 Joseph Arceneaux (jla@spiff)
14230 14226
14231 * process.c (create_process): For not USG, properly set the 14227 * process.c (create_process): For not USG, properly set the
14232 process group. 14228 process group.
14233 14229
142341989-12-07 Joseph Arceneaux (jla@spiff) 142301989-12-07 Joseph Arceneaux (jla@spiff)
14235 14231
14236 * term.c (topos): Under X Windows, abort if topos_hook not 14232 * term.c (topos): Under X Windows, abort if topos_hook not
14237 correct. Temporary. 14233 correct. Temporary.
14238 14234
14239 * xfns.c (Fx_horizontal_line): New subr. 14235 * xfns.c (Fx_horizontal_line): New subr.
@@ -14250,7 +14246,7 @@
142501989-12-04 Joseph Arceneaux (jla@spiff) 142461989-12-04 Joseph Arceneaux (jla@spiff)
14251 14247
14252 * screen.c (coordinates_in_window): New function. 14248 * screen.c (coordinates_in_window): New function.
14253 (Fcoordinates_in_window_p): Rewritten to use above. 14249 (Fcoordinates_in_window_p): Rewritten to use above.
14254 14250
14255 * dispextern.h: New element bufp for display_line structure when 14251 * dispextern.h: New element bufp for display_line structure when
14256 using X windows. 14252 using X windows.
@@ -14262,13 +14258,13 @@
14262 14258
14263 * alloc.c: Upped NSTATICS from 200 to 256. 14259 * alloc.c: Upped NSTATICS from 200 to 256.
14264 14260
14265 * xterm.c (XTread_socket): Report MotionNotify events only if 14261 * xterm.c (XTread_socket): Report MotionNotify events only if
14266 mouse has changed character position. Call x_read_mouse_position. 14262 mouse has changed character position. Call x_read_mouse_position.
14267 Set Vmouse_event here. 14263 Set Vmouse_event here.
14268 * xfns.c (x_read_mouse_position): Set new global variables 14264 * xfns.c (x_read_mouse_position): Set new global variables
14269 x_mouse_x and x_mouse_y. 14265 x_mouse_x and x_mouse_y.
14270 14266
14271 * keyboard.c: Vignore_mouse_events: New variable. 14267 * keyboard.c: Vignore_mouse_events: New variable.
14272 14268
14273 * syntax.c (Fscan_sexps): Doc change. 14269 * syntax.c (Fscan_sexps): Doc change.
14274 14270
@@ -14281,7 +14277,7 @@
14281 * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'. 14277 * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'.
14282 (x_rectangle): Draw half-size if negative argument. 14278 (x_rectangle): Draw half-size if negative argument.
14283 14279
14284 * xterm.c (XTread_socket): abort if garbage collecting when doing 14280 * xterm.c (XTread_socket): Abort if garbage collecting when doing
14285 mouse events. 14281 mouse events.
14286 14282
14287 * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined. 14283 * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined.
@@ -14306,7 +14302,7 @@
14306 14302
143071989-11-29 Joseph Arceneaux (jla@spiff) 143031989-11-29 Joseph Arceneaux (jla@spiff)
14308 14304
14309 * lread.c (Fread_char): Return a Lisp_Object (directly from 14305 * lread.c (Fread_char): Return a Lisp_Object (directly from
14310 get_char). 14306 get_char).
14311 14307
14312 * keyboard.c: 14308 * keyboard.c:
@@ -14380,7 +14376,7 @@
14380 14376
143811989-11-14 Joseph Arceneaux (jla@spiff) 143771989-11-14 Joseph Arceneaux (jla@spiff)
14382 14378
14383 * xfns.c (Fx_get_selection, x_selection_arrival): use &event 14379 * xfns.c (Fx_get_selection, x_selection_arrival): Use &event
14384 instead of event. 14380 instead of event.
14385 (x_selection_arrival): For incremental selections, loop on 14381 (x_selection_arrival): For incremental selections, loop on
14386 XGetWindowProperty if one is not enough. 14382 XGetWindowProperty if one is not enough.
@@ -14399,7 +14395,7 @@
14399 14395
144001989-11-08 Joseph Arceneaux (jla@spiff) 143961989-11-08 Joseph Arceneaux (jla@spiff)
14401 14397
14402 * search.c (Fmatch_data): fixed typo. 14398 * search.c (Fmatch_data): Fixed typo.
14403 14399
14404 * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc. 14400 * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc.
14405 * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in 14401 * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in
@@ -14472,19 +14468,19 @@
14472 * lread.c: Moved function read_escape. 14468 * lread.c: Moved function read_escape.
14473 * unexec.c: Declarations for make_hdr, copy_text_and_data, 14469 * unexec.c: Declarations for make_hdr, copy_text_and_data,
14474 copy_sym. Declare mark_x as static void. 14470 copy_sym. Declare mark_x as static void.
14475 * dispextern.h: removed declaration of new_display_line. 14471 * dispextern.h: Removed declaration of new_display_line.
14476 14472
14477 * emacs.c: Do malloc_init if GNU_MALLOC. 14473 * emacs.c: Do malloc_init if GNU_MALLOC.
14478 * gmalloc.c: (malloc_init): New function. 14474 * gmalloc.c (malloc_init): New function.
14479 14475
14480 * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle, 14476 * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle)
14481 outline_region, Fx_countour_region, Fx_uncontour_region): New 14477 (outline_region, Fx_countour_region, Fx_uncontour_region): New
14482 subroutines for drawing rectangles and things. 14478 subroutines for drawing rectangles and things.
14483 (Fx_point_coordinates): New subr. 14479 (Fx_point_coordinates): New subr.
14484 14480
144851989-10-31 Joseph Arceneaux (jla@spiff) 144811989-10-31 Joseph Arceneaux (jla@spiff)
14486 14482
14487 * All .c and .h files: New copyright header. 14483 * All .c and .h files: New copyright header.
14488 14484
144891989-10-30 Joseph Arceneaux (jla@spiff) 144851989-10-30 Joseph Arceneaux (jla@spiff)
14490 14486
@@ -14547,7 +14543,7 @@
14547 14543
14548 * xfns.c (Fx_own_selection): Use second parameter SCREEN. 14544 * xfns.c (Fx_own_selection): Use second parameter SCREEN.
14549 14545
14550 * xdisp.c: (message, message1): No longer displays messages 14546 * xdisp.c (message, message1): No longer displays messages
14551 when using X but not yet mapped. 14547 when using X but not yet mapped.
14552 14548
145531989-10-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 145491989-10-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -14599,12 +14595,12 @@
14599 14595
146001989-10-11 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 145961989-10-11 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14601 14597
14602 * xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and 14598 * xfns.c (Fx_open_connection) New X atoms Xatom_incremental and
14603 Xatom_multiple. 14599 Xatom_multiple.
14604 14600
14605 * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH. 14601 * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH.
14606 14602
14607 * process.c (child_sig): Check pid <= 0 in case WNOHANG not defined. 14603 * process.c (child_sig): Check pid <= 0 in case WNOHANG not defined.
14608 14604
146091989-10-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 146051989-10-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
14610 14606
@@ -14617,8 +14613,7 @@
14617 14613
14618 * xfns.c (Fx_open_connection): Make all X Atoms here. 14614 * xfns.c (Fx_open_connection): Make all X Atoms here.
14619 14615
14620 * xterm.c: (x_iconify_screen): 14616 * xterm.c (x_iconify_screen): Cleaned up this code.
14621 (x_iconify_screen): Cleaned up this code.
14622 (x_term_init): Removed warpmouseondeiconify stuff. 14617 (x_term_init): Removed warpmouseondeiconify stuff.
14623 14618
146241989-10-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 146191989-10-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
@@ -14664,9 +14659,9 @@
14664 MapNotify event. 14659 MapNotify event.
14665 14660
14666 * xterm.c: No longer sets the variable mouse_down_timestamp. 14661 * xterm.c: No longer sets the variable mouse_down_timestamp.
14667 * xfns.c: (Fx_get_mouse_event) mouse_timestamp 14662 * xfns.c (Fx_get_mouse_event): mouse_timestamp (formerly
14668 (formerly mouse_down_timestamp) set here. Also, mask out upper 9 14663 mouse_down_timestamp) set here. Also, mask out upper 9
14669 bits before doing XSET. 14664 bits before doing XSET.
14670 14665
146711989-09-28 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 146661989-09-28 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14672 14667
@@ -14681,17 +14676,15 @@
14681 14676
146821989-09-27 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 146771989-09-27 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
14683 14678
14684 * xfns.c (Fx_own_selection): 14679 * xfns.c (Fx_own_selection, Fx_get_selection, x_disown_selection):
14685 (Fx_get_selection): 14680 New funcs, which use new variables Vx_selection_value,
14686 (x_disown_selection): new funcs, which use new variables 14681 x_begin_selection_own, mouse_down_timestamp, requestor_time,
14687 Vx_selection_value, x_begin_selection_own, mouse_down_timestamp, 14682 requestor_window, property_name, and x_begin_selection_own.
14688 requestor_time, requestor_window, property_name, and
14689 x_begin_selection_own.
14690 14683
14691 * xterm.c (XTread_socket): Only do stuff if s for FocusOut under X11. 14684 * xterm.c (XTread_socket): Only do stuff if s for FocusOut under X11.
14692 SelectionClear: 14685 SelectionClear:
14693 SelectionRequest: 14686 SelectionRequest:
14694 SelectionNotify: New events to handle the selection inter-client 14687 SelectionNotify: New events to handle the selection inter-client
14695 communication mechanism. 14688 communication mechanism.
14696 ButtonPress: Set mouse_down_timestamp. 14689 ButtonPress: Set mouse_down_timestamp.
14697 14690
@@ -14734,11 +14727,11 @@
14734 14727
147351989-09-11 Joseph Arceneaux (jla@spiff) 147281989-09-11 Joseph Arceneaux (jla@spiff)
14736 14729
14737 * fileio.c (Fwrite_region): fixed typo. 14730 * fileio.c (Fwrite_region): Fixed typo.
14738 14731
14739 * keyboard.c (Fdiscard_input): fixed typo. 14732 * keyboard.c (Fdiscard_input): Fixed typo.
14740 14733
14741 * window.c (Fnext_window): fixed typos. 14734 * window.c (Fnext_window): Fixed typos.
14742 14735
14743 * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing 14736 * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing
14744 the associated operations. 14737 the associated operations.
@@ -14986,7 +14979,7 @@
14986 before looping through alist. 14979 before looping through alist.
14987 14980
14988 (Fx_create_screen): Call x_default_parameter for font. 14981 (Fx_create_screen): Call x_default_parameter for font.
14989 Don't add the scrollbar widths when making the main window: this 14982 Don't add the scrollbar widths when making the main window: this
14990 is done when the scrollbar is actually made. 14983 is done when the scrollbar is actually made.
14991 14984
14992 (x_set_vertical_scrollbar): Set v_scrollbar_width here instead of 14985 (x_set_vertical_scrollbar): Set v_scrollbar_width here instead of
@@ -14995,7 +14988,7 @@
14995 14988
14996 (x_set_horizontal_scrollbar): Likewise. 14989 (x_set_horizontal_scrollbar): Likewise.
14997 14990
14998 * xterm.c: (x_set_window_size): Don't call the things called 14991 * xterm.c (x_set_window_size): Don't call the things called
14999 anyway upon the ConfigureNotify event. 14992 anyway upon the ConfigureNotify event.
15000 (x_set_offset): Use the screen-size lisp variables for these 14993 (x_set_offset): Use the screen-size lisp variables for these
15001 calculations. 14994 calculations.
@@ -15007,7 +15000,7 @@
15007 15000
15008 * sysdep.c: Don't include sioctl.h on mips. 15001 * sysdep.c: Don't include sioctl.h on mips.
15009 15002
15010 * buffer.c (Flist_buffers): Pass prefix as arg. 15003 * buffer.c (Flist_buffers): Pass prefix as arg.
15011 15004
15012 * editfns.c (Finsert_char): Insert at most 256 chars at a whack. 15005 * editfns.c (Finsert_char): Insert at most 256 chars at a whack.
15013 15006
@@ -15060,7 +15053,7 @@
15060 15053
150611989-07-11 Joseph Arceneaux (jla@gluteus) 150541989-07-11 Joseph Arceneaux (jla@gluteus)
15062 15055
15063 * xterm.c (x_term_init, XTread_socket): Use ConnectionNumber for 15056 * xterm.c (x_term_init, XTread_socket): Use ConnectionNumber for
15064 both X10 and X11. This is #defined for X10. 15057 both X10 and X11. This is #defined for X10.
15065 15058
15066 * screen.c (Fset_screen_width, Fset_screen_height): These now take 15059 * screen.c (Fset_screen_width, Fset_screen_height): These now take
@@ -15082,15 +15075,15 @@
15082 * eval.c (Ffuncall): Handle 6 arguments. Also, print a nice error 15075 * eval.c (Ffuncall): Handle 6 arguments. Also, print a nice error
15083 message if there are more than 6 args. 15076 message if there are more than 6 args.
15084 15077
15085 * fns.c: (Fyes-or-no-p): 15078 * fns.c (Fyes-or-no-p):
15086 * minibuf.c: (read_minibuf_unwind): 15079 * minibuf.c (read_minibuf_unwind):
15087 (Fread_minibuffer): 15080 (Fread_minibuffer):
15088 (Fread_no_blanks_input): 15081 (Fread_no_blanks_input):
15089 (Fcompleting_read): Extra arg to read_minibuf. 15082 (Fcompleting_read): Extra arg to read_minibuf.
15090 15083
15091 * callint.c (Fcall_interactively): 15084 * callint.c (Fcall_interactively):
15092 * keyboard.c (Fexecute_extended_command): 15085 * keyboard.c (Fexecute_extended_command):
15093 * minibuf.c: (Fread_command): 15086 * minibuf.c (Fread_command):
15094 (Fread_function): 15087 (Fread_function):
15095 (Fread_variable): 15088 (Fread_variable):
15096 (Fread_buffer): Extra arg to Fcompleting_read. 15089 (Fread_buffer): Extra arg to Fcompleting_read.
@@ -15100,14 +15093,14 @@
15100 * minibuf.c (read_minibuf): New argument back_n is number of 15093 * minibuf.c (read_minibuf): New argument back_n is number of
15101 characters to back-up point by. 15094 characters to back-up point by.
15102 (Fcompleting_read): Same. 15095 (Fcompleting_read): Same.
15103 * fileio.c: (Fnew_read_file_name): New version of Fread_file_name 15096 * fileio.c (Fnew_read_file_name): New version of Fread_file_name
15104 using the above features. 15097 using the above features.
15105 (Finsert_file_contents): Check for negative file length. 15098 (Finsert_file_contents): Check for negative file length.
15106 15099
151071989-07-03 Joseph Arceneaux (jla@spiff) 151001989-07-03 Joseph Arceneaux (jla@spiff)
15108 15101
15109 * xfns.c: (x_pixel_width, x_pixel_height) New functions. 15102 * xfns.c (x_pixel_width, x_pixel_height) New functions.
15110 * screen.c: (Fscreen_pixel_size): New subr. 15103 * screen.c (Fscreen_pixel_size): New subr.
15111 15104
151121989-06-30 Joseph Arceneaux (jla@spiff) 151051989-06-30 Joseph Arceneaux (jla@spiff)
15113 15106
@@ -15123,15 +15116,15 @@
15123 15116
151241989-06-27 Joseph Arceneaux (jla@sugar-bombs.ai.mit.edu) 151171989-06-27 Joseph Arceneaux (jla@sugar-bombs.ai.mit.edu)
15125 15118
15126 * screen.c: (Fselect_screen) 15119 * screen.c (Fselect_screen):
15127 * window.c: (Fselect_window) The previous strategy was bugging the 15120 * window.c (Fselect_window): The previous strategy was bugging the
15128 lisp stuff, so these are now rewritten. 15121 lisp stuff, so these are now rewritten.
15129 15122
151301989-06-26 Joseph Arceneaux (jla@galapas.ai.mit.edu) 151231989-06-26 Joseph Arceneaux (jla@galapas.ai.mit.edu)
15131 15124
15132 * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been 15125 * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been
15133 removed. 15126 removed.
15134 (losecursor): This function now a #define in cm.h. 15127 (losecursor): This function now a #define in cm.h.
15135 15128
15136 * xterm.c (x_iconify_screen): Send message to root window to do 15129 * xterm.c (x_iconify_screen): Send message to root window to do
15137 this, as per latest Inter-Client Communications Conventions. This 15130 this, as per latest Inter-Client Communications Conventions. This
@@ -15168,7 +15161,7 @@
15168 15161
15169 * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp 15162 * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp
15170 function x-color-screen-p in x-win.el. 15163 function x-color-screen-p in x-win.el.
15171 (x_set_cursor_color): New method: first disallow same cursor as 15164 (x_set_cursor_color): New method: first disallow same cursor as
15172 background, then if cursor not foreground, use it as cursor 15165 background, then if cursor not foreground, use it as cursor
15173 foreground. 15166 foreground.
15174 15167
@@ -15241,11 +15234,11 @@
15241 15234
152421989-06-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 152351989-06-09 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15243 15236
15244 * window.c: initialize auto_new_screen to 0 (nil). 15237 * window.c: Initialize auto_new_screen to 0 (nil).
15245 15238
15246 * screen.c (make_screen): added auto_lower to the list of screen 15239 * screen.c (make_screen): Added auto_lower to the list of screen
15247 elements initialized. 15240 elements initialized.
15248 (make_minibuffer_screen): likewise. 15241 (make_minibuffer_screen): Likewise.
15249 15242
152501989-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 152431989-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15251 15244
@@ -15263,7 +15256,7 @@
15263 15256
152641989-06-08 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 152571989-06-08 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15265 15258
15266 * xfns.c: removed superfluous definition of gray_bits. 15259 * xfns.c: Removed superfluous definition of gray_bits.
15267 15260
152681989-06-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 152611989-06-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15269 15262
@@ -15294,13 +15287,13 @@
15294 15287
152951989-06-05 Joseph Arceneaux (jla@cream-of-wheat.ai.mit.edu) 152881989-06-05 Joseph Arceneaux (jla@cream-of-wheat.ai.mit.edu)
15296 15289
15297 * xterm.c (x_set_window_size): If not already in DoDsp (checked 15290 * xterm.c (x_set_window_size): If not already in DoDsp (checked
15298 with variable in_display) then DoDsp here. Handles redisplay 15291 with variable in_display) then DoDsp here. Handles redisplay
15299 after screen configuration. 15292 after screen configuration.
15300 (x_error_handler): Print out stuff about the error if we're in 15293 (x_error_handler): Print out stuff about the error if we're in
15301 debug mode. 15294 debug mode.
15302 15295
15303 * dispnew.c (change_screen_size): No longer call DoDsp here. 15296 * dispnew.c (change_screen_size): No longer call DoDsp here.
15304 15297
153051989-06-05 Chris Hanson (cph@kleph) 152981989-06-05 Chris Hanson (cph@kleph)
15306 15299
@@ -15318,7 +15311,7 @@
15318 15311
153191989-05-29 Joseph Arceneaux (jla@gracilis.ai.mit.edu) 153121989-05-29 Joseph Arceneaux (jla@gracilis.ai.mit.edu)
15320 15313
15321 * xfns.c: (Fx_create_screen): If parms is nil and 15314 * xfns.c (Fx_create_screen): If parms is nil and
15322 Vx_screen_defaults isn't, then use them. 15315 Vx_screen_defaults isn't, then use them.
15323 (Fdisplay_buffer): Call Fx_create_screen with Qnil. 15316 (Fdisplay_buffer): Call Fx_create_screen with Qnil.
15324 15317
@@ -15341,7 +15334,7 @@
15341 the right thing. 15334 the right thing.
15342 (Frestore_screen_configuration): Don't set the mouse position. 15335 (Frestore_screen_configuration): Don't set the mouse position.
15343 15336
15344 * window.c (Fselect_window): If window's screen is not selected, 15337 * window.c (Fselect_window): If window's screen is not selected,
15345 call Fselecte_screen. 15338 call Fselecte_screen.
15346 (Fdisplay_buffer): Call Fx_create_screen with x-screen-parameters 15339 (Fdisplay_buffer): Call Fx_create_screen with x-screen-parameters
15347 as argument instead of nil. 15340 as argument instead of nil.
@@ -15366,17 +15359,17 @@
15366 15359
153671989-05-19 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 153601989-05-19 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15368 15361
15369 * xterm.c (x_new_selected_screen): This now takes a struct screen 15362 * xterm.c (x_new_selected_screen): This now takes a struct screen
15370 pointer as paramter. 15363 pointer as parameter.
15371 * (XTread_socket): call x_new_selected_screen *before* dumpborder. 15364 (XTread_socket): Call x_new_selected_screen *before* dumpborder.
15372 15365
153731989-05-16 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 153661989-05-16 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15374 15367
15375 * xfns.c: (x_window_to_scrollbar): If the caller's not interested 15368 * xfns.c (x_window_to_scrollbar): If the caller's not interested
15376 in the names--passing 0 for last two parameters--just return the 15369 in the names--passing 0 for last two parameters--just return the
15377 screen pointer. 15370 screen pointer.
15378 15371
15379 * xterm.c (x_enter_screen): Added this function for warping the 15372 * xterm.c (x_enter_screen): Added this function for warping the
15380 pointer into a screen. 15373 pointer into a screen.
15381 15374
153821989-05-16 Chris Hanson (cph@kleph) 153751989-05-16 Chris Hanson (cph@kleph)
@@ -15388,7 +15381,7 @@
15388 15381
153891989-05-16 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 153821989-05-16 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15390 15383
15391 * xterm.c: (x_new_selected_screen): Don't call Fselect_screen. 15384 * xterm.c (x_new_selected_screen): Don't call Fselect_screen.
15392 Just do everything here. 15385 Just do everything here.
15393 15386
15394 * window.c (Fselect_window): If the screen associated with the 15387 * window.c (Fselect_window): If the screen associated with the
@@ -15396,7 +15389,7 @@
15396 which then causes the proper screen to become selected. This does 15389 which then causes the proper screen to become selected. This does
15397 *not* call Fselect_screen. 15390 *not* call Fselect_screen.
15398 15391
15399 * screen.c (Fselect_screen): Now this is *only* a lisp subr. It 15392 * screen.c (Fselect_screen): Now this is *only* a lisp subr. It
15400 just calls Fselect_window on the selected window of the screen. 15393 just calls Fselect_window on the selected window of the screen.
15401 15394
154021989-05-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 153951989-05-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15410,7 +15403,7 @@
15410 macro in: 15403 macro in:
15411 * xterm.h: New macro XChangeWindowSize for both X10 and X11. 15404 * xterm.h: New macro XChangeWindowSize for both X10 and X11.
15412 15405
15413 * xfns.c (Fx_create_screen): Use XCreateWindow instead of 15406 * xfns.c (Fx_create_screen): Use XCreateWindow instead of
15414 XCreateSimpleWindow to directly set some extra attributes. 15407 XCreateSimpleWindow to directly set some extra attributes.
15415 15408
154161989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 154091989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15439,12 +15432,12 @@
15439 15432
154401989-05-12 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) 154331989-05-12 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu)
15441 15434
15442 * xfns.c (Fx_create_screen): If user has specified 15435 * xfns.c (Fx_create_screen): If user has specified
15443 `x-iconic-startup' then start emacs in iconic form. 15436 `x-iconic-startup' then start emacs in iconic form.
15444 Look for icon position in `icon-left' and `icon-top', or use 15437 Look for icon position in `icon-left' and `icon-top', or use
15445 window postion. 15438 window postion.
15446 15439
15447 * xterm.c (x_term_init): If server doesn't respond, use fatal 15440 * xterm.c (x_term_init): If server doesn't respond, use fatal
15448 instead of error. Also tell user about -d option. 15441 instead of error. Also tell user about -d option.
15449 15442
154501989-05-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 154431989-05-10 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15459,7 +15452,7 @@
15459 15452
154601989-05-10 Joseph Arceneaux (jla@corn-chex.ai.mit.edu) 154531989-05-10 Joseph Arceneaux (jla@corn-chex.ai.mit.edu)
15461 15454
15462 * xfns.c (adjust_scrollbars): Don't subtract 2 from 15455 * xfns.c (adjust_scrollbars): Don't subtract 2 from
15463 h_scrollbar_height when calculating `length'. 15456 h_scrollbar_height when calculating `length'.
15464 15457
154651989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 154581989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15475,7 +15468,7 @@
15475 * xterm.c (XTread_socket_hook): For X11, on map and unmap events 15468 * xterm.c (XTread_socket_hook): For X11, on map and unmap events
15476 check the window manager hints for iconification status. 15469 check the window manager hints for iconification status.
15477 15470
15478 * xterm.c (x_make_widow_icon): For X11, just request 15471 * xterm.c (x_make_widow_icon): For X11, just request
15479 iconification of the window manager. 15472 iconification of the window manager.
15480 15473
154811989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 154741989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15484,10 +15477,10 @@
15484 15477
154851989-05-07 Joseph Arceneaux (jla@corn-chex.ai.mit.edu) 154781989-05-07 Joseph Arceneaux (jla@corn-chex.ai.mit.edu)
15486 15479
15487 * xfns.c (adjust_scrollbars): Don't subtract 2 from 15480 * xfns.c (adjust_scrollbars): Don't subtract 2 from
15488 v_scrollbar_width when calculating `height'. 15481 v_scrollbar_width when calculating `height'.
15489 15482
15490 * xfns.c (x_set_foreground, x_set_border_pixel): Finished color 15483 * xfns.c (x_set_foreground, x_set_border_pixel): Finished color
15491 coordination. Scrollbar border, thump-arrows, and slider pixmap 15484 coordination. Scrollbar border, thump-arrows, and slider pixmap
15492 linked with foreground color; slider border with window border. 15485 linked with foreground color; slider border with window border.
15493 15486
@@ -15504,7 +15497,7 @@
15504 15497
155051989-05-05 Joseph Arceneaux (jla@gracilis.ai.mit.edu) 154981989-05-05 Joseph Arceneaux (jla@gracilis.ai.mit.edu)
15506 15499
15507 * xfns.c (Fx_set_face): Rewrote the doc-string and renamed the 15500 * xfns.c (Fx_set_face): Rewrote the doc-string and renamed the
15508 parameters. 15501 parameters.
15509 15502
155101989-05-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 155031989-05-05 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15567,8 +15560,8 @@
15567 15560
155681989-05-03 Joe Arceneaux (jla@gracilis.ai.mit.edu) 155611989-05-03 Joe Arceneaux (jla@gracilis.ai.mit.edu)
15569 15562
15570 * xterm.c (x_draw_box): Use the cursor_gc. 15563 * xterm.c (x_draw_box): Use the cursor_gc.
15571 * xfns.c: (x_set_cursor_color, x_create_screen): Do a better job 15564 * xfns.c (x_set_cursor_color, x_create_screen): Do a better job
15572 with cursor colors, and use 0 line width for the cursor_gc. 15565 with cursor colors, and use 0 line width for the cursor_gc.
15573 15566
155741989-05-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 155671989-05-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
@@ -15581,8 +15574,8 @@
15581 Handle fcns of type Lisp_Compiled. 15574 Handle fcns of type Lisp_Compiled.
15582 (Fcommandp, Fapply): Avoid directly nested ifs. 15575 (Fcommandp, Fapply): Avoid directly nested ifs.
15583 * print.c (print): Handle Lisp_Compiled objects. 15576 * print.c (print): Handle Lisp_Compiled objects.
15584 * callint.c (Fcall_interactively): likewise. 15577 * callint.c (Fcall_interactively): Likewise.
15585 * doc.c (Fdocumentation): likewise. 15578 * doc.c (Fdocumentation): Likewise.
15586 15579
15587 * keyboard.c (Fopen_dribble_file): nil as arg means close it. 15580 * keyboard.c (Fopen_dribble_file): nil as arg means close it.
15588 15581
@@ -15727,10 +15720,10 @@
15727 15720
157281989-04-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 157211989-04-20 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15729 15722
15730 * window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and 15723 * window.c: Rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and
15731 Vtemp_buffer_show_hook to ..._function. 15724 Vtemp_buffer_show_hook to ..._function.
15732 15725
15733 * keyboard.c: rename mouse_hook to mouse_event_function. 15726 * keyboard.c: Rename mouse_hook to mouse_event_function.
15734 15727
15735 * buffer.c, buffer.h, cmds.c: blink-paren-hook and auto-fill-hook 15728 * buffer.c, buffer.h, cmds.c: blink-paren-hook and auto-fill-hook
15736 renamed to -function. 15729 renamed to -function.
@@ -15761,7 +15754,7 @@
15761 15754
157621989-04-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 157551989-04-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15763 15756
15764 * window.c (Fdelete_other_windows): recenter window to avoid scrolling. 15757 * window.c (Fdelete_other_windows): Recenter window to avoid scrolling.
15765 15758
157661989-04-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 157591989-04-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15767 15760
@@ -15785,14 +15778,14 @@
15785 15778
15786 * fns.c (Fload_average): nlist data structure is funny on convex. 15779 * fns.c (Fload_average): nlist data structure is funny on convex.
15787 15780
15788 * window.c (scroll_command): scroll at least 1 line in specd direction. 15781 * window.c (scroll_command): Scroll at least 1 line in specd direction.
15789 15782
15790 * cm.c (calccost): NTABS was off by 1 sometimes; take account of 15783 * cm.c (calccost): NTABS was off by 1 sometimes; take account of
15791 the starting position modulo 8. 15784 the starting position modulo 8.
15792 15785
15793 * fileio.c (Fexpand_file_name): Don't simplify /../ at start of name. 15786 * fileio.c (Fexpand_file_name): Don't simplify /../ at start of name.
15794 15787
15795 * callint.c: doc fixes. 15788 * callint.c: Doc fixes.
15796 15789
15797 * process.c (create_process): 15790 * process.c (create_process):
15798 On all USG systems, not just IRIS and AIX, don't pre-open pty's tty. 15791 On all USG systems, not just IRIS and AIX, don't pre-open pty's tty.
@@ -15818,7 +15811,7 @@
15818 15811
158191989-04-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 158121989-04-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15820 15813
15821 * process.c (Fopen_network_stream): close desc. if connect fails. 15814 * process.c (Fopen_network_stream): Close desc. if connect fails.
15822 15815
158231989-03-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 158161989-03-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
15824 15817
@@ -15919,7 +15912,7 @@
15919 (dumpglyfs) [X11]: Changed args to XDrawImageString. 15912 (dumpglyfs) [X11]: Changed args to XDrawImageString.
15920 If debugging, do XFlushQueue. 15913 If debugging, do XFlushQueue.
15921 Use screen's face_gc rather than old global one. 15914 Use screen's face_gc rather than old global one.
15922 (XTflash) [not BSD]: avoid `struct itimerval'; use `alarm'. 15915 (XTflash) [not BSD]: Avoid `struct itimerval'; use `alarm'.
15923 (events): New table of event type names. 15916 (events): New table of event type names.
15924 (XTread_socket): EVENT is now an XEvent even on x10. 15917 (XTread_socket): EVENT is now an XEvent even on x10.
15925 Translate modifier key 1 into meta-bit. 15918 Translate modifier key 1 into meta-bit.
@@ -15932,7 +15925,7 @@
15932 (x_display_cursor): dumpglyfs args changed. 15925 (x_display_cursor): dumpglyfs args changed.
15933 (x_draw_box): Add GC arg to XDrawRectangle; change other args. 15926 (x_draw_box): Add GC arg to XDrawRectangle; change other args.
15934 (clear_cursor): Change args to XClearArea. 15927 (clear_cursor): Change args to XClearArea.
15935 (dumpborder): check x_input_screen, not selected_screen. 15928 (dumpborder): Check x_input_screen, not selected_screen.
15936 (x_text_icon): For X11, new arg to XGetDefault. 15929 (x_text_icon): For X11, new arg to XGetDefault.
15937 Cast values stored in icon_label. 15930 Cast values stored in icon_label.
15938 (x_term_init): Hair to calculate name for icon. 15931 (x_term_init): Hair to calculate name for icon.
@@ -16003,10 +15996,10 @@
16003 This may avoid the X loop-on-logout bug. 15996 This may avoid the X loop-on-logout bug.
16004 15997
16005 * process.c (wait_reading_process_input): Flush fix_screen_hook. 15998 * process.c (wait_reading_process_input): Flush fix_screen_hook.
16006 * termhooks.h, term.c: likewise. 15999 * termhooks.h, term.c: Likewise.
16007 16000
16008 * xdisp.c (Fredraw_display): Don't do set_terminal_modes. 16001 * xdisp.c (Fredraw_display): Don't do set_terminal_modes.
16009 * dispnew.c (Fredraw_screen): likewise. 16002 * dispnew.c (Fredraw_screen): Likewise.
16010 16003
16011 * eval.c (Fcond): If no args, return nil. 16004 * eval.c (Fcond): If no args, return nil.
16012 16005
@@ -16032,7 +16025,7 @@
16032 Arg EXPECTED is passed to read_socket_hook. 16025 Arg EXPECTED is passed to read_socket_hook.
16033 (input_available_signal): Use read_avail_input. 16026 (input_available_signal): Use read_avail_input.
16034 (gobble_input): Use read_avail_input; arg EXPECTED passed along. 16027 (gobble_input): Use read_avail_input; arg EXPECTED passed along.
16035 (get_input_pending): let gobble_input do the work. 16028 (get_input_pending): Let gobble_input do the work.
16036 16029
16037 VMS keyboard input should have interrupt_input nonzero. 16030 VMS keyboard input should have interrupt_input nonzero.
16038 * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set 16031 * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set
@@ -16062,7 +16055,7 @@
16062 (num_input_keys): New Lisp variable. 16055 (num_input_keys): New Lisp variable.
16063 16056
16064 * m/m-gould.h, m/m-ibmrt-aix.h, m/m-sequent.h, m/m-sparc.h, 16057 * m/m-gould.h, m/m-ibmrt-aix.h, m/m-sequent.h, m/m-sparc.h,
16065 m/m-sun3.h, m/m-symmetry.h: Define A_TEXT_SEEK. 16058 * m/m-sun3.h, m/m-symmetry.h: Define A_TEXT_SEEK.
16066 * unexec.c (copy_text_and_data): Don't check A_TEXT_OFFSET, 16059 * unexec.c (copy_text_and_data): Don't check A_TEXT_OFFSET,
16067 just A_TEXT_SEEK. 16060 just A_TEXT_SEEK.
16068 * unexconvex.c: Likewise. 16061 * unexconvex.c: Likewise.
@@ -16084,7 +16077,7 @@
16084 16077
160851989-01-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 160781989-01-11 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16086 16079
16087 * dispnew.c (init_display): don't handle SIGWINCH if using X. 16080 * dispnew.c (init_display): Don't handle SIGWINCH if using X.
16088 16081
16089 * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save. 16082 * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save.
16090 This avoids duplicate messages and allows M-x auto-save to turn it on. 16083 This avoids duplicate messages and allows M-x auto-save to turn it on.
@@ -16193,7 +16186,7 @@
16193 * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column 16186 * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column
16194 or change tab to spaces if necessary. 16187 or change tab to spaces if necessary.
16195 16188
16196 * m/m-iris4d.h: (conditionally) delete DEFAULT_ENTRY_ADDRESS 16189 * m/m-iris4d.h: (Conditionally) delete DEFAULT_ENTRY_ADDRESS
16197 and change START_FILES and LIB_STANDARD. 16190 and change START_FILES and LIB_STANDARD.
16198 16191
16199 * s/s-iris3-6.h: Define sigblock as no-op. 16192 * s/s-iris3-6.h: Define sigblock as no-op.
@@ -16259,7 +16252,7 @@
16259 16252
16260 * lread.c (read_escape): Support ANSI C `\x...' hex escapes. 16253 * lread.c (read_escape): Support ANSI C `\x...' hex escapes.
16261 16254
16262 * bytecode.c (Fbyte_code): fix jump operators for change in `pc'. 16255 * bytecode.c (Fbyte_code): Fix jump operators for change in `pc'.
16263 16256
162641988-12-21 Joe Arceneaux (jla@gracilis.ai.mit.edu) 162571988-12-21 Joe Arceneaux (jla@gracilis.ai.mit.edu)
16265 16258
@@ -16284,8 +16277,8 @@
16284 16277
162851988-12-16 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu) 162781988-12-16 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu)
16286 16279
16287 * sink.h,sinkmask.h: Same file now works for both X10 and X11. 16280 * sink.h, sinkmask.h: Same file now works for both X10 and X11.
16288 * xterm.c,xfns.c (x_text_icon) Can now take new name as parameter. 16281 * xterm.c, xfns.c (x_text_icon) Can now take new name as parameter.
16289 16282
162901988-12-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 162831988-12-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16291 16284
@@ -16301,7 +16294,7 @@
163011988-12-14 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu) 162941988-12-14 Joe Arceneaux (jla@apple-gunkies.ai.mit.edu)
16302 16295
16303 * xfns.c: Made the first cut for X11 version. 16296 * xfns.c: Made the first cut for X11 version.
16304 * xterm.c: (x_reset_cursor) Did the X11 version. 16297 * xterm.c (x_reset_cursor): Did the X11 version.
16305 16298
163061988-12-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 162991988-12-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16307 16300
@@ -16363,7 +16356,7 @@
16363 * ymakefile (THIS_IS_YMAKEFILE): Define macro to tell m- files 16356 * ymakefile (THIS_IS_YMAKEFILE): Define macro to tell m- files
16364 to do special things. 16357 to do special things.
16365 16358
16366 * m/m-ns16000.h: (LOAD_AVE_TYPE, etc.): Don't define them if USG. 16359 * m/m-ns16000.h (LOAD_AVE_TYPE, etc.): Don't define them if USG.
16367 * m/m-ns16000.h [USG]: Define various macros differently. 16360 * m/m-ns16000.h [USG]: Define various macros differently.
16368 (munnari!sibyl.eleceng.ua.oz.au!ian@uunet.uu.net). 16361 (munnari!sibyl.eleceng.ua.oz.au!ian@uunet.uu.net).
16369 16362
@@ -16436,7 +16429,7 @@
164361988-09-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 164291988-09-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16437 16430
16438 * editfns.c (Fformat): Allow nulls in the format. 16431 * editfns.c (Fformat): Allow nulls in the format.
16439 * doprnt.c (doprnt): likewise. End of format string is new arg. 16432 * doprnt.c (doprnt): Likewise. End of format string is new arg.
16440 16433
164411988-09-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 164341988-09-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
16442 16435
@@ -16474,7 +16467,7 @@
16474 16467
16475 * process.c (child_sig): If synch process terminates, clear 16468 * process.c (child_sig): If synch process terminates, clear
16476 synch_process_pid and record synch_process_death. 16469 synch_process_pid and record synch_process_death.
16477 * callproc.c (Fcall_process): return synch_process_death. 16470 * callproc.c (Fcall_process): Return synch_process_death.
16478 Always set synch_process_pid and do it with SIGCHLD masked off. 16471 Always set synch_process_pid and do it with SIGCHLD masked off.
16479 * sysdep.c (wait_for_termination) [subprocesses and not VMS]: 16472 * sysdep.c (wait_for_termination) [subprocesses and not VMS]:
16480 Use alarms to check every second whether synch_process_pid is 0. 16473 Use alarms to check every second whether synch_process_pid is 0.