Commit 52283633 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(find_interval): Don't rebalance during signal handling.

parent 6c9e58c4
2001-04-12 Stefan Monnier <monnier@cs.yale.edu>
* intervals.c (find_interval): Don't rebalance during signal handling.
2001-04-11 Gerd Moellmann <gerd@gnu.org>
* fns.c: Include blockinput.h.
* fns.c (Fplist_get): Don't QUIT if interrupt_input_blocked.
2001-04-10 Gerd Moellmann <gerd@gnu.org>
......@@ -13,13 +17,13 @@
(window_scroll_pixel_based, window_scroll_line_based)
(scroll_command, Fscroll_other_window): Change accordingly.
* window.c (window_scroll_pixel_based, Frecenter): Call
window_box_height instead of using it.last_visible_y for the
* window.c (window_scroll_pixel_based, Frecenter):
Call window_box_height instead of using it.last_visible_y for the
height of the window.
* xdisp.c (redisplay_window) <recenter>: Call window_box_height
instead of using it.last_visible_y for the height of the window.
* w32proc.c (sys_spawnve): Quote more chars for Cygwin.
* w32.c (sys_open): Try to open file without _O_CREAT first, to be
......@@ -55,13 +59,12 @@
2001-04-06 Dave Love <fx@gnu.org>
* composite.c (update_compositions) <check_mask & CHECK_HEAD>: Fix
test of `from'.
* composite.c (update_compositions) <check_mask & CHECK_HEAD>:
Fix test of `from'.
2001-04-06 Gerd Moellmann <gerd@gnu.org>
* composite.h (COMPOSITION_VALID_P): Allow integers as cdrs of
PROP.
* composite.h (COMPOSITION_VALID_P): Allow integers as cdrs of PROP.
* xdisp.c (Qinhibit_eval_during_redisplay): Make it a Lisp_Object.
......@@ -69,8 +72,7 @@
* sysdep.c (getwd) [!HAVE_GETWD]: Unblock input before returning.
* editfns.c (Fcurrent_time_zone): Accept spaces in timezone
names.
* editfns.c (Fcurrent_time_zone): Accept spaces in timezone names.
* xfns.c (Vmotif_version_string) [USE_MOTIF]: New variable.
(syms_of_xfns): DEFVAR_LISP it. Initialize from XmVERSION_STRING.
......@@ -78,8 +80,8 @@
* xmenu.c (free_frame_menubar) [USE_MOTIF]: Preserve the
shell widget's position only if it is non-null.
* xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Set
f->output_data.x->widget to null after destroying it.
* xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]:
Set f->output_data.x->widget to null after destroying it.
* fns.c (Frequire): Doc fix. Rename parameter FILE_NAME to
FILENAME to bring it in synch with the documentation.
......@@ -93,9 +95,8 @@
* lisp.h (echoing, echo_message_buffer, cancel_echoing): Declare.
* keyboard.c (echoing, echo_message_buffer): Make externally
visible.
* keyboard.c (echoing, echo_message_buffer): Make externally visible.
* xdisp.c (with_echo_area_buffer): Avoid confusion from reusing
the buffer that was used for echoing.
......@@ -139,8 +140,7 @@
consider the case that this might also be the end of an
overlay string having the display property.
* xdisp.c (handle_display_prop): Fix recognition of subproperty
lists.
* xdisp.c (handle_display_prop): Fix recognition of subproperty lists.
* xdisp.c (reseat_to_string): Undo last change.
......@@ -150,8 +150,7 @@
2001-03-30 Eli Zaretskii <eliz@is.elta.co.il>
* print.c (Fprin1, Fprin1_to_string, Fprinc, Fprint): Fix last
change.
* print.c (Fprin1, Fprin1_to_string, Fprinc, Fprint): Fix last change.
2001-03-29 Eli Zaretskii <eliz@is.elta.co.il>
......@@ -194,14 +193,13 @@
instead of setting it to zero; it's incremented for each frame
where the menu face is changed.
* xterm.c (x_draw_relief_rect): Extend left shadow to the
bottom; change bottom shadow accordingly.
* xterm.c (expose_window_tree, expose_frame): Don't compute
* xterm.c (x_draw_relief_rect): Extend left shadow to the bottom;
change bottom shadow accordingly.
* xterm.c (expose_window_tree, expose_frame): Don't compute
intersections here.
(expose_window): Do it here instead.
(x_draw_glyph_string): Fix a computation of the underline
position.
(x_draw_glyph_string): Fix a computation of the underline position.
* bytecode.c (BYTE_CODE_QUIT): New macro.
(Fbyte_code): Use BYTE_CODE_QUIT instead of QUIT.
......@@ -250,7 +248,7 @@
* xdisp.c (init_from_display_pos): Test invisible property
with TEXT_PROP_MEANS_INVISIBLE instead of NILP.
* xdisp.c (redisplay_internal) <update one window>: Make sure
last_arrow_position and last_arrow_string are set.
......@@ -258,9 +256,9 @@
2001-03-23 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (mark_window_display_accurate_1): New function,
extracted from mark_window_display_accurate. Compute
BUF_UNCHANGED_MODIFIED, BUF_OVERLAY_UNCHANGED_MODIFIED,
* xdisp.c (mark_window_display_accurate_1): New function,
extracted from mark_window_display_accurate.
Compute BUF_UNCHANGED_MODIFIED, BUF_OVERLAY_UNCHANGED_MODIFIED,
BUF_BEG_UNCHANGED, BUF_END_UNCHANGED.
(mark_window_display_accurate): Use it.
(redisplay_internal): Use it for the selected window.
......@@ -346,9 +344,8 @@
2001-03-16 Gerd Moellmann <gerd@gnu.org>
* indent.c (current_column, current_column_1, Fmove_to_column)
(compute_motion): Handle characters from display vectors
differently.
* indent.c (current_column, current_column_1, Fmove_to_column)
(compute_motion): Handle characters from display vectors differently.
2001-03-15 Kenichi Handa <handa@etl.go.jp>
......@@ -363,8 +360,7 @@
* xterm.c (fast_find_position): Return the correct vpos.
* 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.
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
......@@ -373,8 +369,8 @@
this case wasn't used.
(arith_driver): Reindent.
* buffer.c (swap_out_buffer_local_variables): Call
store_symval_forwarding with BUF null.
* buffer.c (swap_out_buffer_local_variables):
Call store_symval_forwarding with BUF null.
* lisp.h (store_symval_forwarding): Change prototype.
......@@ -412,22 +408,22 @@
2001-03-13 Gerd Moellmann <gerd@gnu.org>
* xmenu.c (popup_activate_callback, popup_deactivate_callback):
* 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 (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
* 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.
* 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.
......@@ -460,7 +456,7 @@
* dispextern.h (string_buffer_position): Add prototype.
* xdisp.c (string_buffer_position, display_prop_string_p)
* 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
......@@ -471,8 +467,8 @@
(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.
* 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.
......@@ -497,26 +493,24 @@
* xdisp.c (handle_display_prop): Use it->w->buffer as object,
instead of nil.
* xterm.c (note_mouse_highlight): Handle mouse-face and
* 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.
* 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.
* 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.
......@@ -532,8 +526,7 @@
(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.
(detect_coding_mask): Fix the incorrect handling of arg MULTIBYTEP.
(Fdetect_coding_string): Likewise.
2001-03-07 Stefan Monnier <monnier@cs.yale.edu>
......@@ -640,9 +633,9 @@
* msdos.c (Fmsdos_remember_default_colors): If default-frame-alist
specifies (reverse . t), reverse the initial screen colors.
(IT_set_frame_parameters): If the property is foreground-color,
but we are reversing the colors, set bg_set, not fg_set. Likewise
for setting background-color and reversing: set fg_set. Set
unspecified-fg and unspecified-bg correctly when (reverse . t) is
but we are reversing the colors, set bg_set, not fg_set.
Likewise for setting background-color and reversing: set fg_set.
Set unspecified-fg and unspecified-bg correctly when (reverse . t) is
in effect.
* xfaces.c (Finternal_set_lisp_face_attribute)
......@@ -654,14 +647,14 @@
* fileio.c (Fexpand_file_name): Collapse sequences of slashes
to a single slash in the middle of file names.
* editfns.c (Fcurrent_time_zone) [HAVE_TM_ZONE || HAVE_TZNAME]:
* editfns.c (Fcurrent_time_zone) [HAVE_TM_ZONE || HAVE_TZNAME]:
Accept only alphanumeric time zone names.
* xterm.c (XTset_vertical_scroll_bar): Don't clear a zero height
or width area.
(XTset_vertical_scroll_bar, x_scroll_bar_create): Don't configure
a widget to zero height.
2001-03-01 Gerd Moellmann <gerd@gnu.org>
* window.c (Fwindow_end): Call move_it_past_eol only if
......@@ -681,7 +674,7 @@
destroyed widget when input is unblocked.
* 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.
......@@ -704,12 +697,12 @@
(enum mem_type): Add MEM_TYPE_PROCESS, MEM_TYPE_HASH_TABLE,
MEM_TYPE_FRAME, MEM_TYPE_WINDOW enumerators.
(allocate_vectorlike): Make it a static function. Add parameter TYPE.
(allocate_vector, allocate_hash_table, allocate_window)
(allocate_frame, allocate_process, allocate_other_vector): New
functions.
(allocate_vector, allocate_hash_table, allocate_window)
(allocate_frame, allocate_process, allocate_other_vector):
New functions.
(Fmake_vector): Call allocate_vector instead of allocate_vectorlike.
(mark_maybe_pointer): New function.
(mark_memory): Also mark Lisp data to which only pointers
(mark_memory): Also mark Lisp data to which only pointers
remain and not Lisp_Objects.
(min_heap_address, max_heap_address): New variables.
(mem_find): Return MEM_NIL if START is below min_heap_address or
......@@ -737,8 +730,8 @@
treat the produced bytes as a valid multibyte sequence.
* ccl.c (CCL_WRITE_MULTIBYTE_CHAR): New macro.
(ccl_driver) <CCL_WriteMultibyteChar2>: Use
CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR.
(ccl_driver) <CCL_WriteMultibyteChar2>:
Use CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR.
<ccl_finish>: Set ccl->eight_bit_control properly.
* ccl.h (struct ccl_program): New member eight_bit_control.
......@@ -776,8 +769,7 @@
to height unconditionally.
* w32term.c (x_set_glyph_string_background_width): Extend the
background face to the end of the drawing area in the text area,
only.
background face to the end of the drawing area in the text area, only.
(x_insert_glyphs): Call window_box_left to obtain the left
x-coordinate of the area to shift.
......@@ -786,8 +778,7 @@
2001-02-22 Andrew Innes <andrewi@gnu.org>
* makefile.nt ($(BLD)\dired.obj): Remove reference to VMS header
files.
* makefile.nt ($(BLD)\dired.obj): Remove reference to VMS header files.
($(BLD)\dispnew.obj):
($(BLD)\editfns.obj):
($(BLD)\fileio.obj):
......@@ -799,13 +790,13 @@
* makefile.w32-in ($(BLD)/dired.$(O)): Remove reference to VMS
header files.
($(BLD)/dispnew.$(O)):
($(BLD)/editfns.$(O)):
($(BLD)/fileio.$(O)):
($(BLD)/filelock.$(O)):
($(BLD)/keyboard.$(O)):
($(BLD)/w32proc.$(O)):
($(BLD)/process.$(O)):
($(BLD)/dispnew.$(O)):
($(BLD)/editfns.$(O)):
($(BLD)/fileio.$(O)):
($(BLD)/filelock.$(O)):
($(BLD)/keyboard.$(O)):
($(BLD)/w32proc.$(O)):
($(BLD)/process.$(O)):
($(BLD)/sysdep.$(O)): Ditto.
2001-02-22 Gerd Moellmann <gerd@gnu.org>
......@@ -813,20 +804,20 @@
* xdisp.c (forward_to_next_line_start): When taking the shortcut
at the start of the function, check that the \n in it->c is
from the iterator's current position.
* xdisp.c (handle_single_display_prop): Add parameter
DISPLAY_REPLACED_BEFORE_P. If it is non-zero ignore display
properties which replace the display of text with something else.
(handle_display_prop): Call handle_single_display_prop with
additional argument saying if we already replaced text display
with something else. Use AREF.
(with_echo_area_buffer_unwind_data, display_menu_bar)
(with_echo_area_buffer_unwind_data, display_menu_bar)
(decode_mode_spec_coding): Use AREF and ASIZE.
* vms-pp.c, vmsdir.h, vmsmap.c, vmsproc.h, vms-pp.trans, vmsfns.c,
* vmspaths.h, vmstime.c, vms-pwd.h, vmsgmalloc.c, vmsproc.c,
* vmstime.h: Files removed.
* unexencap.c, unexfx2800.c: Files removed.
* dispnew.c (direct_output_for_insert): Give up if we are showing
......@@ -840,20 +831,18 @@
redisplayed because this call resets flags in buffers which are
needed for proper redisplay.
* keyboard.c, minibuf.c, lread.c, fns.c, eval.c: Use
display_hourglass_p, start_hourglass, cancel_hourglass instead of
* keyboard.c, minibuf.c, lread.c, fns.c, eval.c:
Use display_hourglass_p, start_hourglass, cancel_hourglass instead of
the old names.
* w32term.h (struct x_output): Rename busy_cursor to
hourglass_cursor, busy_window to hourglass_window, busy_p to
hourglass_p.
* w32term.h (struct x_output): Rename busy_cursor to hourglass_cursor,
busy_window to hourglass_window, busy_p to hourglass_p.
* msdos.h (struct x_output): Rename busy_window to
hourglass_window, busy_p to hourglass_p.
* xterm.h (struct x_output): Rename busy_cursor to
hourglass_cursor, busy_window to hourglass_window, busy_p to
hourglass_p.
* xterm.h (struct x_output): Rename busy_cursor to hourglass_cursor,
busy_window to hourglass_window, busy_p to hourglass_p.
* xfns.c: Rename everything containing *busy_cursor* and similar
to *hourglass*.
......@@ -893,8 +882,7 @@
* dispextern.h (line_bottom_y): Add prototype.
* xdisp.c (line_bottom_y): New function extracted from
pos_visible_p.
* xdisp.c (line_bottom_y): New function extracted from pos_visible_p.
(pos_visible_p): Use it.
* keyboard.c (recursive_edit_1): Bind `inhibit-redisplay' and
......@@ -902,7 +890,7 @@
(Frecursive_edit): Don't bind `inhibit-redisplay' and don't
set redisplaying_p.
* xdisp.c (Qinhibit_menubar_update, inhibit_menubar_update):
* xdisp.c (Qinhibit_menubar_update, inhibit_menubar_update):
New variables.
(syms_of_xdisp): Initialize new variables.
(update_menu_bar): Do nothing if inhibit_menubar_update is set.
......@@ -923,7 +911,7 @@
2001-02-16 Gerd Moellmann <gerd@gnu.org>
* window.c (set_window_buffer): Fix last change.
* window.c (set_window_buffer): Set window's vscroll to 0.
* window.c (coordinates_in_window): Increase width of area
......@@ -996,7 +984,7 @@
The following changes are to draw box lines inside characters area
if line-width is negative.
* w32term.c (x_produce_image_glyph): Pay attention to the case that
face->box_line_width is negative.
(x_produce_stretch_glyph): Likewise.
......@@ -1015,7 +1003,7 @@
The following changes are to draw box lines inside characters area
if line-width is negative.
* xterm.c (x_produce_image_glyph): Pay attention to the case that
face->box_line_width is negative.
(x_produce_stretch_glyph): Likewise.
......@@ -1032,8 +1020,7 @@
* xfaces.c (Finternal_set_lisp_face_attribute): The value of :box
and :line-width can be negative.
(realize_x_face): The value of attrs[LFACE_BOX_INDEX] can be
negative.
(realize_x_face): The value of attrs[LFACE_BOX_INDEX] can be negative.
2001-02-09 Jason Rumney <jasonr@gnu.org>
......@@ -1049,10 +1036,8 @@
* w32fns.c (Fx_show_tip): Fix calls to make_number.
(x_set_font): If font hasn't changed, avoid recomputing
faces and other things.
(x_set_tool_bar_lines): Do nothing if frame is
minibuffer-only,
(Fx_create_frame): Add the tool bar height to the frame
height.
(x_set_tool_bar_lines): Do nothing if frame is minibuffer-only,
(Fx_create_frame): Add the tool bar height to the frame height.
(x_create_tip_frame): Prevent changing the tooltip's
background color by specifying a color for the default font
in .Xdefaults.
......@@ -1109,8 +1094,7 @@
2001-02-05 Gerd Moellmann <gerd@gnu.org>
* xfaces.c (split_font_name): Compute numeric value of
XLFD_AVGWIDTH.
* xfaces.c (split_font_name): Compute numeric value of XLFD_AVGWIDTH.
(LFACE_AVGWIDTH): New macro.
(LFACEP): Use AREF.
(check_lface_attrs): Check LFACE_AVGWIDTH.
......@@ -1126,9 +1110,9 @@
Compare average widths..
(best_matching_font): Arrange for comparing average widths.
* dispextern.h (enum lface_attribute_index): Add
LFACE_AVGWIDTH_INDEX (invisible from Lisp).
* dispextern.h (enum lface_attribute_index):
Add LFACE_AVGWIDTH_INDEX (invisible from Lisp).
2001-02-05 Dave Love <fx@gnu.org>
* puresize.h: Revert last change following loadup.el change.
......@@ -1148,13 +1132,12 @@
window, make sure to move the iterator at least a canonical
char height down.
* window.c (Fmove_to_window_line): Don't add 1 if window is
vscrolled.
* window.c (Fmove_to_window_line): Don't add 1 if window is vscrolled.
2001-02-05 Kenichi Handa <handa@etl.go.jp>
* ccl.c (CCL_WRITE_CHAR): Check if CH is valid or not. If
invalid, execute CCL_INVALID_CMD.
* ccl.c (CCL_WRITE_CHAR): Check if CH is valid or not.
If invalid, execute CCL_INVALID_CMD.
(ccl_driver): If the CCL program is terminated because of
CCL_STAT_INVALID_CMD, copy the remaining source data to the
destination instead of throwing them away.
......@@ -1192,7 +1175,7 @@
* frame.h (EMACS_FRAME_H_INCLUDED): Use an include blocker
identifier which is not reserved by Standard C.
* frame.h (FRAME_RIGHT_SCROLL_BAR_WIDTH): New define.
* window.c (enum window_part): New enumeration.
......@@ -1204,8 +1187,8 @@
`right-fringe' instead of `left-bitmap-area' and
`right-bitmap-area'. Use enumerators from enum window_part
instead of hard-coded integers.
(check_window_containing, window_from_coordinates): Use
enumerators from enum window_part instead of hard-coded integers.
(check_window_containing, window_from_coordinates):
Use enumerators from enum window_part instead of hard-coded integers.
(syms_of_window): Replace Qleft_bitmap_area and
Qright_bitmap_area.with Qleft_fringe and Qright_fringe.
......@@ -1238,11 +1221,11 @@
2001-01-30 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (build_desired_tool_bar_string, syms_of_xdisp): Use
DEFAULT_TOOL_BAR_BUTTON_MARGIN and DEFAULT_TOOL_BAR_BUTTON_RELIEF.
* xdisp.c (build_desired_tool_bar_string, syms_of_xdisp):
Use DEFAULT_TOOL_BAR_BUTTON_MARGIN and DEFAULT_TOOL_BAR_BUTTON_RELIEF.
* dispextern.h (Vtool_bar_button_margin:): Declare extern.
(DEFAULT_TOOL_BAR_BUTTON_MARGIN, DEFAULT_TOOL_BAR_BUTTON_RELIEF)
(DEFAULT_TOOL_BAR_BUTTON_MARGIN, DEFAULT_TOOL_BAR_BUTTON_RELIEF)
(DEFAULT_TOOL_BAR_IMAGE_HEIGHT): New defines.
* xfns.c (Fx_create_frame): Add the tool bar height to the frame
......@@ -1255,8 +1238,8 @@
2001-01-29 Gerd Moellmann <gerd@gnu.org>
* bytecode.c (Fbyte_code) <Bcurrent_column>: Add
BEFORE_POTENTIAL_GC and AFTER_POTENTIAL_GC.
* bytecode.c (Fbyte_code) <Bcurrent_column>:
Add BEFORE_POTENTIAL_GC and AFTER_POTENTIAL_GC.
2001-01-29 Eli Zaretskii <eliz@is.elta.co.il>
......@@ -1291,11 +1274,10 @@
* fontset.c (font_family_registry): Even if FONTNAME conform to
XLFD, if it specifies other fields than family and registry,
return FONTANME. New argument FORCE if nonzero cancel that
feature.
return FONTANME. New argument FORCE if nonzero cancel that feature.
(fontset_font_pattern): Call font_family_registry with FORCE 1 for
a signle byte character. Don't set FAMILY part to nil here. It
is handled by the caller choose_face_font.
a signle byte character. Don't set FAMILY part to nil here.
It is handled by the caller choose_face_font.
(Fnew_fontset): Call font_family_registry with FORCE 0.
(Fset_fontset_font): Likewise.
......@@ -1328,8 +1310,7 @@
inconsistent eol.
(code_convert_region): Always set saved_coding_symbol.
(decode_coding_string): Likewise. Update coding->symbol when we
encounter a inconsistent eol by the same way as
code_convert_region.
encounter a inconsistent eol by the same way as code_convert_region.
2001-01-25 Gerd Moellmann <gerd@gnu.org>
......@@ -1428,8 +1409,7 @@
2001-01-23 Eli Zaretskii <eliz@is.elta.co.il>
* window.c (syms_of_window) <scroll-preserve-screen-position>: Doc
fix.
* window.c (syms_of_window) <scroll-preserve-screen-position>: Doc fix.
2001-01-23 Kenichi Handa <handa@etl.go.jp>
......@@ -1439,9 +1419,8 @@
2001-01-22 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (build_desired_tool_bar_string): Make sure we have
a desired tool bar string, even if there are no tool bar
items.
a desired tool bar string, even if there are no tool bar items.
* xdisp.c (Ftool_bar_lines_needed): New function.
(syms_of_xdisp): Defsubr it.
......@@ -1454,8 +1433,7 @@
2001-01-20 Andrew Innes <andrewi@gnu.org>
* w32term.c (w32_ring_bell): Only support visible bell on w32
frames.
* w32term.c (w32_ring_bell): Only support visible bell on w32 frames.
(w32_initialize): Don't set term hooks that aren't actually needed
in windowed mode.
......@@ -1466,8 +1444,7 @@
* xdisp.c (handle_single_display_prop): Remove references to
FRAME_W32_CONSOLE_P.
* dispnew.c (Fredraw_frame): Remove reference to
FRAME_W32_CONSOLE_P.
* dispnew.c (Fredraw_frame): Remove reference to FRAME_W32_CONSOLE_P.
* frame.h (output_method): Remove output_w32_console method.
(FRAME_W32_CONSOLE_P): Remove macro.
......@@ -1493,8 +1470,8 @@
* editfns.c (Fbuffer_substring): Doc fix.
* xdisp.c (message_dolog, message2, message2_nolog): Rename
parameter LEN to NBYTES.
* xdisp.c (message_dolog, message2, message2_nolog):
Rename parameter LEN to NBYTES.
2001-01-19 Kenichi Handa <handa@etl.go.jp>
......@@ -1505,7 +1482,7 @@
* charset.h (c_string_width, lisp_string_width): Extern them.
* doprnt.c (doprnt1): Get byte length of Lisp string correctly.
* doprnt.c (doprnt1): Get byte length of Lisp string correctly.
* indent.c (check_composition): Check validity of composition.
......@@ -1561,30 +1538,28 @@
(expose_area): Do not treat left margin specially.
(note_mode_line_highlight): If no local_map, check global keymap.
(note_mouse_highlight): Initialize overlay.
(clear_mouse_face): Don't return if tip_frame is
non-nil.
(clear_mouse_face): Don't return if tip_frame is non-nil.
(show_scroll_bars): Remove unused function.
(w32_read_socket) [WM_KILLFOCUS]: Set help_echo to Qnil.
(x_draw_bar_cursor): Remove extra test for out of bounds cursor.
Clip to row.
(x_erase_phys_cursor): Don't apply XWINDOW to variable that may be
nil.
(x_erase_phys_cursor): Don't apply XWINDOW to variable that may be nil.
(x_free_frame_resources): Unload relief colors.
2001-01-17 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (forward_to_next_line_start): Avoid calling
get_next_display_element when the newline is already found. This
may change the iterator's position, when its current position is
get_next_display_element when the newline is already found.
This may change the iterator's position, when its current position is
equal to the iterator's stop_charpos.
* dispnew.c (direct_output_for_insert): If char_ins_del_ok is
zero, use this method only at the end of a line.
* xfaces.c (x_face_list_fonts): Don't BLOCK_INPUT around the
* xfaces.c (x_face_list_fonts): Don't BLOCK_INPUT around the
call to x_list_fonts. Call x_list_fonts with SIZE -1 only
if SCALABLE_FONTS_P is set.
* xfaces.c (x_face_list_fonts): Call x_list_fonts with SIZE -1,
so that scalable fonts are included.
......@@ -1594,7 +1569,7 @@
(x_load_font): Adapt to change of keys in the font cache.
2001-01-17 Kim F. Storm <storm@filanet.dk>