X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/364cd450426cc0f93eada8f00c30000ff2ba22f2..a9793e457336e2547ccc5951a2074ead4d8da1a7:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 2931cfe7c2..1964e4f754 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,19 +1,399 @@ +2001-04-30 Gerd Moellmann + + * undo.c (Fprimitive_undo): In a writable buffer, enable undoing + read-only text that is so because of text properties. + + * xterm.c (x_window_to_menu_bar) [USE_LUCID]: New function. + (XTread_socket) [USE_LUCID]: Handle events for + windows that are components of a Lucid menu bar. + +2001-04-27 Gerd Moellmann + + * term.c (turn_on_face): Fix reverse video handling on terminals + that don't support colors. + +2001-04-26 Gerd Moellmann + + * editfns.c (save_excursion_restore): Don't use XBUFFER on + a non-buffer. + +2001-04-25 Gerd Moellmann + + * term.c (toggle_highlight): New function. + (turn_on_face): Change handling of reverse video. + + * process.c (wait_reading_process_input): Call + record_asynch_buffer_change only if a timer really changed + buffers. + + * buffer.c (mouse_face_overlay_overlaps): Fix the computation + of the number of overlays to check. + + * keyboard.c (command_loop_1): Redo change of 2001-03-12. + + * xdisp.c (try_window_id): Fix a case where window_end_pos + and window_end_bytepos were not adjusted. + +2001-04-23 Gerd Moellmann + + * xfaces.c (compute_char_face): If buffer is unibyte, set CH to + zero instead of -1. + +2001-04-21 Eli Zaretskii + + * process.c (wait_reading_process_input) [!subprocesses]: Don't + reference waiting_for_user_input_p, it's not defined in the branch + without async subprocesses support. + +2001-04-19 Gerd Moellmann + + * keyboard.c (delete_kboard): Prevent a dangling reference + from current_kboard to KB, which is freed. + + * process.c (wait_reading_process_input): Call + record_asynch_buffer_change after running timers, to make + read_key_sequence aware of buffer changes from under it. + +2001-04-18 Gerd Moellmann + + * xfaces.c (Qscalable_fonts_allowed): New variable. + (realizing_basic_faces_p): Removed. + (x_face_list_fonts): Special handling for realizing_basic_faces_p + removed. + (realize_basic_faces): Specbind Qscalable_fonts_allowed to t. + (syms_of_xfaces): Initialize Qscalable_fonts_allowed. Change + default for scalable-fonts-allowed to t. + + * fileio.c (Finsert_file_contents): If the file size returned from + stat is zero, set END to READ_BUF_SIZE. This makes sure we can + read from files on a procfs whose contents are generated + dynamically. + +2001-04-18 Eli Zaretskii + + * gmalloc.c (__malloc_size_t) [__GNUC__]: If STDC_HEADERS is not + defined, include stddef.h and use __SIZE_TYPE__ instead of size_t. + (__memalign_hook): Make the two prototypes consistent. + +2001-04-17 Gerd Moellmann + + * xdisp.c (redisplay_window): Make sure to clear the desired glyph + matrix of mini-windows. + +2001-04-12 Stefan Monnier + + * intervals.c (find_interval): Don't rebalance during signal handling. + +2001-04-11 Gerd Moellmann + + * fns.c: Include blockinput.h. + + * fns.c (Fplist_get): Don't QUIT if interrupt_input_blocked. + +2001-04-10 Gerd Moellmann + + * fns.c (Fcompare_strings): Fix return values. + + * window.c (window_scroll): Change the meaning of N to mean + N screen-fulls or N lines. + (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 + height of the window. + + * xdisp.c (redisplay_window) : 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 + able to write to hidden and system files. Make file handles + non-inheritable. + + * fileio.c (Fcopy_file) [WINDOWSNT]: Use CopyFile. + +2001-04-09 Gerd Moellmann + + * fns.c (Fplist_get, Fplist_put): Add QUITs. + + * window.c (window_internal_height): Return 1 less if the + window has a header line. + + * xdisp.c (try_window_id): When scrolling on a terminal, take + the change of window_internal_height into account. + +2001-04-09 Eli Zaretskii + + * gmalloc.c (align): If the argument SIZE would overflow + __malloc_ptrdiff_t, fail right away. + +2001-04-06 Gerd Moellmann + + * xfns.c (compute_tip_xy): Add parameters WIDTH and HEIGHT. + Make sure the tooltip is completely visible. + (x_make_gc): Use FRAME_X_SCREEN_NUMBER. + + * xterm.h (FRAME_X_SCREEN_NUMBER): New macro. + + * xmenu.c (xmenu_show): Use FRAME_X_SCREEN_NUMBER. + +2001-04-06 Dave Love + + * composite.c (update_compositions) : + Fix test of `from'. + +2001-04-06 Gerd Moellmann + + * composite.h (COMPOSITION_VALID_P): Allow integers as cdrs of PROP. + + * xdisp.c (Qinhibit_eval_during_redisplay): Make it a Lisp_Object. + +2001-04-05 Gerd Moellmann + + * sysdep.c (getwd) [!HAVE_GETWD]: Unblock input before returning. + + * 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. + + * 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. + + * fns.c (Frequire): Doc fix. Rename parameter FILE_NAME to + FILENAME to bring it in synch with the documentation. + + * xfaces.c (realizing_basic_faces_p): Renamed from + realize_default_face_p. + (realize_basic_faces): Set/clear realizing_basic_faces_p. + (realize_default_face): Don't set the flag. + +2001-04-04 Gerd Moellmann + + * lisp.h (echoing, echo_message_buffer, cancel_echoing): Declare. + + * 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. + + * xfaces.c (best_matching_font): Remove unused parameter PATTERN. + (first_font_matching): Removed unused function. + (x_face_list_fonts): Remove unused parameter SCALABLE_P. + (may_use_scalable_font_p): Remove parameter FONT; rename + parameter NAME to FONT. + (x_face_list_fonts): Fix missing bounds check. + (realizing_default_face_p): New variable. + (realize_default_face): Set and clear that flag. + (x_face_list_fonts): When called during the realization of the + default face, and no matching fonts are found when ignoring + scalable fonts and fonts matching a regexp from + face-ignored-fonts, try without ignoring fonts. + +2001-04-03 Gerd Moellmann + + * xfns.c (postprocess_image): New function. + (lookup_image): Call it for all image types except PostScript. + (x_kill_gs_process): Call postprocess_image. + + * xterm.c (x_use_underline_position_properties): New variable. + (x_draw_glyph_string): Use it. + (syms_of_xterm): DEFVAR_BOOL it. + +2001-04-02 Gerd Moellmann + + * xterm.c (x_alloc_nearest_color_1): New function. + (x_alloc_nearest_color): Use it. + (x_color_cells): Take a Display as argument, instead of a frame. + (cvt_string_to_pixel_args, cvt_string_to_pixel_value): New variables. + (cvt_string_to_pixel, cvt_pixel_dtor): New functions. + (x_initialize): Register cvt_string_to_pixel as resource converter + string -> Pixel and cvt_pixel_dtor as pixel resource destructor. + +2001-03-30 Gerd Moellmann + + * xdisp.c (get_overlay_strings): Set iterator's end_charpos. + (set_iterator_to_next): If a string from a display property ends, + 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 (reseat_to_string): Undo last change. + + * dispnew.c (adjust_glyph_matrix): Don't try to reuse the current + matrix of a window when the header line changes, when + new rows are allocated, or when the width changes. + +2001-03-30 Eli Zaretskii + + * print.c (Fprin1, Fprin1_to_string, Fprinc, Fprint): Fix last change. + +2001-03-29 Eli Zaretskii + + * fileio.c (syms_of_fileio) : Warn that it is + deprecated. + +2001-03-29 Gerd Moellmann + + * data.c (Fsubr_interactive_form): New function. + (syms_of_data): Defsubr it. + + * alloc.c (live_string_p, live_cons_p, live_symbol_p) + (live_float_p, live_misc_p): Return 1 only if the offset of the + pointer in its block is >= 0. + +2001-03-28 Paul Eggert + + * editfns.c (Ffloat_time): Fix off-by-factor-of-10 bug in the + microseconds calcuation. Avoid double-rounding problem. + In doc string, warn that the result is approximate. + +2001-03-28 Gerd Moellmann + + * eval.c (call_debugger): Bind `inhibit-redisplay' to nil, and + bind `inhibit-eval-during-redisplay' to t. + + * lisp.h (Qinhibit_eval_during_redisplay): Declare extern. + + * xdisp.c (inhibit_eval_during_redisplay) + (Qinhibit_eval_during_redisplay): New variables. + (safe_eval, safe_call): If inhibit_eval_during_redisplay is set, + don't eval, return nil instead. + (syms_of_xdisp): DEFVAR_BOOL inhibit-eval-during-redisplay. + Initialize Qinhibit_eval_during_redisplay. + + * xdisp.c (reseat_to_string): If STRING is multibyte, set + the iterator's multibyte_p flag. + + * xfaces.c (realize_basic_faces): Decrement menu_face_change_count + 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 + intersections here. + (expose_window): Do it here instead. + (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. + +2001-03-27 Gerd Moellmann + + * xdisp.c (try_window_reusing_current_matrix) : + Give up if matrix starts in an ellipsis. + (init_from_display_pos): Do nothing if POS doesn't specify + a dpvec_index but the iterator has such a position. + + * xdisp.c (init_from_display_pos): Remove unwarranted assertion. + + * xmenu.c (free_frame_menubar) [USE_MOTIF]: If the shell widget's + x/y position is (0, 0) after destroying the menu bar, restore + its original position. + + * xdisp.c (in_ellipses_for_invisible_text_p): New function. + (init_from_display_pos): Use it. + (try_window_reusing_current_matrix): Don't use cursor_row_p. + +2001-03-26 Gerd Moellmann + + * xdisp.c (try_window_id): Undo last change. + +2001-03-26 Eli Zaretskii + + * print.c (Fprin1, Fprin1_to_string, Fprinc, Fprint): Doc fix. + + * buffer.c (syms_of_buffer): Doc fix. + +2001-03-26 Gerd Moellmann + + * xfaces.c (x_update_menu_appearance): Use local variable + popup_path for setting font resources. + +2001-03-25 Eli Zaretskii + + * frame.c (Fframe_list): Don't reference tip_frame if + HAVE_WINDOW_SYSTEM is not defined. + + * emacs.c (main): Update the copyright year. From Werner LEMBERG + . + +2001-03-25 Gerd Moellmann + + * xdisp.c (init_from_display_pos): Test invisible property + with TEXT_PROP_MEANS_INVISIBLE instead of NILP. + + * xdisp.c (redisplay_internal) : Make sure + last_arrow_position and last_arrow_string are set. + + * frame.c (Fframe_list): Don't return a tooltip frame. + +2001-03-23 Gerd Moellmann + + * 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. + (redisplay_internal): Avoid duplicate mark_window_display_accurate + for the selected frame. + + * xdisp.c Use make_number, for readability. + (try_window_id): Disable rows below the window end. + (try_window_reusing_current_matrix): Use cursor_row_p. + (try_window_reusing_current_matrix) : Fix disabling + of rows. + (init_from_display_pos): If POS specifies a position in a display + vector, maybe get the iterator set up for that ellipsis. + + * xdisp.c (dump_glyph_row): Fix output for NGLYPHS == 2. + +2001-03-23 Eli Zaretskii + + * xmenu.c: Include widget.h only if USE_X_TOOLKIT is defined. + +2001-03-23 Gerd Moellmann + + * xfaces.c (x_update_menu_appearance): Use a different path + for Lucid popup menus. + +2001-03-22 Stefan Monnier + + * xterm.c (note_mouse_highlight): Dec the int, not the Lisp_Object. + + * xdisp.c (init_iterator): Check WINDOWP before using XWINDOW. + (string_buffer_position): Use `make_number'. + 2001-03-22 Gerd Moellmann + * xfaces.c (x_update_menu_appearance): Renamed from + x_set_menu_face_resources. Use different resources for popups. + + * lisp.h (Vx_resource_name) [HAVE_X_WINDOWS]: Declare extern. + (GC_CHECK_STRING_BYTES): Don't define. + * xfaces.c (x_set_menu_resources_from_menu_face) [USE_X_TOOLKIT]: Removed, together with subroutines. (x_set_menu_face_resources) [USE_X_TOOLKIT]: New function. - (realize_basic_faces) [USE_X_TOOLKIT]: Call - x_set_menu_face_resources. + (realize_basic_faces) [USE_X_TOOLKIT]: Call x_set_menu_face_resources. - * dispextern.h (x_set_menu_resources_from_menu_face): Remove - prototype. + * dispextern.h (x_set_menu_resources_from_menu_face): + Remove prototype. - * xmenu.c (update_frame_menubar, set_frame_menubar, xmenu_show): + * xmenu.c (update_frame_menubar, set_frame_menubar, xmenu_show): Remove calls to x_set_menu_resources_from_menu_face. - * xfaces.c (xm_set_menu_resources_from_menu_face): Remove - #ifndef LESSTIF_VERSION. + * xfaces.c (xm_set_menu_resources_from_menu_face): + Remove #ifndef LESSTIF_VERSION. * xmenu.c: Include widget.h. (single_submenu): Return int. Some cleanup. @@ -46,9 +426,8 @@ 2001-03-16 Gerd Moellmann - * 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 @@ -63,8 +442,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 @@ -73,8 +451,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. @@ -112,22 +490,22 @@ 2001-03-13 Gerd Moellmann - * 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) : Remove - workaround code for LessTif; it doesn't work anymore. - + * xterm.c (XTread_socket) : + 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. @@ -160,7 +538,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 @@ -171,8 +549,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. @@ -197,26 +575,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 * eval.c (syms_of_eval) : Doc fix. @@ -232,8 +608,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 @@ -340,9 +715,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) @@ -354,14 +729,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 * window.c (Fwindow_end): Call move_it_past_eol only if @@ -381,7 +756,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. @@ -404,12 +779,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 @@ -437,8 +812,8 @@ treat the produced bytes as a valid multibyte sequence. * ccl.c (CCL_WRITE_MULTIBYTE_CHAR): New macro. - (ccl_driver) : Use - CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR. + (ccl_driver) : + Use CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR. : Set ccl->eight_bit_control properly. * ccl.h (struct ccl_program): New member eight_bit_control. @@ -476,8 +851,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. @@ -486,8 +860,7 @@ 2001-02-22 Andrew Innes - * 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): @@ -499,13 +872,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 @@ -513,20 +886,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 @@ -540,20 +913,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*. @@ -593,8 +964,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 @@ -602,7 +972,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. @@ -623,7 +993,7 @@ 2001-02-16 Gerd Moellmann * 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 @@ -696,7 +1066,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. @@ -715,7 +1085,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. @@ -732,8 +1102,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 @@ -749,10 +1118,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. @@ -809,8 +1176,7 @@ 2001-02-05 Gerd Moellmann - * 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. @@ -826,9 +1192,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 * puresize.h: Revert last change following loadup.el change. @@ -848,13 +1214,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 - * 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. @@ -892,7 +1257,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. @@ -904,8 +1269,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. @@ -938,11 +1303,11 @@ 2001-01-30 Gerd Moellmann - * 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 @@ -955,8 +1320,8 @@ 2001-01-29 Gerd Moellmann - * bytecode.c (Fbyte_code) : Add - BEFORE_POTENTIAL_GC and AFTER_POTENTIAL_GC. + * bytecode.c (Fbyte_code) : + Add BEFORE_POTENTIAL_GC and AFTER_POTENTIAL_GC. 2001-01-29 Eli Zaretskii @@ -991,11 +1356,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. @@ -1028,8 +1392,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 @@ -1128,8 +1491,7 @@ 2001-01-23 Eli Zaretskii - * window.c (syms_of_window) : Doc - fix. + * window.c (syms_of_window) : Doc fix. 2001-01-23 Kenichi Handa @@ -1139,9 +1501,8 @@ 2001-01-22 Gerd Moellmann * 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. @@ -1154,8 +1515,7 @@ 2001-01-20 Andrew Innes - * 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. @@ -1166,8 +1526,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. @@ -1193,8 +1552,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 @@ -1205,7 +1564,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. @@ -1261,30 +1620,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 * 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. @@ -1294,7 +1651,7 @@ (x_load_font): Adapt to change of keys in the font cache. 2001-01-17 Kim F. Storm - + * xfaces.c (x_face_list_fonts): Use x_list_fonts instead of XListFonts to take advantage of font caching. @@ -1310,7 +1667,7 @@ * xdisp.c (build_desired_tool_bar_string): Use :conversion instead of :algorithm. - + * xdisp.c (redisplay_tool_bar): Change tool bar's height when not everything could be displayed. @@ -1329,8 +1686,7 @@ 2001-01-16 Gerd Moellmann - * window.c (Fset_window_hscroll): Don't set window's min_hscroll - here. + * window.c (Fset_window_hscroll): Don't set window's min_hscroll here. (Fscroll_right, Fscroll_left): Set it here instead, if called interactively. @@ -1338,12 +1694,12 @@ prevent_redisplay_optimizations_p flag. * dispnew.c, callproc.c, fns.c, keyboard.c, process.c, sunfns.c, - * sysdep.c, vmsproc.c, xselect.c: Call - redisplay_preserve_echo_area with additional arg. + * sysdep.c, vmsproc.c, xselect.c: Call redisplay_preserve_echo_area + with additional arg. + + * dispextern.h, lisp.h (redisplay_preserve_echo_area): + Change prototype. - * dispextern.h, lisp.h (redisplay_preserve_echo_area): Change - prototype. - * xdisp.c (redisplay_preserve_echo_area): Add parameter FROM_WHERE, for debugging. @@ -1351,16 +1707,15 @@ * ccl.c (Fregister_ccl_program): Handle the return value of resolve_symbol_ccl_program correctly. - (CCL_Extension): Fix typo (originally CCL_Extention). Caller - changed. + (CCL_Extension): Fix typo (originally CCL_Extention). Caller changed. 2001-01-15 Gerd Moellmann * xterm.c (x_set_mouse_face_gc): If the last used mouse face has gone in the meantime, use face MOUSE_FACE_ID. - - * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: If - x_display_info_for_display returns null, don't try to close + + * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: + If x_display_info_for_display returns null, don't try to close the display; we didn't open it. * dispnew.c (save_or_restore_current_matrices): Function removed. @@ -1382,19 +1737,18 @@ 2001-01-13 Kenichi Handa - * md5.c (WORDS_BIG_ENDIAN) [__BYTE_ORDER == __BIG_ENDIAN]: Define - it instead of WORDS_BIGENDIAN. Caller changed. + * md5.c (WORDS_BIG_ENDIAN) [__BYTE_ORDER == __BIG_ENDIAN]: + Define it instead of WORDS_BIGENDIAN. Caller changed. 2001-01-13 Jason Rumney * w32fns.c (Fimage_size, image_ascent, lookup_image) (IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, parse_image_spec) - (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) - (tiff_format, gif_format, gs_format): Adapt to change of image - margins. + (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) + (tiff_format, gif_format, gs_format): Adapt to change of image margins. - * w32term.c (x_produce_image_glyph, x_draw_image_foreground) - (x_draw_image_relief, x_draw_image_foreground_1) + * w32term.c (x_produce_image_glyph, x_draw_image_foreground) + (x_draw_image_relief, x_draw_image_foreground_1) (x_draw_image_glyph_string): Adapt to change of image margins. * w32.c (init_environment, sys_shutdown, sys_pipe): Remove unused @@ -1429,12 +1783,12 @@ vertical margin. (IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR): New enumerator. (parse_image_spec): Check it. - (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) - (tiff_format, gif_format, gs_format): Use - IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR for :margin. + (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) + (tiff_format, gif_format, gs_format): + Use IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR for :margin. - * xterm.c (x_produce_image_glyph, x_draw_image_foreground) - (x_draw_image_relief, x_draw_image_foreground_1) + * xterm.c (x_produce_image_glyph, x_draw_image_foreground) + (x_draw_image_relief, x_draw_image_foreground_1) (x_draw_image_glyph_string): Adapt to the change of image margins. * dispextern.h (struct image): Replace member `margin' with @@ -1471,8 +1825,8 @@ x_decline_selection_request if selection request's display has been closed. - * xfaces.c (x_free_colors, x_free_dpy_colors) [DEBUG_X_COLORS]: Do - the unregister_colors before calling XFreeColors. + * xfaces.c (x_free_colors, x_free_dpy_colors) [DEBUG_X_COLORS]: + Do the unregister_colors before calling XFreeColors. 2001-01-10 Dave Love @@ -1481,9 +1835,8 @@ 2001-01-10 Gerd Moellmann - * xdisp.c (display_line): On ttys, produce more than one - truncation glyph for multi-column characters that don't fit on the - line. + * xdisp.c (display_line): On ttys, produce more than one truncation + glyph for multi-column characters that don't fit on the line. * xselect.c (x_reply_selection_request): Add a comment. @@ -1496,8 +1849,8 @@ 2001-01-09 Gerd Moellmann - * lisp.h (STRING_BYTES) [GC_CHECK_STRING_BYTES]: Call - function string_bytes. + * lisp.h (STRING_BYTES) [GC_CHECK_STRING_BYTES]: + Call function string_bytes. (GC_CHECK_STRING_BYTES): Moved here from alloc.c. * alloc.c (CHECK_STRING_BYTES) [GC_CHECK_STRING_BYTES]: New macro. @@ -1563,12 +1916,11 @@ 2001-01-04 Gerd Moellmann - * xterm.c (clear_mouse_face): Don't return if tip_frame is - non-nil. + * xterm.c (clear_mouse_face): Don't return if tip_frame is non-nil. * xfns.c (x_create_tip_frame): Preserve the value of face_change_count around the creation of the tip frame. - + * xfns.c (last_show_tip_args): New variable. (compute_tip_xy): New function. (Fx_show_tip): Reuse an existing tip frame, if possible. @@ -1620,8 +1972,7 @@ 2001-01-03 Dave Love - * dired.c (Ffile_attributes): Fix last change, removing BSD4_3 - kluge. + * dired.c (Ffile_attributes): Fix last change, removing BSD4_3 kluge. 2001-01-03 Gerd Moellmann @@ -1645,33 +1996,31 @@ (Qw32_console): New Lisp_Object. (Fframep): Return it. (syms_of_frame): Init it. - (Fframe_parameters): Report w32console as font for w32_console - frames. + (Fframe_parameters): Report w32console as font for w32_console frames. * xfaces.c (realize_default_face): Set face foreground and background to unspecified for w32_console frames. (realize_face): Realize face cache for w32_console frames. (realize_tty_face): Accept w32_console frames. - * xdisp.c (handle_single_display_prop): Return if frame is - w32_console. + * xdisp.c (handle_single_display_prop): Return if frame is w32_console. (init_iterator) [WINDOWSNT]: Initialize frame face cache if necessary, even if running interactively. * dispnew.c (Fredraw_frame): Call set_terminal_modes for w32_console frames. - * w32term.c (x_update_begin): - (x_update_end): - (x_clear_frame): - (x_ins_del_lines): - (x_change_line_highlight): - (x_delete_glyphs): - (w32_ring_bell): - (x_update_begin): - (x_update_end): - (w32_reassert_line_highlight): - (w32_frame_rehighlight): + * w32term.c (x_update_begin): + (x_update_end): + (x_clear_frame): + (x_ins_del_lines): + (x_change_line_highlight): + (x_delete_glyphs): + (w32_ring_bell): + (x_update_begin): + (x_update_end): + (w32_reassert_line_highlight): + (w32_frame_rehighlight): (w32_frame_raise_lower): Do nothing if not w32 frame. * w32xfns.c (get_frame_dc): Abort if called on a non-w32 frame. @@ -1685,14 +2034,13 @@ * window.c (Frecenter): Handle centering in graphical frames specially. Centering on the basis of line counts doesn't work reliably with variable-height lines. - + 2001-01-02 Eli Zaretskii * widget.c (EmacsFrameSetCharSize): Remove unused variables `ac' and al[]. - * composite.c (run_composition_function): Remove unused variable - `val'. + * composite.c (run_composition_function): Remove unused var `val'. (update_compositions): Remove unused variable `hook'. * intervals.c (get_local_map): Remove unused variable `tem'. @@ -1705,14 +2053,12 @@ * editfns.c (Ftranspose_regions): Remove unused variables `gcpro1' and `gcpro2'. - * doc.c (Fsnarf_documentation): Remove unused variables `fun' and - `tem'. + * doc.c (Fsnarf_documentation): Remove unused vars `fun' and `tem'. * data.c (find_symbol_value): Remove extra 3rd argument in the call to swap_in_symval_forwarding. - * undo.c (Fprimitive_undo): Remove unused block-scope variable - `end'. + * undo.c (Fprimitive_undo): Remove unused block-scope variable `end'. * search.c (shrink_regexp_cache): Remove unused variable `cpp'. (trivial_regexp_p): Remove unused variable `c'. @@ -1725,13 +2071,11 @@ * dired.c (directory_files_internal): Fix a typo in a comment. Remove an unused variable `handler'. - (file_name_completion): Remove unused function-scope variable - `dp'. + (file_name_completion): Remove unused function-scope variable `dp'. (Ffile_attributes) : Make declarations conditioned on BSD4_2. - * fileio.c (e_write): Remove unused variable - `require_encoding_p'. + * fileio.c (e_write): Remove unused variable `require_encoding_p'. * marker.c (Fmarker_position): Remove unused variables `pos', `i', and `buf'. @@ -1739,19 +2083,16 @@ * insdel.c (make_gap): Remove unused variable `result'. - * keyboard.c (record_char): Remove unused function-scope variable - `help'. + * keyboard.c (record_char): Remove unused function-scope var `help'. (kbd_buffer_get_event): Remove unused block-scope variable `idx'. (menu_bar_items): Remove unused function-scope variable `tem'. * fontset.c (fontset_ref): Remove unused variable `i'. (fontset_set): Remove unused variables `j' and `tmp'. - (make_fontset): Remove unused variables `i', `j', `elt' and - `base_elt'. + (make_fontset): Remove unused variables `i', `j', `elt' and `base_elt'. (make_fontset_for_ascii_face): Remove unused variable `name'. (fs_load_font): Remove unused variable `font_idx'. - (fs_query_fontset): Remove unused function-local variable - `fontset'. + (fs_query_fontset): Remove unused function-local variable `fontset'. (list_fontsets): Remove unused variable `tail'. (Fnew_fontset): Remove unused variables `family' and `registry'. (accumulate_font_info): Remove unused variable `tmp'. @@ -1766,8 +2107,7 @@ block-local one. (gif_load): Remove unused variable `inc'. - * xterm.c (XTread_socket): Remove unused variables `p' and - `pend'. + * xterm.c (XTread_socket): Remove unused variables `p' and `pend'. (XTread_socket) : Remove unused variable `frame', leave only the one in the inner block. @@ -1781,19 +2121,17 @@ char *' instead of `char *'. * category.c (Fcategory_docstring): Remove unused variable `doc'. - (Fget_unused_category): Remove unused variable - `docstring_vector'. + (Fget_unused_category): Remove unused variable `docstring_vector'. (Fchar_category_set): Remove unused variables `val', `charset', `c1' and `c2'. - * coding.c (detect_coding_iso2022, setup_coding_system): Remove - unused variable `i'. + * coding.c (detect_coding_iso2022, setup_coding_system): + Remove unused variable `i'. (detect_coding_mask): Remove unused variable `idx'. (detect_coding): Remove unused variable `i'. (ccl_coding_driver): Remove unused variable `result'. (run_pre_post_conversion_on_str): Remove unused variable `prev'. - (decode_coding_string): Remove unused variables `to' and - `gcpro1'. + (decode_coding_string): Remove unused variables `to' and `gcpro1'. (encode_coding_string): Remove unused variables `gcpro1' and `saved_coding_symbol'. (Ffind_coding_systems_region_internal): Remove function-local @@ -1814,9 +2152,8 @@ 2001-01-02 Gerd Moellmann * xterm.c (x_connection_closed): Catch X errors around all - statements that call X. Save away the error message in a local - copy. - + statements that call X. Save away the error message in a local copy. + * xterm.c (x_connection_closed): Set handling_signal to 0 at the start. @@ -1832,13 +2169,11 @@ 2000-12-30 Kenichi Handa - * composite.c (find_composition): Fix a code for searching - backward. + * composite.c (find_composition): Fix a code for searching backward. 2000-12-29 Gerd Moellmann - * dispnew.c (check_current_matrix_flags) [GLYPH_DEBUG]: New - function. + * dispnew.c (check_current_matrix_flags) [GLYPH_DEBUG]: New function. (update_window) [GLYPH_DEBUG]: Call it. (scrolling_window): Prevent including current rows which are below what's displayed in the window. @@ -1846,7 +2181,7 @@ * xdisp.c (try_window_reusing_current_matrix) : Disable rows in the current matrix which are below the window after scrolling. - + * xdisp.c (move_it_by_lines): Don't do optimizations if NEED_Y_P is zero. It's not worth the complexity. (invisible_text_between_p): Put in #if 0 because unused. @@ -1882,8 +2217,8 @@ * ccl.h (struct ccl_spec): New member eight_bit_carryover. - * coding.c (setup_coding_system): Initialize - coding->spec.ccl.eight_bit_carryover. + * coding.c (setup_coding_system): + Initialize coding->spec.ccl.eight_bit_carryover. (ccl_coding_driver): Pay attention to carried over 8-bit bytes. 2000-12-28 Kenichi Handa @@ -1895,8 +2230,8 @@ (decode_coding_emacs_mule): Decode composition sequence by calling decode_composition_emacs_mule. (ENCODE_COMPOSITION_EMACS_MULE): New macro. - (encode_coding_emacs_mule): Changed from macro to function. If - a text contains compositions, encode them correctly. + (encode_coding_emacs_mule): Changed from macro to function. + If a text contains compositions, encode them correctly. (setup_coding_system): Set coding->commong_flags for emacs-mule so that decoding and encoding are required. @@ -1920,12 +2255,12 @@ * w32term.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars instead of x-toolkit-scroll-bars-p. (Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p. - + * dispnew.c (struct redisplay_history) [GLYPH_DEBUG]: New. (REDISPLAY_HISTORY_SIZE) [GLYPH_DEBUG]: New macro. - (redisplay_history, history_idx, history_tick) [GLYPH_DEBUG]: New - variables. - (add_window_display_history, add_frame_display_history) + (redisplay_history, history_idx, history_tick) [GLYPH_DEBUG]: + New variables. + (add_window_display_history, add_frame_display_history) (Fdump_redisplay_history) [GLYPH_DEBUG]: New functions. (build_frame_matrix_from_leaf_window): Remove unused code. (build_frame_matrix_from_leaf_window) [GLYPH_DEBUG]: Add to @@ -1974,7 +2309,7 @@ * window.c (size_window): When setting the window's too_small_ok flag, compare old size with minimum size depending on WIDTH_P, don't compare with window_min_width. - + * window.c (delete_window): Simplify somewhat. (Fset_window_configuration): Don't SET_FRAME_GARBAGED after freeing window matrices. The flag windows_or_buffers_changed is @@ -1993,8 +2328,7 @@ 2000-12-21 Gerd Moellmann - * xdisp.c (Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg - GLYPHS. + * xdisp.c (Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg GLYPHS. * dispextern.h (GLYPH_EQUAL_P): Also compare pixel widths, otherwise tabs of different size compare equal. @@ -2009,7 +2343,7 @@ * undo.c (Fprimitive_undo): Bind `inhibit-point-motion-hooks' to t. - * window.c (delete_window, Fsplit_window) + * window.c (delete_window, Fsplit_window) (Fset_window_configuration): Calls to ensure_frame_matrix removed. * dispextern.h (ensure_frame_matrix): Function declaration removed. @@ -2080,7 +2414,7 @@ * xdisp.c (try_cursor_movement): Fix last change. The real condition is that PT is at the end of the row, and should be displayed at the start of the next row. - + * xdisp.c (try_cursor_movement): If we end on a partially visible line, end we already decided to scroll, return -1. @@ -2089,8 +2423,8 @@ * window.c (delete_window, Fsplit_window) (Fset_window_configuration): Call ensure_frame_matrix. - * dispnew.c (fake_current_matrices, ensure_frame_matrix): New - functions. + * dispnew.c (fake_current_matrices, ensure_frame_matrix): + New functions. (adjust_frame_glyphs_for_frame_redisplay): If display has been completed, call fake_current_matrices instead of marking frame garbaged. @@ -2105,8 +2439,7 @@ 2000-12-19 Gerd Moellmann - * window.c (window_scroll_pixel_based): Don't use - move_it_vertically. + * window.c (window_scroll_pixel_based): Don't use move_it_vertically. * dispnew.c (direct_output_for_insert): Fix check for mini-window currently displaying a message. @@ -2139,20 +2472,18 @@ * xterm.c (x_connection_closed): Prevent being called recursively because of an error condition in XtCloseDisplay. - + * xdisp.c (init_iterator): If noninteractive, and the frame's face cache is null, make one. - * xfns.c (show_busy_cursor): Check for live frames more - thoroughly. + * xfns.c (show_busy_cursor): Check for live frames more thoroughly. * process.c (wait_reading_process_input): Check for pending input when running timers. 2000-12-18 Eli Zaretskii - * msdos.c (IT_write_glyphs): Compute the glyph face from - str->face_id. + * msdos.c (IT_write_glyphs): Compute the glyph face from str->face_id. 2000-12-18 Kenichi Handa @@ -2255,8 +2586,7 @@ (x_create_tip_frame): Set tip_frame after it has been added to Vframe_list. (Fx_show_tip): Don't set tip_frame here. - (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New - variables. + (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables. (unwind_create_frame, unwind_create_tip_frame): New functions. (Fx_create_frame, x_create_tip_frame): Handle errors signaled while a frame is only partially constructed. @@ -2288,14 +2618,14 @@ * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro. (detect_coding_emacs_mule, detect_coding_iso2022,) (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) - (detect_coding_utf_16, detect_coding_ccl): Make them static. New - argument MULTIBYTEP. Callers changed. + (detect_coding_utf_16, detect_coding_ccl): Make them static. + New argument MULTIBYTEP. Callers changed. (detect_coding_mask, detect_coding_system): New argument MULTIBYTEP. Callers changed. (decode_coding_string): Set coding->src_multibyte and coding->dst_multibyte before calling detect_coding and detect_eol. Update them after some coding system is detected. - + 2000-12-13 Stefan Monnier * keymap.c (get_keyelt): Only eval the filter if `autoload' is set. @@ -2305,7 +2635,7 @@ 2000-12-13 Gerd Moellmann - * xfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: + * xfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New variables. (unwind_create_frame, unwind_create_tip_frame): New functions. (Fx_create_frame, x_create_tip_frame): Handle errors signaled @@ -2321,7 +2651,7 @@ update at least some lines. * keyboard.c (do_mouse_tracking): Make externally visible. - + * xterm.c (x_term_init): Declare gray_bitmap_bits as `extern char *'. * xfns.c (gray_bitmap_bits): Declare `char *'. @@ -2343,9 +2673,9 @@ 2000-12-12 Eli Zaretskii * msdos.c (fast_find_position): Don't overstep the last window row. - (IT_note_mouse_highlight): Initialize portion to -1. Remove - unused variable `area'. When looking for a row under (X,Y), give - up if some of the previous rows is not enabled. + (IT_note_mouse_highlight): Initialize portion to -1. Remove unused + variable `area'. When looking for a row under (X,Y), give up if some + of the previous rows is not enabled. 2000-12-12 Gerd Moellmann @@ -2358,21 +2688,21 @@ * buffer.c (Fkill_buffer): Don't Fset_buffer when testing if the buffer is the sole visible buffer when in the mini-buffer. - * xdisp.c (setup_echo_area_for_printing, with_echo_area_buffer): + * xdisp.c (setup_echo_area_for_printing, with_echo_area_buffer): Bind `inhibit-read-only' to t. (unwind_with_echo_area_buffer): Use AREF. * xfns.c (Fx_hide_tip): Simplified. - * s/freebsd.h, s/netbsd.h (GC_MARK_STACK): Use - GC_MAKE_GCPROS_NOOPS instead of `1'. + * s/freebsd.h, s/netbsd.h (GC_MARK_STACK): Use GC_MAKE_GCPROS_NOOPS + instead of `1'. * s/gnu-linux.h (GC_MARK_STACK): Define as GC_MAKE_GCPROS_NOOPS. 2000-12-11 Gerd Moellmann * xfns.c (Fx_hide_tip): Fix last change. - + * xfns.c (Fx_hide_tip): Avoid unnecessary work when there's nothing to do. Bind inhibit-quit. (tip_frame): Make it a Lisp_Object. @@ -2394,7 +2724,7 @@ of the window's update_mode_line flag, since the former is set by force-mode-line-update, not the latter. This makes column-number-mode slightly faster. - + * xdisp.c (try_window_id) : Set the cursor. @@ -2407,7 +2737,7 @@ HAVE_FTELLO. * s/hpux10.h (_FILE_OFFSET_BITS): Do not undef. * s/isc3-0.h, s/osf5-0.h: Update comment about _XOPEN_SOURCE. - + 2000-12-11 Miles Bader * window.c (displayed_window_lines): Don't round up when @@ -2461,15 +2791,15 @@ 2000-12-07 Gerd Moellmann - * sound.c (vox_configure): Change order of ioctls. Don't - set SNDCTL_DSP_SPEED from bps, don't set SNDCTL_DSP_SAMPLESIZE. + * sound.c (vox_configure): Change order of ioctls. + Don't set SNDCTL_DSP_SPEED from bps, don't set SNDCTL_DSP_SAMPLESIZE. Ignore errors when changing volume. (vox_close): Don't reset the device. * process.c (read_process_output): Make sure the process marker's position is valid when the process buffer is changed in after-change functions. W3 does that. - + * xfns.c (x_free_gcs): New function. * xterm.h (x_free_gcs): Add prototype. @@ -2494,11 +2824,9 @@ * w32term.h (CP_INVALID): Rename to CP_UNKNOWN. - * w32fns.c (xlfd_charset_of_font): Don't overwrite fontname - argument. + * w32fns.c (xlfd_charset_of_font): Don't overwrite fontname argument. (w32_codepage_for_font): Rename CP_INVALID to CP_UNKNOWN. - (w32_list_fonts): Don't choke if pattern doesn't specify a - codepage. + (w32_list_fonts): Don't choke if pattern doesn't specify a codepage. 2000-12-06 Gerd Moellmann @@ -2511,7 +2839,7 @@ the face of the buffer under them. * xfaces.c (face_at_string_position): Update function comment. - + * dispnew.c (adjust_glyph_matrix): Don't reuse a window's current matrix if the window's left position has changed; we need to redraw it in this case. @@ -2540,7 +2868,7 @@ (syms_of_window): DEFVAR_LISP it. (Fdisplay_buffer): Check Veven_window_heights before evening the window heights. - + 2000-12-06 Miles Bader * xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is `t', @@ -2616,7 +2944,7 @@ 2000-12-04 Gerd Moellmann * xterm.c (PER_CHAR_METRIC): Removed because not used. - + * xterm.c (expose_area): Pass x-coordinate relative to the exposed area to x_draw_glyphs instead of a window-relative coordinate. @@ -2665,8 +2993,7 @@ * fns.c (Fmd5): Pass lisp objects, not integers, to call3. - * lisp.h (Fmake_variable_buffer_local, Fbuffer_file_name): - Declare. + * lisp.h (Fmake_variable_buffer_local, Fbuffer_file_name): Declare. 2000-12-02 Jason Rumney @@ -2675,8 +3002,7 @@ (w32_per_char_metric): Do not try to make any assumptions about the metrics of BDF fonts. (x_estimate_mode_line_height): If `mode-line' face - hasn't a font, use that of the frame, as drawing glyphs - does. + hasn't a font, use that of the frame, as drawing glyphs does. (note_mouse_highlight): Change the cursor shape on the vertical border between windows [not enabled]. @@ -2698,8 +3024,7 @@ 2000-12-02 Eli Zaretskii - * fileio.c (Fread_file_name) [DOS_NT]: Don't crash if homedir is - NULL. + * fileio.c (Fread_file_name) [DOS_NT]: Don't crash if homedir is NULL. 2000-12-01 Gerd Moellmann @@ -2724,8 +3049,7 @@ 2000-12-01 Gerd Moellmann - * window.c (struct saved_window): Add members orig_top and - orig_height. + * window.c (struct saved_window): Add members orig_top and orig_height. (SAVED_WINDOW_VECTOR_SIZE): Increment to 16. (save_window_save, Fset_window_configuration): Save/restore window's orig_top and orig_height. @@ -2770,8 +3094,7 @@ * xmenu.c (popup_get_selection): Use xmalloc instead of malloc. * xterm.c (x_estimate_mode_line_height): If `mode-line' face - hasn't a font, use that of the frame, as drawing glyphs - does. + hasn't a font, use that of the frame, as drawing glyphs does. 2000-11-29 Stefan Monnier @@ -2813,9 +3136,9 @@ * textprop.c (text_read_only): New function. (verify_interval_modification): Use it instead of signaling `text-read-only'. This makes it easier to catch this error - with a breakpoint.: + with a breakpoint.: - * xdisp.c (forward_to_next_line_start): Check for newlines, + * xdisp.c (forward_to_next_line_start): Check for newlines, not end of line, which includes CR. 2000-11-28 Kenichi Handa @@ -2831,8 +3154,7 @@ 2000-11-27 Gerd Moellmann * xdisp.c (forward_to_next_line_start): If already on a newline, - just consume it to avoid unintended skipping over invisible text - below. + just consume it to avoid unintended skipping over invisible text below. * keyboard.c (lucid_event_type_list_p): Handle `help-echo', `vertical-line', `mode-line' and `header-line' events. @@ -2849,8 +3171,8 @@ 2000-11-25 Jason Rumney - * keyboard.c (make_lispy_event) [mouse_wheel, drag_n_drop]: Args - to window_from_coordinates should be pixel coordinates. + * keyboard.c (make_lispy_event) [mouse_wheel, drag_n_drop]: + Args to window_from_coordinates should be pixel coordinates. * w32fns.c (x_to_w32_font): Do not filter out italic fonts, as new redisplay handles them properly. @@ -2917,11 +3239,9 @@ new ones. * xdisp.c (update_tool_bar, build_desired_tool_bar_string): Change - references to members deleted from struct frame to use the new - ones. + references to members deleted from struct frame to use the new ones. - * dispnew.c (update_frame): Do nothing with frame's tool bar - items. + * dispnew.c (update_frame): Do nothing with frame's tool bar items. * alloc.c (mark_object) : Mark tool bar items differently. @@ -2964,15 +3284,14 @@ * buffer.c (Fkill_buffer): Notice if the buffer to kill is the sole visible buffer when we're currently in the mini-buffer, and give up if so. - + 2000-11-21 Jason Rumney * w32select.c (Fw32_set_clipboard_data): Save a copy of what is put on the clipboard. (Fw32_get_clipboard_data): Compare data on clipboard with saved copy of what Emacs last put there. If they are the same, do not - use the clipboard copy to avoid losing data due to coding - conversions. + use the clipboard copy to avoid losing data due to coding conversions. 2000-11-22 Miles Bader @@ -2983,8 +3302,8 @@ 2000-11-21 Gerd Moellmann - * bytecode.c (Fbyte_code) : Add - BEFORE/AFTER_POTENTIAL_GC. + * bytecode.c (Fbyte_code) : + Add BEFORE/AFTER_POTENTIAL_GC. * s/hpux10.h (_FILE_OFFSET_BITS): Undef. @@ -2999,7 +3318,7 @@ 2000-11-20 Gerd Moellmann - * xfns.c (x_create_tip_frame): Use CWSaveUnder only if the + * xfns.c (x_create_tip_frame): Use CWSaveUnder only if the screen supports it. * s/gnu-linux.h: Don't use `#cpu'. @@ -3007,15 +3326,13 @@ * buffer.c (MAP_FAILED): Define it as `((void *) -1)' if it's not defined in mman.h. - * xterm.c (scroll_bar_windows, scroll_bar_windows_size): New - variables. + * xterm.c (scroll_bar_windows, scroll_bar_windows_size): New variables. (x_send_scroll_bar_event): Store the window in scroll_bar_windows and store an index in the XClientMessageEvent. Storing a Lisp_Object or pointer can fail on a 64 bit system, since X only transfers 32 bits. - (x_scroll_bar_to_input_event): Get the window from - scroll_bar_windows. - + (x_scroll_bar_to_input_event): Get the window from scroll_bar_windows. + 2000-11-20 Dave Love * Makefile.in (LIBX): Reorder for -lX11 after -lXpm. @@ -3058,7 +3375,7 @@ (SET_SCROLL_BAR_X_WIDGET): Store the window of the widget, since `Widget' is a pointer type that's not easily stored in Lisp_Object form in a portable way. - + * dispnew.c (update_text_area): Fix last change. 2000-11-18 Gerd Moellmann @@ -3107,8 +3424,7 @@ 2000-11-16 Gerd Moellmann * xdisp.c (pos_visible_p): Handle case that we reach ZV without - knowing the line's height; use the default font's height in that - case. + knowing the line's height; use the default font's height in that case. * xfaces.c (weight_table): Add `demi' with the same meaning as `demibold'. @@ -3165,8 +3481,8 @@ * dispextern.h (CURRENT_MODE_LINE_HEIGHT) (CURRENT_HEADER_LINE_HEIGHT): Look at current_mode_line_height and current_header_line_height first. - (current_mode_line_height, current_header_line_height): Declare - extern. + (current_mode_line_height, current_header_line_height): + Declare extern. 2000-11-14 Miles Bader @@ -3237,8 +3553,8 @@ Vface_alternative_font_registry_alist. (Finternal_set_alternative_font_registry_alist): New function. (syms_of_xfaces): Initialize and Staticpro - Vface_alternative_font_registry_alist. Defsubr - Finternal_set_alternative_font_registry_alist. + Vface_alternative_font_registry_alist. + Defsubr Finternal_set_alternative_font_registry_alist. 2000-11-09 Ken Raeburn @@ -3247,7 +3563,7 @@ 2000-11-09 Gerd Moellmann * dired.c (directory_files_internal): Fix a braino. - + * dired.c (directory_files_internal): Add missing GCPRO's. Some cleanup. @@ -3345,7 +3661,7 @@ * keyboard.c (read_char) : Make sure that we process idle timers while waiting for another event. - * dispnew.c (update_frame_line): Handle case where spaces in + * dispnew.c (update_frame_line): Handle case where spaces in the default face are colored. * xdisp.c (redisplay_tool_bar): Don't set fonts_changed_p if @@ -3373,7 +3689,7 @@ * xdisp.c (try_scrolling) = scroll_margin_pos>: Add 1 to the dy obtained from the iterator's y-position after moving from scroll_margin_pos to PT; see comment there. - + * xdisp.c (safe_eval_handler): Call add_to_log. * xfaces.c (resolve_face_name): Handle case that FACE_NAME @@ -3395,7 +3711,7 @@ * xterm.c (x_alloc_nearest_color): Fix last change to compare RGB values. - + * xterm.c (x_alloc_nearest_color): If allocation succeeds, and we have a color cache, check that the cached color equals the allocated color. If not, clear the color cache. @@ -3704,8 +4020,7 @@ * xterm.c (x_connection_closed): Reset handling_signal. - * alloc.c (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing - null. + * alloc.c (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing null. 2000-10-23 Miles Bader @@ -3722,8 +4037,7 @@ 2000-10-23 ShengHuo ZHU - * fns.c (Fbase64_decode_string): The decoded result should be - unibyte. + * fns.c (Fbase64_decode_string): The decoded result should be unibyte. 2000-10-23 Andrew Choi @@ -3792,8 +4106,7 @@ (prepare_face_for_display) [macintosh]: Set xgcv.font. (realize_x_face) [macintosh]: Load the font if it is specified in ATTRS. - (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed - to Qt. + (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed to Qt. 2000-10-22 Stefan Monnier @@ -3838,47 +4151,47 @@ * makefile.w32-in: Change .obj to .$(O) in all dependencies. ($(BLD)/casefiddle.$(O)): Remove compile command. ($(BLD)/gmalloc.$(O)): Remove compile command. - ($(BLD)/dispnew.obj): - ($(BLD)/keyboard.obj): - ($(BLD)/w32inevt.obj): - ($(BLD)/w32bdf.obj): - ($(BLD)/alloc.obj): - ($(BLD)/buffer.obj): - ($(BLD)/editfns.obj): - ($(BLD)/emacs.obj): - ($(BLD)/fileio.obj): - ($(BLD)/fns.obj): - ($(BLD)/indent.obj): - ($(BLD)/insdel.obj): - ($(BLD)/intervals.obj): - ($(BLD)/minibuf.obj): - ($(BLD)/print.obj): - ($(BLD)/scroll.obj): - ($(BLD)/sysdep.obj): - ($(BLD)/textprop.obj): - ($(BLD)/widget.obj): + ($(BLD)/dispnew.obj): + ($(BLD)/keyboard.obj): + ($(BLD)/w32inevt.obj): + ($(BLD)/w32bdf.obj): + ($(BLD)/alloc.obj): + ($(BLD)/buffer.obj): + ($(BLD)/editfns.obj): + ($(BLD)/emacs.obj): + ($(BLD)/fileio.obj): + ($(BLD)/fns.obj): + ($(BLD)/indent.obj): + ($(BLD)/insdel.obj): + ($(BLD)/intervals.obj): + ($(BLD)/minibuf.obj): + ($(BLD)/print.obj): + ($(BLD)/scroll.obj): + ($(BLD)/sysdep.obj): + ($(BLD)/textprop.obj): + ($(BLD)/widget.obj): ($(BLD)/xdisp.obj): Add dependency on w32gui.h. ($(BLD)/term.obj): Add dependency on dispextern.h. - * makefile.nt ($(BLD)\dispnew.obj): - ($(BLD)\keyboard.obj): - ($(BLD)\w32inevt.obj): - ($(BLD)\w32bdf.obj): - ($(BLD)\alloc.obj): - ($(BLD)\buffer.obj): - ($(BLD)\editfns.obj): - ($(BLD)\emacs.obj): - ($(BLD)\fileio.obj): - ($(BLD)\fns.obj): - ($(BLD)\indent.obj): - ($(BLD)\insdel.obj): - ($(BLD)\intervals.obj): - ($(BLD)\minibuf.obj): - ($(BLD)\print.obj): - ($(BLD)\scroll.obj): - ($(BLD)\sysdep.obj): - ($(BLD)\textprop.obj): - ($(BLD)\widget.obj): + * makefile.nt ($(BLD)\dispnew.obj): + ($(BLD)\keyboard.obj): + ($(BLD)\w32inevt.obj): + ($(BLD)\w32bdf.obj): + ($(BLD)\alloc.obj): + ($(BLD)\buffer.obj): + ($(BLD)\editfns.obj): + ($(BLD)\emacs.obj): + ($(BLD)\fileio.obj): + ($(BLD)\fns.obj): + ($(BLD)\indent.obj): + ($(BLD)\insdel.obj): + ($(BLD)\intervals.obj): + ($(BLD)\minibuf.obj): + ($(BLD)\print.obj): + ($(BLD)\scroll.obj): + ($(BLD)\sysdep.obj): + ($(BLD)\textprop.obj): + ($(BLD)\widget.obj): ($(BLD)\xdisp.obj): Add dependency on w32gui.h. ($(BLD)\term.obj): Add dependency on dispextern.h @@ -3900,7 +4213,7 @@ * alloc.c (toplevel): Conditionalize compilation of mem_* functions differently. - + 2000-10-20 Jason Rumney * alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above @@ -3979,8 +4292,8 @@ * xfns.c (x_to_xcolors, x_set_mouse_color, lookup_pixel_color) (x_to_xcolors, png_load): Use x_query_color. - * xterm.c (x_color_cells, x_query_colors, x_query_color): New - functions. + * xterm.c (x_color_cells, x_query_colors, x_query_color): + New functions. (x_alloc_nearest_color): Use it to reduce calls to XQueryColors which can be slow. (x_copy_color, x_alloc_lighter_color): Likewise. @@ -4007,7 +4320,7 @@ * xdisp.c (try_cursor_movement): Use cursor_row_p also when PT has moved backward. - + * xdisp.c (cursor_row_p): Take continued lines into account. * alloc.c (mark_object) [GC_CHECK_STRING_BYTES]: Check validity of @@ -4037,15 +4350,13 @@ * xfns.c (pbm_format): Add :foreground and :background keywords. (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators. - (xbm_load): Recognize foreground and background color - specifications. + (xbm_load): Recognize foreground and background color specifications. 2000-10-16 Eli Zaretskii * dispextern.h (unspecified_fg, unspecified_bg): Declare. - * dosfns.c (unspecified_fg, unspecified_bg): Remove extern - declaration. + * 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. @@ -4064,7 +4375,7 @@ (Fframe_parameter): Ditto. 2000-10-16 Gerd Moellmann - + * xdisp.c (find_last_unchanged_at_beg_row): Renamed from get_last_unchanged_at_beg_row. (find_first_unchanged_at_end_row): Renamed from @@ -4124,7 +4435,7 @@ * 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. @@ -4192,8 +4503,7 @@ * 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. + string_make_unibyte/multibyte instead of Fstring_as_unibyte/multibyte. 2000-10-10 Andreas Schwab @@ -4202,14 +4512,12 @@ 2000-10-10 Kenichi Handa - * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before - returning. + * 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. + (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. @@ -4251,7 +4559,7 @@ * charset.c (Ffind_charset_string): Doc fix. - * fns.c (Fbase64_encode_region, Fbase64_encode_string) + * fns.c (Fbase64_encode_region, Fbase64_encode_string) (Fbase64_decode_region, Fbase64_decode_string): More explicit error messages. @@ -4385,8 +4693,7 @@ 2000-09-29 Gerd Moellmann - * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar - disappears. + * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar disappears. * dispextern.h (updating_frame): Declare extern. @@ -4401,15 +4708,14 @@ (tool_bar_items): Likewise. * lisp.h (fatal): Declare NO_RETURN. - + 2000-09-29 Kenichi Handa * keymap.c: Remove the line "#undef NULL". 2000-09-28 Gerd Moellmann - * xterm.c (x_make_frame_visible): Try harder to make the frame - visible. + * xterm.c (x_make_frame_visible): Try harder to make the frame visible. 2000-09-28 Dave Love @@ -4431,7 +4737,7 @@ * xfaces.c (realize_default_face): Call set_lface_from_font_name with non-zero FORCE_P argument. - * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): + * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): Add assertions. * xdisp.c (window_box_height): Add an assertion. @@ -4468,8 +4774,7 @@ * frame.h (struct frame): Make the `nothing' member of union output_data an EMACS_INT. - * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug - hunting. + * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug hunting. (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's size in the sdata structure. (SDATA_NBYTES, SDATA_DATA): New macros. @@ -4486,12 +4791,11 @@ * buffer.c: Include stdio.h. Partly suggested by Eduardo Horvath . - + * ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t. * alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it. - (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as - size_t. + (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as size_t. (__malloc_extra_blocks): Declare as __malloc_size_t. 2000-09-25 Gerd Moellmann @@ -4541,14 +4845,14 @@ * config.in (NO_RETURN): Define as `__attribute__((__noreturn__))' for GCC >= 2.5. - * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare - NO_RETURN. + * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): + Declare NO_RETURN. * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, * indent.c, search.c, alloc.c, data.c: Avoid some more compiler warnings. - + * marker.c (byte_char_debug_check): Return void. * xfns.c (Fx_create_frame): Set default frame parameter value @@ -4580,11 +4884,10 @@ * fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix. * xfns.c (xbm_scan): Allow C-style comments. - + * xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color symbols are specified, add color translations to the cache. - (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New - functions. + (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New functions. (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and xpm_cache_color. (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes @@ -4592,8 +4895,7 @@ 2000-09-19 Gerd Moellmann - * dispnew.c (update_window_line): Make sure to always draw - mode-lines. + * dispnew.c (update_window_line): Make sure to always draw mode-lines. 2000-09-19 Andrew Innes @@ -4608,14 +4910,14 @@ 2000-09-18 Dave Love - * keyboard.c (menu_bar_items, tool_bar_items) + * keyboard.c (menu_bar_items, tool_bar_items) (current_active_maps): Remove redundant get_local_map call. 2000-09-18 Gerd Moellmann * xterm.c (x_display_and_set_cursor): Don't show a hollow box cursor for buffers whose cursor_type is nil. - + * xterm.c (x_draw_image_glyph_string): Remove a comment describing a feature to implement that is already implemented. (note_mouse_highlight, x_find_ccl_program): Avoid some compiler @@ -4623,8 +4925,7 @@ * xfns.c (x_clear_image_1): New function. (x_clear_image): Use it. - (x_from_xcolors): Use x_clear_image_1; don't free the image's - mask. + (x_from_xcolors): Use x_clear_image_1; don't free the image's mask. * dispnew.c (update_window): Move test for invisible lines at the top to update_window_line. @@ -4641,8 +4942,7 @@ (xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color) (lookup_pixel_color, x_to_xcolors, x_from_xcolors) (x_disable_image, x_build_heuristic_mask, pbm_load, png_load) - (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock - input. + (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock input. 2000-09-16 Gerd Moellmann @@ -4672,8 +4972,7 @@ (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) - (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New - functions. + (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New functions. (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation functions, if possible, because these handle color allocation failure more gracefully. @@ -4737,8 +5036,7 @@ conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed from former r_alloc_* functions in ralloc.c. - (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New - variables. + (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New variables. (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. (mmap_init) [REL_ALLOC_MMAP]: New function. (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New @@ -4777,8 +5075,7 @@ (stack_idx_of_map_multiple): New variable. (CCL_CALL_FOR_MAP_INSTRUCTION): New macro. (ccl_driver) : If the content is a symbol, - call the corresponding CCL program by - CCL_CALL_FOR_MAP_INSTRUCTION. + call the corresponding CCL program by CCL_CALL_FOR_MAP_INSTRUCTION. (ccl_driver) : Likewise. (ccl_driver) : Rewritten to fix many bugs, deal with the case where looking up process reaches to the end of @@ -4790,8 +5087,7 @@ that might be clobbered by longjmp. (check_x_display_info, x_decode_color, create_frame_xic) (Fx_display_backing_store, Fx_display_visual_class) - (x_build_heuristic_mask, pbm_scan_number): Avoid compiler - warnings. + (x_build_heuristic_mask, pbm_scan_number): Avoid compiler warnings. * lread.c (init_lread): Set Vloads_in_progress to nil. (Fload): Show list of recursively loaded files, when signaling an @@ -4821,7 +5117,7 @@ 2000-09-09 Gerd Moellmann - * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned + * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned by Fmemq as a boolean. 2000-09-08 Stefan Monnier @@ -4844,8 +5140,7 @@ * xfaces.c (Finternal_merge_in_global_face): Return a Lisp object. * xdisp.c (dump_glyph_row): Fix printf format string. - (display_line, move_it_in_display_line_to): Avoid compiler - warnings. + (display_line, move_it_in_display_line_to): Avoid compiler warnings. * s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define. @@ -4969,7 +5264,7 @@ 2000-09-06 Gerd Moellmann - * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If + * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If buffer's text buffer is null, map new memory. * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of @@ -5016,8 +5311,7 @@ * xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face before initially popping up the menu, so the menu doesn't flash - when the face settings are significantly different from the - defaults. + when the face settings are significantly different from the defaults. 2000-09-04 Stefan Monnier @@ -5140,7 +5434,7 @@ desired window matrix hasn't been displayed, use the current row instead. Make sure that only those frame rows are updated for which there exists a corresponding enabled desired row. - + 2000-08-29 Miles Bader * xfaces.c (default_face_vector): New function. @@ -5231,7 +5525,7 @@ (syms_of_xfaces): Initialize it. (LFACE_INHERIT): New macro. (Finternal_get_lisp_face_attribute) - (merge_face_vector_with_property) + (merge_face_vector_with_property) (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. (check_lface_attrs): Allow new types of face height. Check inherit attribute. @@ -5244,7 +5538,7 @@ (face_at_string_position, face_at_buffer_position): Supply new F and CYCLE_CHECK arguments to merge_face_vectors. (merge_face_heights): New function. - (merge_face_vectors, merge_face_vector_with_property) + (merge_face_vectors, merge_face_vector_with_property) (Finternal_set_lisp_face_attribute): Call merge_face_heights to handle relative face heights. (lface_same_font_attributes_p): Compare heights using EQ. @@ -5252,8 +5546,7 @@ 2000-08-26 Kenichi Handa * charset.c (char_to_string): Check the character validity. - (char_valid_p): If C is not less than MAX_CHAR, be sure to return - 0. + (char_valid_p): If C is not less than MAX_CHAR, be sure to return 0. 2000-08-25 Stefan Monnier @@ -5276,8 +5569,8 @@ * bytecode.c (mark_byte_stack): Add a comment. - * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) - (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is + * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) + (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is a graphical frame. 2000-08-24 Kenichi Handa @@ -5294,8 +5587,7 @@ (send_process): If OBJECT is multibyte text, be sure to encoded it by the specified coding system for the process. Otherwise, setup raw-text coding. - (init_process): Don't initialize default-process-coding-system - here. + (init_process): Don't initialize default-process-coding-system here. 2000-08-23 Eli Zaretskii @@ -5365,14 +5657,13 @@ * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. - * w32bdf.c (search_file_line): - (set_bdf_font_info): - (seek_char): - (w32_get_bdf_glyph): + * w32bdf.c (search_file_line): + (set_bdf_font_info): + (seek_char): + (w32_get_bdf_glyph): (w32_BDF_to_x_font): Fix compile warnings. - * w32menu.c: Include keyboard.h before frame.h. Fix compile - warnings. + * w32menu.c: Include keyboard.h before frame.h. Fix compile warnings. * w32select.c: Include keyboard.h before frame.h. @@ -5427,8 +5718,8 @@ * unexw32.c: Change PUCHAR to PCHAR. (PTR_TO_OFFSET): Cast ptr to unsigned char *. - (relocate_offset): - (get_section_info): + (relocate_offset): + (get_section_info): (copy_executable_and_dump_data): Remove unnecessary static defs. (copy_executable_and_dump_data): Fix compile warnings. @@ -5437,7 +5728,7 @@ * w32console.c (min): Define macro. (clear_frame, write_glyphs): Fix compile warning. - * w32proc.c (compare_env): + * w32proc.c (compare_env): (find_child_console): Fix compile warning. * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use @@ -5453,7 +5744,7 @@ (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. * w32.c (gettimeofday): Use struct timeb, not struct _timeb. - (map_w32_filename): + (map_w32_filename): (read_unc_volume): Fix compile warning. * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock @@ -5461,7 +5752,7 @@ * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. - * w32.c (unc_volume_file_attributes): + * w32.c (unc_volume_file_attributes): (open_unc_volume): Make arg const. * sysdep.c [WINDOWSNT]: Remove extern decl of errno. @@ -5497,7 +5788,7 @@ 2000-08-21 Gerd Moellmann * editfns.c (find_field): Formatting changes. - (toplevel): Some old-style function forward declarations + (toplevel): Some old-style function forward declarations changed to prototypes, some new protypes added, some functions made static. @@ -5586,7 +5877,7 @@ * xdisp.c (redisplay_internal): Compare windows for equality with EQ, instead of applying XWINDOW to something that might not be a window. - + 2000-08-18 Kenichi Handa * fontset.c (Finternal_char_font): Search only the selected frame @@ -5622,8 +5913,7 @@ * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't declare make_temp_name twice. - * lread.c: Prototype readevalloop, load_unwind, - load_descriptor_unwind. + * lread.c: Prototype readevalloop, load_unwind, load_descriptor_unwind. (unreadpure): Give it an arg. * unexalpha.c: Prototype fatal_unexec, mark_x, @@ -5633,8 +5923,7 @@ [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. * alloc.c (lisp_malloc): Declare with POINTER_TYPE. - [SYSTEM_MALLOC]: Make decls in malloc.h conditional on - DOUG_LEA_MALLOC. + [SYSTEM_MALLOC]: Make decls in malloc.h conditional on DOUG_LEA_MALLOC. * alloca.c: Use #error. [POINTER_TYPE]: Use it. @@ -5713,13 +6002,11 @@ free_conversion_buffer, not get_conversion_buffer. (encode_coding_string): Likewise. (init_coding): Function deleted. - (init_coding_once): Delete code to initialize - conversion_buffer_size. + (init_coding_once): Delete code to initialize conversion_buffer_size. * emacs.c (main): Don't call init_coding. - * msdos.c (IT_write_glyphs): Use a locally declared - conversion_buffer. + * msdos.c (IT_write_glyphs): Use a locally declared conversion_buffer. * term.c (write_glyphs): Use a locally declared conversion_buffer. (insert_glyphs): Likewise. @@ -5734,8 +6021,7 @@ 2000-08-15 Gerd Moellmann - * alloc.c (compact_small_strings): Use safe_bcopy, add an - assertion. + * alloc.c (compact_small_strings): Use safe_bcopy, add an assertion. * term.c (turn_off_face): Reset standout_mode when resetting appearances with capability `me'. @@ -5752,24 +6038,22 @@ 2000-08-14 Gerd Moellmann - * keymap.c (push_key_description): If C without modifiers is < 32, + * keymap.c (push_key_description): If C without modifiers is < 32, make sure to print `C-' before `M-', like in the manual. 2000-08-11 Gerd Moellmann * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially since they aren't relocated anymore. - (sxhash_string): Make sure returned hash code fits in a Lisp - integer. + (sxhash_string): Make sure returned hash code fits in a Lisp integer. * xdisp.c (try_cursor_movement): Fix handling of cursor in - partially visible line which is smaller than the window's - height. + partially visible line which is smaller than the window's height. 2000-08-11 Kenichi Handa * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to - the multibyte form of eight-bit-control characters. + the multibyte form of eight-bit-control characters. (Fccl_execute_on_string): Initialize ccl->multibyte. * ccl.h (struct ccl_program): New member multibyte. @@ -5785,8 +6069,7 @@ 2000-08-11 Kenichi Handa - * termhooks.h (enum event_kind): New member - multibyte_char_keystroke. + * termhooks.h (enum event_kind): New member multibyte_char_keystroke. * keyboard.c (make_lispy_event): Handle the new event type multibyte_char_keystroke. @@ -5823,7 +6106,7 @@ * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a box cursor because that's better visible for large images. - + 2000-08-10 Miles Bader * w32term.c (note_mouse_highlight): Update calls to overlays_at. @@ -5836,8 +6119,7 @@ 2000-08-10 Eli Zaretskii - * msdos.c (IT_note_mouse_highlight): Update the calls to - overlays_at. + * msdos.c (IT_note_mouse_highlight): Update the calls to overlays_at. (toplevel) : Remove prototype, it's redundant now that keyboard.h is included. @@ -5861,7 +6143,7 @@ * lisp.h (input_pending): External declaration. * dispextern.h (Qredisplay_dont_pause): Declare extern. - + * xdisp.c (echo_area_display): Display thoroughly if input is pending. Bind redisplay-dont-pause to t during the redisplay. in case input is pending. @@ -5870,7 +6152,7 @@ (syms_of_display): Initialize and staticpro it. (update_frame_1): Don't interrupt the display for pending input if redisplay_dont_pause is set. - + * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. @@ -5893,8 +6175,7 @@ 2000-08-08 Ken Raeburn - * keyboard.c (syms_of_keyboard): Initialize - last_point_position_buffer. + * keyboard.c (syms_of_keyboard): Initialize last_point_position_buffer. * undo.c (record_delete): Make sure last_point_position_buffer is a buffer before comparing pointers. @@ -5905,8 +6186,7 @@ * textprop.c (Fprevious_single_char_property_change): Don't do arithmetic directly on lisp objects. - * editfns.c (find_field): Use EQ, not ==, to compare Lisp - objects. + * editfns.c (find_field): Use EQ, not ==, to compare Lisp objects. * keyboard.h (menu_item_eval_property): Declare. @@ -6064,8 +6344,7 @@ * window.c (display_buffer_reuse_frames): New variable. (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse frames displaying BUFFER. - (syms_of_window): Define Lisp variable - display-buffer-reuse-frames. + (syms_of_window): Define Lisp variable display-buffer-reuse-frames. 2000-08-01 Miles Bader @@ -6087,10 +6366,8 @@ 2000-07-27 Dave Love - * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't - define. - [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently - working. + * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't define. + [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently working. * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. @@ -6105,8 +6382,7 @@ * fns.c (Qkey_or_value, Qkey_and_value): New variables. (syms_of_fns): Initialize new variables. - (sweep_weak_table): Handle weakness `key-or-value' and - `key-and-value'. + (sweep_weak_table): Handle weakness `key-or-value' and `key-and-value'. (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' weakness, with t meaning the same as `key-and-value'. @@ -6115,13 +6391,12 @@ * coding.h (struct coding_system): Member safe_charset deleted. * coding.c (Qsafe_charsets): This variable deleted. - (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New - variables. + (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): + New variables. (coding_safe_chars): New function. (CODING_SAFE_CHAR_P): New macro. (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of - checking safe_charsets member of the coding system. Caller - changed. + checking safe_charsets member of the coding system. Caller changed. (detect_coding_iso2022): New local variable safe_chars. (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking safe_charsets member of the coding system. @@ -6190,8 +6465,8 @@ 2000-07-25 Eli Zaretskii * fileio.c (Frename_file) [DOS_NT]: If the file names are - identical but for the letter-case, don't call - barf_or_query_if_file_exists. + identical but for the letter-case, don't call + barf_or_query_if_file_exists. 2000-07-25 Miles Bader @@ -6238,8 +6513,7 @@ with new argument list. (resize_mini_window_1): New callback function. (current_message_1, truncate_message_1, set_message_1): Change - parameter lists to the new format expected by - with_echo_area_buffer. + parameter lists to the new format expected by with_echo_area_buffer. 2000-07-24 Kenichi Handa @@ -6273,8 +6547,7 @@ * keyboard.c (show_help_echo, gen_help_event): Extend comments. * xterm.c (note_mouse_highlight): If help-echo was found in an - overlay, use that overlay as the object in which the help was - found. + overlay, use that overlay as the object in which the help was found. * window.c (foreach_window_1): Fix typo reversing an if-condition. @@ -6386,15 +6659,13 @@ * keyboard.h (show_help_echo, gen_help_event): Change prototypes. * xterm.c (help_echo_window): New variable. - (note_mouse_highlight, note_tool_bar_highlight): Set - help_echo_window. + (note_mouse_highlight, note_tool_bar_highlight): Set help_echo_window. (XTread_socket): Pass help_echo_window to gen_help_event. (syms_of_xterm): Initialize and staticpro help_echo_window. 2000-07-18 Dave Love - * Makefile.in: Fix dependencies of blockinput.h on atimer.h, - systime.h. + * Makefile.in: Fix dependencies of blockinput.h on atimer.h, systime.h. 2000-07-18 Gerd Moellmann @@ -6466,15 +6737,13 @@ input_events manually. (syms_of_w32term): Staticpro help_echo_object. (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If - set, arrange for a mouse-highlight redisplay in - XTframe_up_to_date. + set, arrange for a mouse-highlight redisplay in XTframe_up_to_date. (x_clear_mouse_face): New function. (w32_redisplay_interface): Add pointer to x_clear_mouse_face. (x_update_window_begin): No need to turn off the mouse highlight here. (show_mouse_face): Set the mouse_face_p flag of glyph rows - depending on whether they contain glyphs highlighted in - mouse-face. + depending on whether they contain glyphs highlighted in mouse-face. (x_fill_stretch_glyph_string): Consume runs of stretch glyphs instead of a single one. (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string @@ -6575,8 +6844,7 @@ consing. For prefix events, store the frame in the `arg' slot of the event, otherwise store the key there. (XTread_socket): Instead of consing, use the frame_or_window slot - of HELP_EVENTs for the frame, and the `arg' slot for the help - string. + of HELP_EVENTs for the frame, and the `arg' slot for the help string. * xmenu.c (menu_highlight_callback): Store help string in the `arg' member of the input event; don't cons. @@ -6610,8 +6878,8 @@ for kbd_buffer_gcpro. (syms_of_keyboard): Likewise. - * emacs.c (handle_USR2_signal, handle_USR1_signal): Use - USER_SIGNAL_EVENT. + * emacs.c (handle_USR2_signal, handle_USR1_signal): + Use USER_SIGNAL_EVENT. * termhooks.h (struct input_event): Add member `arg'. (MENU_BAR_EVENT): Renamed from menu_bar_event. @@ -6676,8 +6944,7 @@ * xterm.c (x_update_window_begin): No need to turn off the mouse highlight here. (show_mouse_face): Set the mouse_face_p flag of glyph rows - depending on whether they contain glyphs highlighted in - mouse-face. + depending on whether they contain glyphs highlighted in mouse-face. * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, compare the mouse_face_p flags of both rows. @@ -6690,8 +6957,7 @@ ok_to_overwrite_keystroke_echo. (read_char): Call show_help_echo with a zero ok_to_overwrite_keystroke_echo argument. - * keyboard.h (show_help_echo): Update prototype of - show_help_echo. + * keyboard.h (show_help_echo): Update prototype of show_help_echo. * xmenu.c (menu_help_callback): Call show_help_echo with non-zero ok_to_overwrite_keystroke_echo argument. * w32menu.c (w32_menu_display_help): Call show_help_echo with @@ -6762,10 +7028,8 @@ (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. * Makefile.in (LIBSOUND): New variable. (LIBES): Include it. - * sound.c [HAVE_SOUNDCARD_H]: Include and - . - (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined - elsewhere. + * sound.c [HAVE_SOUNDCARD_H]: Include and . + (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere. (vox_open): Use DEFAULT_SOUND_DEVICE. * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio. @@ -6806,8 +7070,7 @@ * w32.c (init_environment): Install code from 20.7 for providing default values for environment variables, based on the executable's own location. - (map_w32_filename): Handle filenames that are longer than - MAX_PATH. + (map_w32_filename): Handle filenames that are longer than MAX_PATH. (sys_socket): Install socket inheritance bug fix from 20.7. * alloca.c [emacs]: Include lisp.h (needed by atimer.h included @@ -6847,8 +7110,7 @@ effects were the result. This also depended on the contents of memory returned by xmalloc. If flickering happens again, activate the code in clear_glyph_row that's in #if 0. If the flickering is - gone with that, chances are that it is caused by something - similar. + gone with that, chances are that it is caused by something similar. * dispnew.c (clear_glyph_row): Add debug code in #if 0. @@ -6868,8 +7130,7 @@ (window_from_coordinates): Rewritten. (add_window_to_list, window_list, candidate_window_p) (decode_next_window_args, next_window): New functions. - (Fnext_window, Fprevious_window): Rewritten in terms of - next_window. + (Fnext_window, Fprevious_window): Rewritten in terms of next_window. (Fwindow_list): New function. (Fother_window): Cleaned up. (foreach_window): Add a longer "variable argument list". Let @@ -6999,17 +7260,14 @@ 2000-06-25 Dave Love - * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, - tgetnum. + * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, tgetnum. * Makefile.in (blockinput.h): Depend on atimer.h. (atimer.h): Depend on systime.h. - * blockinput.h: Protect against multiple inclusion. Include - atimer.h. + * blockinput.h: Protect against multiple inclusion. Include atimer.h. - * atimer.h: Protect against multiple inclusion. Include - systime.h. + * atimer.h: Protect against multiple inclusion. Include systime.h. * lisp.h (swap_in_global_binding): Declare. @@ -7073,8 +7331,7 @@ * xrdb.c (x_load_resources): Add default resource for scroll bar's trough color and main window's background color. - * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events - differently. + * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events differently. * xterm.h (Xt_app_con): External declaration. @@ -7151,8 +7408,7 @@ 2000-06-20 Gerd Moellmann * keyboard.c (adjust_point_for_property): Check if display - property should be treated as intangible by looking at its - value. + property should be treated as intangible by looking at its value. * xdisp.c (single_display_prop_intangible_p) (display_prop_intangible_p): New functions. @@ -7187,8 +7443,7 @@ 2000-06-20 Dave Love - * m/stride.h, m/mips.h: Don't define HAVE_GETWD, - HAVE_GETTIMEOFDAY. + * m/stride.h, m/mips.h: Don't define HAVE_GETWD, HAVE_GETTIMEOFDAY. * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. @@ -7248,8 +7503,7 @@ * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare errno, strerror. Put text after #endif in comment. - * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for - pcc). + * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for pcc). * xterm.c (x_frame_of_widget): Likewise. @@ -7378,8 +7632,8 @@ function does something useful even when message_buf_print is already set. - * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New - variables. + * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): + New variables. (ensure_echo_area_buffers): Initialize echo buffer's truncate lines setting to nil. (with_echo_area_buffer): Don't set the echo buffer's truncate @@ -7387,8 +7641,8 @@ (set_message_1): Set it here instead, based on the value of message_truncate_lines. (resize_mini_window): Handle case that lines are truncated. - (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL - message-truncate-lines. + (syms_of_xdisp): Initialize Qmessage_truncate_lines. + DEFVAR_BOOL message-truncate-lines. * keyboard.c (read_char): Bind message-truncate-lines to t while displaying a help-echo. @@ -7491,8 +7745,7 @@ 1 except for leading codes for private charases. * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. - (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte - sequence. + (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte sequence. 2000-06-09 Ken Raeburn @@ -7521,8 +7774,7 @@ 2000-06-08 Kenichi Handa - * fontset.c (Fset_fontset_font): The arg CHARACTER may be a - charset. + * fontset.c (Fset_fontset_font): The arg CHARACTER may be a charset. 2000-06-07 Gerd Moellmann @@ -7680,8 +7932,7 @@ * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. [WINDOWSNT]: Add extern for Vw32_system_coding_system. - * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type - member. + * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type member. * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to @@ -7703,8 +7954,7 @@ (Qline_spacing, Qcenter): New variables. (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. (x_set_line_spacing): New function. - (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT - macros. + (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT macros. (x_specified_cursor_type): New function. (x_set_cursor_type): Use it. (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar @@ -7947,13 +8197,11 @@ 2000-05-23 Kenichi Handa - * syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE - unconditionally. + * syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE unconditionally. * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. - * term.c (encode_terminal_code): Set coding->src_multibyte - properly. + * term.c (encode_terminal_code): Set coding->src_multibyte properly. * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. @@ -8012,11 +8260,9 @@ as is. (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. - * charset.c (Qeight_bit_control, Qeight_bit_graphic): New - variables. + * charset.c (Qeight_bit_control, Qeight_bit_graphic): New variables. (SPLIT_CHARACTER_SEQ): This macro deleted. - (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is - valid. + (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is valid. (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control and eight-bit-graphic. (char_to_string): Likewise. Signal an error for too large @@ -8035,18 +8281,17 @@ (char_bytes): Return 2 for chars of the range 0xA0..0xFF. (multibyte_chars_in_text): Simplified by assuming there's no invalid multibyte sequence. - (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, - str_as_unibyte): New functions. - (Fstring): Simpified by assuming that byte combining never - happens. + (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte) + (str_as_unibyte): New functions. + (Fstring): Simpified by assuming that byte combining never happens. (init_charset_once): Initialization for LEADING_CODE_8_BIT_CONTROL. (syms_of_charset): Intern and staticpro Qeight_bit_control and Qeight_bit_graphic. Include them in Vcharset_list. Make charsets eight-bit-control and eight-bit-graphic. - * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, - CHARSET_8_BIT_GRAPHIC): New macros. + * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL) + (CHARSET_8_BIT_GRAPHIC): New macros. (SINGLE_BYTE_CHAR_P): Make it faster by using casting. (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. (CHARSET_REVERSE_CHARSET): Likewise. @@ -8059,27 +8304,25 @@ (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte sequence is always valid. (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. - (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New - macros. + (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New macros. (CHAR_STRING): For 8-bit characters, call char_to_string. (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume multibyte sequence is always valid. (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. - (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, - str_as_unibyte): Extern them. + (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte) + (str_as_unibyte): Extern them. (BCOPY_SHORT): Fix a bug. - (CHAR_LEN): This macro deleted. Callers changed to use - CHAR_BYTES. + (CHAR_LEN): This macro deleted. Callers changed to use CHAR_BYTES. (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. - (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, - EMIT_BYTES): New macros. - (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, - DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These + (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE) + (EMIT_BYTES): New macros. + (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII) + (DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These macros deleted. (CHECK_CODE_RANGE_A0_FF): This macro deleted. (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to @@ -8103,8 +8346,8 @@ block here. (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These macros deleted. - (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, - detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and + (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) + (detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and TWO_MORE_BYTES to fetch a byte from the source. (encode_eol): Pay attention to coding->src_multibyte. (detect_coding, detect_eol): Preserve members src_multibyte and @@ -8137,8 +8380,8 @@ above. (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. - (Fset_terminal_coding_system_internal, - Fset_safe_terminal_coding_system_internal): Setup src_multibyte + (Fset_terminal_coding_system_internal) + (Fset_safe_terminal_coding_system_internal): Setup src_multibyte and dst_multibyte members. (init_coding_once): Initialize iso_code_class with new enum ISO_control_0 and ISO_control_1. @@ -8195,25 +8438,24 @@ * insdel.c (adjust_markers_for_record_delete): Deleted. (adjust_markers_for_insert): Argument changed. Caller changed. (adjust_markers_for_replace): Likewise. - (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, - CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. + (ADJUST_CHAR_POS, combine_bytes, byte_combining_error) + (CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. (copy_text): Delete unused local varialbe c_save. For converting to multibyte, be sure to make all 8-bit characters in valid multibyte form. (count_size_as_multibyte): Handle 8-bit characters correctly. - (insert_1_both, insert_from_string_1, insert_from_buffer_1, - adjust_after_replace, replace_range, del_range_2) + (insert_1_both, insert_from_string_1, insert_from_buffer_1) + (adjust_after_replace, replace_range, del_range_2) [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. - (insert_1_both, insert_from_string_1, insert_from_buffer_1, - adjust_after_replace, replace_range, del_range_2) Delete codes for + (insert_1_both, insert_from_string_1, insert_from_buffer_1) + (adjust_after_replace, replace_range, del_range_2) Delete codes for handling byte combining. (adjust_before_replace): Deleted. * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. - (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE - unconditionally. + (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE unconditionally. (Fkey_description): Likewise. * lread.c (read1): On reading multibyte string, be sure to make @@ -8230,18 +8472,15 @@ (read_process_output): Setup src_multibyte and dst_multibyte members of struct coding. If the output is to multibyte buffer, always decode the output of the process. Adjust the - representation of 8-bit characters to the multibyteness of the - output. + representation of 8-bit characters to the multibyteness of the output. (send_process): Setup coding->src_multibyte according to the multibyteness of the source. - * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE - unconditionally. + * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE unconditionally. (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. - * term.c (produce_special_glyphs): Use CHAR_BYTES instead of - CHAR_LEN. + * term.c (produce_special_glyphs): Use CHAR_BYTES instead of CHAR_LEN. * w16select.c (Fw16_set_clipboard_data): Setup members src_multibyte and dst_multibyte of coding. Adjusted for the @@ -8259,10 +8498,8 @@ * xdisp.c (get_next_display_element): Handle 8-bit characters correctly. - (next_element_from_display_vector): Use CHAR_BYTES instead of - CHAR_LEN. - (disp_char_vector): Use SPLIT_CHAR instead of - SPLIT_NON_ASCII_CHAR. + (next_element_from_display_vector): Use CHAR_BYTES instead of CHAR_LEN. + (disp_char_vector): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. * xselect.c (selection_data_to_lisp_data): Setup members src_multibyte and dst_multibyte of coding. Adjusted for the @@ -8271,8 +8508,7 @@ 2000-05-19 Gerd Moellmann - * buffer.c (Fbury_buffer): Avoid trouble from burying a killed - buffer. + * buffer.c (Fbury_buffer): Avoid trouble from burying a killed buffer. * dispextern.h (Vimage_types): Add extern declaration. @@ -8328,8 +8564,7 @@ 2000-05-15 Eli Zaretskii - * window.c (coordinates_in_window): Subtract 1 when computing - right_x. + * window.c (coordinates_in_window): Subtract 1 when computing right_x. 2000-05-15 Gerd Moellmann @@ -8414,8 +8649,7 @@ 2000-05-01 Kenichi Handa * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. - Check Vfont_encoding_alist against the full name of the opened - font. + Check Vfont_encoding_alist against the full name of the opened font. 2000-04-28 Gerd Moellmann @@ -8474,8 +8708,7 @@ 2000-04-25 Gerd Moellmann * xdisp.c (try_window_id) : Adjust - positions in glyph matrix. Don't compute new window end - positions. + positions in glyph matrix. Don't compute new window end positions. * dispnew.c (increment_matrix_positions): Renamed from increment_glyph_matrix_buffer_positions. @@ -8636,8 +8869,7 @@ 2000-04-14 Gerd Moellmann * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. - (fill_in_lock_file_name): Avoid existing files that aren't - links. + (fill_in_lock_file_name): Avoid existing files that aren't links. 2000-04-14 Dave Love @@ -8662,11 +8894,9 @@ 2000-04-13 Gerd Moellmann - * tparam.c (tparam1): Abort when encountering an unknown - `%'-specifier. + * tparam.c (tparam1): Abort when encountering an unknown `%'-specifier. - * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as - terminfo.o. + * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as terminfo.o. * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define as TERMCAP_OBJ. @@ -8709,8 +8939,7 @@ 2000-04-09 Gerd Moellmann - * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New - variable. + * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New variable. (realize_tty_face): Suppress boldness if colors are the inverse of the default colors, and tty_suppress_bold_inverse_default_colors_p is set. @@ -8729,8 +8958,7 @@ * coding.c (code_convert_string_norecord): Pass an int, not a lisp object, as the fourth argument to code_convert_string. - * fontset.c (make_fontset_for_ascii_face): Use XINT on return - value. + * fontset.c (make_fontset_for_ascii_face): Use XINT on return value. (Fset_fontset_font): Use EQ to compare lisp objects. 2000-04-05 Ken Raeburn @@ -8742,14 +8970,14 @@ have intervals. (GET_INTERVAL_OBJECT): Simply assign to the destination. - * dispnew.c (allocate_matrices_for_frame_redisplay, - direct_output_forward_char): Use X(U)INT and make_number as needed + * dispnew.c (allocate_matrices_for_frame_redisplay) + (direct_output_forward_char): Use X(U)INT and make_number as needed to convert between (unsigned) int values and lisp integers. * keyboard.c (read_key_sequence): Likewise. * lread.c (substitute_object_recurse): Likewise. * fns.c (concat, hash_lookup, hash_remove): Likewise. - * minibuf.c (do_completion, Fminibuffer_complete_word, - Fminibuffer_completion_help): Likewise. + * minibuf.c (do_completion, Fminibuffer_complete_word) + (Fminibuffer_completion_help): Likewise. * term.c (produce_special_glyphs): Likewise. * fileio.c (Fwrite_region): Use EQ when comparing lisp objects. @@ -8828,11 +9056,9 @@ non-union-type versions of XMARK and friends here, because XMARK and friends won't work on an integer field if NO_UNION_TYPE is not defined. - (make_number): Define as a function if it's not defined as a - macro. + (make_number): Define as a function if it's not defined as a macro. - * composite.c (run_composite_function): Use NILP when checking for - nil. + * composite.c (run_composite_function): Use NILP when checking for nil. (syms_of_composite): Delete local var NARGS, pass an int as first argument to Fmake_hash_table. @@ -8855,8 +9081,7 @@ 2000-04-01 Ken Raeburn * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues - with int lvalues via casts; instead, just yield lisp object - lvalues. + with int lvalues via casts; instead, just yield lisp object lvalues. (enlarge_window): Variable sizep now points to Lisp_Object. Use proper accessor macros. (shrink_window_lowest_first): w->top is Lisp_Object; use XINT. @@ -8906,18 +9131,17 @@ * lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef. - * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, - XSUBR, XBUFFER): Verify correct object type before returning + * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW) + (XSUBR, XBUFFER): Verify correct object type before returning pointer, using eassert. * frame.h (XFRAME): Likewise. - * buffer.c (Frename_buffer, Fset_buffer_multibyte, - swap_out_buffer_local_variables, Fmove_overlay): Don't apply - XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong - type. + * buffer.c (Frename_buffer, Fset_buffer_multibyte) + (swap_out_buffer_local_variables, Fmove_overlay): Don't apply + XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong type. * data.c (set_internal): Likewise. - * dispextern.h (WINDOW_WANTS_MODELINE_P, - WINDOW_WANTS_HEADER_LINE_P): Likewise. + * dispextern.h (WINDOW_WANTS_MODELINE_P) + (WINDOW_WANTS_HEADER_LINE_P): Likewise. * fileio.c (auto_save_1): Likewise. * insdel.c (check_markers): Likewise. * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. @@ -8935,8 +9159,7 @@ * alloc.c (xstrdup): Moved here from xfaces.c. (allocating_for_lisp): Variable removed. - (lisp_malloc): Block input around the calls to malloc and - mem_insert. + (lisp_malloc): Block input around the calls to malloc and mem_insert. * xfaces.c (realize_tty_face): Use find_symbol_value instead of Fsymbol_value. @@ -8954,19 +9177,17 @@ interval pointer and Lisp_Object; add new bitfield to use as discriminant. Change other flag fields to bitfields. (CHECK): New macro for consistency checking. If ENABLE_CHECKING - is defined and the supplied test fails, print a message and - abort. - (eassert): New macro. Use CHECK to provide an assert-like - facility. + is defined and the supplied test fails, print a message and abort. + (eassert): New macro. Use CHECK to provide an assert-like facility. * intervals.h (NULL_INTERVAL_P): Now applies only to real interval pointers; abort if the value looks like a lisp object. - (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, - SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): + (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT) + (SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): Modify for new interval parent definition. - * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, - UNMARK_BALANCE_INTERVALS): Update references that need an + * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE) + (UNMARK_BALANCE_INTERVALS): Update references that need an addressable lisp object in the interval structure. (die): New function. (suppress_checking): New variable. @@ -8986,8 +9207,7 @@ 2000-03-29 Kenichi Handa * search.c (Freplace_match): Adjust multibyteness of the current - buffer and NEWTEXT. Free allocated memory before signaling an - error. + buffer and NEWTEXT. Free allocated memory before signaling an error. 2000-03-28 Stefan Monnier @@ -9002,8 +9222,7 @@ 2000-03-28 Dave Love - * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, - alpha. + * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha. * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. @@ -9045,8 +9264,7 @@ * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS with parameter MULTIBYTE_P. - * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter - MULTIBYTE_P. + * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter MULTIBYTE_P. * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte buffers because it looks for multibyte character byte sequences @@ -9091,8 +9309,8 @@ 2000-03-26 Stefan Monnier * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop. - (print_partial_compiled_pattern, re_compile_fastmap): Handle new - opcode. + (print_partial_compiled_pattern, re_compile_fastmap): + Handle new opcode. (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops. (re_match_2_internal): Add code for on_failure_jump_nastyloop when executing it as well as when popping it off the stack to find infinite @@ -9127,8 +9345,7 @@ (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. - * print.c (print_object): Use new macros for per-buffer - variables. + * print.c (print_object): Use new macros for per-buffer variables. * category.c (Fset_category_table): Use new macros for per-buffer variables. @@ -9144,8 +9361,7 @@ * syntax.c (Fset_syntax_table): Use new macros for per-buffer variables. - * lread.c (defvar_per_buffer): Use new macros for per-buffer - variables. + * lread.c (defvar_per_buffer): Use new macros for per-buffer variables. * data.c (do_symval_forwarding, store_symval_forwarding) (find_symbol_value, set_internal, default_value, Fset_default) @@ -9198,9 +9414,9 @@ * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. (Vw32_charset_to_codepage_alist): Removed. (Vw32_charset_info_alist): New variable. - (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, - chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, - greek, hebrew, thai, johab, mac, unicode]): New symbols. + (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312) + (chinesebig5, oem, easteurope, turkish, baltic, russian, arabic) + (greek, hebrew, thai, johab, mac, unicode]): New symbols. (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace with TODO comment. (w32_codepage_for_font): Use Vw32_charset_info_alist. @@ -9219,8 +9435,8 @@ (Fx_close_connection): Free full_name if it is not shared. * w32term.c: Include fontset.h after dispextern.h. - (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers - updated. + (x_get_glyph_face_and_encoding): New parameter two_byte_p. + Callers updated. (w32_per_char_metric): If PCM is invalid, delete and return NULL. (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. (w32_font_is_double_byte): New function, needs body. @@ -9246,21 +9462,21 @@ * intervals.h (NULL_INTERVAL): Cast to INTERVAL type. (INT_LISPLIKE): New macro. (NULL_INTERVAL_P): Use it. - (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT, - SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT, - GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. + (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT) + (SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT) + (GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. * alloc.c (make_interval, gc_sweep): Use new macros; eliminate all explicit references to "parent" field of struct interval and associated unclean type conversions. - * intervals.c (create_root_interval, root_interval, rotate_right, - rotate_left, balance_possible_root_interval, split_interval_right, - split_interval_left, interval_start_pos, find_interval, - next_interval, previous_interval, update_interval, - adjust_intervals_for_insertion, delete_node, delete_interval, - adjust_intervals_for_deletion, merge_interval_right, - merge_interval_left, reproduce_tree, graft_intervals_into_buffer, - copy_intervals_to_string): Likewise. + * intervals.c (create_root_interval, root_interval, rotate_right) + (rotate_left, balance_possible_root_interval, split_interval_right) + (split_interval_left, interval_start_pos, find_interval) + (next_interval, previous_interval, update_interval) + (adjust_intervals_for_insertion, delete_node, delete_interval) + (adjust_intervals_for_deletion, merge_interval_right) + (merge_interval_left, reproduce_tree, graft_intervals_into_buffer) + (copy_intervals_to_string): Likewise. * intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL): Likewise. * syntax.c (update_syntax_table): Likewise. @@ -9298,8 +9514,8 @@ 2000-03-22 Kenichi Handa - * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, - FACE_FOR_CHAR): Define them differently for the configuration of + * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P) + (FACE_FOR_CHAR): Define them differently for the configuration of --without-x. 2000-03-21 Dave Love @@ -9331,43 +9547,41 @@ (FACE_SUITABLE_FOR_CHAR_P): Renamed from FACE_SUITABLE_FOR_CHARSET_P. Caller changed. (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. - (struct it): Delete member charset, new member - glyph_not_available_p. + (struct it): Delete member charset, new member glyph_not_available_p. * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. (struct fontset_info, struct fontset_data): Structs removed. - (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, - Vglobale_fontset_alist, font_idx_temp): Externs removed. + (allloc_fontset_data, free_fontset_data, fs_regiser_fontset) + (Vglobale_fontset_alist, font_idx_temp): Externs removed. (fs_load_font, fs_query_fontset): Adjusted for new argument. - (fs_free_face_fontset, fontset_font_pattern, - face_suitable_for_char_p, face_for_char, - make_fontset_for_ascii_face): Extern them. + (fs_free_face_fontset, fontset_font_pattern) + (face_suitable_for_char_p, face_for_char) + (make_fontset_for_ascii_face): Extern them. (FS_LOAD_FONT): Adjusted for the change of fontset implementation. (FS_LOAD_FACE_FONT): New macro. * fontset.c: All codes rewritten or adjusted for the change of fontset implementation. Now fontset is represented by char table. - (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables - removed. + (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): + Variables removed. (my_strcasecmp): Function removed. - (Vfontset_table, next_fontset_id, Vdefault_fontset): New - variables. + (Vfontset_table, next_fontset_id, Vdefault_fontset): New variables. (AREF, ASIZE): New macros. - (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, - FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, - FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. - (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, - fontset_id_valid_p, font_family_registry, fontset_name, - fontset_ascii, free_face_fontset, face_suitable_for_char_p, - face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): + (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME) + (FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF) + (FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. + (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset) + (fontset_id_valid_p, font_family_registry, fontset_name) + (fontset_ascii, free_face_fontset, face_suitable_for_char_p) + (face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): New functions. (fs_load_font): New arg FACE. Caller changed. (fs_query_fontset): Argument changed. Caller changed. (Fquery_fontset): call fs_query_fontset. (fs_register_fontset, alloc_fontset_data, free_fontset_data): Functions removed. - (clear_fontset_elements, check_registry_encoding, - check_fontset_name): New functions. + (clear_fontset_elements, check_registry_encoding) + (check_fontset_name): New functions. (syms_of_fontset): Set char-table-extra-slots property of fontset to 3. Staticpro and initialize Vfontset_table and Vdefault_fontset. Defsubr fontset_font and fontset_list. @@ -9382,13 +9596,13 @@ * xdisp.c (charset_at_position): Function removed. (init_iterator): Don't set member charset of struct `it'. - (handle_face_prop, reseat_to_string, set_iterator_to_next, - next_element_from_display_vector, insert_left_trunc_glyphs): + (handle_face_prop, reseat_to_string, set_iterator_to_next) + (next_element_from_display_vector, insert_left_trunc_glyphs): Likewise. (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. - (get_next_display_element, append_space, - extend_face_to_end_of_line): Likewise. + (get_next_display_element, append_space) + (extend_face_to_end_of_line): Likewise. * xfaces.c (Qx_charset_registry, Vface_default_registry): Variables removed. @@ -9410,8 +9624,8 @@ (make_realized_face): Arguent changed. Caller changed. Set face->ascii_face to face itself. (free_realized_face): Free face->fontset if face is for ASCII. - (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, - deduce_unibyte_registry, x_charset_registry): Functions removed. + (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p) + (deduce_unibyte_registry, x_charset_registry): Functions removed. (free_realized_multibyte_face): New function. (lookup_face, lookup_named_face, lookup_derived_face): Argument changed. Caller changed. @@ -9422,12 +9636,10 @@ (realize_default_face, realize_named_face): Don't remove the former face here. (realize_face): Argument changed. Caller changed. Remove face - with the arg former_face_id in advance. Load font for the new - face. + with the arg former_face_id in advance. Load font for the new face. (realize_x_face): Argument changed. Caller changed. For a multibyte character, share fontset with base_face. For a single - byte character, make a new realized fontset. Don't load a font - here. + byte character, make a new realized fontset. Don't load a font here. (realize_tty_face): Argument changed. Caller changed. (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. (face_at_buffer_position): Don't check multibyte_p for returning @@ -9443,8 +9655,7 @@ pcm->width is zero, glyph bits may exist. (x_encode_char): Always initialize char2b->byte1. (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. - (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller - changed. + (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller changed. (x_append_glyph): Set glyph->glyph_not_available_p. (x_produce_glyphs): Set it->glyph_not_available_p. Don't set it->charset. Handle the case that per char metric is not @@ -9547,8 +9758,7 @@ (group_in_compile_stack): Move to after its arg's types are declared and add a prototype. (PATFETCH): Define in terms of PATFETCH_RAW. - (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' - wrapper. + (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' wrapper. (QUIT): Redefine as a nop except for NTemacs. (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix indentation of the greedy-op and shy-group code. @@ -9585,8 +9795,7 @@ * s/sol2.h (INHIBIT_X11R6_XIM): Define. * xfns.c (X_I18N_INHIBITED): Don't define. - (create_frame_xic): Remove conditional compilation on - X_I18N_INHIBITED. + (create_frame_xic): Remove conditional compilation on X_I18N_INHIBITED. (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. * config.in (HAVE_X_I18N): Moved here from xterm.h. @@ -9602,8 +9811,7 @@ * regex.c: Declare a new type `re_char' used throughout the code for the string char type. It's `const unsigned char' to match the rest of Emacs. Consistently make sure all pointers to strings use - it and make sure all pointers into the pattern use `unsigned - char'. + it and make sure all pointers into the pattern use `unsigned char'. (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce code duplication. @@ -9633,8 +9841,7 @@ * window.c (Fsave_window_excursion): Doc fix. - * xfns.c (x_defined_color): Rewritten to use - x_allocate_nearest_color. + * xfns.c (x_defined_color): Rewritten to use x_allocate_nearest_color. 2000-03-12 Eli Zaretskii @@ -9674,8 +9881,7 @@ on_failure_jump_(exclusive, loop and smart). Also fix the comment for (start|stop)_memory since they now only take one argument (the second has becomes unnecessary). - (print_partial_compiled_pattern): Adjust for changes in - re_opcode_t. + (print_partial_compiled_pattern): Adjust for changes in re_opcode_t. (print_compiled_pattern): Use %ld to printf long ints and flush to make debugging a little easier. (union fail_stack_elt): Make the integer unsigned. @@ -9688,8 +9894,8 @@ (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) (TOP_FAILURE_HANDLE): New macros for the cycle detection. (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). - (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New - macros. + (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): + New macros. (PUSH_FAILURE_POINT): Don't push registers any more. The pattern address pushed is not the destination of the jump but the source of it instead. @@ -9722,8 +9928,8 @@ (skip_noops, mutually_exclusive_p): New functions taken from the handling of `maybe_pop_jump' in re_match_2_internal. Slightly improve mutually_exclusive_p to handle ".+\n". - (lowest_active_reg, highest_active_reg, - NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. + (lowest_active_reg, highest_active_reg) + (NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. (re_match_2_internal): Use %p instead of 0x%x when printf'ing ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead variables. Push register (in `start_memory') on the stack rather @@ -9757,8 +9963,7 @@ * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. - * xdisp.c (display_echo_area): Temporarily inhibit garbage - collection. + * xdisp.c (display_echo_area): Temporarily inhibit garbage collection. * xfns.c: Remove obsolete code in #if 0. (Fx_focus_frame): New function. @@ -9784,14 +9989,14 @@ (detect_coding_system): Remove `nil' coding-system in the result. (Fupdate_coding_systems_internal): Update all coding-categories. - * coding.h (CODING_CATEGORY_IDX_UTF_8, - CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New - macros. - (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, - CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. - CODING_CATEGORY_IDX_UTF_16_LE. - (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, - CODING_CATEGORY_MASK_UTF_16_LE): New macros. + * coding.h (CODING_CATEGORY_IDX_UTF_8) + (CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): + New macros. + (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY) + (CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. + (CODING_CATEGORY_IDX_UTF_16_LE) + (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE) + (CODING_CATEGORY_MASK_UTF_16_LE): New macros. (CODING_CATEGORY_MASK_ANY): Include the above macros. (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. @@ -9857,8 +10062,7 @@ * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) (lookup_pixel_color, x_laplace, x_build_heuristic_mask) (png_load): Access colormap of frame using FRAME_X_COLORMAP. - (x_decode_color): Don't handle allocation of white and black - specially. + (x_decode_color): Don't handle allocation of white and black specially. (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and XtNcolormap resources. (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. @@ -9935,8 +10139,8 @@ * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. - * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use - x_free_colors. + * xterm.c (x_alloc_lighter_color, x_setup_relief_color): + Use x_free_colors. * dispextern.h (x_free_colors): Add prototype. @@ -10076,8 +10280,8 @@ * xfns.c (inhibit_busy_cursor, busy_count): Removed. (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. - (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New - variables. + (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): + New variables. (DEFAULT_BUSY_CURSOR_DELAY): New define. (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) (hide_busy_cursor): New functions. @@ -10149,8 +10353,7 @@ (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are nonzero, treat all multibyte characters as symbol. - (init_syntax_once): Give syntax `word' to all multibyte - characters. + (init_syntax_once): Give syntax `word' to all multibyte characters. 2000-02-22 Eli Zaretskii @@ -10343,8 +10546,7 @@ 2000-02-12 Dave Love - * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on - Alpha. + * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on Alpha. 2000-02-12 Gerd Moellmann @@ -10369,8 +10571,7 @@ * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register unwind function to undo the effect of stopping atimers. - * keyboard.c (bind_polling_period): Stop all timers except - poll_timer. + * keyboard.c (bind_polling_period): Stop all timers except poll_timer. * atimer.c (stopped_atimers): New variable. (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): @@ -10459,8 +10660,7 @@ 2000-02-05 INOUE Seiichiro - * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit - area. + * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit area. (x_display_cursor) [HAVE_X_I18N]: Don't set it here. (XTread_socket) [HAVE_X_I18N]: : Don't dispatch the event. @@ -10514,8 +10714,7 @@ * eval.c: Fix various doc strings not to duplicate information from help-manyarg-func-alist. - * window.c (Fset_window_margins): Don't make interactive. Doc - fix. + * window.c (Fset_window_margins): Don't make interactive. Doc fix. * doc.c (Vhelp_manyarg_func_alist): New variable. (Fdocumentation): Use it. @@ -10525,8 +10724,7 @@ * xterm.c (xim_open_dpy): Remove unused local variable. - * emacs.c (USAGE): Use term `display options' instead of `X - options'. + * emacs.c (USAGE): Use term `display options' instead of `X options'. * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. @@ -10607,8 +10805,7 @@ our frames, call XFilterEvent with 2nd parameter `None'. (XTread_socket) [HAVE_X_I18N]: Handle XmbLookupString returning XBufferOverflow. - (XTread_socket) [HAVE_X_I18N]: Set XIC status - area. + (XTread_socket) [HAVE_X_I18N]: Set XIC status area. (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) @@ -10650,8 +10847,7 @@ Support for the menu-help feature: - * msdos.h: Change prototypes of XMenuAddSelection and - XMenuActivate. + * msdos.h: Change prototypes of XMenuAddSelection and XMenuActivate. * msdos.c (IT_clear_end_of_line): Print the extent of the cleared part of the line to the termscript file. @@ -10735,8 +10931,7 @@ * lisp.h (popup_activated_flag): Add extern declaration. * xmenu.c (popup_activated_flag): Make externally visible. - (popup_activate_callback) [USE_MOTIF]: Increment - popup_activated_flag. + (popup_activate_callback) [USE_MOTIF]: Increment popup_activated_flag. (popup_deactivate_callback) [USE_MOTIF]: Decrement it. * xterm.c (toplevel): Include atimer.h. @@ -10770,8 +10965,7 @@ here. Callers changed to always pass real device context. (w32_draw_bitmap): Likewise. (w32_get_glyph_overhangs): Likewise. - (w32_draw_box_rect): Make use of s->hdc rather than getting a new - one. + (w32_draw_box_rect): Make use of s->hdc rather than getting a new one. (w32_set_vertical_scroll_bar): Pass correct HWND parameters to pfnSetScrollInfo and SetScrollRange. (x_get_char_face_and_encoding): Don't turn iso8859-1 characters @@ -10795,14 +10989,12 @@ (change_line_highlight): New prototype for new redisplay. (write_glyphs): Support multibyte text. Support faces. - * w32faces.c: Complete rewrite for new redisplay based on new - xfaces.c. + * w32faces.c: Complete rewrite for new redisplay based on new xfaces.c. * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame throughout. struct frame * in place of FRAME_PTR. Skeleton support for images, toolbars, tooltips from xfns.c. - (Fx_create_frame): Use system default for default scroll bar - width. + (Fx_create_frame): Use system default for default scroll bar width. (w32_get_arg): Renamed from x_get_arg. (Fx_file_dialog): New function. (w32_list_fonts): Check cache before asking system. @@ -10847,12 +11039,10 @@ * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. - * xfns.c (x_window): Call lw_create_widget with new parameter - list. + * xfns.c (x_window): Call lw_create_widget with new parameter list. * widget.c (EmacsFrameSetCharSize): Change size of children first - because of problems with main window geometry management under - Lesstif. + because of problems with main window geometry management under Lesstif. * xmenu.c (enum menu_item_idx): New enumeration replacing defines MENU_ITEMS_ITEM_.*. @@ -10887,8 +11077,7 @@ 2000-01-11 Gerd Moellmann - * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, - xprintsym. + * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, xprintsym. 2000-01-11 Richard M. Stallman @@ -10947,8 +11136,7 @@ * lisp.h: Add prototype for allocate_string_data. - * alloc.c (Fgarbage_collect): Return number of live and free - strings. + * alloc.c (Fgarbage_collect): Return number of live and free strings. * alloc.c (mark_buffer): Remove code in #if 0. (gc_sweep): Ditto. @@ -11027,16 +11215,14 @@ back-ground colors. (Finternal_set_lisp_face_attribute): Remove the special treatment for Qunspecified_{f,b}g. - (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp - string. + (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp string. 2000-01-03 Gerd Moellmann * xdisp.c (reseat_at_next_visible_line_start): Position before newline only if ending up on a newline. (next_element_from_ellipsis): Return success. Handle case of - displaying no ellipsis. Fix case of ellipsis defined in display - table. + displaying no ellipsis. Fix case of ellipsis defined in display table. (next_element_from_buffer): Return 0 if next_element_from_ellipsis returns 0. @@ -11053,8 +11239,7 @@ (realize_tty_face): tty-color-alist is now a function which accepts the frame as argument. - * term.c (Ftty_display_color_p): Accept an optional argument - FRAME. + * term.c (Ftty_display_color_p): Accept an optional argument FRAME. 2000-01-02 Eli Zaretskii