+2002-12-22 Richard M. Stallman <rms@gnu.org>
+
+ * 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 <steventamm@mac.com>
+
+ * 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 <rms@gnu.org>
+
+ * 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 <Takaaki.Ota@am.sony.com> (tiny change)
+
+ * dired.c (file_name_completion): Close directory on error
+ just as in directory_files_internal.
+
+2002-12-19 David Kastrup <David.Kastrup@t-online.de>
+
+ * window.c (Fset_window_configuration): Set old_point to correct
+ value when new_current_buffer == current_buffer.
+
+2002-12-17 Ben Key <bkey1@tampabay.rr.com>
+
+ * 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 <handa@m17n.org>
+
+ * 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 <rost@math.ohio-state.edu>
+
+ * Makefile.in (lisp, shortlisp): Add cus-face and timer.
+ (lisp): Add font-core.
+
+2002-12-13 Stefan Monnier <monnier@cs.yale.edu>
+
+ * 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 <handa@m17n.org>
+
+ * coding.c (Funencodable_char_position): Set pend correctly.
+
+2002-12-12 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (last_mousemove_x, last_mousemove_y): New variables.
+ (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement.
+ Be more careful about when help_events are generated.
+
+2002-12-12 Steven Tamm <steventamm@mac.com>
+
+ * 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 <storm@cua.dk>
+
+ * xdisp.c (try_window_id): Don't call set_cursor_from_row if
+ row_containing_pos returned NULL.
+
+2002-12-10 Steven Tamm <steventamm@mac.com>
+
+ * 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 <lektu@terra.es>
+
+ * editfns.c (Fformat): Use alloca, not _alloca.
+
+2002-12-09 Richard M. Stallman <rms@gnu.org>
+
+ * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input
+ as the last thing.
+
+2002-12-09 Dave Love <fx@gnu.org>
+
+ * s/sol2-8: Removed. (Not necessary.)
+
+2002-12-09 Matthew Swift <swift@alum.mit.edu>
+
+ * 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 <rms@gnu.org>
+
+ * xdisp.c (row_containing_pos): Check more carefully
+ whether charpos is really in the row before returning it.
+
+2002-12-07 Steven Tamm <steventamm@mac.com>
+
+ * 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 <rms@gnu.org>
+
+ * minibuf.c (Fcompleting_read): Doc fix.
+
+ * lread.c (syms_of_lread) <load-history>: 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` <pot@gnu.org>
+
+ * xfns.c (png_load): Avoid double gamma correction for PNG images.
+
+2002-12-04 Richard M. Stallman <rms@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <schwab@suse.de>
+
+ * callint.c (Fcall_interactively): Use next_event only if less
+ than key_count.
+
+2002-12-02 Andrew Choi <akochoi@shaw.ca>
+
+ * 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 <steventamm@mac.com>
+
+ * 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 <fx@gnu.org>
+
+ * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was
+ already provided.
+
+2002-11-29 Richard M. Stallman <rms@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <steventamm@mac.com>
+
+ * 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 <jasonr@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <jasonr@gnu.org>
+
+ * w32.c (sys_write): Avoid non-blocking mode, which is not fully
+ supported.
+
+2002-11-25 Dave Love <fx@gnu.org>
+
+ * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec.
+
+ * Makefile.in (TEMACS_LDFLAGS): Update last change.
+
+2002-11-25 Andreas Schwab <schwab@suse.de>
+
+ * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change.
+
+2002-11-24 Steven Tamm <steventamm@mac.com>
+
+ * 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 <rms@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <rms@gnu.org>
+
+ * eval.c (interactive_p): Skip any number of bytecode
+ and special form frames, in any order.
+
+2002-11-20 Jason Rumney <jasonr@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define.
+
+2002-11-18 Jason Rumney <jasonr@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <rost@math.ohio-state.edu>
+
+ * s/sol2-8.h: Include sol2-6.h.
+
+2002-11-18 Miles Bader <miles@gnu.org>
+
+ * 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 <BKey1@tampabay.rr.com>
+
+ 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 <BKey1@tampabay.rr.com>
+
+ * 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 <jasonr@gnu.org>
+
+ * 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 <monnier@cs.yale.edu>
+
+ * 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 <jasonr@gnu.org>
+
+ * 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 <jasonr@gnu.org>
+
+ * 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 <rms@gnu.org>
+
+ * buffer.c (syms_of_buffer): Doc fix.
+
+2002-11-14 Dave Love <fx@gnu.org>
+
+ * 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` <pot@gnu.org>
+
+ * s/sol2-8.h: New file.
+
+2002-11-14 Kim F. Storm <storm@cua.dk>
+
+ * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol
+ dependency on `risky-local-variable' and the :propertize form.
+
+2002-11-12 Stefan Monnier <monnier@cs.yale.edu>
+
+ * 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 <monnier@cs.yale.edu>
+
+ * 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 <fx@gnu.org>
+
+ * 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) <keyboard-translate-table>: Doc fix.
+
+ * coding.c (Vtranslation_table_for_input): New.
+ (syms_of_coding): DEFVAR it.
+
+2002-11-08 Juanma Barranquero <lektu@terra.es>
+
+ * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable
+ window.
+
+2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>
+
+ * process.c (Fformat_network_address): Removed unused locals p,
+ cp, and i.
+
+2002-11-06 Dave Love <fx@gnu.org>
+
+ * buffer.c (Qset_buffer_major_mode_hook): New.
+ (Fset_buffer_major_mode): Use it.
+
+2002-11-06 Richard M. Stallman <rms@gnu.org>
+
+ * 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 <rms@gnu.org>
+
+ * 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 <jpw@shootybangbang.com>
+
+ * lread.c (Feval_buffer): Doc fix.
+
+2002-11-04 Dave Love <fx@gnu.org>
+
+ * 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 <monnier@cs.yale.edu>
+
+ * 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 <monnier@cs.yale.edu>
+
+ * 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 <schwab@suse.de>
+
+ * editfns.c (Fmessage): Revert last change to properly handle %%.
+
+2002-11-01 Stefan Monnier <monnier@cs.yale.edu>
+
+ * 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 <fx@gnu.org>
+
+ * m/gec63.h: Deleted.
+
2002-10-31 Dave Love <fx@gnu.org>
* xterm.c (XTread_socket): Fix last change.
2002-08-30 Andrew Choi <akochoi@shaw.ca>
- * 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).
* 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
2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de>
* 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.
2002-08-26 Kim F. Storm <storm@cua.dk>
- * 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 <miles@gnu.org>
2002-08-19 Kenichi Handa <handa@localhost>
- * 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.
(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
2002-08-08 Ken Raeburn <raeburn@mit.edu>
- * 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.
(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
(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.
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 <gerd.moellmann@t-online.de>
2002-07-23 Kenichi Handa <handa@etl.go.jp>
- * 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 <lektu@terra.es>
- * 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 <gerd.moellmann@t-online.de>
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,
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 <lektu@terra.es>
2002-06-28 Andreas Schwab <schwab@suse.de>
- * 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 <storm@cua.dk>
* 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 <monnier@cs.yale.edu>
2002-03-20 Eli Zaretskii <eliz@is.elta.co.il>
- * 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\e,Am\e(Bk <Pavel@Janik.cz>
2002-03-18 Kim F. Storm <storm@cua.dk>
* 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.
* 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 <rms@gnu.org>
2002-03-08 Gerd Moellmann <gerd@gnu.org>
- * 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.
(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.
2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
- * 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.
* w32term.c (x_check_fullscreen, x_check_fullscreen_move)
(x_fullscreen_adjust): New functions.
- (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
+ (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
fullscreen. Call x_check_fullscreen_move, and set the
want_fullscreen member of output_data.w32
<WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
* 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.
2002-02-02 Eli Zaretskii <eliz@is.elta.co.il>
- * 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\e,Am\e(Bk <Pavel@Janik.cz>
* 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.
* 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 <monnier@cs.yale.edu>
(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 <gerd@gnu.org>
(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\e,Am\e(Bk <Pavel@Janik.cz>
(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