*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
index 2cb041d..20ff835 100644 (file)
@@ -1,7 +1,804 @@
+2003-01-29  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as
+       an alternative name for jpeg.dll.
+
+2003-01-29  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (set_cursor_from_row): Pay attention to string display
+       properties.
+
+2003-01-28  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
+
+       * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
+       <escape>.
+       (keycode_to_xkeysym_table): Reformat and add more comments.
+       (XTread_socket): Drop special case for backspace.
+
+2003-01-28  Andrew Choi  <akochoi@shaw.ca>
+
+       * macfns.c (x_to_mac_color): Correct the order for parsing the RGB
+       values in old-style RGB specs.
+
+2003-01-27  Juanma Barranquero  <lektu@terra.es>
+
+       * w32fns.c (init_external_image_libraries): Try alternate names for the
+       jpeg dll.
+
+2003-01-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (create_dialog, xg_separator_p)
+       (xg_item_label_same_p, xg_update_menu_item): Check for NULL string
+       before calling strcmp or strlen.
+
+2003-01-26  Jan D.  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display
+       and handle image load failure.
+
+2003-01-26  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
+       New functions.
+       (jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
+       Disable color table lookups. Call jpeg library functions
+       through pointers determined at runtime.
+       (init_external_image_libraries): Try to load jpeg.dll.
+
+2003-01-25  Richard M. Stallman  <rms@gnu.org>
+
+       * lisp.h: Declare format2 instead of format1.
+
+       * fileio.c (barf_or_query_if_file_exists):
+       Call format2 instead of format1.
+
+       * editfns.c (format2): New function, replaces format1
+       but takes exactly two Lisp Objects as format args.
+
+       * buffer.c (Fkill_buffer): Call format2 instead of format1.
+
+2003-01-25  Jan D.  <jan.h.d@swipnet.se>
+
+       * xterm.h: Change to return value of x_dispatch_event to int.
+
+       * xterm.c (x_filter_event): New function.
+       (event_handler_gdk, XTread_socket): Call x_filter_event.
+       (x_dispatch_event): Change to return value of finish.
+       (event_handler_gdk): Use return value from x_dispatch_event.
+
+       * xfns.c (x_window): Call create_frame_xic for GTK version to
+       initialize input methods.
+
+       * gtkutil.h: Add (void) prototypes.
+
+       * gtkutil.c (create_menus): Remove code that puts the help menu to
+       the right.
+
+2003-01-25  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (XPutPixel): Handle monochrome images; used for masks.
+       [HAVE_PNG]: Sync with xfns.c version.
+       (png_load): Adjust colors for Windows. Use Windows
+       bitmaps. Disable color table lookups.
+       (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
+       (init_png_functions): New function.
+       (png_read_from_memory, png_load): Call png library functions
+       through pointers determined at runtime.
+       (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
+       (init_external_image_libraries): New function.
+       (init_xfns): Call it.
+
+2003-01-24  Andreas Schwab  <schwab@suse.de>
+
+       * minibuf.c (Fminibuffer_message): Verify type of parameter.
+
+2003-01-24  Jan D.  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_initialize): Initialize id_to_widget here instead
+       of static initializer.
+
+2003-01-24  Dave Love  <fx@gnu.org>
+
+       * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
+       architectures.
+
+       * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
+       Use __alignof__.
+
+2003-01-24  Kenichi Handa  <handa@m17n.org>
+
+       * keyboard.c (adjust_point_for_property): New second arg MODIFIED.
+       It it is nonzero, don't pretend that an invisible area doesn't
+       exist.
+       (command_loop_1): Call adjust_point_for_property with proper
+       second arg.
+
+2003-01-22  Jason Rumney  <jasonr@gnu.org>
+
+       Sync changes with xterm.c and xfns.c.
+
+       * w32term.c (x_draw_glyph_string_foreground)
+       (x_draw_composite_glyph_string_foreground): Implement overstriking.
+
+       * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
+       phys_cursor's hpos is overwritten.  This is still not completely
+       correct, as it doesn't really make sense to use hpos at all to
+       get the cursor glyph (as that is relative to the width of the
+       characters on the line, which may have changed during the update).
+
+       * w32term.c (notice_overwritten_cursor): Handle the special case
+       of the cursor being in the first blank non-text line at the
+       end of a window.
+
+       * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
+       (x_draw_phys_cursor_glyph): Set phys_cursor_width here.
+       Compute from the x position returned by x_draw_glyphs.
+
+       (x_display_and_set_cursor): Don't set phys_cursor_width here,
+       except for NO_CURSOR and system caret, to make phys_cursor_width
+       contain what its name suggests.
+       (notice_overwritten_cursor): Consider the cursor image erased if
+       the output area intersects the cursor image in y-direction.
+
+       * w32term.c (note_mode_line_or_margin_highlight): Renamed from
+       note_mode_line_highlight and extended.
+
+       * w32term.c (last_window): New variable.
+       (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
+       (note_mouse_movement): Remove reimplemented code in #if 0.
+
+       * w32fns.c (x_set_cursor_type): Set cursor_type_changed,
+       not update_mode_lines, and always set it to 1.
+
+2003-01-21  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (IDC_HAND): Define it if system headers don't.
+
+2003-01-21  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>
+
+       * w32term.h (struct w32_output): New member hand_cursor.
+       (WM_EMACS_SETCURSOR): New message definition.
+
+       * w32term.c (note_mode_line_highlight): Delete #if 0 to enable
+       function w32_define_cursor.
+       (note_mouse_highlight): Initialize, setup cursor accoding to mouse
+       position, change member name output_data.x to output_data.w32 and
+       add function w32_define_cursor.
+       (show_mouse_face): Delete #if 0 to enable function w32_define_cursor
+       and change member name output_data.x to output_data.w32.
+       (w32_initialize_display_info): Setup
+       dpyinfo->vertical_scroll_bar_cursor.
+
+       * w32fns.c (Vx_hand_shape): New variable.
+       (w32_wnd_proc): Add message entries for WM_SETCURSOR and
+       WM_EMACS_SETCURSOR.
+       (x-create-frame): Setup Cursor types.
+
+2003-01-21  David Ponce  <david@dponce.com>
+
+       * w32term.c (w32_encode_char): For DIM=1 charset, set
+       ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
+       x_encode_char change by Kenichi Handa <handa@m17n.org> on
+       2002-09-30.)
+       (w32_draw_relief_rect): Declare all args.
+       (w32_define_cursor): New.
+
+       * w32fns.c (w32_load_cursor): New function.
+       (w32_init_class): Use it.
+       (x_put_x_image): Declare all args.
+
+2003-01-21  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
+
+       * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG.
+
+2003-01-21  Jan D.  <jan.h.d@swipnet.se>
+
+       * gtkutil.c: Must include stdio.h before termhooks.h
+
+2003-01-21  Dave Love  <fx@gnu.org>
+
+       * alloc.c (Fgc_status): Print zombie list.
+       (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
+       Fix assignment of zombies.
+       (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
+       Don't take car of non-cons.
+
+       * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
+
+       * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
+
+2003-01-20  David Ponce  <david@dponce.com>
+
+       * w32menu.c (digest_single_submenu): Declare all args.
+
+       Sync with 2002-12-23  Richard M. Stallman  <rms@gnu.org>
+       changes in xmenu.c:
+
+       (parse_single_submenu): Use individual keymap's prompt
+       string as pane name, if there is one.
+       (set_frame_menubar): Save menu_items_n_panes from each call to
+       parse_single_submenu and use it when calling digest_single_submenu.
+
+2003-01-20  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (XTread_socket): Checks for valid, visible window
+       before sending a scroll-wheel event.
+
+2003-01-20  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (redisplay_window): If mini window's buffer is not
+       a minibuffer, then redisplay it like other windows.
+
+2003-01-20  Jan D.  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_create_frame_widgets): Check if there is an
+       external tool bar before setting tool bar height.
+
+2003-01-19  Jan D.  <jan.h.d@swipnet.se>
+
+       * xterm.c (handle_one_xevent): Surround popup_activated
+       with #ifdef:s for non-toolkit version.
+
+       * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK
+       (gtkutil.o): New file.
+       (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK.
+       (LIBW): Set to @GTK_LIBS@ if USE_GTK.
+
+       * gtkutil.c: New file for GTK version.
+
+       * gtkutil.h: New file for GTK version.
+
+       * xterm.h: Add xt_or_gtk_widget.
+       Include gtk files for USE_GTK.
+       (struct x_output): Add toolbar_height.
+       (struct x_output): Add GTK widgets and Gdk size_hints.
+       (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET)
+       (FRAME_OUTER_WINDOW): New macros for USE_GTK.
+       (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation.
+
+       * xterm.c: Include gtkutil.h for USE_GTK.
+       Declare extern void free_frame_menubar for USE_GTK.
+       (note_mouse_highlight): Check popup_activated for USE_GTK.
+       (xt_action_hook): Don't compile if USE_GTK.
+       (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK.
+       (xg_scroll_callback): New function.
+       (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK.
+       (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb
+       for USE_GTK.
+       (x_scroll_bar_create): Call xg_update_scrollbar_pos and
+       xg_show_scroll_bar for USE_GTK.
+       (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK.
+       (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK.
+       (event_handler_gdk): New function for USE_GTK.
+       (handle_one_xevent): Call xg_resize_widgets for USE_GTK.
+       (handle_one_xevent): Make sure widget is mapped before
+       calling x_real_positions for USE_GTK.
+       (XTread_socket): Add GTK event loop for USE_GTK.
+       (x_set_window_size): Call xg_frame_set_char_size for USE_GTK.
+       (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK.
+       (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK.
+       (x_iconify_frame): Add code for USE_GTK.
+       (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK.
+       (x_wm_set_size_hint): Only compile if not USE_GTK.  GTK version
+       is in gtkutil.c.
+       (x_term_init): Add initialization for GTK.
+       (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK.
+
+       * xmenu.c: Include gtkutil.h for USE_GTK.
+       (Fx_popup_menu): Use current position if x and y is NIL.
+       (single_menu_item, single_menu_item, Fx_popup_dialog): Check
+       for USE_GTK.
+       (popup_widget_loop): New function for USE_GTK.
+       (x_activate_menubar): Add code for USE_GTK.
+       (popup_activate_callback, popup_deactivate_callback)
+       (menu_highlight_callback, menubar_selection_callback): USE_GTK versions
+       added.
+       (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK.
+       (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK.
+       (free_frame_menubar): Only compile if not USE_GTK.  GTK version
+       is in gtkutil.c.
+       (popup_selection_callback): New version for USE_GTK.
+       (create_and_show_popup_menu): New fuction, one USE_GTK version and
+       one USE_X_TOOLKIT version.
+       (xmenu_show): Call create_and_show_popup_menu.
+       (dialog_selection_callback): New version for USE_GTK.
+       (create_and_show_dialog): New fuction, one USE_GTK version and
+       one USE_X_TOOLKIT version.
+       (xdialog_show): Call create_and_show_dialog.
+
+       * xfns.c: Include gtkutil for USE_GTK.
+       (x_window_to_frame, x_any_window_to_frame)
+       (x_non_menubar_window_to_frame, x_menubar_window_to_frame)
+       (x_top_window_to_frame): Add code for USE_GTK.
+       (x_set_background_color): Call xg_set_background_color for GTK.
+       (x_set_menu_bar_lines): Check for USE_GTK.
+       (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK.
+       (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK.
+       (x_window): Call xg_create_frame_widgets for USE_GTK.
+       (Fx_create_frame): Check for USE_GTK
+       (Fx_file_dialog): New implementation for USE_GTK.
+
+       * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar.
+       (update_menu_bar): Add check for USE_GTK.
+       (update_tool_bar): Add check for USE_GTK and external tool bar.
+       (redisplay_tool_bar): Add check for USE_GTK and external tool bar.
+       (redisplay_internal): Add check for USE_GTK and popup_activated.
+       (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR.
+       (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.
+       (display_menu_bar): Add check for USE_GTK
+
+       * lisp.h: Declare Vx_resource_name extern.
+
+       * keyboard.c (kbd_buffer_get_event):  Check MENU_BAR_ACTIVATE_EVENT
+       for USE_GTK.
+       (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK.
+
+       * frame.h (struct frame): Add external_tool_bar.  Check for USE_GTK.
+       (FRAME_EXTERNAL_TOOL_BAR): New macro.
+       (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK.
+
+       * fileio.c (Fread_file_name): Add check for USE_GTK.
+
+       * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Add
+       check for USE_GTK.
+
+       * config.in: Added HAVE_GTK
+
+       * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK.
+
+2003-01-18  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * charset.h (Funibyte_char_to_multibyte): Export.
+
+2003-01-18  Jan D.  <jan.h.d@swipnet.se>
+
+       * xmenu.c (mouse_position_for_popup): New function.
+       (Fx_popup_menu): Call mouse_position_for_popup for X and
+       mouse_position_hook for others.
+
+2003-01-17  Kim F. Storm  <storm@cua.dk>
+
+       * editfns.c (Finsert): Mention `string-make-multibyte' and
+       `string-as-multibyte' in doc string.
+
+2003-01-17  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here.
+
+       * editfns.c (Fformat): Convert an unibyte char argument that is
+       formatted by "%c" to multibyte if the total result must be a
+       multibyte string.
+
+2003-01-16  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (set-process-filter): Document unibyte/multibyte-ness
+       of string argument.
+
+2003-01-16  Kenichi Handa  <handa@m17n.org>
+
+       * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros.
+
+       * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY.
+       (re_search_2): Likewise.
+
+2003-01-15  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (message_dolog): Fix bug of the case that *Message*
+       buffer is unibyte.
+
+2003-01-15  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * fns.c (Fsubstring): Clarify doc string.
+
+       * textprop.c (Ftext_properties_at, Fnext_char_property_change)
+       (Fprevious_char_property_change)
+       (Fnext_single_char_property_change)
+       (Fprevious_single_char_property_change, Fnext_property_change)
+       (Fnext_single_property_change, Fprevious_property_change)
+       (Fprevious_single_property_change, Fadd_text_properties)
+       (Fput_text_property, Fset_text_properties)
+       (Fremove_text_properties, Fremove_list_of_text_properties)
+       (Ftext_property_any, Ftext_property_not_all): Clarify doc strings.
+
+2003-01-14  Kim F. Storm  <storm@cua.dk>
+
+       * process.h (struct Lisp_Process): New member plist replaces old
+       member private_vars.  All uses changed.
+
+       * process.c: Reworked 2003-01-12 change -- call a plist a plist!
+       (QCplist): Renamed from QCvars.  All uses changed.
+       (Fprocess_plist): Replaces Fprocess_variable.  Simplified.
+       (Fset_process_plist): Replaces Fset_process_variable.  Simplified.
+       (syms_of_process): Intern, staticpro, defsubr these.
+       (Fmake_network_process): Describe :plist arg.  Removed :vars arg.
+
+2003-01-14  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * m/delta.h: Removed (obsolete).
+
+2003-01-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * fileio.c (Fdelete_directory, Fdelete_file): Document the
+       behaviour in front of symlinks.
+       (Fdelete_file): Raise an error on directories.
+
+2003-01-13  Dave Love  <fx@gnu.org>
+
+       * fns.c (Freverse): Use QUIT.
+
+2003-01-13  Richard M. Stallman  <rms@gnu.org>
+
+       * minibuf.c (minibuffer_completion_contents):
+       Error if point is inside prompt.
+
+       * keyboard.c (command_loop_1): Don't redisplay directly
+       if there's a post-command-hook.
+
+       * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix.
+       (Fdo_auto_save): Add gcpros around Ffile_name_directory.
+
+2003-01-12  Kim F. Storm  <storm@cua.dk>
+
+       * process.h (struct Lisp_Process): New member private_vars.
+
+       * process.c (QCvars): New variable.
+       (syms_of_process): Intern and staticpro it.
+       (Fset_process_contact): Removed function.
+       (Fprocess_variable, Fset_process_variable): New functions.
+       (syms_of_process): Defsubr them.
+       (Fstart_process): Initialize private_vars plist to nil.
+       (Fmake_network_process): New arg :vars to setup the private
+       variables for new network process.
+       (server_accept_connection): Copy server's private variables to
+       client process.
+
+       * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious
+       crashes).  Code rewritten and simplified.  Now directly aligns the
+       pointer and recalculates pure_bytes_used, rather than aligning the
+       size and adjusting the pointer.
+
+2003-01-11  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fset_process_contact): New function.
+       (syms_of_process): defsubr it.
+       (make-network-process): Update doc.
+
+2003-01-10  Andreas Schwab  <schwab@suse.de>
+
+       * alloc.c (pure_alloc): Correct alignment for Lisp_Floats.
+       Reported by Berthold Gunreben <b.gunreben@web.de>.
+
+2003-01-10  Dave Love  <fx@gnu.org>
+
+       * composite.c (syms_of_composite): Make composition_hash_table weak.
+
+2003-01-09  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fmake_network_process): Convert new port number
+       to host byte order for `:service t' case.  From Mario Lang.
+
+2003-01-08  Jan D.  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event
+       instead of XtAppProcessEvent.
+
+       * xterm.c (handle_one_xevent): New function.
+       (x_dispatch_event): New function.
+       (XTread_socket): Call handle_one_xevent.
+
+       * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New.
+
+       * xmenu.c (Fx_popup_menu): If popping up at mouse position,
+       call XQueryPointer to get coordinates.
+       (popup_get_selection): Do not set popup_activated_flag to zero,
+       let popup_deactivate_callback do that.  Needed for Motif.
+       Call x_dispatch_event instead of XtDispatchEvent.
+       (xmenu_show): Calculate root coordinate from frame top/left position.
+
+2003-01-08  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (server_accept_connection): Fixed recording of new
+       connection's local address in :local property of contact info.
+       (Fmake_network_process): Record local network address for new
+       client processes in :local property of contact info.
+       (format-network-address): Added arg OMIT-PORT.  Callers changed.
+
+2003-01-07  Dave Love  <fx@gnu.org>
+
+       * Makefile.in (fns.o): Depend on coding.h.
+
+2003-01-07  Markus Rost  <rost@math.ohio-state.edu>
+
+       * minibuf.c (Fread_variable): Doc fix.
+
+       * eval.c (Fuser_variable_p): Doc change.  For custom variables,
+       use the same test as for custom-variable-p.
+
+2003-01-05  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT.
+       Count LAST_LINE_MISFIT in scroll margin for end of window.
+       Move label too_near_end before setting SCROLL_MARGIN_POS.
+       Set LAST_LINE_MISFIT before jumping there.
+
+       * xdisp.c (try_scrolling): Calculate amount_to_scroll better in
+       scroll_conservatively case.  If scrolling that much doesn't change
+       STARTP, move it down one line.
+
+       * xdisp.c (redisplay_window): Pass last_line_misfit arg to
+       try_scrolling.  Make it 1 after make_cursor_line_fully_visible fails.
+
+       * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no
+       selected frame.
+
+       * keymap.c (apropos_predicate, apropos_accumulate): Make them static.
+       (syms_of_keymap): staticpro them.
+       (Fapropos_internal): Initialize them and clear them out.
+       Don't GCPRO them.
+
+       * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>:
+       Doc fixes.
+
+       * lisp.h: New misc type Lisp_Save_Value.
+       (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.
+       (XSAVE_VALUE): New macro.
+       (struct Lisp_Save_Value): New data type.
+       (union Lisp_Misc): Add u_save_value alternative.
+       (make_save_value): Declared.
+
+       * alloc.c (make_save_value): New function.
+
+       * xterm.c (x_catch_errors): Save dpy using make_save_value.
+       (x_catch_errors_unwind): Call XSync.
+
+2003-01-01  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (window_scroll_pixel_based): Partially undo last change.
+
+       * keyboard.c (command_loop_1): Call adjust_point_for_property
+       in direct action cases for Qforward_char and Qbackward_char.
+       Set already_adjusted so it won't be done twice.
+
+2002-12-30  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
+
+       * src/config.in (!HAVE_SIZE_T): Fix order of arguments in
+       type definition of size_t.
+
+2003-01-02  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to
+       distinguish Carbon GUI builds from X11 builds on darwin.
+
+2002-12-30  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2
+       to default to t.
+
+2002-12-29  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * data.c (Fstring_to_number, Fminus): Better English in doc strings.
+
+2002-12-28  Steven Tamm  <steventamm@mac.com>
+
+       * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to
+       allow building in a different directory than source.  Uses some
+       GNU Make extensions, but there is no other make on Mac OS X.
+
+2002-12-26  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local)
+       (Fsetq_default, Fmake_local_variable, Fkill_local_variable)
+       (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus)
+       (Fstring_to_number): Mention the returned value in the doc strings.
+
+2002-12-23  Richard M. Stallman  <rms@gnu.org>
+
+       * buffer.c (syms_of_buffer) <scroll-up-aggressively>
+       <scroll-down-aggressively>: Doc fix.
+
+       * xmenu.c (parse_single_submenu): Use individual keymap's prompt
+       string as pane name, if there is one.
+       (set_frame_menubar): Save menu_items_n_panes from each call to
+       parse_single_submenu and use it when calling digest_single_submenu.
+
+       * window.c (window_scroll_pixel_based): Fix check for reaching BEGV.
+       Don't try to make last line fully visible if it is past end of window.
+
+2002-12-22  Steven Tamm  <steventamm@mac.com>
+
+       * macmenu.c (MIN_POPUP_SUBMENU_ID): Add.
+       (mac_menu_show): Add support for hierarchical popup menus.
+       (add_menu_item): Remove indentation support.
+       (fill_submenu, fill_menu): Create hierarchical menus
+       instead of using indentation.
+
+2002-12-22  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (try_cursor_movement): Don't call try_window here.
+       (redisplay_window): Never redisplay minibuffer when inactive.
+
+       * window.c (select_window_1): Undo 9/21 change.
+
+2002-12-22  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (XTread_socket): Call KeyTranslate for control and
+       meta to deal correctly shifted non-alpha characters, like C-S-5
+       being treated like C-%.  Does not look for shift key to deal
+       with masking off control-key with mac-reverse-ctrl-meta.
+
+2002-12-21  Richard M. Stallman  <rms@gnu.org>
+
+       * xmenu.c (popup_get_selection): Now static.  New arg DO_TIMERS.
+       If it is non-nil, run timers.  Use an unwind-protect to requeue
+       the events that were read ahead.
+       (popup_get_selection_unwind): New subroutine.
+       (popup_get_selection_queue): File-scope variable now holds that queue.
+       (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection.
+       (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection.
+       Use an unwind-protect to pop down the dialog box.
+       (xdialog_show_unwind): New subroutine implements that.
+
+       * xdisp.c (row_containing_pos): Change exit test using last_y.
+       (try_window_id): Abort if row_containing_pos returns null.
+
+       * lread.c (load_error_handler): New function.
+       (Fload): Handle errors in Fsubstitute_in_file_name.
+       Don't expect Fsignal to return.
+
+       * eval.c: Errors and throws work right with interrupt blocking.
+       (struct catchtag): New elt interrupt_input_blocked.
+       (unwind_to_catch): Restore interrupt_input_blocked from saved value.
+       (internal_catch, Fcondition_case, internal_condition_case)
+       (internal_condition_case_1, internal_condition_case_2): Save it.
+       (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT.
+
+       * editfns.c (Fformat): Add parens.
+
+       * dired.c (file_name_completion): Fix that change.
+       Delete special quit-handling code; just use QUIT.
+
+2002-12-21  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
+
+       * dired.c (file_name_completion): Close directory on error
+       just as in directory_files_internal.
+
+2002-12-19  David Kastrup  <David.Kastrup@t-online.de>
+
+       * window.c (Fset_window_configuration): Set old_point to correct
+       value when new_current_buffer == current_buffer.
+
+2002-12-17  Ben Key  <bkey1@tampabay.rr.com>
+
+       Revisited my earlier fix for the following entry in etc/PROBLEMS:
+       "Emacs built on Windows 9x/ME crashes at startup on Windows XP,
+       or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."
+
+       These changes were in part based upon suggestions made by Peter
+       'Luna' Runestig [peter@runestig.com].
+
+       * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token,
+       g_b_init_get_token_information, g_b_init_lookup_account_sid,
+       g_b_init_get_sid_identifier_authority ): Added several static
+       global variables.
+
+       * w32.c (globals_of_w32): New function.  Used to initialize those
+       global variables that must always be initialized on startup even
+       when the global variable initialized is non zero.  Its primary
+       purpose at this time is to set the global variables
+       g_b_init_is_windows_9x, g_b_init_open_process_token,
+       g_b_init_get_token_information, g_b_init_lookup_account_sid, and
+       g_b_init_get_sid_identifier_authority to 0 on startup.
+       Called from main.
+
+       * w32.c (is_windows_9x): Perform initialization only if
+       g_b_init_is_windows_9x is equal to 0.  On initialization set
+       g_b_init_is_windows_9x equal to 1.
+
+       * w32.c (open_process_token): Perform initialization only if
+       g_b_init_open_process_token is equal to 0.  On initialization set
+       g_b_init_open_process_token equal to 1.
+
+       * w32.c (get_token_information): Perform initialization only if
+       g_b_init_get_token_information is equal to 0.  On initialization
+       set g_b_init_get_token_information equal to 1.
+
+       * w32.c (lookup_account_sid): Perform initialization only if
+       g_b_init_lookup_account_sid is equal to 0.  On initialization
+       set g_b_init_lookup_account_sid equal to 1.
+
+       * w32.c (get_sid_identifier_authority): Perform initialization
+       only if g_b_init_get_sid_identifier_authority is equal to 0.
+       On initialization set g_b_init_get_sid_identifier_authority equal to 1.
+
+       * w32fns.c (globals_of_w32fns): New function. Used to initialize
+       those global variables that must always be initialized on startup
+       even when the global variable initialized is non zero.
+       Its primary purpose at this time is to initialize the global variable
+       track_mouse_event_fn.
+
+       * w32fns.c (w32_wnd_proc):  Remove initialization of
+       track_mouse_event_fn from the handler for the WM_SETFOCUS message.
+
+       * w32fns.c (syms_of_w32fns): Call globals_of_w32fns.
+
+       * w32menu.c (globals_of_w32menu):  New function. Used to
+       initialize those global variables that must always be initialized
+       on startup even when the global variable initialized is non zero.
+       Its primary purpose at this time is to initialize the global
+       variables get_menu_item_info and set_menu_item_info.
+
+       * w32menu.c (initialize_frame_menubar): Remove initialization of
+       get_menu_item_info and set_menu_item_info.
+
+       * w32menu.c (syms_of_w32menu): Call globals_of_w32menu.
+
+       * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu):
+       Declare them.
+
+       * emacs.c (main): Call globals_of_w32 prior to calling
+       init_environment if WINDOWSNT is defined.  Call globals_of_w32fns
+       and globals_of_w32menu if initialized is non zero and HAVE_NTGUI
+       is defined.
+
+       * w32term.c (x_update_window_begin): Fix Windows API error
+       detected by BoundsChecker.  Test to determine if
+       w32_system_caret_hwnd is NULL prior to attempting to use
+       SendMessage to send the WM_EMACS_HIDE_CARET message to it.
+
+       * w32term.c (x_update_window_end): Fix Windows API error
+       detected by BoundsChecker.  Test to determine if
+       w32_system_caret_hwnd is NULL prior to attempting to use
+       SendMessage to send the WM_EMACS_SHOW_CARET message to it.
+
+2002-12-17  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (coding_system_require_warning): New variable.
+       (syms_of_coding): DEFVAR it.
+
+       * coding.h (coding_system_require_warning): Extern it.
+
+       * fileio.c (choose_write_coding_system): Even if
+       Vcoding_system_for_write is non-nil, if
+       coding_system_require_warning is nonzero, call
+       Vselect_safe_coding_system_function.
+
+2002-12-17  Markus Rost  <rost@math.ohio-state.edu>
+
+       * Makefile.in (lisp, shortlisp): Add cus-face and timer.
+       (lisp): Add font-core.
+
+2002-12-13  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textprop.c (text_read_only): New arg `propval'.
+       (get_char_property_and_overlay): Remove unused var `next_overlay'.
+       (verify_interval_modification): Use text_read_only's new arg.
+
+2002-12-13  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (Funencodable_char_position): Set pend correctly.
+
+2002-12-12  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (last_mousemove_x, last_mousemove_y): New variables.
+       (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement.
+       Be more careful about when help_events are generated.
+
+2002-12-12  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (mac_check_for_quit_char): Correctly set the
+       modifiers of the event to 0.
+       * mac.c (sys_select): Duplicate rfds before calling select to
+       ensure that rfds survive the while loop.
+
+2002-12-11  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (try_window_id): Don't call set_cursor_from_row if
+       row_containing_pos returned NULL.
+
 2002-12-10  Steven Tamm  <steventamm@mac.com>
 
        * mac.c (sys_read): Fixed sys_read to not call select if IO is
-       non-blocking
+       non-blocking.
        (sys_select): Fixed sys_select to not use a timeout larger than
        the one given.
 
 
 2002-12-09  Dave Love  <fx@gnu.org>
 
-       * s/sol2-8: Removed.  (Not necessary.)
+       * s/sol2-8.h: Removed.  (Not necessary.)
 
-2002-12-09  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
+2002-12-09  Matthew Swift  <swift@alum.mit.edu>
 
        * editfns.c (Fformat): Handle precision in string conversion
        specifiers like libc functions do (ie, print at most that many
-       characters).  From Matthew Swift <swift@alum.mit.edu>.
+       characters).
 
 2002-12-08  Richard M. Stallman  <rms@gnu.org>
 
 
        * macterm.c (mac_check_for_quit_char, quit_char_comp)
        (init_quit_char_handler, mac_determine_quit_char_modifiers)
-       (mac_initialize):  Added code to check for pressing of quit_char
-       in the OS event queue
+       (mac_initialize): Added code to check for pressing of quit_char
+       in the OS event queue.
 
        * mac.c (sys_select): Call mac_check_for_quit_char every second
        while blocking on select.
 
        * mac.c (sys_read): Use sys_select to test for input first
-       before calling read to allow C-g to break
+       before calling read, to allow C-g to break.
 
 2002-12-07  Richard M. Stallman  <rms@gnu.org>
 
 
 2002-12-06  Francesco Potorti`  <pot@gnu.org>
 
-       * xfns.c (png_load): Avoid double gamma correction for PNG
-       images.
+       * xfns.c (png_load): Avoid double gamma correction for PNG images.
 
 2002-12-04  Richard M. Stallman  <rms@gnu.org>
 
        (Qset_buffer_major_mode_hook): Deleted.
        (Fset_buffer_major_mode): Revert previous change.
        (init_buffer_once): Intern ucs-set-table-for-input.
-       (syms_of_buffer): Delete Qset_buffer_major_mode_hook.  Add
-       &Qucs_set_table_for_input.
+       (syms_of_buffer): Delete Qset_buffer_major_mode_hook.
+       Add &Qucs_set_table_for_input.
 
 2002-12-03  Andreas Schwab  <schwab@suse.de>
 
 
 2002-12-01  Steven Tamm  <steventamm@mac.com>
 
-       * unexmacosx.c (copy_twolevelhints, dump_it):  Now corrects the
+       * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the
        offset in two hints table to allow prebinding to be redone and
        allow the executable to be stripped.
 
 
        * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
 
-       * systty.h: Don't conditionally define GETPGRP_NO_ARG.  Test
-       GETPGRP_VOID instead.
+       * systty.h: Don't conditionally define GETPGRP_NO_ARG.
+       Test GETPGRP_VOID instead.
        [BSD_TERMIOS]: Remove definitions (never used).
 
        * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist):
        * keyboard.c (interrupt_signal): Provide forward declaration.
        (kbd_buffer_store_event): Don't declare interrupt_signal.
 
-       * xdisp.c (store_frame_title_char) [PROTOTYPES]:  Provide ISO C
-       arglist.
+       * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist.
 
 2002-11-21  Richard M. Stallman  <rms@gnu.org>
 
 
        * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define.
 
-2002-11-18   Markus Rost  <rost@math.ohio-state.edu>
+2002-11-18  Markus Rost  <rost@math.ohio-state.edu>
 
        * s/sol2-8.h: Include sol2-6.h.
 
        for this face/font combo.
        (set_font_frame_param: Pass new argument to choose_face_font.
 
-2002-11-17  Ben Key <BKey1@tampabay.rr.com>
+2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
 
        This change is my fix for the following entry in etc/PROBLEMS:
        "Emacs built on Windows 9x/ME crashes at startup on Windows XP,
        function pointer track_mouse_event_fn in the handler for the
        WM_SETFOCUS message.
 
-       * w32menu.c (initialize_frame_menubar):  Added code to
+       * w32menu.c (initialize_frame_menubar): Added code to
        reinitialize the function pointers set_menu_item_info and
        get_menu_item_info.
 
-2002-11-17  Ben Key <BKey1@tampabay.rr.com>
+2002-11-17  Ben Key  <BKey1@tampabay.rr.com>
 
        * sound.c: Added a partial implementation of play-sound-internal
        for Microsoft Windows.  Added various #ifdef / #else / #endif
 
 2002-11-01  Andreas Schwab  <schwab@suse.de>
 
-       * editfns.c (Fmessage): Revert last change to properly handle %%
-       format.
+       * editfns.c (Fmessage): Revert last change to properly handle %%.
 
 2002-11-01  Stefan Monnier  <monnier@cs.yale.edu>
 
 
 2002-08-30  Andrew Choi  <akochoi@shaw.ca>
 
-       * macterm.c (expose_overlaps): New function (merge code from
-       xterm.c).
+       * macterm.c (expose_overlaps): New function (merge code from xterm.c).
        (expose_window): Use it to fix the display of overlapping
        rows (merge code from xterm.c).
 
 
        * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH):
        New macros.
-       (struct w32_output): New fields blink_off_cursor, blink_off_cursor_width.
+       (struct w32_output): New fields blink_off_cursor,
+       blink_off_cursor_width.
        (FRAME_CURSOR_WIDTH): New macro.
 
        * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR
 2002-08-27  Gerd Moellmann  <gerd.moellmann@t-online.de>
 
        * xdisp.c (redisplay_updating_p): Variable removed.
-       (inhibit_free_realized_faces, Qinhibit_free_realized_faces): New
-       variables.
+       (inhibit_free_realized_faces, Qinhibit_free_realized_faces):
+       New variables.
        (init_iterator): Don't free realized faces if
        inhibit_free_realized_faces is set.
        (redisplay_internal): Bind Qinhibit_free_realized_faces to nil.
 
 2002-08-26  Kim F. Storm  <storm@cua.dk>
 
-       * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize
-       foreground and background colors. From Joe Buehler (tiny change).
+       * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground
+       and background colors.  From Joe Buehler (tiny change).
 
 2002-08-26  Miles Bader  <miles@gnu.org>
 
 
 2002-08-19  Kenichi Handa  <handa@localhost>
 
-       * composite.c (run_composition_function): Call FUNC if it is
-       fboundp.
+       * composite.c (run_composition_function): Call FUNC if it is fboundp.
 
        * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a
        cons, return Qnil.
        (Vmac_pass_command_to_system): New variable.
        (Vmac_pass_control_to_system): New variable.
        (do_mouse_moved): Check wp with is_emacs_window.
-       (XTread_socket): Check window_ptr with is_emacs_window.  Call
-       FrontNonFloatingWindow instead of FrontWindow.  Send keydown
+       (XTread_socket): Check window_ptr with is_emacs_window.
+       Call FrontNonFloatingWindow instead of FrontWindow.  Send keydown
        events back to Mac Toolbox for processing, depending on values of
        Vmac_pass_command_to_system and Vmac_pass_control_to_system.
        (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and
 
 2002-08-08  Ken Raeburn  <raeburn@mit.edu>
 
-       * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int
-       mixup.
+       * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup.
 
        * puresize.h (BASE_PURESIZE): Increase to 910000.
 
        (single_submenu, set_frame_menubar)
        (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE.
 
-       (Fx_popup_menu):  Don't show pop up menu until preceding one is
+       (Fx_popup_menu): Don't show pop up menu until preceding one is
        actually cleaned up.  Moved UNGCPRO outside #ifdef HAVE_MENUS block.
 
        * w32menu.c: Changes adapted from xmenu.c
        (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent,
        SendEventToEventTarget, mac_event_to_emacs_modifiers, and
        mac_get_mouse_btn.
-       (mac_initialize): Call init_mac_drag_n_drop and
-       init_service_handler.
+       (mac_initialize): Call init_mac_drag_n_drop and init_service_handler.
 
        * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and
        lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT.
        as for WINDOWS_NT.
        (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX.
 
-       * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for
-       MAC_OSX.
+       * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX.
 
 2002-08-03  Gerd Moellmann  <gerd.moellmann@t-online.de>
 
 
 2002-07-23  Kenichi Handa  <handa@etl.go.jp>
 
-       * xdisp.c (face_before_or_after_it_pos): Call
-       FETCH_MULTIBYTE_CHAR with byte postion, not char position.
+       * xdisp.c (face_before_or_after_it_pos):
+       Call FETCH_MULTIBYTE_CHAR with byte postion, not char position.
 
 2002-07-22  Juanma Barranquero  <lektu@terra.es>
 
-       * callproc.c (init_callproc) [DOS_NT]: Initialize
-       Vshared_game_score_directory to nil.
+       * callproc.c (init_callproc) [DOS_NT]:
+       Initialize Vshared_game_score_directory to nil.
        (syms_of_callproc) [DOS_NT]: Likewise.
 
 2002-07-22  Gerd Moellmann  <gerd.moellmann@t-online.de>
        const.
        * charset.h (BCOPY_SHORT): Source pointer now points to const.
        * coding.c (encode_eol, detect_coding, detect_eol):
-       (decode_coding, encode_coding, detect_coding_system): Source
-       strings now treated as const.
+       (decode_coding, encode_coding, detect_coding_system):
+       Source strings now treated as const.
        (decode_coding_string, encode_coding_string): Use STRING_COPYIN to
        modify Lisp string contents.
        * coding.h (decode_coding, encode_coding, detect_coding,
        contents as const.
        * sysdep.c (emacs_write): Buffer pointer now const.
        * term.c (encode_terminal_code): Buffer pointer now const.
-       * xfaces.c (may_use_scalable_font_p): Argument now points to
-       const.
+       * xfaces.c (may_use_scalable_font_p): Argument now points to const.
        (x_face_list_fonts, x_update_menu_appearance):
-       (hash_string_case_insensitive): Treat Lisp string contents as
-       const.
+       (hash_string_case_insensitive): Treat Lisp string contents as const.
 
 2002-07-19  Juanma Barranquero  <lektu@terra.es>
 
 
 2002-06-28  Andreas Schwab  <schwab@suse.de>
 
-       * lisp.h: Remove duplicate declaration of
-       code_convert_string_norecord.
+       * lisp.h: Remove duplicate declaration of code_convert_string_norecord.
 
 2002-06-27  Kim F. Storm  <storm@cua.dk>
 
 
        * coding.c (detect_eol): Preserve coding->cmp_data.
 
-       * w16select.c (Fw16_get_clipboard_data): Disable composition handling.
-
-       * w32fns.c (w32_to_x_font): Disable composition handling.
-
-       * w32select.c (Fw32_get_clipboard_data): Disable composition handling.
-
-       * xselect.c (selection_data_to_lisp_data): Disable composition
-       handling.
-
+       * w16select.c (Fw16_get_clipboard_data):
+       * w32fns.c (w32_to_x_font):
+       * w32select.c (Fw32_get_clipboard_data):
+       * xselect.c (selection_data_to_lisp_data):
        * xterm.c (XTread_socket): Disable composition handling.
 
 2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
 
 2002-03-20  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): Don't
-       use "sun" as a variable, it's a predefined constant on Sun
+       * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr):
+       Don't use "sun" as a variable, it's a predefined constant on Sun
        machines.
 
 2002-03-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 2002-03-18  Kim F. Storm  <storm@cua.dk>
 
        * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT,
-       HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and
-       HAVE_SYS_UN_H.
+       HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H.
 
        * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
        Remove explicit GNU_LINUX settings for datagram support.
 
        * process.c (Fmake_network_process): Remove unused variable `sa'.
        Doc fix.  Add usage:.
-       (set_socket_options): Remove unused variables `optnum' and
-       `opttype'.
+       (set_socket_options): Remove unused variables `optnum' and `opttype'.
 
 2002-03-17  Richard M. Stallman  <rms@gnu.org>
 
 
 2002-03-08  Gerd Moellmann  <gerd@gnu.org>
 
-       * xdisp.c (move_it_vertically_backward): At the end of the
-       function, when moving forward by lines, treat terminal frames
-       specially.
+       * xdisp.c (move_it_vertically_backward): At the end of the function,
+       when moving forward by lines, treat terminal frames specially.
 
        * keyboard.c (echo_char): Make sure to add a separator between
        keys even if echo_dash hasn't been called.
        (status_message): Convert Qfailed status.
        (Fopen_network_stream): Added support for non-blocking connect.
        New optional args: filter, sentinel, non_blocking.  Doc updated.
-       [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]:  Merged common code.
+       [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code.
        (deactivate_process): Handle pending non-blocking connect.
        (wait_reading_process_input): Poll for status of non-blocking
        connects.  Exec sentinel directly when connect succeeds.
 
 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       * fileio.c (Fsubstitute_in_file_name): Fix the change from
-       2002-02-08.
+       * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08.
 
        * xselect.c (Qcompound_text_with_extensions): Renamed from
        Qcompound_text_no_extensions.
 
        * w32term.c (x_check_fullscreen, x_check_fullscreen_move)
        (x_fullscreen_adjust): New functions.
-       (w32_read_socket) <WM_WINDOWPOSCHANGED>:  Don't resize to
+       (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't  resize to
        fullscreen.  Call x_check_fullscreen_move, and set the
        want_fullscreen member of output_data.w32
        <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
 
        * msdos.c (x_autoselect_window_p): New variable.
        (syms_of_msdos): Defvar it.
-       (dos_rawgetc): If x_autoselect_window_p is set, select the window
-       in which the last mouse movement occured, unless it is already
-       selected.
+       (dos_rawgetc): If x_autoselect_window_p is set, select the window in
+       which the last mouse movement occured, unless it is already selected.
 
        * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step):
        New variables.
 
 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       * xfaces.c (realize_default_face): Don't set the weight and slant
-       of the default face to Qnormal, unless these attributes are
-       unspecified.
+       * xfaces.c (realize_default_face): Don't set the weight and slant of
+       the default face to Qnormal, unless these attributes are unspecified.
 
 2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * alloc.c (inhibit_garbage_collection): Don't exceed value an int
        can hold.
 
-       * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): Rename
-       from most_positive_fixnum and most_negative_fixnum, resp., and
+       * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum):
+       Rename from most_positive_fixnum and most_negative_fixnum, resp., and
        type changed to Lisp_Object.
        (syms_of_data): DEFVAR_LISP them.
 
 
        * insdel.c (make_gap_larger): New function.
        (make_gap_smaller): New function.
-       (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: Call
-       make_gap_smaller if arg is negative.
+       (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]:
+       Call make_gap_smaller if arg is negative.
 
 2001-12-04  Stefan Monnier  <monnier@cs.yale.edu>
 
        (last-input-char): Revert doc-string to be the same as the
        doc-string of `last-input-event'.
 
-       * xdisp.c:  Fix typos in comments.
+       * xdisp.c: Fix typos in comments.
 
 2001-10-31  Gerd Moellmann  <gerd@gnu.org>
 
        (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables.
        (try_window_id, try_window_reusing_current_matrix)
        (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited.
-       (syms_of_xdisp) [GLYPH_DEBUG]:  DEFVAR_BOOL the variables.
+       (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables.
 
 2001-10-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        (show_mouse_face): Set the glyph row's mouse_face_p flag also when
        DRAW is DRAW_IMAGE_RAISED.
        (clear_mouse_face): Return 1 if text with mouse face was
-       actually redrawn.  Make the function static.  Reset
-       dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
+       actually redrawn.  Make the function static.
+       Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
        optimize away highlighting if we pass over that same overlay again.
        (note_mouse_highlight): Call mouse_face_overlay_overlaps
        to detect a case where we have to highlight a different region