+2000-10-16 Stefan Monnier <monnier@cs.yale.edu>
+
+ * keymap.c (keymap_memberp): Ensure that nil is not a member.
+
+2000-10-16 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (set_iterator_to_next): Reset box start and end flags of
+ the iterator at the beginning, so that they can be set later on,
+ for instance in reseat_at_next_visible_line_start, without being
+ overwritten.
+
+ * xfns.c (pbm_format): Add :foreground and :background keywords.
+ (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators.
+ (xbm_load): Recognize foreground and background color
+ specifications.
+
+2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * dispextern.h (unspecified_fg, unspecified_bg): Declare.
+
+ * dosfns.c (unspecified_fg, unspecified_bg): Remove extern
+ declaration.
+
+ * msdos.c (IT_set_face): Compare highlighted face with the default
+ face, and invert colors if these faces' colors are identical.
+ (Fmsdos_remember_default_colors): Don't swap foreground and
+ background colors in initial_colors[].
+ (IT_set_frame_parameters): Don't swap frame's foreground and
+ background pixels. If ALIST includes "(reverse . t)", swap
+ foreground-color and background-color properties in frame's
+ param_alist. If the original frame's param_alist doesn't specify
+ the colors, store unspecified-fg and unspecified-bg, reversed if
+ required.
+
+ * frame.c (Fframe_parameters): If a tty's frame's param_alist says
+ the colors are unspecified and reversed, reverse fore- and back-
+ ground in the returned value.
+ (Fframe_parameter): Ditto.
+
+2000-10-16 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (find_last_unchanged_at_beg_row): Renamed from
+ get_last_unchanged_at_beg_row.
+ (find_first_unchanged_at_end_row): Renamed from
+ get_first_unchanged_at_end_row.
+ (find_first_unchanged_at_end_row): Convert assertions to
+ unconditional tests which abort. When looking for a row in
+ unchanged text, don't go further back than first_text_row.
+
+ * xdisp.c (try_scrolling) <cursor in scroll margin at the bottom>:
+ Don't add in the last line's height when deciding if the new
+ position is below the scroll margin.
+
+2000-10-16 Miles Bader <miles@gnu.org>
+
+ * editfns.c (Fconstrain_to_field): Check carefully for field
+ boundaries if either OLD_POS or NEW_POS has a non-nil field
+ property, even if they're the same.
+
+2000-10-16 Kenichi Handa <handa@etl.go.jp>
+
+ * xterm.c (x_draw_box_rect): Fix the calculation of width and
+ height for XFillRectangle.
+
+2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
+
+ * syntax.c (Fstring_to_syntax): New function extracted from
+ Fmodify_syntax_entry.
+ (Fmodify_syntax_entry): Use it and document the ! and | fences.
+ (skip_chars, Fforward_comment): Remove unused variables.
+ (syms_of_syntax): Add defsubr for string-to-syntax.
+ (describe_syntax): Add code for comment and string fences.
+
+2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
+
+ * keymap.c (access_keymap): Add AUTOLOAD parameter.
+ Do the meta->esc mapping. Call get_keyelt before returning.
+ Start scanning from the second element (the first is always `keymap')
+ to make it easier to detect when we reach a parent map.
+ Handle the case of inheriting from a symbol whose function is a map.
+ (Fkeymap_parent): Also handle the `inherit from symbol' case.
+ (fix_submap_inheritance, Fdefine_key): Update call to access_keymap.
+ (get_keyelt, Flookup_key): Update call to access_keymap.
+ Remove the meta->esc mappings.
+ (define_as_prefix): Delete old disabled code.
+ (menu_item_p): New function.
+ (where_is_internal_1): Skip over the few remaining menu items.
+ * lisp.h (access_keymap): Update prototype.
+ * keyboard.c (read_char, menu_bar_items, tool_bar_items):
+ Update call to access_keymap.
+ (follow_key, read_key_sequence): Update calls to access_keymap.
+ Remove the meta->esc mappings.
+
+2000-10-13 Gerd Moellmann <gerd@gnu.org>
+
+ * dispnew.c (direct_output_for_insert): Call set_iterator_to_next
+ with additional argument.
+
+ * xdisp.c (cursor_row_p): New function.
+ (try_cursor_movement, display_line): Use it.
+
+ * xdisp.c (append_space): Also save/restore iterator's current
+ character and its length.
+
+ * xdisp.c (init_from_display_pos): Add an assertion.
+ (handle_stop): Don't set iterator's add_overlay_start.
+ (handle_invisible_prop): Likewise.
+ (load_overlay_strings): If text under an overlay is invisible,
+ take both before- and after-strings into account when the iterator
+ is positioned either at the start or at the end of the overlay.
+ (forward_to_next_line_start): Rewritten.
+ (reseat_at_next_visible_line_start): Rewritten.
+ (set_iterator_to_next): Add parameter RESEAT_P.
+
+ * dispextern.h (struct it): Remove member add_overlay_start.
+ (set_iterator_to_next): Change prototype.
+
+2000-10-13 Kenichi Handa <handa@etl.go.jp>
+
+ * coding.c (code_convert_region): Be sure to initialize
+ coding->category_idx.
+ (decode_coding_string): Set coding->src_multibyte and
+ coding->dst_multibyte before using CODING_REQUIRE_DECODING.
+ (encode_coding_string): Set coding->src_multibyte and
+ coding->dst_multibyte before using CODING_REQUIRE_ENCODING.
+
+2000-10-12 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xfns.c (Fx_create_frame): Don't bother calling
+ face-set-after-frame-default since the caller does it for us anyway.
+
+2000-10-12 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * window.c (coordinates_in_window): Fix detection of vertical line
+ on character terminals.
+
+2000-10-12 Gerd Moellmann <gerd@gnu.org>
+
+ * editfns.c (save_excursion_save): Additionally record the
+ selected window.
+ (save_excursion_restore): If buffer was visible in a window, and a
+ different window was selected, and the old selected window is
+ still live, restore point in that window.
+
+2000-10-12 Kenichi Handa <handa@etl.go.jp>
+
+ * xterm.c (x_produce_glyphs): Handle
+ unibyte_display_via_language_environment correctly.
+
+ * regex.c (regex_compile): Change the way of handling a range from
+ unibyte char to multibyte char.
+
+ * syntax.c (skip_chars): Change the way of handling a range from
+ unibyte char to multibyte char.
+
+ * process.c (read_process_output): Cancel previous change.
+
+2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * search.c (Fsearch_backward, Fsearch_forward): Doc fix.
+
+ * charset.c (Ffind_charset_string): Doc fix.
+ (Ffind_charset_region): Doc fix.
+
+2000-10-11 Kenichi Handa <handa@mule.m17n.org>
+
+ * process.c (read_process_output): Fix previous change. Adjust
+ multibyteness of text to insert in a buffer by
+ string_make_unibyte/multibyte instead of
+ Fstring_as_unibyte/multibyte.
+
+2000-10-10 Andreas Schwab <schwab@suse.de>
+
+ * alloc.c (mark_object): Remove all workarounds installed on
+ 1993-08-08.
+
+2000-10-10 Kenichi Handa <handa@etl.go.jp>
+
+ * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before
+ returning.
+ (base64_encode_1): Make it work for a text of multibyte form.
+ (Fbase64_decode_region): Allocate sufficient memory for multibyte
+ case. Don't call str_to_multibyte because base64_decode_1
+ produces correct multibyte form for eight-bit codes.
+ (Fbase64_decode_string): Adjusted for the change of
+ base64_decode_1.
+ (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If
+ MULTIBYTE is nonzero, produce correct multibyte form for eight-bit
+ codes.
+
+ * charset.h (CHAR_STRING): Optimized for single byte characters.
+
+2000-10-09 Andreas Schwab <schwab@suse.de>
+
+ * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to
+ -1 after socket is closed, to fall through to error processing.
+
+2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object
+ variables. If ALIST includes foreground-color or
+ background-color, change also the colors of the default face for
+ this frame.
+
+2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make
+ them extern (they are defined on xfaces.c).
+ (syms_of_msdos): Don't intern and don't staticpro
+ Qbackground_color and Qforeground_color.
+
+2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * frame.c (Fframe_parameter): For non-windowed frames, if
+ f->param_alist says foreground or background color is unspecified,
+ call tty_color_name to return the color name computed from the
+ frame's current colors.
+
+2000-10-06 Dave Love <fx@gnu.org>
+
+ * terminfo.c (ospeed): Don't declare.
+
+ * sysdep.c: Don't include string.h.
+ (h_errno): Declare conditional also on TRY_AGAIN.
+
+ * charset.c (Ffind_charset_string): Doc fix.
+
+ * fns.c (Fbase64_encode_region, Fbase64_encode_string)
+ (Fbase64_decode_region, Fbase64_decode_string): More explicit
+ error messages.
+
+2000-10-05 Dave Love <fx@gnu.org>
+
+ * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar
+ position like menu-bar.
+
+2000-10-05 Gerd Moellmann <gerd@gnu.org>
+
+ * keyboard.c (Frecursive_edit): Make sure redisplay can happen.
+
+ * xdisp.c (handle_single_display_prop): Use safe_call1.
+ (safe_call): Renamed from call_function.
+ (safe_call1): New function.
+ (handle_fontified_prop): Use safe_call1 instead of call1.
+ (safe_eval): Renamed from eval_form.
+ (safe_eval_handler): Renamed from eval_handler.
+ (handle_single_display_prop, display_mode_element): Use safe_eval
+ instead of eval_form.
+
+ * xfaces.c (merge_face_heights): Use safe_call instead of
+ call_function.
+
+ * keyboard.c (show_help_echo): Use safe_call instead of
+ call_function; use safe_eval instead of eval_form.
+
+ * lisp.h (safe_call): Renamed from call_function.
+ (safe_eval): Renamed from eval_form.
+ (safe_call1): Add prototype.
+
+2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
+
+ * xfns.c (image_ascent): Rearrange ascent calculation for the
+ has-a-font case.
+
+2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
+
+ * keymap.c (Fwhere_is_internal): Ignore `menu-bar' and `tool-bar'.
+ (where_is_internal_1): Don't bother ignoring menu-items any more.
+
+2000-10-04 Gerd Moellmann <gerd@gnu.org>
+
+ * keyboard.c (update_menu_bindings): New variable.
+ (parse_menu_item): Use AREF. If update_menu_bindings
+ is 0, don't update menu bindings.
+ (syms_of_keyboard): New Lisp variable `update-menu-bindings'.
+
+2000-10-03 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * alloc.c (Fgarbage_collect): Prevent compiler warning for a call
+ to `mark_object'.
+
+2000-10-02 Stefan Monnier <monnier@cs.yale.edu>
+
+ * syntax.c (forw_comment): Match nestedness of ender/starter.
+ (Fforward_comment): Treat an unmatched \n comment-ender as whitespace.
+ (prev_char_comstart_first): Remove.
+ (back_comment): Check two-char comment markers more carefully
+ to better handle overlapping cases like *//* or /* */* */ ...
+ Match nestedness of ender/starter.
+
2000-10-02 Dave Love <fx@gnu.org>
* config.in (HAVE_GAI_STRERROR): Add undef.