*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
[bpt/emacs.git] / src / ChangeLog
index aa18ee1..b1a2b6a 100644 (file)
@@ -1,3 +1,654 @@
+2000-08-08  Ken Raeburn  <raeburn@gnu.org>
+
+       * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a
+       lisp object.
+       (Ffind_coding_systems_region_internal): First argument to Fappend
+       must be an integer, not a lisp object.
+
+2000-08-08  Kenichi Handa  <handa@etl.go.jp>
+
+       * charset.c (Fchar_width): Doc fix.
+
+2000-08-08  Gerd Moellmann  <gerd@gnu.org>
+
+       * charset.c (Fstring_width): Doc fix.
+
+2000-08-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (start_display): WHen starting display on a continuation
+       line, clear ascent and descent members of the iterator structure;
+       the height of the continued line does not affect the height of the
+       continuation line.
+       (make_cursor_line_fully_visible): Do nothing if cursor is on a
+       line taller than the window.
+       (redisplay_window) <forced window start>: Handle case that the
+       middle of the window is not found in any row.
+       (dump_glyph_row): Show more information.
+       (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the
+       first text line in a glyph matrix.
+
+       * xterm.c (x_draw_image_foreground): Avoid drawing outside
+       of the clip area when image doesn't have a mask.
+
+       * fns.c (sweep_weak_table): Fix survival conditions for
+       key-or-value and key-and-value weakness.
+
+       * .gdbinit (xhashtable): New command.
+
+       * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked
+       tables out of the list of all weak hash tables.
+
+       * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and
+       a new buffer is created, make sure echo_area_buffer[] references
+       the new buffer.
+
+2000-08-07  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in
+       the doc string.
+
+2000-08-07  Kenichi Handa  <handa@etl.go.jp>
+
+       * syntax.c (skip_chars): Fix previous change.  Make the handling
+       of unibyte string consistent with that of regex search.
+
+2000-08-05  Gerd Moellmann  <gerd@gnu.org>
+
+       * xmenu.c (popup_get_selection): Use xfree instead of free.
+
+       * fileio.c (Finsert_file_contents): Use xfree instead of free.
+
+       * editfns.c (Ftranspose_regions): Use xfree instead of free.
+
+       * callproc.c (child_setup): Use xfree instead of free.
+
+       * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc
+       instead of malloc.
+       (run_mac_command, closedir): Use `xfree' instead of `free'.
+
+       * keymap.c (current_minor_maps): Use xmalloc instead of malloc.
+
+       * eval.c (error): Use xfree instead of free.
+
+       * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'.
+
+       * fns.c: Replace `illegal' with `invalid'.
+       (Fmake_hash_table, make_hash_table): Allow table size of 0.
+
+2000-08-05  Kenichi Handa  <handa@etl.go.jp>
+
+       * syntax.c (skip_chars): Fix handling of multibyte<->unibyte
+       conversion.
+
+2000-08-04  Noah Friedman  <friedman@splode.com>
+
+       * fns.c (Fmake_hash_table): Add missing `\n\' to end of line in
+       docstring.
+
+2000-08-04  Gerd Moellmann  <gerd@gnu.org>
+
+       * syntax.c (skip_chars): Fix typo in error message.
+
+2000-08-04  Andreas Schwab  <schwab@suse.de>
+
+       * m/ia64.h: Moved from s/ia64.h.
+
+2000-08-04  Kenichi Handa  <handa@etl.go.jp>
+
+       * process.c (read_process_output): Big simplification.  Handle
+       composition and post-read-conversion of coding system correctly.
+       (send_process): Handle composition correctly.
+
+       * callproc.c (Fcall_process): Handle post-read-conversion of
+       coding system if any.
+
+       * coding.c (decode_coding_iso2022): More strict check for handling
+       single shifting.
+       (coding_restore_composition): Pay attention to the case that
+       cmp_data is not set properly (because of invalid code in the
+       source text).
+       (run_pre_post_conversion_on_str): Include text properties in the
+       resulting string.
+       (decode_coding_string): Set members of coding correctly.
+
+2000-08-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * s/ia64.h: New file.
+
+       * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues):
+       Use NULL instead of 0 at the end of variable argument list of
+       XtVaGetValues and XtVaSetValues, because 0 fails on systems where
+       sizeof (int) < sizeof (void *).
+
+       * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end
+       of variable argument lists of XtVaGetValues and XtVaSetValues.
+
+       * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of
+       variable argument lists of XtVaGetValues and XtVaSetValues.
+
+2000-08-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE.
+       (xrealloc, xmalloc): Use size_t.  Some callers adjusted.
+
+       * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change
+       prototype.
+
+       * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter
+       in call to Fsingle_key_description.
+
+       * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES.
+       Callers changed.
+
+2000-08-02  Colin Walters <walters@cis.ohio-state.edu>
+
+       * window.c (display_buffer_reuse_frames): New variable.
+       (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse
+       frames displaying BUFFER.
+       (syms_of_window): Define Lisp variable
+       display-buffer-reuse-frames.
+
+2000-08-01  Miles Bader  <miles@gnu.org>
+
+       * editfns.c (Fconstrain_to_field): Fix the conditions for deciding
+       when to constrain NEW_POS (they were pretty screwed up before).
+
+2000-07-31  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (run_msdos_command): Save and restore the master
+       environment, for the case that child_setup signals an error.
+       When mirroring slashes in DOS shell commands, don't fail when
+       argv[2] has embedded blanks.
+       (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions.
+       (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons.
+       (dos_ttraw): Call mouse_setup_buttons.
+
+       * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of
+       using alloca; free it after run_msdos_command returns.
+
+2000-07-27  Dave Love  <fx@gnu.org>
+
+       * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't
+       define.
+       [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently
+       working.
+
+       * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define.
+
+2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * editfns.c (lisp_time_argument): Fix last change.
+
+2000-07-27  Gerd Moellmann  <gerd@gnu.org>
+
+       * fns.c (Fdelete): Make it work on vectors and strings in addition
+       to lists.
+
+       * fns.c (Qkey_or_value, Qkey_and_value): New variables.
+       (syms_of_fns): Initialize new variables.
+       (sweep_weak_table): Handle weakness `key-or-value' and
+       `key-and-value'.
+       (Fmake_hash_table): Recognize `key-and-value' and `key-or-value'
+       weakness, with t meaning the same as `key-and-value'.
+
+2000-07-27  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.h (struct coding_system): Member safe_charset deleted.
+
+       * coding.c (Qsafe_charsets): This variable deleted.
+       (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New
+       variables.
+       (coding_safe_chars): New function.
+       (CODING_SAFE_CHAR_P): New macro.
+       (CHARSET_OK): New arg C.  Call CODING_SAFE_CHAR_P instead of
+       checking safe_charsets member of the coding system.  Caller
+       changed.
+       (detect_coding_iso2022): New local variable safe_chars.
+       (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking
+       safe_charsets member of the coding system.
+       (decode_coding_iso2022): New local variable safe_chars.
+       (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here.
+       (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
+       (ENCODE_ISO_CHARACTER): Arguments changed.  Caller changed.
+       (ENCODE_UNSAFE_CHARACTER): New macro.
+       (encode_coding_iso2022): New local variable safe_chars.  Check
+       unsafe chars.
+       (setup_coding_system): Delete the code to initialize
+       coding->safe_charses
+       (intersection, find_safe_codings): New functions.
+       (Ffind_coding_systems_region_internal): New function.
+       (syms_of_coding): Defsubr it.  Initialize Qsafe_chars,
+       Qsafe_cding_system.  Make Vchar_coding_system_table a Lisp
+       variable and initialize it.
+
+       * fns.c (char_table_ref_and_index): New function.
+
+       * lisp.h (char_table_ref_and_index): Add prototype.
+
+2000-07-26  Sam Steingold  <sds@gnu.org>
+
+       * editfns.c (lisp_time_argument): Added third argument `usec'.
+       (Ffloat_time): New built-in Lisp function.
+
+2000-07-26  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits
+       for the character code.
+
+       * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and
+       GNU/Linux.
+
+       * xmenu.c (menu_highlight_callback): Call show_help_echo directly
+       if called for a popup menu.
+       (xmenu_show): Store help string in widget values.
+
+2000-07-26  Dave Love  <fx@gnu.org>
+
+       * syswait.h: Move some definitions.
+       (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex.
+       [!HAVE_SYS_WAIT_H]: Define things unconditionally.   More
+       perspicuous definitions.
+       (WTERMSIG): Fix bit pattern used.
+
+2000-07-26  Kenichi Handa  <handa@etl.go.jp>
+
+       * print.c (print_object): If vector printing is truncated, print
+       "..." to indicate it as well as the case of list printing.
+
+2000-07-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (next_element_from_display_vector): Improve comments.
+
+       * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits
+       for the character code, and the rest for the face id as in 20.x.
+       (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly.
+
+       * window.c (window_display_table): Cleaned up.
+
+       * syntax.c (Fforward_word): Add last arg nil in call of
+       Fconstrain_to_field.
+
+2000-07-25  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * fileio.c (Frename_file) [DOS_NT]: If the file names are
+        identical but for the letter-case, don't call
+        barf_or_query_if_file_exists.
+
+2000-07-25  Miles Bader  <miles@gnu.org>
+
+       * editfns.c (find_field): Honor special `boundary' fields.
+       (Qboundary): New variables.
+       (syms_of_editfns): Initialize Qboundary.
+       (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument.
+       Use scan_buffer instead of find_before_next_newline, because it
+       allows us to detect the boundary case where there's a newline at
+       the search limit.
+       * lisp.h (Fconstrain_to_field): Update external declaration.
+
+2000-07-24  Gerd Moellmann  <gerd@gnu.org>
+
+       * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks
+       if that is nil.
+
+2000-07-24  Dave Love  <fx@gnu.org>
+
+       * s/sunos4-0.h, s/sol2.h:
+       (LIBS_TERMCAP): Move from m/sparc.h.
+
+       * m/sparc.h (TERMINFO): Moved to system files (probably only
+       relevant for sunos4 judging by its vintage).
+       (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on
+       __arch64__.
+
+2000-07-24  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane
+       name to single_keymap_panes.
+
+2000-07-24  Andreas Schwab  <schwab@suse.de>
+
+       * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil.
+
+2000-07-24  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT
+       parameters instead of using int parameters.  Expect FN to accept
+       EMACS_INT parameters.
+       (display_echo_area, resize_echo_area_axactly, current_message)
+       (truncate_echo_area, set_message_1): Call with_echo_area_buffer
+       with new argument list.
+       (resize_mini_window_1): New callback function.
+       (current_message_1, truncate_message_1, set_message_1): Change
+       parameter lists to the new format expected by
+       with_echo_area_buffer.
+
+2000-07-24  Kenichi Handa  <handa@etl.go.jp>
+
+       * fontset.c (fontset_ref): Remove INLINE declaration.
+       (fontset_ref_via_base): Likewise.
+       (Fset_fontset_font): Convert FAMILY and REGISTRY specifications
+       to downcase.
+
+2000-07-23  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (IT_note_mouse_highlight): Process overlays in the
+       correct order of priority.  If help echo was found in an overlay,
+       use that overlay as the object in which the help echo was found.
+
+2000-07-22  Miles Bader  <miles@gnu.org>
+
+       * textprop.c (Fprevious_single_char_property_change): The initial
+       property value should be from the position preceding POSITION, not
+       following it.
+
+2000-07-22  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * coding.c (syms_of_coding): Doc fix for
+       inhibit-iso-escape-detection.
+
+2000-07-21  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (note_mouse_highlight): Process overlays in the right
+       order of priority.
+
+       * keyboard.c (show_help_echo, gen_help_event): Extend comments.
+
+       * xterm.c (note_mouse_highlight): If help-echo was found in an
+       overlay, use that overlay as the object in which the help was
+       found.
+
+       * window.c (foreach_window_1): Fix typo reversing an if-condition.
+
+       * window.c (foreach_window): Instead of a fake variable argument
+       list, take one USER_DATA argument.
+       (foreach_window_1): Likewise, and call callback functions with two
+       args, the window and USER_DATA.
+       (struct check_window_data): New struct.
+       (check_window_containing): Use it.
+       (window_from_coordinates): Set up a struct check_window_data for
+       foreach_window.
+       (add_window_to_list, freeze_window_start): Change parameters
+       according to new calling convention.
+
+       * window.h (foreach_window): Change prototype.
+
+       * buffer.c (Fprevious_overlay_change): Avoid memory leak.
+
+2000-07-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xmenu.c (menu_help_callback): Call show_help_echo with
+       additional arguments OBJECT and POS.
+
+2000-07-21  Kenichi Handa  <handa@etl.go.jp>
+
+       * data.c (Faset): Allow storing any multibyte character in a
+       string.  Convert unibyte string to multibyte if necessary.
+
+       * xfns.c (x_encode_text): New function.
+       (x_set_name): Use x_encode_text.
+       (x_set_title): Likewise.
+
+       * xselect.c (lisp_data_to_selection_data): Use x_encode_text.
+
+       * xterm.h (x_encode_text): Add prototype.
+
+2000-07-20  Dave Love  <fx@gnu.org>
+
+       * ccl.c (Fccl_execute_on_string): Don't check xmalloc return.  Use
+       xfree, not free.
+
+2000-07-20  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (help_echo_window): New variable.
+       (syms_of_msdos): Initialize and staticpro it.
+       (IT_note_mode_line_highlight): Set help_echo_window.
+       (IT_note_mouse_highlight): Ditto.
+       (dos_rawgetc): Store help_echo_window in the second event produced
+       for HELP_EVENTs.
+
+       * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight):
+       Record the object that generated the help echo and the position of
+       that object in help_echo_object and help_echo_pos.  Record that
+       some glyphs in a row are displayed in mouse-face.
+       (IT_update_begin): Don't clear mouse highlight unless one of the
+       enabled glyph rows is marked as being displayed in mouse-face.
+       (dos_rawgetc): Generate 2 events for HELP_EVENT.  Pass the object
+       and position recorded in help_echo_object and help_echo_pos to the
+       event queue.
+       (IT_menu_display): Accept a new argument PN: the pane number of
+       the current menu pane.  Record the pane number and the item
+       number of the item which has associated help string.
+       (XMenuActivate): Update the prototype for help_callback in
+       function declaration.  Call IT_menu_display with the current menu
+       pane number as an additional argument.  Call help_callback with
+       two additional arguments: the pane number and the item number of
+       the menu item associated with the help text.
+       (help_echo_object, help_echo_pos): New variables.
+       (syms_of_msdos): Initialize them and staticpro help_echo_object.
+
+       * msdos.h (XMenuActivate): Update prototype.
+
+2000-07-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (with_echo_area_buffer): Call FN with more arguments.
+       Add some more prototypes.
+
+       * xterm.c, xterm.h: Add some more prototypes.
+
+       * lisp.h (Fnext_single_char_property_change): Add prototype.
+
+       * dispnew.c (direct_output_for_insert): Remove confusing
+       outer local variable mouse_face_overwritten_p.
+       (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG.
+
+       * alloc.c (allocate_string_data): Don't copy old string contents.
+
+2000-07-19  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (code_convert_region): Delete text properties before
+       shrinking the conversion region.
+
+2000-07-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispnew.c (update_text_area): Write the whole row if it
+       has mouse-face in it.
+
+       * xfaces.c (face-alternative-font-family-alist): Remove
+       DEFVAR_LISP; staticpro instead.
+
+       * xmenu.c (menu_help_callback): Call show_help_echo with
+       new arguments.
+
+       * keyboard.c (show_help_echo): Add parameter WINDOW.
+       (read_char): Call show_help_echo with window extracted from Lisp
+       help event.
+       (gen_help_event): Add parameter WINDOW.
+
+       * keyboard.h (show_help_echo, gen_help_event): Change prototypes.
+
+       * xterm.c (help_echo_window): New variable.
+       (note_mouse_highlight, note_tool_bar_highlight): Set
+       help_echo_window.
+       (XTread_socket): Pass help_echo_window to gen_help_event.
+       (syms_of_xterm): Initialize and staticpro help_echo_window.
+
+2000-07-18  Dave Love  <fx@gnu.org>
+
+       * Makefile.in: Fix dependencies of blockinput.h on atimer.h,
+       systime.h.
+
+2000-07-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * alloc.c (allocate_string_data): If string had already data
+       assigned, copy old contents to new string data.
+
+       * coding.c (syms_of_coding): Fix typo in spelling of variable
+       `inhibit-iso-escape-detection'.
+
+       * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE.
+
+       * Makefile.in: Add dependencies on dispextern.h.
+       (alloca.o): Don't define malloc and define EMACS_FREE instead of
+       `free'; both can conflict with system header files.
+
+2000-07-18  Kenichi Handa  <handa@etl.go.jp>
+
+       * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is
+       undefined.
+
+2000-07-18  Dave Love  <fx@gnu.org>
+
+       * window.c (Fwindow_list): Declare arg `window'.
+
+2000-07-18  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (setup_coding_system): Don't override the explicitly
+       specified designations.
+
+2000-07-15  Miles Bader  <miles@gnu.org>
+
+       * editfns.c (char_property_eq, char_property_stickiness): Renamed
+       from `text_property_eq' and `text_property_stickiness', respectively.
+       (find_field, Fconstrain_to_field, char_property_eq)
+       (char_property_stickiness): Changed to call char-property functions
+       instead of text-property-only ones.
+
+       * textprop.c (Fnext_single_char_property_change): Made a subr (was
+       `next_single_char_property_change').  Do more error checking, and
+       cleanup limit behavior.
+       (Fprevious_single_char_property_change): New function.
+       (syms_of_textprop): Initialize new subrs.
+
+       * xdisp.c (display_prop_end, invisible_text_between_p):
+       Call Fnext_single_char_property_change instead of
+       next_single_char_property_change.
+
+2000-07-15  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree
+       after menu is finished with.
+       (add_menu_item): Only consider wv->title as a menu title.
+       (w32_menu_display_help): Add OBJECT and POS to show_help_echo.
+
+       * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a
+       null title.
+       (FONT_REGEXP): Remove unused macro, and its sub-components.
+       (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts.
+
+       * w32term.c (help_echo_object, help_echo_pos): New variables.
+       (note_mode_line_highlight): Store additional information about the
+       help-echo in help_echo_object and help_echo_pos.  Check both
+       `local-map' and `keymap' properties for changing the cursor
+       (note_mouse_highlight): Store additional information about the
+       help-echo in help_echo_object and help_echo_pos.
+       (note_tool_bar_highlight): Set help_echo_object to nil and
+       help_echo_pos to -1.
+       (w32_read_socket): Use gen_help_event instead of filling
+       input_events manually.
+       (syms_of_w32term): Staticpro help_echo_object.
+       (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If
+       set, arrange for a mouse-highlight redisplay in
+       XTframe_up_to_date.
+       (x_clear_mouse_face): New function.
+       (w32_redisplay_interface): Add pointer to x_clear_mouse_face.
+       (x_update_window_begin): No need to turn off the mouse
+       highlight here.
+       (show_mouse_face): Set the mouse_face_p flag of glyph rows
+       depending on whether they contain glyphs highlighted in
+       mouse-face.
+       (x_fill_stretch_glyph_string): Consume runs of stretch
+       glyphs instead of a single one.
+       (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string
+       with new argument list.
+       (x_set_glyph_string_gc): Make sure the face's GC is valid.
+       (x_append_glyph, x_append_composite_glyph)
+       (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
+       changes in struct glyph starting 1999-12-27. See comments for
+       xterm.c on 2000-07-05.
+
+2000-07-14  Sam Steingold  <sds@gnu.org>
+
+       * xfaces.c (realize_x_face): Fix the last patch:
+       check `default_face' before dereferencing.
+
+2000-07-14  Dave Love  <fx@gnu.org>
+
+       * syntax.c (back_comment): Add null default in switch (for pcc).
+
+2000-07-14  Kenichi Handa  <handa@etl.go.jp>
+
+       * xfaces.c (realize_x_face): Make fontset using the base of the
+       default_face's fontset, not using the default fontset.
+
+       * coding.c (inhibit_iso_escape_detection): New variable.
+       (syms_of_coding): Make it a Lisp variable.
+       (detect_coding_iso2022): If inhibit_iso_escape_detection is
+       nonzero, ignore ISO2022's escape sequence.
+
+2000-07-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * alloca.c (malloc) [emacs]: Define as xmalloc.
+
+       * xfns.c (Fx_show_tip): If frame parameters contain a position,
+       use that instead of the mouse position.  Add parameters DX and DY.
+
+       * dispextern.h (Fx_show_tip): Adjust number of parameters
+       in prototype.
+
+       * keyboard.c (show_help_echo): Add parameters OBJECT and POS.
+       if HELP is a function, call it with OBJECT and POS as parameters
+       to get the help to display.
+       (gen_help_event, kbd_buffer_store_help_event): New functions.
+       (kbd_buffer_get_event): Construct the Lisp help-event differently.
+       (read_char): Call show_help_echo with new parameters.
+
+       * keyboard.h (gen_help_event, kbd_buffer_store_help_event):
+       Add prototypes.
+
+       * xterm.c (help_echo_object, help_echo_pos): New variables.
+       (note_mode_line_highlight): Store additional information about the
+       help-echo in help_echo_object and help_echo_pos.  Check both
+       `local-map' and `keymap' properties for changing the cursor
+       (note_mouse_highlight): Store additional information about the
+       help-echo in help_echo_object and help_echo_pos.
+       (note_tool_bar_highlight): Set help_echo_object to nil and
+       help_echo_pos to -1.
+       (XTread_socket): Use gen_help_event instead of filling
+       input_events manually.
+       (syms_of_xterm): Staticpro help_echo_object.
+
+       * xmenu.c (menu_highlight_callback): Use
+       kbd_buffer_store_help_event instead of setting up and input_event
+       structure manually.
+
+       * xdisp.c (eval_form): GCPRO argument sexpr.
+       (call_function): New function.
+       (handle_single_display_prop): Use call_function and FUNCTIONP
+       instead of checking whether if font_height is a symbol and
+       using eval_form.
+
+       * eval.c (internal_condition_case_2): New function.
+
+       * lisp.h (FUNCTIONP): New macro.
+       (internal_condition_case_2, call_function): Add prototypes.
+
+       * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event)
+       (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket):
+       Always set `arg' member of input_events.
+       (construct_menu_click): Unused function removed.
+
+       * msdos.c (dos_rawgetc): Always set `arg' member of input_events.
+
+       * w32term.c (construct_mouse_click, construct_mouse_wheel)
+       (construct_drag_n_drop, x_scroll_bar_handle_click)
+       (w32_read_socket): Always set `arg' member of input_events.
+
+       * keyboard.c (show_help_echo): Use eval_form.  Add comment.
+
+       * lisp.h (eval_form): Add prototype.
+
+       * xdisp.c (eval_form): Make it externally visible.
+
 2000-07-13  Gerd Moellmann  <gerd@gnu.org>
 
        * xterm.c (x_handle_tool_bar_click): Store the frame in the
        * fontset.c (AREF, ASIZE): Remove definitions.
 
        * fns.c (AREF): Remove definition.
-       
+
        * composite.c (AREF): Remove definition.
 
 2000-07-12  Gerd Moellmann  <gerd@gnu.org>
 2000-07-06  Gerd Moellmann  <gerd@gnu.org>
 
        * window.c (window_loop): Add missing gcpro1 local variable.
-       
+
        * window.c (Fwindow_list): Reverse list at the end.
        (candidate_window_p): Add parameter OWINDOW.  ALL_FRAMES nil
        means allow windows on OWINDOW's frame, only.
        (Fsignal): Abort if handling_signal is non-zero.
 
        * lisp.h (handling_signal): External declaration.
-       
+
        * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0.
 
 2000-07-05  Ken Raeburn  <raeburn@gnu.org>
        * syswait.h: Use the autoconf recommended approach.  Old code
        #if'd out in case we need to revert.
 
-       * config.in (HAVE_SYS_WAIT_H): Added. 
+       * config.in (HAVE_SYS_WAIT_H): Added.
 
 2000-07-05  Andrew Innes  <andrewi@gnu.org>
 
        (read_char): Use it.
        (follow_key): Pass `autoload' to get_keyelt.
 
-       * xterm.c (note_mode_line_highlight, note_mouse_highlight) 
+       * xterm.c (note_mode_line_highlight, note_mouse_highlight)
        (note_tool_bar_highlight, XTread_socket):
-       * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) 
+       * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight)
        (dos_rawgetc):
        * w32term.c (note_mode_line_highlight, note_mouse_highlight)
        (note_tool_bar_highlight, w32_read_socket):
        similar.
 
        * dispnew.c (clear_glyph_row): Add debug code in #if 0.
-       
+
        * dispextern.h: Add some comments.
 
        * window.c (add_window_to_list): Add parameter LIST.
 
        * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define.
 
-       * fns.c (sweep_weak_table): Mark only objects that are not 
+       * fns.c (sweep_weak_table): Mark only objects that are not
        marked already.
 
        * frame.c (next_frame, prev_frame): If MINIBUF is a window,
 
 2000-06-26  Gerd Moellmann  <gerd@gnu.org>
 
-       * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the 
+       * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the
        display info for XIM.
        (xim_open_dpy): Likewise.
        (xim_close_dpy): Don't free the display info's XIM.
        * xrdb.c (x_load_resources): Add default resource for scroll bar's
        trough color and main window's background color.
 
-       * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events 
+       * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events
        differently.
 
        * xterm.h (Xt_app_con): External declaration.
 
        * widget.c (EmacsFrameRealize): Fix typo.
-       
+
        * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask.
 
        * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero.
 
 2000-06-21  Dave Love  <fx@gnu.org>
 
-       * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. 
+       * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it.
 
 2000-06-21  Stefan Monnier  <monnier@cs.yale.edu>
 
        * fns.c (make_hash_table, maybe_resize_hash_table):
        Cast arg of next_almost_prime.
 
-       * tparam.c [emacs]: Include lisp.h. 
+       * tparam.c [emacs]: Include lisp.h.
 
        * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5.  Include lisp.h
        and unistd.h.
        property should be treated as intangible by looking at its
        value.
 
-       * xdisp.c (single_display_prop_intangible_p) 
+       * xdisp.c (single_display_prop_intangible_p)
        (display_prop_intangible_p): New functions.
 
        * dispextern.h (display_prop_intangible_p): Add prototype.
 
        * xdisp.c (dump_glyph_row): Show type of glyph->object.
-       
+
        * s/isc4-0.h (sigblock): Redefined to pass a pointer as second
        argument to sigprocmask.
 
 
        * mktime.c: Unprotoized.
 
-2000-06-19  Richard Stallman  <rms@caffeine.ai.mit.edu>
+2000-06-19  Richard Stallman  <rms@gnu.org>
 
        * data.c (set_internal): If variable is frame-local,
        store the new value immediately into the frame parameter alist.
 
        * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype.
 
-2000-06-13  Richard Stallman  <rms@caffeine.ai.mit.edu>
+2000-06-13  Richard Stallman  <rms@gnu.org>
 
        * frame.c (Fmodify_frame_parameters): Doc fix.
 
 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * term.c (produce_glyphs): Treat characters from the eight-bit-*
-        charsets as unibyte, with 1-column screen width.  Sent by Kenichi
-        Handa.
+       charsets as unibyte, with 1-column screen width.  Sent by Kenichi
+       Handa.
 
 2000-05-28  Eli Zaretskii  <eliz@is.elta.co.il>
 
 
        * term.c (calculate_costs): Remove code dealing with X frames.
 
-2000-03-19  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
+2000-03-19  Richard M. Stallman  <rms@gnu.org>
 
        * lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte.
 
 
        * emacs.c (main): Remove code snippet commented out with `//'.
 
-2000-02-25  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
+2000-02-25  Richard M. Stallman  <rms@gnu.org>
 
        * fileio.c (Ffile_symlink_p): If result starts with a `/'
        and contains a `:', prepend `/:'.
 2000-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * frame.c (Fdelete_frame): Don't let echo_area_window remain on
-        a deleted frame.
+       a deleted frame.
 
 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
 
 
        * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case.
 
-2000-02-20  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
+2000-02-20  Richard M. Stallman  <rms@gnu.org>
 
        * data.c (Fmake_variable_buffer_local): Doc fix.
        Init found_for_buffer to 0.
        * syntax.h (SYNTAX_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_NESTED):
        Add support for nested comments.
 
-       * syntax.c (Fforward_comment, scan_lists, scan_sexps_forward):
-       Consolidate the forward comment code into the new `forw_comment'.
-       (forw_comment): New subroutine.  Added support for nested comments.
-       (lisp_parse_state, back_comment, Fmodify_syntax_entry)
-       (Fparse_partial_sexp): Add support for nested comments.
+       * syntax.c (Fforward_comment, scan_lists, scan_sexps_forward):
+       Consolidate the forward comment code into the new `forw_comment'.
+       (forw_comment): New subroutine.  Added support for nested comments.
+       (lisp_parse_state, back_comment, Fmodify_syntax_entry)
+       (Fparse_partial_sexp): Add support for nested comments.
 
 1999-08-28  Ken Raeburn  <raeburn@gnu.org>
 
 1999-08-22  Gerd Moellmann  <gerd@gnu.org>
 
        * xfns.c: Call change_frame_size and do_pending_window_change with
-        new parameter.
+       new parameter.
 
 1999-08-21  Gerd Moellmann  <gerd@gnu.org>
 
 
 1999-07-21  Joe Ramey  <ramey@ti.com>
 
-        * filelock.c (lock_if_free): Return -1 if check_lock_owner
+       * filelock.c (lock_if_free): Return -1 if check_lock_owner
        has returned -1 (lockfile exists but is not a symlink?).
 
 1999-07-20  Gerd Moellmann  <gerd@gnu.org>
@@ -12407,7 +13058,7 @@ Sun Jan  3 08:41:10 1999  Masatake Yamato  <masata-y@is.aist-nara.ac.jp>
 
        The first line of the following paragraph was garbled for an
        unknown reason.  It couldn't be fully reconstructed.
-       
+
        * xterm.c (XTread_socket, XTset_terminal_window): Ditto.
        (x_lower_frame): Ditto.
        (x_scroll_bar_clear): Ditto.
@@ -13695,14 +14346,14 @@ Sun Jan  3 08:41:10 1999  Masatake Yamato  <masata-y@is.aist-nara.ac.jp>
        based on text properties for an overlay string.
        (next_element_from_overlay_string): Check invisible and face text
        properties.
-       
+
        (set_iterator_to_next_overlay_string): Restore face id before
        overlay strings when no more overlay strings are found to return.
        Initialize next_ovstr_.*check_pos for each new overlay string
-       
+
        A line in the following paragraph was garbled for an unknown
        reason.  It couldn't be fully reconstructed.
-       
+
        (compute_base_face): Made public.
        (merge_face_list): Ditto.
        (intern_computed_face): Ditto.
@@ -14425,10 +15076,10 @@ Sun Aug 24 08:50:52 1997  Gerd Moellmann  <gerd@acm.org>
        (expose_window): Use it.
 
        * xdisp.c (display_string): Catch case that we are called with
-       current_x already beyond max_x.
+       current_x already beyond max_x.
        (global): Fix usage of FRAME_WINDOW_P <-> FRAME_WINDOW_REDISPLAY_P.
        (init_display_info): Subtract vertical border glyph from
-       last_visible_x.
+       last_visible_x.
 
        * scroll.c (scrolling_window_1): Removed.
 
@@ -14459,8 +15110,7 @@ Sun Aug 24 08:50:52 1997  Gerd Moellmann  <gerd@acm.org>
 
 Fri Aug 22 18:46:43 1997  Gerd Moellmann  <gerd@acm.org>
 
-       * xterm.c (XTupdate_end): Draw horizontal border at right
-       position.
+       * xterm.c (XTupdate_end): Draw horizontal border at right position.
        (expose_window): Draw vertical border.
        (XTclear_end_of_line): Accept width <= 0 and height <= 0 but
        don't do anything.
@@ -14484,9 +15134,8 @@ Fri Aug 22 18:46:43 1997  Gerd Moellmann  <gerd@acm.org>
        * dispnew.c (clear_glyph_matrix): Additional argument specifiying
        that rows should really be cleared.  Used for current matrices.
 
-        * dispnew.c (scrolling_window):  Bug fix.
-       (line_dance_hook):  Formerly line_dance_fn, take only one
-       parameter.
+       * dispnew.c (scrolling_window):  Bug fix.
+       (line_dance_hook):  Formerly line_dance_fn, take only one parameter.
 
        * dispextern.h (struct run): Remove current_vpos.
 
@@ -14546,11 +15195,11 @@ Wed Aug 20 11:23:28 1997  Gerd Moellmann  <gerd@acm.org>
 Tue Aug 19 14:38:05 1997  Gerd Moellmann  <gerd@acm.org>
 
        * xterm.c (x_display_and_set_cursor): Use FONT_WIDTH if width
-       unknown.  Some fonts have min_width zero.
+       unknown.  Some fonts have min_width zero.
        (draw_glyphs): Don't draw underlines to the end of the display
-       line if face is merely extended to that point.
+       line if face is merely extended to that point.
        (draw_glyphs): Don't assume background is filled if
-       just_foreground_p but extending to end of line.
+       just_foreground_p but extending to end of line.
 
        * xterm.c (XTclear_end_of_line): Clip only to display_height - 1
        for partially visible last lines.
@@ -14600,7 +15249,7 @@ Sat Aug 16 13:13:32 1997  Gerd Moellmann  <gerd@acm.org>
 
        * dispextern.h (WINDOW_TO_FRAME_HPOS/VPOS): Moved to dispnew.c
 
-        * xfns.c (x_contour_region):  Use pixel coordinates from window
+       * xfns.c (x_contour_region):  Use pixel coordinates from window
        cursor instead of WINDOW_TO_FRAME_H/VPOS.
 
        * dispextern.h (FRAME_TO_WINDOW_HPOS, FRAME_TO_WINDOW_VPOS):
@@ -14742,8 +15391,7 @@ Thu Aug 14 10:41:41 1997  Gerd Moellmann  <gerd@acm.org>
        glyphs for to_pos.
        (start_display): Remove assertion.
 
-       * dispnew.c (direct_output_forward_char): Bug fix, = instead of
-       ==.
+       * dispnew.c (direct_output_forward_char): Bug fix, = instead of ==.
        (update_window): Don't set row->y here.
 
        * xdisp.c (next_display_element): Don't translate control chars
@@ -14765,7 +15413,7 @@ Wed Aug 13 10:46:12 1997  Gerd Moellmann  <gerd@acm.org>
        * xterm.c (x_draw_3d_borders): Use CapRound. Struct rect
        replaced by XRectangle.
 
-        * dispnew.c (scrolling_window): New method.
+       * dispnew.c (scrolling_window): New method.
 
        * xterm.c (do_line_dance): New implementation, new method.
 
@@ -14865,7 +15513,7 @@ Mon Aug 11 12:32:34 1997  Gerd Moellmann  <gerd@acm.org>
        * window.h: phys_cursor_ascent + descent instead of height.
 
        * xterm.c (XTget_char_info): Use per char metrics for multi-byte
-       chars with charset width 1.
+       chars with charset width 1.
 
        * dispnew.c (direct_output_for_insert): Set updated_row.
 
@@ -14946,7 +15594,7 @@ Tue Jul 29 12:52:40 1997  Gerd Moellmann  <gerd@acm.org>
        * dispextern.h (struct char_info ): WHAT field.
 
        * term.c (encode_terminal_code): Don't use GLYPH_CHAR, use
-       FAST_GLYPH_CHAR instead because GLYPH_CHAR won't remove faces.
+       FAST_GLYPH_CHAR instead because GLYPH_CHAR won't remove faces.
 
 Mon Jul 28 14:23:06 1997  Gerd Moellmann  <gerd@acm.org>
 
@@ -15049,7 +15697,7 @@ Mon Jul 21 12:22:02 1997  Gerd Moellmann  <gerd@acm.org>
        * dispextern.h (cursor_in_echo_area): Extern declaration.
 
        * xterm.c (dumpglyphs): 8-bit version to test if my Xserver
-       freezes stem from 16-bit functions.
+       freezes stem from 16-bit functions.
 
        * xterm.c (x_display_and_set_cursor): Don't display hollow
        cursor in mini windows.
@@ -15064,7 +15712,7 @@ Mon Jul 21 12:22:02 1997  Gerd Moellmann  <gerd@acm.org>
        (x_update_window_cursor): Use it.
 
        * xdisp.c (display_text_line): Set cursor for window even if not
-       selected.
+       selected.
 
        * xterm.c (x_display_bar_cursor): Use HPOS and VPOS instead
        of X and Y to denote matrix positions.
@@ -15112,18 +15760,17 @@ Tue Jul 15 13:58:33 1997  Gerd Moellmann  <gerd@acm.org>
        * xterm.h: Prototype for X_DISPLAY_CURSOR.
 
        * xterm.c (XTcursor_to): Void return type.  Test for
-       UPDATED_WINDOW.  Call x_display_cursor with window.
+       UPDATED_WINDOW.  Call x_display_cursor with window.
        (x_display_cursor): Void return type.  Window instead of frame
-       parameter.
+       parameter.
 
-       * window.h (WINDOW_RIGHTMOST_P, WINDOW_TOPMOST_P): Use functions
-       below.
+       * window.h (WINDOW_RIGHTMOST_P, WINDOW_TOPMOST_P): Use functions below.
 
        * window.c (window_rightmost_p, window_topmost_p): Based on
        window tree.
 
        * dispnew.c (adjust_frame_message_buffer): Allocate with
-       FRAME_MESSAGE_BUF_SIZE.
+       FRAME_MESSAGE_BUF_SIZE.
 
        * window.h: PHYS_CURSOR_.* added.
 
@@ -15137,11 +15784,9 @@ Tue Jul 15 13:58:33 1997  Gerd Moellmann  <gerd@acm.org>
        * window.c (window_internal_width): Scroll bars no longer
        part of window.
 
-       * xterm.c (XTclear_end_of_line): FRAME_LEFT_SCROLL_BAR_WIDTH
-       removed.
+       * xterm.c (XTclear_end_of_line): FRAME_LEFT_SCROLL_BAR_WIDTH removed.
 
-       * xfns.c (x_set_scroll_bar_width): FRAME_LEFT_SCROLL_BAR_WIDTH
-       removed.
+       * xfns.c (x_set_scroll_bar_width): FRAME_LEFT_SCROLL_BAR_WIDTH removed.
 
        * xdisp.c (echo_area_display): FRAME_LEFT_SCROLL_BAR_WIDTH removed.
        (redisplay_internal): Ditto.
@@ -15160,7 +15805,7 @@ Tue Jul 15 13:58:33 1997  Gerd Moellmann  <gerd@acm.org>
 Mon Jul 14 12:30:03 1997  Gerd Moellmann  <gerd@acm.org>
 
        * dispnew.c (updated_window): Set by UPDATE_WINDOW to the window
-       being updated.
+       being updated.
        (update_window): Set and clear it.
 
        * dispnew.c (update_window_line, update_window, scrolling_window):
@@ -15196,8 +15841,7 @@ Mon Jul 14 12:30:03 1997  Gerd Moellmann  <gerd@acm.org>
        * xterm.c (XTupdate_begin): Set CURS_X/Y from selected window.
        (XTwrite_glyphs): Use cursor position of selected window.
 
-       * xfns.c (x_set_scroll_bar_width): Set cursor pos of selected
-       window.
+       * xfns.c (x_set_scroll_bar_width): Set cursor pos of selected window.
 
        * dispnew.c (set_cursor_to): Set window cursor position.
        (direct_output_for_insert): Use window cursor position.
@@ -15212,8 +15856,7 @@ Mon Jul 14 12:30:03 1997  Gerd Moellmann  <gerd@acm.org>
        * dispnew.c (direct_output_for_insert): LAST_POINT_X removed.
        (direct_output_forward_char): Ditto.
 
-       * xdisp.c (redisplay_internal): LAST_POINT_X and LAST_POINT_Y
-       removed.
+       * xdisp.c (redisplay_internal): LAST_POINT_X and LAST_POINT_Y removed.
 
        * window.c (make_window): LAST_POINT_X and LAST_POINT_Y removed.
 
@@ -15245,8 +15888,8 @@ Sat Jul 12 12:58:48 1997  Gerd Moellmann  <gerd@acm.org>
        * minibuf.c (read_minibuf): Build frame matrix.
 
        * xdisp.c (this_line_start_hpos): Renamed to
-       THIS_LINE_START_WINDOW_HPOS to make it clear that this is window
-       relative.
+       THIS_LINE_START_WINDOW_HPOS to make it clear that this is window
+       relative.
        (this_line_vpos): Renamed to THIS_LINE_WINDOW_VPOS for the same
        reason.
 
@@ -15256,8 +15899,8 @@ Sat Jul 12 12:58:48 1997  Gerd Moellmann  <gerd@acm.org>
        (clear_frame_records): Clear window and frame rows.
        (clear_glyph_matrix): Set all rows of a matrix to empty.
 
-       * xdisp.c (echo_area_display): Parameter UPDATE_FRAME_P.  Update
-       frame if set.
+       * xdisp.c (echo_area_display): Parameter UPDATE_FRAME_P.
+       Update frame if set.
        (message2_nolog): Pass 1 to ECHO_AREA_DISPLAY.  UPDATE_FRAME
        removed.
        (redisplay_internal): Pass 0 to ECHO_AREA_DISPLAY.
@@ -15324,7 +15967,7 @@ Fri Jul 11 13:16:50 1997  Gerd Moellmann  <gerd@acm.org>
        matrix.  Change name to scroll_full_width_window.
 
        * xdisp.c (message2_nolog): Don't fwrite NULL message If
-       NONINTERACTIVE.
+       NONINTERACTIVE.
 
 Mon Jul  7 14:44:38 1997  Gerd Moellmann  <gerd@acm.org>
 
@@ -15344,9 +15987,9 @@ Mon Jul  7 14:44:38 1997  Gerd Moellmann  <gerd@acm.org>
 Sun Jul  6 17:02:26 1997  Gerd Moellmann  <gerd@acm.org>
 
        * dispnew.c (adjust_frame_glyphs): Allocate window matrices from
-       (0, 0).
+       (0, 0).
        (allocate_leaf_matrix): Add FRAME_MENU_BAR_LINES to the height of
-       top-most windows.
+       top-most windows.
 
        * window.h (WINDOW_TOPMOST_P): Added.
 
@@ -15362,12 +16005,11 @@ Sun Jul  6 17:02:26 1997  Gerd Moellmann  <gerd@acm.org>
        (echo_area_display): Work with window matrix for mini window.
        (redisplay_window): Use window marix for mini window.
        (display_text_line): Assume HPOS and VPOS are window relative and
-       use that for DISPLAY_STRING.
+       use that for DISPLAY_STRING.
 
        * dispextern.h: Prototype for prepare_desired_row.
 
-       * dispnew.c (prepare_desired_row): Replacement for
-       GET_DISPLAY_LINE.
+       * dispnew.c (prepare_desired_row): Replacement for GET_DISPLAY_LINE.
 
        * dispnew.c (adjust_window_charstarts): Always allocate window
        matrices.
@@ -15400,20 +16042,20 @@ Sat Jul  5 14:55:44 1997  Gerd Moellmann  <gerd@acm.org>
        (direct_output_for_insert): Don't add null-glyph end marker.
 
        * scroll.c (do_direct_scrolling): Change algorithm to construct
-       vector of lines assigned.  Call MIRRORED_LINE_DANCE:
+       vector of lines assigned.  Call MIRRORED_LINE_DANCE:
        (do_scrolling): Ditto.
 
        * dispnew.c (mirror_line_dance): Mirror line assignments in a
-       frame matrix in window matrices.
+       frame matrix in window matrices.
        (mirrored_line_dance): Do line assignments during scrolling.
-       Maybe do corresponding assignments in window matrices.
+       Maybe do corresponding assignments in window matrices.
        (check_window_matrix_pointers): Check that window rows and frame
-       rows agree about glyph pointers.
+       rows agree about glyph pointers.
        (check_matrix_pointers): Ditto.
        (mirrored_make_current): Make a row of a desired matrix current;
-       maybe mirror the operation in window matrices.
+       maybe mirror the operation in window matrices.
        (mirror_make_current): Make window desired matrix row current when
-       frame matrix row was made current.
+       frame matrix row was made current.
 
 Fri Jul  4 13:27:46 1997  Gerd Moellmann  <gerd@acm.org>
 
@@ -15424,7 +16066,7 @@ Fri Jul  4 13:27:46 1997  Gerd Moellmann  <gerd@acm.org>
        * scroll.c (do_scrolling): Simplified.
        (do_direct_scrolling): Simplified.
        (scrolling_1): Pass CURRENT_MATRIX instead of FRAME to
-       DO_.*SCROLLING.
+       DO_.*SCROLLING.
 
 
        * dispnew.c (ins_del_glyph_rows): Insert/delete rows in a matrix.
@@ -15455,7 +16097,7 @@ Wed Jul  2 13:43:35 1997  Gerd Moellmann  <gerd@acm.org>
        * all files: use above new names.
 
        * dispnew.c (scroll_frame_lines): Simplified.  Use
-       SCROLL_GLYPH_MATRIX.
+       SCROLL_GLYPH_MATRIX.
        (make_glyph_row_empty): Mark a glyph row empty.
        (increment_glyph_row_buffer_positions): Increment
        buffer positions in a glyph row.
@@ -15494,7 +16136,7 @@ Tue Jul  1 13:49:55 1997  Gerd Moellmann  <gerd@acm.org>
        (direct_output_for_insert): Ditto.
 
        * dispextern.h (struct glyph_row): Use a vector of pointers
-       instead of individual members.  Use a vector of used counters.
+       instead of individual members.  Use a vector of used counters.
        (MATRIX_ROW_SWAP_CONTENTS): Use vectors.
        (MATRIX_ROW_GLYPH_START): Ditto.
        (MATRIX_ROW_GLYPH_END): Ditto.
@@ -15517,16 +16159,16 @@ Mon Jun 30 20:39:38 1997  Gerd Moellmann  <gerd@acm.org>
        (syms_of_display): Ditto.
 
        * dispextern.h: add prototypes for REDRAW_FRAME,
-       REDRAW_GARBAGED_FRAMES, CANCEL_LINE, CLEAR_FRAME_RECORDS,
-       INIT_DESIRED_GLYPHS, SCROLL_FRAME_LINES, PRESERVE_OTHER_COLUMNS,
-       ADJUST_WINDOW_CHARSTARTS, CANCEL_MY_COLUMNS,
-       DIRECT_OUTPUT_FOR_INSERT, DIRECT_OUTPUT_FORWARD_CHAR,
-       UPDATE_FRAME, SCROLLING, BUFFER_POSN_FROM_COORDS,
-       DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER,
+       REDRAW_GARBAGED_FRAMES, CANCEL_LINE, CLEAR_FRAME_RECORDS,
+       INIT_DESIRED_GLYPHS, SCROLL_FRAME_LINES, PRESERVE_OTHER_COLUMNS,
+       ADJUST_WINDOW_CHARSTARTS, CANCEL_MY_COLUMNS,
+       DIRECT_OUTPUT_FOR_INSERT, DIRECT_OUTPUT_FORWARD_CHAR,
+       UPDATE_FRAME, SCROLLING, BUFFER_POSN_FROM_COORDS,
+       DO_PENDING_WINDOW_CHANGE, CHANGE_FRAME_SIZE, BITCH_AT_USER,
        SIT_FOR, INIT_DISPLAY, SYMS_OF_DISPLAY,
 
        * dispnew.c (redraw_frame): FRAME_PTR -> struct frame.  Return
-       void.
+       void.
        (cancel_line): Return void.
        (clear_frame_records):  Return void.
 
@@ -15548,10 +16190,10 @@ Mon Jun 30 20:39:38 1997  Gerd Moellmann  <gerd@acm.org>
        * term.c (reassert_line_highlight): Check CHARS_WASTED == 0.
 
        * window.h (struct window): Add comment that no Lisp data may
-       come below CURRENT_MATRIX.
+       come below CURRENT_MATRIX.
 
        * alloc.c (mark_object): Change window mark code to stop with
-       member CURRENT_MATRIX.
+       member CURRENT_MATRIX.
 
 Sat Jun 28 13:54:55 1997  Gerd Moellmann  <gerd@acm.org>
 
@@ -15562,16 +16204,16 @@ Sat Jun 28 13:54:55 1997  Gerd Moellmann  <gerd@acm.org>
        (new_glyph_pool): Formerly new_FRAME_GLYPH_MATRIX.
        (free_glyph_pool): Formerly FREE_FRAME_GLYPH_MATRIX
        (realloc_glyph_pool): Formerly REALLOC_FRAME_GLYPH_MATRIX.
-       Returns 1 if pool changed.
+       Returns 1 if pool changed.
        (matrix_row): Additional check for lost pointers to glyph rows.
        (compute_matrices): Additional parameter DIM_P set means that no
-       allocation should take place.  Addtional parameter
-       ANY_WINDOWS_CHANGED_P set if any windows matrix has changed.
+       allocation should take place.  Addtional parameter
+       ANY_WINDOWS_CHANGED_P set if any windows matrix has changed.
        (compute_leaf_matrix): Additional parameter CHANGED_P set to 1
-       when window matrix changes.  Additional parameter DIM_ONLY_P set
-       to 1 to indicate that no allocation should take place.
+       when window matrix changes.  Additional parameter DIM_ONLY_P set
+       to 1 to indicate that no allocation should take place.
        (adjust_frame_glyphs): Construct new glyph pools and glyph
-       matrices.  Optimize frame redraws.
+       matrices.  Optimize frame redraws.
        (free_glyphs): Free pools.
        (check_glyph_memory): Check pools not freed.
        (rotate_pointers): Rotate pointers in a vector of glyph rows.
@@ -15580,7 +16222,7 @@ Sat Jun 28 13:54:55 1997  Gerd Moellmann  <gerd@acm.org>
 
        * dispextern.h (struct glyph_row): Use pointers to areas in a row.
        (global): All macro names changed from prefix FRAME_MATRIX to
-       MATRIX.
+       MATRIX.
 
 Fri Jun 27 14:51:15 1997  Gerd Moellmann  <gerd@acm.org>
 
@@ -15918,8 +16560,8 @@ Wed Jun 25 15:22:58 1997  Gerd Moellmann  <gerd@acm.org>
        * w32term.c (cancel_mouse_face): New function. See equiv
        changes to xterm.c on 1996-10-31.
        (x_set_window_size): Use cancel_mouse_face.
-        (w32_read_socket): Use cancel_mouse_face.
-        Update frame position when size is restored.
+       (w32_read_socket): Use cancel_mouse_face.
+       Update frame position when size is restored.
 
 1999-06-04  Richard M. Stallman  <rms@gnu.org>