X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ce20e03e00355396a9ef1c8678d2368720c5dc73..1255b58ae9bbc3d9c8d6f426ec22facbc307fa04:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index b20c6d3b71..355b0203f0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,8 +1,1009 @@ -2002-10-28 Juanma Barranquero +2003-01-17 Kenichi Handa + + * editfns.c (Fformat): Convert an unibyte char argument that is + formatted by "%c" to multibyte if the total result must be a + multibyte string. + +2003-01-16 Kim F. Storm + + * process.c (set-process-filter): Document unibyte/multibyte-ness + of string argument. + +2003-01-16 Kenichi Handa + + * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. + + * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. + (re_search_2): Likewise. + +2003-01-15 Kenichi Handa + + * xdisp.c (message_dolog): Fix bug of the case that *Message* + buffer is unibyte. + +2003-01-15 Francesco Potort,Al(B + + * fns.c (Fsubstring): Clarify doc string. + + * textprop.c (Ftext_properties_at, Fnext_char_property_change) + (Fprevious_char_property_change) + (Fnext_single_char_property_change) + (Fprevious_single_char_property_change, Fnext_property_change) + (Fnext_single_property_change, Fprevious_property_change) + (Fprevious_single_property_change, Fadd_text_properties) + (Fput_text_property, Fset_text_properties) + (Fremove_text_properties, Fremove_list_of_text_properties) + (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. + +2003-01-14 Kim F. Storm + + * process.h (struct Lisp_Process): New member plist replaces old + member private_vars. All uses changed. + + * process.c: Reworked 2003-01-12 change -- call a plist a plist! + (QCplist): Renamed from QCvars. All uses changed. + (Fprocess_plist): Replaces Fprocess_variable. Simplified. + (Fset_process_plist): Replaces Fset_process_variable. Simplified. + (syms_of_process): Intern, staticpro, defsubr these. + (Fmake_network_process): Describe :plist arg. Removed :vars arg. + +2003-01-14 Francesco Potort,Al(B + + * m/delta.h: Removed (obsolete). + +2003-01-13 Francesco Potort,Al(B + + * fileio.c (Fdelete_directory, Fdelete_file): Document the + behaviour in front of symlinks. + (Fdelete_file): Raise an error on directories. + +2003-01-13 Dave Love + + * fns.c (Freverse): Use QUIT. + +2003-01-13 Richard M. Stallman + + * minibuf.c (minibuffer_completion_contents): + Error if point is inside prompt. + + * keyboard.c (command_loop_1): Don't redisplay directly + if there's a post-command-hook. + + * fileio.c (syms_of_fileio) : Doc fix. + (Fdo_auto_save): Add gcpros around Ffile_name_directory. + +2003-01-12 Kim F. Storm + + * process.h (struct Lisp_Process): New member private_vars. + + * process.c (QCvars): New variable. + (syms_of_process): Intern and staticpro it. + (Fset_process_contact): Removed function. + (Fprocess_variable, Fset_process_variable): New functions. + (syms_of_process): Defsubr them. + (Fstart_process): Initialize private_vars plist to nil. + (Fmake_network_process): New arg :vars to setup the private + variables for new network process. + (server_accept_connection): Copy server's private variables to + client process. + + * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious + crashes). Code rewritten and simplified. Now directly aligns the + pointer and recalculates pure_bytes_used, rather than aligning the + size and adjusting the pointer. + +2003-01-11 Kim F. Storm + + * process.c (Fset_process_contact): New function. + (syms_of_process): defsubr it. + (make-network-process): Update doc. + +2003-01-10 Andreas Schwab + + * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. + Reported by Berthold Gunreben . + +2003-01-10 Dave Love + + * composite.c (syms_of_composite): Make composition_hash_table + weak. + +2003-01-09 Kim F. Storm + + * process.c (Fmake_network_process): Convert new port number + to host byte order for `:service t' case. From Mario Lang. + +2003-01-08 Jan D. + + * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event + instead of XtAppProcessEvent. + + * xterm.c (handle_one_xevent): New function + (x_dispatch_event): New function + (XTread_socket): Call handle_one_xevent. + + * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): Added + + * xmenu.c (Fx_popup_menu): If popping up at mouse position, + call XQueryPointer to get coordinates. + (popup_get_selection): Do not set popup_activated_flag to zero, + let popup_deactivate_callback do that. Needed for Motif. + Call x_dispatch_event instead of XtDispatchEvent. + (xmenu_show): Calculate root coordinate from frame top/left position. + + +2003-01-08 Kim F. Storm + + * process.c (server_accept_connection): Fixed recording of new + connection's local address in :local property of contact info. + (Fmake_network_process): Record local network address for new + client processes in :local property of contact info. + (format-network-address): Added arg OMIT-PORT. Callers changed. + +2003-01-07 Dave Love + + * Makefile.in (fns.o): Depend on coding.h. + +2003-01-07 Markus Rost + + * minibuf.c (Fread_variable): Doc fix. + + * eval.c (Fuser_variable_p): Doc change. For custom variables, + use the same test as for custom-variable-p. + +2003-01-05 Richard M. Stallman + + * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. + Count LAST_LINE_MISFIT in scroll margin for end of window. + Move label too_near_end before setting SCROLL_MARGIN_POS. + Set LAST_LINE_MISFIT before jumping there. + + * xdisp.c (try_scrolling): Calculate amount_to_scroll better in + scroll_conservatively case. If scrolling that much doesn't change + STARTP, move it down one line. + + * xdisp.c (redisplay_window): Pass last_line_misfit arg to try_scrolling. + Make it 1 after make_cursor_line_fully_visible fails. + + * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no selected frame. + + * keymap.c (apropos_predicate, apropos_accumulate): Make them static. + (syms_of_keymap): staticpro them. + (Fapropos_internal): Initialize them and clear them out. + Don't GCPRO them. + + * buffer.c (syms_of_buffer) : + Doc fixes. + + * lisp.h: New misc type Lisp_Save_Value. + (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. + (XSAVE_VALUE): New macro. + (struct Lisp_Save_Value): New data type. + (union Lisp_Misc): Add u_save_value alternative. + (make_save_value): Declared. + + * alloc.c (make_save_value): New function. + + * xterm.c (x_catch_errors): Save dpy using make_save_value. + (x_catch_errors_unwind): Call XSync. + +2003-01-01 Richard M. Stallman + + * window.c (window_scroll_pixel_based): Partially undo last change. + + * keyboard.c (command_loop_1): Call adjust_point_for_property + in direct action cases for Qforward_char and Qbackward_char. + Set already_adjusted so it won't be done twice. + +2002-12-30 Richard Dawe (tiny change) + + * src/config.in (!HAVE_SIZE_T): Fix order of arguments in + type definition of size_t. + +2003-01-02 Steven Tamm + + * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to + distinguish Carbon GUI builds from X11 builds on darwin. + +2002-12-30 Steven Tamm + + * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 + to default to t. + +2002-12-29 Francesco Potort,Al(B + + * data.c (Fstring_to_number, Fminus): Better English in doc strings. + +2002-12-28 Steven Tamm + + * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to + allow building in a different directory than source. Uses some + GNU Make extensions, but there is no other make on Mac OS X. + +2002-12-26 Francesco Potort,Al(B + + * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) + (Fsetq_default, Fmake_local_variable, Fkill_local_variable) + (Fmake_variable_frame_local, Faset, Fnumber_to_string) + (Fstring_to_number, Fminus): Mention the returned value in the doc + strings. + +2002-12-23 Richard M. Stallman + + * buffer.c (syms_of_buffer) + : Doc fix. + + * xmenu.c (parse_single_submenu): Use individual keymap's prompt + string as pane name, if there is one. + (set_frame_menubar): Save menu_items_n_panes from each call to + parse_single_submenu and use it when calling digest_single_submenu. + + * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. + Don't try to make last line fully visible if it is past end of window. + +2002-12-22 Steven Tamm + + * macmenu.c (MIN_POPUP_SUBMENU_ID): Added + (mac_menu_show): Added support for hierarchical popup menus + (add_menu_item): Removed indentation support + (fill_submenu, fill_menu): Now creates hierarchical menus + instead of using indentation + +2002-12-22 Richard M. Stallman + + * xdisp.c (try_cursor_movement): Don't call try_window here. + (redisplay_window): Never redisplay minibuffer when inactive. + + * window.c (select_window_1): Undo 9/21 change. + +2002-12-22 Steven Tamm + + * macterm.c (XTread_socket): Call KeyTranslate for control and + meta to deal correctly shifted non-alpha characters, like C-S-5 + being treated like C-%. Does not look for shift key to deal + with masking off control-key with mac-reverse-ctrl-meta. + +2002-12-21 Richard M. Stallman + + * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. + If it is non-nil, run timers. Use an unwind-protect to requeue + the events that were read ahead. + (popup_get_selection_unwind): New subroutine. + (popup_get_selection_queue): File-scope variable now holds that queue. + (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. + (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. + Use an unwind-protect to pop down the dialog box. + (xdialog_show_unwind): New subroutine implements that. + + * xdisp.c (row_containing_pos): Change exit test using last_y. + (try_window_id): Abort if row_containing_pos returns null. + + * lread.c (load_error_handler): New function. + (Fload): Handle errors in Fsubstitute_in_file_name. + Don't expect Fsignal to return. + + * Errors and throws work right with interrupt blocking. + * eval.c (struct catchtag): New elt interrupt_input_blocked. + (unwind_to_catch): Restore interrupt_input_blocked from saved value. + (internal_catch, Fcondition_case, internal_condition_case) + (internal_condition_case_1, internal_condition_case_2): Save it. + (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. + + * editfns.c (Fformat): Add parens. + + * dired.c (file_name_completion): Fix that change. + Delete special quit-handling code; just use QUIT. + +2002-12-21 Tak Ota (tiny change) + + * dired.c (file_name_completion): Close directory on error + just as in directory_files_internal. + +2002-12-19 David Kastrup + + * window.c (Fset_window_configuration): Set old_point to correct + value when new_current_buffer == current_buffer. + +2002-12-17 Ben Key + + * Revisited my earlier fix for the following entry in + etc/PROBLEMS: + "Emacs built on Windows 9x/ME crashes at startup on Windows XP, + or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." + + These changes were in part based upon suggestions made by Peter + 'Luna' Runestig [peter@runestig.com]. + + * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, + g_b_init_get_token_information, g_b_init_lookup_account_sid, + g_b_init_get_sid_identifier_authority ): Added several static + global variables. + + * w32.c (globals_of_w32): New function. Used to initialize those + global variables that must always be initialized on startup even + when the global variable initialized is non zero. Its primary + purpose at this time is to set the global variables + g_b_init_is_windows_9x, g_b_init_open_process_token, + g_b_init_get_token_information, g_b_init_lookup_account_sid, and + g_b_init_get_sid_identifier_authority to 0 on startup. Called + from main. + + * w32.c (is_windows_9x): Perform initialization only if + g_b_init_is_windows_9x is equal to 0. On initialization set + g_b_init_is_windows_9x equal to 1. + + * w32.c (open_process_token): Perform initialization only if + g_b_init_open_process_token is equal to 0. On initialization set + g_b_init_open_process_token equal to 1. + + * w32.c (get_token_information): Perform initialization only if + g_b_init_get_token_information is equal to 0. On initialization + set g_b_init_get_token_information equal to 1. + + * w32.c (lookup_account_sid): Perform initialization only if + g_b_init_lookup_account_sid is equal to 0. On initialization + set g_b_init_lookup_account_sid equal to 1. + + * w32.c (get_sid_identifier_authority): Perform initialization + only if g_b_init_get_sid_identifier_authority is equal to 0. On + initialization set g_b_init_get_sid_identifier_authority equal to + 1. + + * w32fns.c (globals_of_w32fns): New function. Used to initialize + those global variables that must always be initialized on startup + even when the global variable initialized is non zero. Its + primary purpose at this time is to initialize the global variable + track_mouse_event_fn. + + * w32fns.c (w32_wnd_proc): Remove initialization of + track_mouse_event_fn from the handler for the WM_SETFOCUS + message. + + * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. + + * w32menu.c (globals_of_w32menu): New function. Used to + initialize those global variables that must always be initialized + on startup even when the global variable initialized is non zero. + Its primary purpose at this time is to initialize the global + variables get_menu_item_info and set_menu_item_info. + + * w32menu.c (initialize_frame_menubar): Remove initialization of + get_menu_item_info and set_menu_item_info. + + * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. + + * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): + Declare them. + + * emacs.c (main): Call globals_of_w32 prior to calling + init_environment if WINDOWSNT is defined. Call globals_of_w32fns + and globals_of_w32menu if initialized is non zero and HAVE_NTGUI + is defined. + + * w32term.c (x_update_window_begin): Fix Windows API error + detected by BoundsChecker. Test to determine if + w32_system_caret_hwnd is NULL prior to attempting to use + SendMessage to send the WM_EMACS_HIDE_CARET message to it. + + * w32term.c (x_update_window_end): Fix Windows API error + detected by BoundsChecker. Test to determine if + w32_system_caret_hwnd is NULL prior to attempting to use + SendMessage to send the WM_EMACS_SHOW_CARET message to it. + +2002-12-17 Kenichi Handa + + * coding.c (coding_system_require_warning): New variable. + (syms_of_coding): DEFVAR it. + + * coding.h (coding_system_require_warning): Extern it. + + * fileio.c (choose_write_coding_system): Even if + Vcoding_system_for_write is non-nil, if + coding_system_require_warning is nonzero, call + Vselect_safe_coding_system_function. + +2002-12-17 Markus Rost + + * Makefile.in (lisp, shortlisp): Add cus-face and timer. + (lisp): Add font-core. + +2002-12-13 Stefan Monnier + + * textprop.c (text_read_only): New arg `propval'. + (get_char_property_and_overlay): Remove unused var `next_overlay'. + (verify_interval_modification): Use text_read_only's new arg. + +2002-12-13 Kenichi Handa + + * coding.c (Funencodable_char_position): Set pend correctly. + +2002-12-12 Jason Rumney + + * w32term.c (last_mousemove_x, last_mousemove_y): New variables. + (w32_read_socket) : Use them to detect non-movement. + Be more careful about when help_events are generated. + +2002-12-12 Steven Tamm + + * macterm.c (mac_check_for_quit_char): Correctly set the + modifiers of the event to 0. + * mac.c (sys_select): Duplicate rfds before calling select to + ensure that rfds survive the while loop. + +2002-12-11 Kim F. Storm + + * xdisp.c (try_window_id): Don't call set_cursor_from_row if + row_containing_pos returned NULL. + +2002-12-10 Steven Tamm + + * mac.c (sys_read): Fixed sys_read to not call select if IO is + non-blocking. + (sys_select): Fixed sys_select to not use a timeout larger than + the one given. + +2002-12-10 Juanma Barranquero + + * editfns.c (Fformat): Use alloca, not _alloca. + +2002-12-09 Richard M. Stallman + + * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input + as the last thing. + +2002-12-09 Dave Love + + * s/sol2-8: Removed. (Not necessary.) + +2002-12-09 Matthew Swift + + * editfns.c (Fformat): Handle precision in string conversion + specifiers like libc functions do (ie, print at most that many + characters). + +2002-12-08 Richard M. Stallman + + * xdisp.c (row_containing_pos): Check more carefully + whether charpos is really in the row before returning it. + +2002-12-07 Steven Tamm + + * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. + + * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at + each stack frame. This may change as it could be time consuming. + + * macterm.c (mac_check_for_quit_char, quit_char_comp) + (init_quit_char_handler, mac_determine_quit_char_modifiers) + (mac_initialize): Added code to check for pressing of quit_char + in the OS event queue. + + * mac.c (sys_select): Call mac_check_for_quit_char every second + while blocking on select. + + * mac.c (sys_read): Use sys_select to test for input first + before calling read, to allow C-g to break. + +2002-12-07 Richard M. Stallman + + * minibuf.c (Fcompleting_read): Doc fix. + + * lread.c (syms_of_lread) : Doc fix. + + * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. + + * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an + autoload. + + * data.c (Fdefalias): Record in load-history redefining an autoload. + + * alloca.c: Undo ifdef change accidentally made on 12-04. + +2002-12-06 Francesco Potorti` + + * xfns.c (png_load): Avoid double gamma correction for PNG images. + +2002-12-04 Richard M. Stallman + + * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. + + * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. + + * alloca.c: Don't use #error. + +2002-12-03 Dave Love + + * buffer.c (Qucs_set_table_for_input): New. + (Fget_buffer_create): Use it. + (Qset_buffer_major_mode_hook): Deleted. + (Fset_buffer_major_mode): Revert previous change. + (init_buffer_once): Intern ucs-set-table-for-input. + (syms_of_buffer): Delete Qset_buffer_major_mode_hook. + Add &Qucs_set_table_for_input. + +2002-12-03 Andreas Schwab + + * callint.c (Fcall_interactively): Use next_event only if less + than key_count. + +2002-12-02 Andrew Choi + + * macmenu.c (add_menu_item, fill_menubar): Truncate menu item + names to 255 characters. + + * macterm.c (XTread_socket): If all frames have been collapsed, + expand the first one before handling drag-and-drop events. + + * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, + which is detected by autoconf. + +2002-12-01 Steven Tamm + + * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the + offset in two hints table to allow prebinding to be redone and + allow the executable to be stripped. + +2002-11-29 Dave Love + + * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was + already provided. + +2002-11-29 Richard M. Stallman + + * xdisp.c (start_display): Check more intelligently for + whether the line is continued. + (move_it_vertically_backward): Clear it->continuation_lines_width. + +2002-11-28 Dave Love + + * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: + * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) + +2002-11-27 Steven Tamm + + * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause + more descriptive error output from lread.c:Fload upon most require + cycles during boostrapping. + +2002-11-27 Jason Rumney + + * fileio.c (Finsert_file_contents): Give a more appropriate error + for files bigger than 2Gb when off_t is 32 bit. + + * dired.c (Ffile_attributes): Don't return negative file sizes for + files bigger than 2Gb when off_t is 32 bit. + +2002-11-27 Dave Love + + * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. + + * systty.h: Don't conditionally define GETPGRP_NO_ARG. + Test GETPGRP_VOID instead. + [BSD_TERMIOS]: Remove definitions (never used). + + * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): + Don't define. + (GC_SETJMP_WORKS, GC_MARK_STACK): Define. + + * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. + +2002-11-25 Jason Rumney + + * w32.c (sys_write): Avoid non-blocking mode, which is not fully + supported. + +2002-11-25 Dave Love + + * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. + + * Makefile.in (TEMACS_LDFLAGS): Update last change. + +2002-11-25 Andreas Schwab + + * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. + +2002-11-24 Steven Tamm + + * unexmacosx.c (unexec_realloc): Use malloc_default_zone to + determine the size of pointers alloced in unexed space instead + of using possibly invalid emacs_zone pointers. This fixes the + binary incompatibility problems caused by updates to libSystem.B. + +2002-11-24 Richard M. Stallman + + * search.c (Fstring_match): Doc fix. + + * callint.c (Fcall_interactively): If a command fails because + `*' detects a read-only buffer, but RECORD_FLAG is set, + record it anyway if the args don't actually do tty input. + +2002-11-22 Dave Love + + * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. + + * keyboard.c (interrupt_signal): Provide forward declaration. + (kbd_buffer_store_event): Don't declare interrupt_signal. + + * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. + +2002-11-21 Richard M. Stallman + + * eval.c (interactive_p): Skip any number of bytecode + and special form frames, in any order. + +2002-11-20 Jason Rumney + + * w32fns.c (convert_mono_to_color_image): New function. + (xbm_load, xbm_load_image): Use it when foreground or background + is explicitly set. + +2002-11-19 Dave Love + + * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. + +2002-11-18 Jason Rumney + + * w32fns.c (x_build_heuristic_mask): Filter palette info from color. + (XPutPixel): Swap blue and red. + (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) + (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. + (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) + (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. + +2002-11-18 Dave Love + + * m/orion105.h (HAVE_ALLOCA): Don't define. + + * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. + + * m/intel386.h: Don't include alloca.h or define alloca. + + * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare + malloc, realloc, calloc. + + * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) + (bcmp): Don't define. + + * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. + + * m/amdahl.h: Don't define LIB_STANDARD. + + * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. + + * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. + + * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: + Don't include alloca.h. + + * s/aix3-2.h (HAVE_FSYNC): Don't define. + + * regex.c (_GNU_SOURCE): Don't define. + + * process.c (_GNU_SOURCE): Don't define. + + * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. + +2002-11-18 Markus Rost + + * s/sol2-8.h: Include sol2-6.h. + +2002-11-18 Miles Bader + + * dispextern.h (struct face): Add `overstrike' field. + * xterm.c (x_draw_glyph_string_foreground) + (x_draw_composite_glyph_string_foreground): Implement overstriking. + * xfaces.c (load_face_font): Set `face->overstrike' based on + result from choose_face_font. + (best_matching_font, choose_face_font): Add `needs_overstrike' + argument, and use it to return whether overstriking is desirable + for this face/font combo. + (set_font_frame_param: Pass new argument to choose_face_font. + +2002-11-17 Ben Key + + This change is my fix for the following entry in etc/PROBLEMS: + "Emacs built on Windows 9x/ME crashes at startup on Windows XP, + or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." + + * w32.c: Added wrapper functions around the win32 API functions + OpenProcessToken, GetTokenInformation, LookupAccountSid, and + GetSidIdentifierAuthority. These wrapper functions serve two + purposes: + 1. They ensure that the wrapped function can never be called + when Emacs is running on an operating system on which they are + not supported (Microsoft Windows 95 / 98 / ME). + 2. They call the wrapped functions via function pointers rather + than calling them directly. This avoids taking advantage of the + undocumented fact that although these functions are not supported + in the 9x branch of Microsoft Windows, the functions do exist in + the version of advapi32.dll that is found in the 9x branch of + Microsoft Windows. + + * w32.c (init_user_info): Replaced the calls to the win32 API + functions OpenProcessToken, GetTokenInformation, LookupAccountSid, + and GetSidIdentifierAuthority with calls to the newly added + wrapper functions. + + * w32.h: Added extern declarations for the following functions: + syms_of_w32term, syms_of_w32fns, syms_of_w32select, + syms_of_w32menu, and void syms_of_fontset. + + * w32fns.c (w32_wnd_proc): Added code to reinitialize the + function pointer track_mouse_event_fn in the handler for the + WM_SETFOCUS message. + + * w32menu.c (initialize_frame_menubar): Added code to + reinitialize the function pointers set_menu_item_info and + get_menu_item_info. + +2002-11-17 Ben Key + + * sound.c: Added a partial implementation of play-sound-internal + for Microsoft Windows. Added various #ifdef / #else / #endif + code blocks to separate the code that will compile under + Microsoft Windows from the code that is specific to Gnu/Linux. + Moved several blocks of code around to make this separation of code + into Windows compatible and Gnu/Linux compatible code blocks easier. + + * makefile.w32-in: Include sound.c and link with WinMM.lib. + + * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly + added support for play-sound-internal under Windows would be + included in the build of Emacs. + +2002-11-16 Jason Rumney + + * w32fns.c (w32_load_system_font): Don't disable Cleartype. + + * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. + +2002-11-15 Stefan Monnier + + * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. + (adjust_point_for_property): Move out of display and invisible even if + we were already inside before (in case a property was added while + we weren't looking). Be more careful when handling invisible props. + Skip invisible text as if it really wasn't there at all. + +2002-11-15 Jason Rumney + + * w32term.c (x_draw_image_foreground) + (w32_draw_image_foreground_1): Use standard copy and invert + operations to draw images. + + * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for + depth of 1. + (xbm_read_bitmap_data): Invert bits as xbm is read in. + (XPutPixel): Don't invert bits here. + +2002-11-15 Jason Rumney + + * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) + (w32_draw_image_foreground_1): Handle image masks. + (x_draw_image_glyph_string): Don't BitBlt transparently. + + * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. + (x_from_xcolors): Adjust RGB values for W32. + (image_background, image_background_transparent) + (postprocess_image, x_to_xcolors, x_disable_image) + (x_build_heuristic_mask): Adapt for W32 and enable. + (x_create_x_image_and_pixmap): Mark images with palettes as such. + (xbm_load): Remove unused variable. + +2002-11-14 Richard M. Stallman + + * buffer.c (syms_of_buffer): Doc fix. + +2002-11-14 Dave Love + + * alloc.c (SETJMP_WILL_NOT_WORK): Add note. + + * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): + * xmenu.c (unuse_menu_items, digest_single_submenu): + * xfns.c (x_put_x_image): + * xdisp.c (message2_nolog, set_message): + * undo.c (record_point): + * terminfo.c (tparam): + * syntax.c (scan_sexps_forward): + * scroll.c (calculate_scrolling, calculate_direct_scrolling): + * composite.c (update_compositions): + * cm.c (calccost, cmgoto): + * charset.c (c_string_width): Declare all args (per C99). + + * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. + + * lisp.h (get_specified_cursor_type, get_window_cursor_type): + Don't declare. + + * emacs.c (main) [!VMS]: Avoid third arg. + + * fns.c (Fcopy_sequence): Doc fix. + (Fmap_char_table): Cast `call2'. + +2002-11-14 Francesco Potorti` + + * s/sol2-8.h: New file. + +2002-11-14 Kim F. Storm + + * buffer.c (syms_of_buffer) : Document symbol + dependency on `risky-local-variable' and the :propertize form. + +2002-11-12 Stefan Monnier + + * fns.c (Fmap_char_table): Don't use map_char_table's function arg. + + * syntax.c (scan_sexps_forward): Undo last patch. + Use a more obvious fix: check eob before updating the syntax table. + +2002-11-09 Stefan Monnier + + * syntax.c (scan_sexps_forward): Update syntax table before reading + a char rather than after so we don't update the table past eob. + +2002-11-09 Dave Love + + * buffer.c (Fset_buffer_major_mode): Fix last change. + + * regex.c (regexec): Fix pmatch declaration. + + * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. + + * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input + to self-inserting characters. + (syms_of_keyboard) : Doc fix. + + * coding.c (Vtranslation_table_for_input): New. + (syms_of_coding): DEFVAR it. + +2002-11-08 Juanma Barranquero + + * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable + window. + +2002-11-08 Pavel Jan,Am(Bk + + * process.c (Fformat_network_address): Removed unused locals p, + cp, and i. + +2002-11-06 Dave Love + + * buffer.c (Qset_buffer_major_mode_hook): New. + (Fset_buffer_major_mode): Use it. + +2002-11-06 Richard M. Stallman + + * xterm.c (x_term_init): Use turn_on_atimers, not start_polling + and stop_polling. + + * process.c (wait_reading_process_input): + Test POLLING_PROBLEM_IN_SELECT, not hpux. + Avoid initialization for auto Lisp_Object var. + + * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. + + * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. + +2002-11-05 Richard M. Stallman + + * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. + + * callint.c (Fcall_interactively): New local filter_specs. + (Fcall_interactively): Check for progn as well as let. + Add a gcpro. + (Qprogn): New variable. + (syms_of_callint): Staticpro and init Qprogn. + +2002-11-04 John Paul Wallington + + * lread.c (Feval_buffer): Doc fix. + +2002-11-04 Dave Love + + * keyboard.c (read_char): Always translate iff + Vkeyboard_translate_table is a char table and c is valid. + + * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table + and fix C types. + +2002-11-03 Stefan Monnier + + * xdisp.c (single_display_prop_intangible_p): Strings are intangible. + + * editfns.c (get_pos_property): Don't hardcode Qfield. + + * keyboard.c (adjust_point_for_property): Handle `display' prop on + overlays. Also handle `invisible' prop. + +2002-11-02 Stefan Monnier + + * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) + (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. + +2002-11-01 Andreas Schwab + + * editfns.c (Fmessage): Revert last change to properly handle %%. + +2002-11-01 Stefan Monnier + + * xmenu.c (unuse_menu_items): New fun. + (menu_items_inuse): New var. + (syms_of_xmenu): Initialize it. + (init_menu_items): Use it to detect re-entrance. + (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. + (Fx_popup_menu): Remove spurious XSETFRAME. + + * editfns.c (find_field): Make an exception for nil fields. + +2002-11-01 Dave Love + + * m/gec63.h: Deleted. + +2002-10-31 Dave Love + + * xterm.c (XTread_socket): Fix last change. + (xaw_scroll_callback): Cast call_data to long to avoid warning. + +2002-10-31 Stefan Monnier + + * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. + +2002-10-30 Stefan Monnier + + * editfns.c (overlays_around, get_pos_property): New funs. + (find_field): Use them. + Also be careful not to modify POS before its last use. + (Fmessage): Don't Fformat if there's nothing to format. + +2002-10-30 Dave Love + + * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. + [HAVE_PTY_H]; Include pty.h. + + * lread.c (Fload) : Close fd. + + * xterm.c (Qeql): Declare. + (Vx_keysym_table): New. + (syms_of_xterm): Initialize it. + (XTread_socket): Use it. Deal with ASCII keysyms. + (XSetIMValues) [HAVE_X11R6]: Prototype. + + * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. + (lispy_kana_keys): Comment out. + (make_lispy_event) [XK_kana_A]: Comment out. + (modify_event_symbol) : + Fix sprintf call. + + * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by + regexp.h change). + (TERMINFO, LIBS_TERMCAP): Define. + + * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. + (bcmp): Define conditional on HAVE_BCMP. + (NO_SIOCTL_H): Don't define. + (TIOCSIGSEND): Don't make conditional on IRIX6. + + * s/sol2-5.h: Don't include strings.h. + (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. + + * s/irix6-0.h (IRIX6): Don't define. + (bcopy, bcmp, bzero): Don't undef. + + * s/irix6-5.h: Don't include strings.h. + (IRIX6): Don't define. + (bcopy, bcmp, bzero): Don't undef. + + * syntax.c (Fforward_comment): Doc fix. + +2002-10-29 Kim F. Storm + + * process.c (Fsignal_process): Allow PROCESS to be specified by + name in addition to pid (as integer or string). + +2002-10-28 Harald Maier (tiny change) * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build - environments. Patch from Jay Finger and - Harald.Maier.BW@t-online.de. + environments. 2002-10-27 Kim F. Storm @@ -160,10 +1161,17 @@ * fns.c (Flength): Doc fix. +2002-10-04 Stefan Monnier + + * keyboard.c (keyremap): New struct. + (read_key_sequence): Use it: globally replace keytran_foo with + keytran.foo and fkey_foo with fkey.foo. Rename temp vars + keytran_next and fkey_next to just `next'. + 2002-10-04 Steven Tamm * macterm.c (keycode_to_xkeysym_table): Change return to be - treated like an X keysym + treated like an X keysym. 2002-10-03 Jan D. @@ -434,8 +1442,7 @@ 2002-08-30 Andrew Choi - * macterm.c (expose_overlaps): New function (merge code from - xterm.c). + * macterm.c (expose_overlaps): New function (merge code from xterm.c). (expose_window): Use it to fix the display of overlapping rows (merge code from xterm.c). @@ -446,8 +1453,9 @@ * w32fns.c (Qbox): Make extern. (syms_of_w32fns): Remove initialization of Qbox. - * xfns.c (Fx_open_connection): Fix error message. Patch from Rune - Kleveland . +2002-08-30 Rune Kleveland (tiny change) + + * xfns.c (Fx_open_connection): Fix error message. 2002-08-30 Kim F. Storm @@ -556,7 +1564,8 @@ * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros. - (struct w32_output): New fields blink_off_cursor, blink_off_cursor_width. + (struct w32_output): New fields blink_off_cursor, + blink_off_cursor_width. (FRAME_CURSOR_WIDTH): New macro. * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR @@ -609,8 +1618,8 @@ 2002-08-27 Gerd Moellmann * xdisp.c (redisplay_updating_p): Variable removed. - (inhibit_free_realized_faces, Qinhibit_free_realized_faces): New - variables. + (inhibit_free_realized_faces, Qinhibit_free_realized_faces): + New variables. (init_iterator): Don't free realized faces if inhibit_free_realized_faces is set. (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. @@ -628,8 +1637,8 @@ 2002-08-26 Kim F. Storm - * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize - foreground and background colors. From Joe Buehler (tiny change). + * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground + and background colors. From Joe Buehler (tiny change). 2002-08-26 Miles Bader @@ -716,8 +1725,7 @@ 2002-08-19 Kenichi Handa - * composite.c (run_composition_function): Call FUNC if it is - fboundp. + * composite.c (run_composition_function): Call FUNC if it is fboundp. * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a cons, return Qnil. @@ -794,8 +1802,8 @@ (Vmac_pass_command_to_system): New variable. (Vmac_pass_control_to_system): New variable. (do_mouse_moved): Check wp with is_emacs_window. - (XTread_socket): Check window_ptr with is_emacs_window. Call - FrontNonFloatingWindow instead of FrontWindow. Send keydown + (XTread_socket): Check window_ptr with is_emacs_window. + Call FrontNonFloatingWindow instead of FrontWindow. Send keydown events back to Mac Toolbox for processing, depending on values of Vmac_pass_command_to_system and Vmac_pass_control_to_system. (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and @@ -827,8 +1835,7 @@ 2002-08-08 Ken Raeburn - * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int - mixup. + * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. * puresize.h (BASE_PURESIZE): Increase to 910000. @@ -858,7 +1865,7 @@ (single_submenu, set_frame_menubar) (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. - (Fx_popup_menu): Don't show pop up menu until preceding one is + (Fx_popup_menu): Don't show pop up menu until preceding one is actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. * w32menu.c: Changes adapted from xmenu.c @@ -894,8 +1901,7 @@ (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, SendEventToEventTarget, mac_event_to_emacs_modifiers, and mac_get_mouse_btn. - (mac_initialize): Call init_mac_drag_n_drop and - init_service_handler. + (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. @@ -905,8 +1911,7 @@ as for WINDOWS_NT. (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. - * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for - MAC_OSX. + * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. 2002-08-03 Gerd Moellmann @@ -1003,13 +2008,13 @@ 2002-07-23 Kenichi Handa - * xdisp.c (face_before_or_after_it_pos): Call - FETCH_MULTIBYTE_CHAR with byte postion, not char position. + * xdisp.c (face_before_or_after_it_pos): + Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. 2002-07-22 Juanma Barranquero - * callproc.c (init_callproc) [DOS_NT]: Initialize - Vshared_game_score_directory to nil. + * callproc.c (init_callproc) [DOS_NT]: + Initialize Vshared_game_score_directory to nil. (syms_of_callproc) [DOS_NT]: Likewise. 2002-07-22 Gerd Moellmann @@ -1078,8 +2083,8 @@ const. * charset.h (BCOPY_SHORT): Source pointer now points to const. * coding.c (encode_eol, detect_coding, detect_eol): - (decode_coding, encode_coding, detect_coding_system): Source - strings now treated as const. + (decode_coding, encode_coding, detect_coding_system): + Source strings now treated as const. (decode_coding_string, encode_coding_string): Use STRING_COPYIN to modify Lisp string contents. * coding.h (decode_coding, encode_coding, detect_coding, @@ -1100,11 +2105,9 @@ contents as const. * sysdep.c (emacs_write): Buffer pointer now const. * term.c (encode_terminal_code): Buffer pointer now const. - * xfaces.c (may_use_scalable_font_p): Argument now points to - const. + * xfaces.c (may_use_scalable_font_p): Argument now points to const. (x_face_list_fonts, x_update_menu_appearance): - (hash_string_case_insensitive): Treat Lisp string contents as - const. + (hash_string_case_insensitive): Treat Lisp string contents as const. 2002-07-19 Juanma Barranquero @@ -1496,8 +2499,7 @@ 2002-06-28 Andreas Schwab - * lisp.h: Remove duplicate declaration of - code_convert_string_norecord. + * lisp.h: Remove duplicate declaration of code_convert_string_norecord. 2002-06-27 Kim F. Storm @@ -1555,15 +2557,10 @@ * coding.c (detect_eol): Preserve coding->cmp_data. - * w16select.c (Fw16_get_clipboard_data): Disable composition handling. - - * w32fns.c (w32_to_x_font): Disable composition handling. - - * w32select.c (Fw32_get_clipboard_data): Disable composition handling. - - * xselect.c (selection_data_to_lisp_data): Disable composition - handling. - + * w16select.c (Fw16_get_clipboard_data): + * w32fns.c (w32_to_x_font): + * w32select.c (Fw32_get_clipboard_data): + * xselect.c (selection_data_to_lisp_data): * xterm.c (XTread_socket): Disable composition handling. 2002-06-24 Stefan Monnier @@ -2889,8 +3886,8 @@ 2002-03-20 Eli Zaretskii - * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): Don't - use "sun" as a variable, it's a predefined constant on Sun + * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): + Don't use "sun" as a variable, it's a predefined constant on Sun machines. 2002-03-20 Pavel Jan,Am(Bk @@ -2915,8 +3912,7 @@ 2002-03-18 Kim F. Storm * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, - HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and - HAVE_SYS_UN_H. + HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. Remove explicit GNU_LINUX settings for datagram support. @@ -2925,8 +3921,7 @@ * process.c (Fmake_network_process): Remove unused variable `sa'. Doc fix. Add usage:. - (set_socket_options): Remove unused variables `optnum' and - `opttype'. + (set_socket_options): Remove unused variables `optnum' and `opttype'. 2002-03-17 Richard M. Stallman @@ -3117,9 +4112,8 @@ 2002-03-08 Gerd Moellmann - * xdisp.c (move_it_vertically_backward): At the end of the - function, when moving forward by lines, treat terminal frames - specially. + * xdisp.c (move_it_vertically_backward): At the end of the function, + when moving forward by lines, treat terminal frames specially. * keyboard.c (echo_char): Make sure to add a separator between keys even if echo_dash hasn't been called. @@ -3279,7 +4273,7 @@ (status_message): Convert Qfailed status. (Fopen_network_stream): Added support for non-blocking connect. New optional args: filter, sentinel, non_blocking. Doc updated. - [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. + [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. (deactivate_process): Handle pending non-blocking connect. (wait_reading_process_input): Poll for status of non-blocking connects. Exec sentinel directly when connect succeeds. @@ -3319,8 +4313,7 @@ 2002-02-26 Eli Zaretskii - * fileio.c (Fsubstitute_in_file_name): Fix the change from - 2002-02-08. + * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. * xselect.c (Qcompound_text_with_extensions): Renamed from Qcompound_text_no_extensions. @@ -3497,7 +4490,7 @@ * w32term.c (x_check_fullscreen, x_check_fullscreen_move) (x_fullscreen_adjust): New functions. - (w32_read_socket) : Don't resize to + (w32_read_socket) : Don't resize to fullscreen. Call x_check_fullscreen_move, and set the want_fullscreen member of output_data.w32 : Call x_check_fullscreen. @@ -3551,9 +4544,8 @@ * msdos.c (x_autoselect_window_p): New variable. (syms_of_msdos): Defvar it. - (dos_rawgetc): If x_autoselect_window_p is set, select the window - in which the last mouse movement occured, unless it is already - selected. + (dos_rawgetc): If x_autoselect_window_p is set, select the window in + which the last mouse movement occured, unless it is already selected. * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): New variables. @@ -3756,9 +4748,8 @@ 2002-02-02 Eli Zaretskii - * xfaces.c (realize_default_face): Don't set the weight and slant - of the default face to Qnormal, unless these attributes are - unspecified. + * xfaces.c (realize_default_face): Don't set the weight and slant of + the default face to Qnormal, unless these attributes are unspecified. 2002-02-02 Pavel Jan,Am(Bk @@ -4478,8 +5469,8 @@ * alloc.c (inhibit_garbage_collection): Don't exceed value an int can hold. - * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): Rename - from most_positive_fixnum and most_negative_fixnum, resp., and + * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): + Rename from most_positive_fixnum and most_negative_fixnum, resp., and type changed to Lisp_Object. (syms_of_data): DEFVAR_LISP them. @@ -4532,8 +5523,8 @@ * insdel.c (make_gap_larger): New function. (make_gap_smaller): New function. - (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: Call - make_gap_smaller if arg is negative. + (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: + Call make_gap_smaller if arg is negative. 2001-12-04 Stefan Monnier @@ -5553,7 +6544,7 @@ (last-input-char): Revert doc-string to be the same as the doc-string of `last-input-event'. - * xdisp.c: Fix typos in comments. + * xdisp.c: Fix typos in comments. 2001-10-31 Gerd Moellmann @@ -5874,7 +6865,7 @@ (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. (try_window_id, try_window_reusing_current_matrix) (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. - (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. + (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. 2001-10-24 Pavel Jan,Am(Bk @@ -6067,8 +7058,8 @@ (show_mouse_face): Set the glyph row's mouse_face_p flag also when DRAW is DRAW_IMAGE_RAISED. (clear_mouse_face): Return 1 if text with mouse face was - actually redrawn. Make the function static. Reset - dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might + actually redrawn. Make the function static. + Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might optimize away highlighting if we pass over that same overlay again. (note_mouse_highlight): Call mouse_face_overlay_overlaps to detect a case where we have to highlight a different region