(Fconstrain_to_field): Fix int/Lisp_Object mixup.
[bpt/emacs.git] / src / ChangeLog
index 01a4383..bffe8ca 100644 (file)
@@ -1,3 +1,583 @@
+2006-02-05  Ken Raeburn  <raeburn@raeburn.org>
+
+       * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup.
+
+2006-02-03  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c: Cache last merged escape glyph face.
+       (last_escape_glyph_frame, last_escape_glyph_face_id)
+       (last_escape_glyph_merged_face_id): New variables.
+       (get_next_display_element): Use/update them.
+       (redisplay_internal): Reset them before redisplay.
+
+       * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix.
+       Only recheck faces after displaying ellipsis.
+
+2006-02-02  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (decode_composition_emacs_mule): Fix handling of
+       incorrect format data.
+
+2006-01-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (update_frame_tool_bar): Use new tool bar functions
+       (gtk_toolbar_insert) so we can have tool bars of different sizes.
+
+2006-01-30  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * data.c (Flistp): Doc fix.
+
+2006-01-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll):
+       Fix typos in docstrings.
+
+2006-01-28  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings.
+
+2006-01-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * alloc.c (make_interval, allocate_string)
+       (allocate_string_data, make_float, Fcons, allocate_vectorlike)
+       (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing
+       global variables.
+
+2006-01-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use
+       the MSDOS definition.
+
+2006-01-26  Richard M. Stallman  <rms@gnu.org>
+
+       * alloc.c (check_pure_size): Make overflow message an "error message".
+
+       * keymap.c (Fmap_keymap): Doc fix.
+
+       * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist
+       unless they were cleared out.
+
+       * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there.
+
+2006-01-26  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+
+       * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries.
+       (find_field): Set before_field to after_field when pos is at BEGV.
+       (Fline_beginning_position, Fline_end_position): Clarify
+       confusing doc string.
+
+       * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc
+       string.
+
+2006-01-26  Kenichi Handa  <handa@m17n.org>
+
+       * callproc.c (Fcall_process): GCPRO error_file.  Encode infile,
+       current_dir, and error_file.  On reporting an error, decode them
+       back.
+
+2006-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well.
+       (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>:
+       Don't check for quit, since any loop will go through fail or jump.
+
+2006-01-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * alloc.c (allocate_string_data): Update next_free immediately, to
+       reduce risk of memory clobberage.
+
+2006-01-24  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+
+       * xdisp.c (handle_invisible_prop): Set it->position to fix cursor
+       display when point moves across an ellipsis.  If there are
+       adjacent invisible texts, don't lose the second one's ellipsis.
+       (x_produce_glyphs): Doc fix.
+
+2006-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup.
+
+2006-01-23  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (handle_single_display_spec): Fix handling of space
+       property on char from string: set *position rather than
+       it->current.pos.
+       (produce_stretch_glyph): Reduce width of stretch glyphs so they
+       don't get wider than the window (unless truncate-lines is on).
+
+2006-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xterm.c: Avoid allocating Lisp data from a signal handler.
+       (x_error_message): New var to replace x_error_message_string.
+       (x_error_catcher, x_catch_errors, x_catch_errors_unwind)
+       (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler)
+       (syms_of_xterm): Use it instead of x_error_message_string.
+
+       * alloc.c (lisp_align_free): Add an assertion.
+       (make_interval, allocate_string, make_float, Fcons, Fmake_symbol)
+       (allocate_misc): If ENABLE_CHECKING is on, check we're not called from
+       a signal handler.
+
+2006-01-21  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dired.c (syms_of_dired) <completion-ignored-extensions>: Doc fix.
+
+2006-01-21  Romain Francoise  <romain@orebokech.com>
+
+       * xdisp.c (get_window_cursor_type): Fix last change.
+       Update copyright year.
+
+2006-01-20  Eli Zaretskii  <eliz@gnu.org>
+
+       * lread.c (Fload): Don't leak the file descriptor returned by
+       openp if we are going to signal an error.
+
+       * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it
+       directly to _close.
+       (sys_dup): Protect against new_fd larger than fd_info[] can handle.
+       (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly
+       to _read.
+       (sys_write): If FD is outside [0..MAXDESC) limits, pass it
+       directly to _write.
+
+       * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer
+       if it is NULL.
+
+2006-01-20  Kenichi Handa  <handa@m17n.org>
+
+       * puresize.h (BASE_PURESIZE): Increment to 1190000.
+
+2006-01-19  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (get_window_cursor_type): Use cursor type specified by
+       the selected buffer for the echo area too.
+
+2006-01-19  Richard M. Stallman  <rms@gnu.org>
+
+       * keymap.c (Fmap_keymap): Doc fix.
+
+       * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions.
+
+       * keyboard.c (echo_char): Don't omit the space between first two
+       echoed chars.
+
+       * minibuf.c (read_minibuf): Fix previous change.
+
+2006-01-19  Kenichi Handa  <handa@m17n.org>
+
+       * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF.
+
+2006-01-17  Richard M. Stallman  <rms@gnu.org>
+
+       * frame.c (x_frame_get_and_record_arg): Don't record Qunbound
+       value in f->param_alist.
+
+2006-01-15  Andreas Schwab  <schwab@suse.de>
+
+       * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP.
+
+2006-01-13  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in: Define new macro WINDOW_SUPPORT.
+       (lisp): Use it.
+       (SOME_MACHINE_LISP): Add conditionally loaded files.
+
+2006-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr)
+       [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering.
+       (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in
+       decomposed form.
+
+       * process.c [HAVE_INTTYPES_H]: Include inttypes.h.
+       (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE).
+       (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK
+       macro.  Also try member ifr_addr when getting netmask.
+
+2006-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fexpand_file_name): Remove redundant tests.
+       Fix elimination of // so that it doesn't prevent elimination of an
+       immediately following /. or /..
+
+2006-01-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_toggle_notify_cb): New function.
+       (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to
+       xg_toggle_notify_cb.
+       (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when
+       parameter value changes so the toggle button gets updated.
+
+2006-01-06  Nick Roberts  <nickrob@snap.net.nz>
+
+       * .gdbinit: Fix typo.
+
+2006-01-05  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit: Fix last change.
+
+2006-01-05  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fmake_network_process): Use AF_INET instead of
+       AF_UNSPEC when AF_INET6 is not defined.
+
+2006-01-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc):
+       Don't check that the other type is known file-related one.
+
+       * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor,
+       gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac
+       OS X 10.4 and later.
+
+2006-01-04  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file,
+       let GTK do all image processing.  Importing Emacs own pixmaps to GTK
+       looks bad for inactive tool bar items with some Gnome themes.
+
+2006-01-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit: Avoid a warning message when x_error_quitter is not
+       compiled in.
+
+       * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support
+       for w32.
+
+2006-01-04  Kim F. Storm  <storm@cua.dk>
+
+       * process.c: Add IPv6 support.
+       (Qipv4, Qipv6): New vars.
+       (syms_of_process): Intern and staticpro them.
+       (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address
+       with or without port number.  Handle 4 element vector as IPv4 address
+       without port number.
+       (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
+       (conv_lisp_to_sockaddr): Handle IPv6 addresses.
+       (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly
+       request that address family only.  :family nil or omitted means to
+       determine address family from the specified :host and :service.
+       (ifflag_table): Add missing OpenBSD IFF_ flags.
+       (server_accept_connection): Handle IPv6 addresses.
+       (init_process): Add (:family ipv4) and (:family ipv6) sub-features.
+
+       * .gdbinit: Undo last change.  Instead, look at Vsystem_type to
+       determine which breakpoints to set.
+
+2006-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup.
+
+       * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c).
+
+2006-01-03  Romain Francoise  <romain@orebokech.com>
+
+       * emacs.c (main): Update copyright year.
+
+2006-01-03  Ken Raeburn  <raeburn@gnu.org>
+
+       * callproc.c (delete_temp_file): Bind file-name-handler-alist to
+       nil for the call to internal_delete_file.
+
+2006-01-01  Ken Raeburn  <raeburn@gnu.org>
+
+       * callproc.c (Fcall_process_region): Bind file-name-handler-alist
+       to nil for the call to Fwrite_region.
+
+2005-12-31  Richard M. Stallman  <rms@gnu.org>
+
+       * minibuf.c (read_minibuf): Clear out all other minibuffer windows.
+
+2005-12-31  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake.
+
+2005-12-30  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * textprop.c (set_text_properties): Reword description of return value.
+       Return Qnil if caller wants to remove all text properties from a
+       string and the string already has no intervals.
+
+2005-12-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * term.c (visible_cursor): New boolean var.
+       (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on
+       visible_cursor.
+       (syms_of_term): Export the new var as "visible-cursor".
+
+2005-12-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit: Tell users not to worry about GDB warnings that some
+       functions do not exist in the binary.
+
+2005-12-30  Andreas Schwab  <schwab@suse.de>
+
+       * process.c (Fnetwork_interface_info): Correctly terminate the
+       loop over ifflag_table.
+
+2005-12-29  Richard M. Stallman  <rms@gnu.org>
+
+       * lread.c (readevalloop): Test for reading a whole buffer
+       before actually reading anything.  Handle all cases, including
+       START = END = nil and an already-narrowed buffer.
+       Convert END to a marker if it is a number.
+
+       * keymap.c (describe_map): Put sparse map elements into an array,
+       sort them, then output a sequence of identical bindings on one line.
+       (struct describe_map_elt): New data type.
+       (describe_map_compare): New function.
+
+2005-12-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_get_file_with_chooser): Change message shown
+       in file chooser.
+
+2005-12-27  Richard M. Stallman  <rms@gnu.org>
+
+       * lread.c (readevalloop): Set PT and ZV in the proper buffer,
+       not the current one.
+
+       * minibuf.c (Fminibuffer_message): Doc fix.
+       (read_minibuf): Set current_buffer->enable_multibyte_characters sooner.
+
+       * eval.c (do_autoload): Ignore elements of Vautoload_queue
+       where car is not symbol.
+
+2005-12-27  Kenichi Handa  <handa@m17n.org>
+
+       * charset.c (lisp_string_width): Check multibyteness of STRING.
+
+2005-12-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c: x_show_hidden_files, new variable.
+       (syms_of_xfns): Defvar it.
+
+       * gtkutil.c (xg_toggle_visibility_cb): New function.
+       (xg_get_file_with_chooser): Add toggle hidden files and a message
+       to the new file chooser dialog.  Show hidden files if
+       x_show_hidden_files is non-zero.
+
+2005-12-26  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.h: Undo previous change.
+
+       * Makefile.in (undo.o): Undo previous change.
+
+       * undo.c: Undo previous change.
+
+2005-12-26  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * keyboard.h: extern last_point_position_window.
+
+       * undo.c: include keyboard.h.
+
+       * Makefile.in (undo.o): Depend on keyboard.h.
+
+2005-12-26  Richard M. Stallman  <rms@gnu.org>
+
+       * commands.h (last_point_position_window): Declare.
+
+       * undo.c: Depend on window.h.
+       (record_point): Save old point from the correct window.
+
+       * keyboard.c (last_point_position_window): New variable.
+       (command_loop_1): Set last_point_position_window.
+       (syms_of_keyboard): Init it.
+
+       * Makefile.in (undo.o): Depend on window.h.
+
+2005-12-25  Richard M. Stallman  <rms@gnu.org>
+
+       * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue
+       to undo a `provide'.
+
+       * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue.
+
+2005-12-25  Giorgos Keramidas  <keramida@ceid.upatras.gr>
+
+       * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD):
+       define for FreeBSD on this platform.
+
+2005-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.h (TYPE_FILE_NAME): New define.
+       (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
+
+       * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname):
+       Add prototypes.  Make static.
+       (mac_aedesc_to_lisp): Initialize err to noErr.
+       (mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
+       (init_coercion_handler): New functions.
+       (Fmac_coerce_ae_data): Use coercion of Apple event data for
+       translation from/to file names.
+
+       * macterm.c: Don't include sys/param.h.
+       (init_coercion_handler): Add extern.
+       [MAC_OS8] (main): Call init_coercion_handler.
+       (mac_initialize) [MAC_OSX]: Likewise.
+       [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of
+       Apple event data for translation from/to file names.
+
+       * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise.
+
+       * image.c [MAC_OS] (find_image_fsspec): Likewise.
+
+2005-12-23  Martin Rudalics  <rudalics@gmx.at>  (tiny change)
+
+       * insdel.c (insert, insert_and_inherit, insert_before_markers)
+       (insert_before_markers_and_inherit): Make sure FROM is correct
+       when `after-change-functions' are called.
+
+2005-12-23  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_uses_old_gtk_dialog): New function.
+
+       * gtkutil.c (xg_uses_old_file_dialog): New function.
+       (xg_get_file_name): Use xg_uses_old_file_dialog.
+
+       * gtkutil.h: Declare xg_uses_old_file_dialog.
+
+2005-12-22  Richard M. Stallman  <rms@gnu.org>
+
+       * xmenu.c (xmenu_show): Call inhibit_garbage_collection.
+
+2005-12-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak.
+
+       * macgui.h (XCharStruct): Remove member `valid_p'.
+       (STORE_XCHARSTRUCT): Don't set member `valid_p'.
+       (XCharStructRow): New typedef.
+       (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID):
+       New macros.
+       (struct MacFontStruct): Add member `bounds'.  Remove member
+       `per_char'.  All uses for QuichDraw Text fonts are changed to
+       `bounds.per_char'.  ATSUI font bounds are represented as an array
+       `bounds.rows' of XCharStructRow's, each of which consists of a
+       bitmap of valid entries and an array of char bounds.
+
+       * macterm.c (mac_per_char_metric): Add prototype.
+       (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype.
+       (mac_query_char_extents): New function.
+       (x_per_char_metric): Use it.
+       (XLoadQueryFont): Likewise.  Consolidate min/max_bounds calculations.
+       [USE_CG_TEXT_DRAWING] (mac_draw_string_cg):
+       Use mac_per_char_metric instead of x_per_char_metric.
+       (mac_text_extents_16): New function.
+       (mac_compute_glyph_string_overhangs): Use it.
+       (mac_unload_font): Free member `bounds' in struct MacFontStruct.
+
+2005-12-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR.
+       (Fminibuffer_completion_help): Remove duplicates before display.
+
+2005-12-21  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+
+       * print.c (print_preprocess): Don't lose print_depth levels while
+       iterating.
+
+2005-12-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macmenu.c (Qmac_apple_event): Add extern.
+       (set_frame_menubar, mac_menu_show keymp_panes)
+       (single_keymap_panes, list_of_panes, list_of_item)
+       (single_menu_item): Add argument types to prototypes.
+       (mac_dialog_show) [HAVE_DIALOGS]: Likewise.
+       (struct skp): New struct (from xmenu.c).
+       (single_keymap_panes, single_menu_item, list_of_panes)
+       (list_of_item): Sync with xmenu.c.
+       (Fx_popup_menu, Fx_popup_dialog): Likewise.  Don't get window from
+       POSITION if it is mac-apple-event event.
+       (menubar_selection_callback): Don't use menu_command_in_progress.
+       (set_frame_menubar): First parse all submenus, then make
+       widget_value trees from them.  Don't allocate any widget_value
+       objects until we are done with the parsing.
+       (parse_single_submenu, digest_single_submenu): New functions.
+       (single_submenu): Function deleted, replaced by those two.
+       (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't
+       create or dispose of EventHandlerUPP.  Install hander to all submenus.
+       (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
+       instead of ENCODE_SYSTEM.
+       (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
+       integer values.
+       [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c).
+       (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to
+       format menu item string.  Don't use NULL for integer value.
+
+       * macterm.h (struct mac_output): Remove unused member
+       menu_command_in_progress.
+
+2005-12-20  Juri Linkov  <juri@jurta.org>
+
+       * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if
+       position is non-nil, else set it to nil.
+
+       * macmenu.c (Fx_popup_menu): Add `else' to set
+       Vmenu_updating_frame to nil only if position is nil.
+
+       * w32menu.c (Fx_popup_menu): Add `else' to set
+       Vmenu_updating_frame to nil only if position is nil.
+
+2005-12-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.c (make_lispy_event): Drag-and-drop items are now
+       stored in member `args' of struct input_event.
+
+       * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT.
+
+       * xselect.c (x_handle_dnd_message): Drag-and-drop items are now
+       stored in member `args' of struct input_event.
+
+       * w32term.c (construct_drag_n_drop): Likewise.
+
+       * macterm.c (mac_do_receive_drag): Likewise.
+       (x_use_underline_position_properties): Undo 2005-07-13 change.
+       (syms_of_macterm) <x-use-underline-position-properties>: Likewise.
+       (mac_use_core_graphics, mac_wheel_button_is_mouse_2)
+       (mac_pass_command_to_system, mac_pass_control_to_system):
+       New boolean variables renamed from Lisp_Object ones
+       Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2,
+       Vmac_pass_command_to_system, and Vmac_pass_control_to_system.
+       All uses changed.
+       (syms_of_macterm): DEFVAR_BOOL them.  Remove previous DEFVAR_LISPs.
+       Make them user options.
+       (mac_handle_command_event, mac_store_services_event):
+       Call create_apple_event_from_event_ref without 5th argument.
+       (backtranslate_modified_keycode): Mask off modifier keys that are
+       mapped to some Emacs modifiers before passing it to KeyTranslate.
+       (syms_of_macterm): Make variables `mac-emulate-three-button-mouse',
+       `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options.
+       Fix docstrings of `mac-*-modifier'.
+
+       * mac.c (create_apple_event_from_event_ref): Remove arg `types'.
+       (do_applescript): Change argument types to Lisp_Object.
+       All uses changed.
+
+       * macterm.h (create_apple_event_from_event_ref): Remove 5th
+       argument from extern.
+
+2005-12-18  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine
+       the answer, return `lambda', not nil.
+
+2005-12-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (bootstrap-temacs): Warn that parts of commands
+       enclosed in $(ARGQUOTE)s should not be split between two lines, as
+       that will break with GNU Make >3.80, when sh.exe is used and
+       arg quoting is with '..'.
+
+2005-12-17  Chong Yidong  <cyd@stupidchicken.com>
+
+       * print.c (print_preprocess): Just signal an error if print_depth
+       is exceeded.
+
+2005-12-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * .gdbinit: Set a breakpoint on w32_abort.
+
 2005-12-16  Juri Linkov  <juri@jurta.org>
 
        * minibuf.c (Fminibuffer_completion_contents): New Lisp function
 
        * xfns.c (compute_tip_xy): Handle negative dx and dy.
 
-       * w32fns.c (compute_tip_xy): Ditto
+       * w32fns.c (compute_tip_xy): Ditto.
 
-       * macfns.c (compute_tip_xy): Ditto
+       * macfns.c (compute_tip_xy): Ditto.
 
 2005-12-14  Chong Yidong  <cyd@stupidchicken.com>
 
        * mac.c (Qundecoded_file_name): New variable.
        (syms_of_mac): Initialize it.
        (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions.
-       [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New
-       function.
+       [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun.
        (Fmac_coerce_ae_data): New defun.
        (syms_of_mac): Defsubr it.
 
        [MAC_OS8] (main): Call init_apple_event_handler instead of
        init_required_apple_events.
        (mac_initialize) [MAC_OSX]: Likewise.
-       [!USE_CARBON_EVENTS] (mac_wait_next_event): Use
-       mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
+       [!USE_CARBON_EVENTS] (mac_wait_next_event):
+       Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
 
-       * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): Add
-       externs.
+       * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp):
+       Add externs.
        (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
        (Fmac_get_preference): Add EXFUN.
 
        * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching
        GDB to the abort dialog.
 
-2005-12-09  Kyotaro HORIGUCHI <horiguti@meadowy.org>  (tiny change)
+2005-12-09  Kyotaro HORIGUCHI  <horiguti@meadowy.org>  (tiny change)
 
        * indent.c (Fvertical_motion): Force move if starting on
        stretch glyph.
 
 2005-12-06  Ken Raeburn  <raeburn@gnu.org>
 
-       * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP
-       argument.
+       * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args.
        * bytecode.c (Fbyte_code): Likewise.
-       * fileio.c (internal_delete_file, Fread_file_name_internal):
-       Likewise.
+       * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise.
        * minibuf.c (Fminibuffer_complete_and_exit): Likewise.
        * undo.c (truncate_undo_list): Likewise.
 
 
        * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'.
 
-2005-11-11  David Reitter <david.reitter@gmail.com>
+2005-11-11  David Reitter  <david.reitter@gmail.com>
 
        * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey,
        macMetaKey, macAltKey. Introduce Qctrl, Qmeta,
        ignore_overlay_strings_at_pos_p if dpvec came from an overlay
        string, so we skip those overlay strings at current pos.
 
-2005-11-10  Lars Hansen <larsh@soem.dk>
+2005-11-10  Lars Hansen  <larsh@soem.dk>
 
        * fileio.c (file-regular-p): Doc fix.
 
 
        * xdisp.c (display_line): Restore it->current_x and call
        extend_face_to_end_of_line when last glyph doesn't fit on line.
-       (set_glyph_string_background_width): Remove specific tests  here
+       (set_glyph_string_background_width): Remove specific tests here
        to see if face background should extend to end of line.  Simplify.
 
 2005-10-30  Richard M. Stallman  <rms@gnu.org>
 
        * dispextern.h (fatal): Delete prototype.
 
-       * systime.h: (make_time): Prototype moved from ...
+       * systime.h (make_time): Prototype moved from ...
        * editfns.c (make_time): ... here.
 
        * editfns.c: Move systime.h include after lisp.h.
        get_current_dir_name.
        (get_current_dir_name): Remove prototype.
 
-       * xsmfns.c: (get_current_dir_name): Remove prototype.
+       * xsmfns.c (get_current_dir_name): Remove prototype.
 
-       * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]:
+       * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]:
        Add prototype.
 
        * sysdep.c [WINDOWSNT]: Add prototype for getwd.
 
        * window.c (window_scroll_pixel_based, window_scroll_line_based):
        Handle `scroll-preserve-screen-position' non-nil, non-t specially.
-       (syms_of_window): <scroll-preserve-screen-position>: Doc fix.
+       (syms_of_window) <scroll-preserve-screen-position>: Doc fix.
 
 2005-07-02  Juri Linkov  <juri@jurta.org>
 
 
        * config.in: Rebuild.
 
-       * Makefile.in: Run setarch i386 ./temacs if exec-shield  is present.
+       * Makefile.in: Run setarch i386 ./temacs if exec-shield is present.
 
 2004-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
        * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes.
 
-       * window.c (Fwindow_buffer, Fother_window,  Fget_lru_window)
+       * window.c (Fwindow_buffer, Fother_window, Fget_lru_window)
        (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on)
        (Freplace_buffer_in_windows, Fset_window_buffer)
        (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes.
        (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p)
        (make_image, free_image, prepare_image_for_display, image_ascent)
        (four_corners_best, image_background, image_background_transparent)
-       (x_clear_image_1,  x_clear_image, x_alloc_image_color)
+       (x_clear_image_1, x_clear_image, x_alloc_image_color)
        (make_image_cache, free_image_cache, clear_image_cache)
        (Fclear_image_cache, postprocess_image, lookup_image, cache_image)
        (forall_images_in_image_cache, x_create_x_image_and_pixmap)
        (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p)
        (make_image, free_image, prepare_image_for_display, image_ascent)
        (four_corners_best, image_background, image_background_transparent)
-       (x_clear_image_1,  x_clear_image, x_alloc_image_color)
+       (x_clear_image_1, x_clear_image, x_alloc_image_color)
        (make_image_cache, free_image_cache, clear_image_cache)
        (Fclear_image_cache, postprocess_image, lookup_image, cache_image)
        (forall_images_in_image_cache, x_create_x_image_and_pixmap)
        (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p)
        (make_image, free_image, prepare_image_for_display, image_ascent)
        (four_corners_best, image_background, image_background_transparent)
-       (x_clear_image_1,  x_clear_image, x_alloc_image_color)
+       (x_clear_image_1, x_clear_image, x_alloc_image_color)
        (make_image_cache, free_image_cache, clear_image_cache)
        (Fclear_image_cache, postprocess_image, lookup_image, cache_image)
        (forall_images_in_image_cache, x_create_x_image_and_pixmap)
        (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p)
        (make_image, free_image, prepare_image_for_display, image_ascent)
        (four_corners_best, image_background, image_background_transparent)
-       (x_clear_image_1,  x_clear_image, x_alloc_image_color)
+       (x_clear_image_1, x_clear_image, x_alloc_image_color)
        (make_image_cache, free_image_cache, clear_image_cache)
        (Fclear_image_cache, postprocess_image, lookup_image, cache_image)
        (forall_images_in_image_cache, x_create_x_image_and_pixmap)
        (Fx_change_window_property): Add declaration of parameters type and
        format.  Remove unused variable cons.
 
-       * xselect.c: Include stdio,h.
+       * xselect.c: Include stdio.h.
 
 2004-02-05  Kenichi Handa  <handa@m17n.org>
 
 
 2003-07-13  Terje Rosten  <terjeros@phys.ntnu.no>
 
-       * xterm.c (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask,
+       * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask,
        and use the Gtk+ function gtk_window_icon_from_file if available.
 
        * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to
 2002-09-08  Kim F. Storm  <storm@cua.dk>
 
        * macros.c (executing_macro_index): Change type to EMACS_INT.
-       (syms_of_macros): DEFVAR_INT it  (needed by kmacro).
+       (syms_of_macros): DEFVAR_INT it (needed by kmacro).
 
        * macros.h (executing_macro_index): Change type to EMACS_INT.
 
        Intern and staticpro QCtype and Qdatagram.
        (syms_of_process) [!subprocess]: Intern and staticpro QCtype.
 
-       * xfns.c: (QCtype): Remove duplicate declaration and
+       * xfns.c (QCtype): Remove duplicate declaration and
        initialization (is now declared in process.c).
 
-       * w32fns.c: (QCtype): Remove duplicate declaration and
+       * w32fns.c (QCtype): Remove duplicate declaration and
        initialization (is now declared in process.c).
 
 2002-03-21  Richard M. Stallman  <rms@gnu.org>
        Doc fix: Member kill_without_query is inverse of query-on-exit flag.
 
        * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
-       (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop)
+       (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop)
        (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature):
        New variables.
        (NETCONN1_P): New macro.
 
 2002-02-28  Kim F. Storm  <storm@cua.dk>
 
-       * window.c: (minibuf_selected_window): Renamed from
+       * window.c (minibuf_selected_window): Renamed from
        Vminibuf_selected_window.  Users changed.
        (syms_of_window): Staticpro it.
 
        which is similar to Vminibuf_scroll_window, but which is only set
        on entry to the minibuffer (from a non-minibuffer window):
 
-       * window.c: (Vminibuf_selected_window): New variable.
+       * window.c (Vminibuf_selected_window): New variable.
        (struct save_window_data): New member minibuf_selected_window.
        (Fset_window_configuration): Restore Vminibuf_selected_window.
        (Fcurrent_window_configuration): Save Vminibuf_selected_window.
        Set minibuf_scroll_window member to nil if minibuf_level is 0.
        (compare_window_configurations): Compare minibuf_selected_window.
 
-       * window.h: (Vminibuf_selected_window): Declare extern.
+       * window.h (Vminibuf_selected_window): Declare extern.
 
        * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first
        entry to minibuffer or on entry from a non-minibuffer window.
 
 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       Support for ICCCM  Extended Segments in X selections:
+       Support for ICCCM Extended Segments in X selections:
 
        * xselect.c <Qcompound_text_no_extensions>: New variable.
        (syms_of_xselect): Intern and staticpro it.
 
 2002-02-13  Kim F. Storm  <storm@cua.dk>
 
-       * window.c: (Vmode_line_in_non_selected_windows): Removed.
+       * window.c (Vmode_line_in_non_selected_windows): Removed.
        (mode_line_in_non_selected_windows): New variable.
        (syms_of_window): DEFVAR_BOOL it.
 
 
 2002-02-11  Kim F. Storm  <storm@cua.dk>
 
-       * window.c: (Vmode_line_in_non_selected_windows): New variable.
+       * window.c (Vmode_line_in_non_selected_windows): New variable.
        (syms_of_window): DEFVAR_LISP it.
 
        * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro.