+2001-03-15 Gerd Moellmann <gerd@gnu.org>
+
+ * data.c (store_symval_forwarding): Add parameter BUF. If BUF is
+ non-null, set a per-buffer value in BUF instead of the current
+ buffer.
+ (swap_in_global_binding, swap_in_symval_forwarding, Fset_default):
+ Call store_symval_forwarding with BUF null.
+ (set_internal): Call store_symval_forwarding with the BUF
+ parameter passed to set_internal. Formerly, the value was always
+ set in the current buffer; the buffer recorded in specbind for
+ this case wasn't used.
+ (arith_driver): Reindent.
+
+ * buffer.c (swap_out_buffer_local_variables): Call
+ store_symval_forwarding with BUF null.
+
+ * lisp.h (store_symval_forwarding): Change prototype.
+
+ * eval.c (specbind): Call store_symval_forwarding with BUF null.
+
+2001-03-14 Gerd Moellmann <gerd@gnu.org>
+
+ * frame.c (do_switch_frame): Remove unused parameter NO_EVENT, add
+ FOR_DELETION. Avoid resizing the mini-window of the selected
+ frame if FOR_DELETION is set.
+ (Fselect_frame, Fhandle_switch_frame, Fdelete_frame)
+ (Fmake_frame_invisible): Change calls to do_switch_frame for new
+ signature.
+
+ * window.c (Fset_window_configuration): Change call to
+ do_switch_frame to new format.
+
+ * keyboard.c (quit_throw_to_read_char): Change call to
+ do_switch_frame to new format.
+
+ * lisp.h (do_switch_frame): Change prototype.
+
+ * frame.c (Fframe_parameters): In the `buffer-list' frame
+ parameter, store the buffer list of FRAME, not the list of the
+ selected frame.
+
+ * xterm.c (x_draw_glyph_string_box): Don't draw a full-width
+ box just because the glyph row's full_width_p flag is set.
+
+2001-03-14 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * xdisp.c (highlight_trailing_whitespace): On character terminals,
+ skip the padding blanks inserted in extend_face_to_end_of_line,
+ before checking for trailing whitespace.
+
+2001-03-13 Gerd Moellmann <gerd@gnu.org>
+
+ * xmenu.c (popup_activate_callback, popup_deactivate_callback):
+ Remove special handling for LessTif/Motif.
+ (toplevel): Don't include Xm/Xm.h.
+
+ * xterm.c (XTread_socket) <LeaveNotify, EnterNotify>: Remove
+ workaround code for LessTif; it doesn't work anymore.
+
+ * xterm.c [USE_TOOLKIT_SCROLL_BARS && USE_MOTIF]: Don't include
+ Xm/ScrollBarP.h.
+
+ * xterm.c (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Don't
+ access private scroll bar data; it's no longer necessary with
+ contemporary LessTif.
+
+ * xfaces.c (xm_set_menu_resources_from_menu_face): Change
+ #if 0 to #ifndef LESSTIF_VERSION.
+
+ * xmenu.c (xmenu_show) [LESSTIF_VERSION]: Take out the code
+ removing button grabs.
+
+2001-03-13 Kenichi Handa <handa@etl.go.jp>
+
+ * fontset.c (syms_of_fontset): Describe highlight-wrong-size-font
+ and clip-large-size-font as obsolete.
+
+ * lread.c (read_multibyte): Check the validity of multibyte
+ sequence. If invalid, return the first byte.
+
+2001-03-12 Gerd Moellmann <gerd@gnu.org>
+
+ * keyboard.c (command_loop_1): Set Vdeactivate_mark to nil
+ before running the command; timer functions or process
+ filters may have set it.
+
+2001-03-12 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>:
+ Doc fix.
+
+2001-03-12 Gerd Moellmann <gerd@gnu.org>
+
+ * xrdb.c (x_load_resources) [USE_MOTIF]: Remove extraneous arg
+ to sprintf.
+
+2001-03-09 Gerd Moellmann <gerd@gnu.org>
+
+ * dispextern.h (string_buffer_position): Add prototype.
+
+ * xdisp.c (string_buffer_position, display_prop_string_p)
+ (single_display_prop_string_p): New functions.
+
+ * xterm.c (note_mouse_highlight): If there's no help-echo on
+ a string, look at the buffer text ``under'' it.
+
+ * keyboard.c (make_lispy_event): Add string info to the event,
+ analogous to what's done on mode lines.
+ (read_key_sequence): For a click on a string, consider `local-map'
+ and `keymap' of that string.
+
+ * keyboard.c (make_lispy_event, make_lispy_movement): Adjust
+ calls to buffer_posn_from_coords to new format.
+
+ * dispextern.h (buffer_posn_from_coords): Adjust prototype.
+
+ * dispnew.c (buffer_posn_from_coords): Add parameters OBJECT and
+ POS; return void.
+
+ * fileio.c (Fwrite_region) [DOS_NT]: Remove O_TRUNC from open
+ flags argument to emacs_open; it seems to conflict with O_EXCL.
+
+2001-03-09 Kenichi Handa <handa@etl.go.jp>
+
+ * composite.h (struct composition): Change types of members;
+ glyph_len to unsigned, width to unsigned short.
+
+2001-03-08 Andrew Innes <andrewi@gnu.org>
+
+ * w32menu.c (add_menu_item): Fix problems with using ownerdraw for
+ menu titles.
+
+2001-03-08 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (handle_display_prop): Use it->w->buffer as object,
+ instead of nil.
+
+ * xterm.c (note_mouse_highlight): Handle mouse-face and
+ help-echo in strings.
+ (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
+ (fast_find_string_pos): New function.
+
+ * xdisp.c (handle_face_prop, face_before_or_after_it_pos)
+ (display_string): Call face_at_string_position with new
+ parameter.
+
+ * xfaces.c (face_at_string_position): Add parameter MOUSE_P.
+ Handle `mouse-face'.
+
+ * dispextern.h (face_at_string_position): Change prototype.
+
+ * dired.c (directory_files_internal): Handle EAGAIN more
+ efficiently.
+
+ * keyboard.c (make_lispy_event): Avoid generating drag events
+ if the mouse hasn't actually moved to another buffer position.
+
+2001-03-08 Dave Love <fx@gnu.org>
+
+ * eval.c (syms_of_eval) <debug-on-error>: Doc fix.
+
+2001-03-08 Gerd Moellmann <gerd@gnu.org>
+
+ * process.c (Fset_process_window_size): Fix a typo.
+
+2001-03-08 Kenichi Handa <handa@etl.go.jp>
+
+ * coding.c (detect_coding_sjis): Do more rigid check.
+ (detect_coding_big5): Likewise.
+ (decode_coding_sjis_big5): Likewise.
+ (Fdetect_coding_region): Call detect_coding_system with tailing
+ anchor byte `\0' for more rigid detection.
+ (detect_coding_mask): Fix the incorrect handling of arg
+ MULTIBYTEP.
+ (Fdetect_coding_string): Likewise.
+
+2001-03-07 Stefan Monnier <monnier@cs.yale.edu>
+
+ * bytecode.c (Fbyte_code) <Btemp_output_buffer_setup>: Check the arg is
+ a string before extracting its data.
+
2001-03-07 Gerd Moellmann <gerd@gnu.org>
* window.c (Frecenter): Rewrite code handling negative values
NULL after destroying it, otherwise XTread_socket can access a
destroyed widget when input is unblocked.
- * xfns.c (x_set_foreground_color): Set the background of the
- cursor GC.
+ * xfns.c (x_set_foreground_color): Set the background of the cursor GC.
* xfns.c (x_set_font): Handle case of x_new_fontset returning the
same name as before, although there was a change in fontsets.