]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
(char_table_range): New function.
[gnu-emacs] / src / ChangeLog
index fc2ded6ce94792ea18c99bfd5a9bec9b87a15e91..9fc43e0bd4aa867acb776e1ccdbf3cef3b06c693 100644 (file)
@@ -1,3 +1,819 @@
+2005-04-26  Kenichi Handa  <handa@m17n.org>
+
+       * fns.c (char_table_range): New function.
+       (Fchar_table_range): Signal an error if characters in the range
+       have inconsistent values.  Don't check the parent.
+
+2005-04-25  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (fontset_set): Fix previous change.
+
+2005-04-24  Richard M. Stallman  <rms@gnu.org>
+
+       * indent.c (Fvertical_motion): Bind fontification-functions to nil.
+
+2005-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * regex.c (re_search_2, re_match_2_internal): Convert second arg
+       of RE_TRANSLATE to int, to shut up GCC warnings.
+
+       * fileio.c (Fcopy_file): Doc fix.
+       [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and
+       not needed.
+
+2005-04-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o.
+       (SOME_MACHINE_OBJECTS): Likewise.
+       (mac.o): Depend on ccl.h.
+       (macselect.o): New target.
+
+       * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: Call
+       syms_of_macselect.
+
+       * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections.
+
+       * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or
+       coding.h.
+       (QCLIPBOARD): Remove variable.
+       (syms_of_mac): Don't initialize it.
+       (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p):
+       Remove functions.
+       (syms_of_mac): Don't defsubr them.
+       [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC)
+       (QHFS_plus_D, QHFS_plus_C): New variables.
+       (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them.
+       [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp)
+       (cfstring_create_normalized): New functions.
+       [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise.
+       (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
+
+       * macterm.c (handling_window_update, terminate_flag): Remove
+       variables.
+       (do_window_update, do_ae_quit_application, XTread_socket): Don't
+       use them.
+       (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define.
+       [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event)
+       (init_service_handler): Move to macselect.c.  Remove declarations.
+       [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern.
+       (Qapplication, Qabout): New variables.
+       (syms_of_mac): Initialize them.
+       [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste)
+       (Qperform): New variables.
+       (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them.
+       (do_get_menus) [!TARGET_API_MAC_CARBON]: Don't call AppendResMenu.
+       (do_menu_choice): Unhighlight menu bar also when menu_id is 0.
+       (mac_store_application_menu_event, init_menu_bar): New functions.
+       [USE_CARBON_EVENTS] (mac_handle_command_event)
+       (init_command_handler): New functions.
+       (mac_handle_window_event): Return noErr on window update event.
+       (do_ae_quit_application): Call mac_store_application_menu_event.
+       (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler
+       and init_menu_bar.
+
+       * macterm.h (x_clear_frame_selections): Add extern.
+
+       * macselect.c: New file for selection processing on Mac OS.
+
+2005-04-23  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fcopy_file): New arg MUSTBENEW.
+       (Frename_file): Pass new arg to Fcopy_file.
+
+       * window.c (window_size_fixed): Variable deleted.
+       (syms_of_window): Initialize window-size-fixed to nil.
+       But don't DEFVAR window_size_fixed.
+
+2005-04-23  Andreas Schwab  <schwab@suse.de>
+
+       * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define.
+       (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to
+       use lib64 instead of lib.
+       (_LP64) [_ARCH_PPC64]: Define if not defined.
+
+2005-04-23  David Hunter  <hunterd42@comcast.net>  (tiny change)
+
+       * s/ms-w32.h (HAVE_PWD_H): Define.
+
+2005-04-22  Kenichi Handa  <handa@m17n.org>
+
+       * fns.c (copy_sub_char_table): Explicitly copy the default value
+       of the sub-chartable.
+
+       * fontset.c (fontset_set): When a sub-chartable is created,
+       explicitly sets the defalt value.
+
+2005-04-22  Kim F. Storm  <storm@cua.dk>
+
+       * fns.c (Fplist_get): Replace by Fsafe_plist_get.
+       (Fsafe_plist_get): Rename to Fplist_get.
+       (Fsafe_get): Remove, as Fget now uses safe Fplist_get.
+       (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get.
+
+       * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN.
+
+       * xdisp.c (store_mode_line_string, produce_stretch_glyph)
+       (note_mode_line_or_margin_highlight, note_mouse_highlight):
+       Use Fplist_get instead of Fsafe_plist_get.
+
+       * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get.
+
+2005-04-21  Miles Bader  <miles@gnu.org>
+
+       * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field.
+
+2005-04-20  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * sysdep.c: Remove reference to defunct vms-pwd.h.
+       * dired.c: Likewise.  Also, for pwd.h, use HAVE_PWD_H, not !VMS.
+       * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise.
+
+       * config.in: Regenerate.
+
+2005-04-20  Kenichi Handa  <handa@m17n.org>
+
+       * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro.
+       (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro.
+       (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro.
+
+       * alloc.c (make_sub_char_table): Argument changed to initial
+       value of the slots.
+
+       * data.c (Faref): Handle special slots used as default values of
+       ascii, eight-bit-control, eight-bit-control.  Don't ignore a
+       default value set for a group of characters.
+       (Faset): Signal an error if IDXVAL is not a valid character code.
+       Make a sub-chartable with correct initial value.
+
+       * fns.c (Fset_char_table_range): Don't set slots used as default
+       values for ascii, eight-bit-control, eight-bit-graphic.  Don't
+       call Faref with charset-id.
+       (Fset_char_table_default): Document how to treat normal character
+       argument.  Handle special slots used as default values of ascii,
+       eight-bit-control, eight-bit-control.  Make a sub chartable if
+       necessary.
+
+2005-04-20  Kenichi Handa  <handa@m17n.org>
+
+       * search.c (boyer_moore): Fix previous change.
+
+2005-04-19  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default
+       face unless last visible char and first invisible char have the
+       same face.  Also use default face if saved_face_id is undefined.
+
+2005-04-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macgui.h (MacFontStruct): Remove member `fontname'.  Add member
+       `full_name'.
+       [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for
+       mac_scriptcode member.
+
+       * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables.
+       (syms_of_mac): Don't initialize them.
+       (Vmac_charset_info_alist): New variable.
+       (syms_of_mac): Defvar it.
+       (create_text_encoding_info_alist): New function.
+       (decode_mac_font_name, mac_to_x_fontname)
+       (x_font_name_to_mac_font_name, init_font_name_table): Don't hard
+       code the correspondence among XLFD charsets, Mac script codes, and
+       Emacs coding systems.  Use Vmac_charset_info_alist and result of
+       create_text_encoding_info_alist instead.
+       (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager
+       routines also on Mac OS Classic.
+       (init_font_name_table) [!TARGET_API_MAC_CARBON]: Use
+       add_font_name_table_entry.
+       (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as
+       specified.  Derive unspecified scalable fields from specified one.
+       (x_list_fonts): Consider Valternate_fontname_alist.
+       (kDefaultFontSize): Change value from 9 to 12.
+       (XLoadQueryFont): Get decoded font family, font face, and charset
+       from x_font_name_to_mac_font_name.  Set full name of loaded font.
+       (mac_unload_font): Free `full_name' member.
+       (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns
+       NULL.  Copy full_name member of struct MacFontStruct to that of
+       struct font_info.
+
+2005-04-19  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (handle_stop): Set saved_face_id to current face if
+       selective_display_ellipsis_p so ellipsis will be shown in same
+       face as preceding text.
+       (setup_for_ellipsis): Don't set saved_face_id here.
+       (next_element_from_display_vector): Default to saved_face_id.
+
+       * fns.c (Fsafe_get): New function.
+       (syms_of_fns): Defsubr it.
+
+       * lisp.h (Fsafe_get): EXFUN it.
+
+       * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay
+       loops in case of bad face property lists.  Limit number of face
+       alias lookups to 10 (in case of face alias loops).
+
+2005-04-18  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap.
+       It replaces the corresponding member from struct window, as a
+       window may now show multiple overlay arrows.
+       Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap.
+
+       * dispnew.c (row_equal_p, update_window_line, scrolling_window):
+       Compare overlay_arrow_bitmap than overlay_arrow_p members.
+
+       * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row
+       rather than from window.
+       (update_window_fringes): Compare overlay_arrow_bitmap rather than
+       overlay_arrow_p members.
+       (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name
+       if not default.
+
+       * window.h (struct window): Remove member overlay_arrow_bitmap.
+
+       * window.c (make_window): Don't initialize overlay_arrow_bitmap.
+
+       * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg.
+       Calls changed.  Don't check for overlay-arrow-bitmap property here.
+       (overlay_arrow_at_row): Remove PBITMAP arg.  Instead, if left
+       fringe is present, return Lisp integer for bitmap (or -1 for default).
+       Fix value of overlay-arrow-bitmap property to be a symbol, use
+       lookup_fringe_bitmap to parse it.
+       (display_line): Change call to overlay_arrow_at_row.  Store integer
+       return value as overlay bitmap in row rather than window.
+       Only show overlay arrow if row displays text, or if no other overlay
+       arrow is seen in window (if overlay marker is at point-max).
+
+2005-04-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL.
+
+2005-04-18  Lute Kamstra  <lute@gnu.org>
+
+       * lread.c (Vloads_in_progress): Static.
+       * fns.c (Vloads_in_progress): Remove extern.
+       (load_in_progress): Add extern.
+       (Frequire): Use load_in_progress instead of Vloads_in_progress.
+
+2005-04-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xmenu.c (Fx_popup_menu): Initialize error_name to NULL.
+
+2005-04-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (XTread_socket): Don't beep on keyboard input even if
+       no frame is visible.
+
+2005-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * term.c (struct keys): Add support for shifted keys.
+
+2005-04-16  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case.
+       (set_message): Call with_echo_area_buffer with WHICH = 0.
+       (set_message_1): Erase the echo area buffer first thing.
+       (echo_area_display): Don't clear echo_message_buffer.
+
+2005-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * Makefile.in (mac.o): Depend on charset.h and coding.h.
+
+       * mac.c: Include charset.h and coding.h.
+       [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern.
+       [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New
+       function.
+       [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it.
+
+       * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise.
+
+       * image.c [MAC_OSX] (image_load_quartz2d): Likewise.
+
+       * macterm.c (x_autoselect_window_p): Remove variable.
+       (last_window): New variable.
+       (XTreassert_line_highlight, x_change_line_highlight): Remove
+       declarations.
+       (mac_focus_changed, x_detect_focus_change): New functions and
+       declarations.
+       (XTextExtents16, front_emacs_window): Remove function.
+       (mac_focus_frame): New function.
+       (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket)
+       (mac_check_for_quit_char): Use it instead of front_emacs_window.
+       (x_scroll_bar_report_motion): Obtain window from control owner.
+       (x_make_frame_invisible): Set window manager size hint.
+       (do_mouse_moved): Remove function.
+       (XTread_socket): Move its contents here.  Generate select-window
+       event on mouse movement if needed.  Use x_detect_focus_change on
+       activate/deactivate events.  Don't deiconify frame or invalidate
+       window rectangle when dnd items are dropped.  Don't
+       activate/deactivate root control.
+       (frame_highlight, frame_unhighlight): Activate/deactivate root
+       control here.
+       (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p.
+
+       * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]:
+       New extern.
+
+2005-04-15  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * Makefile.in: Define new macro TOOLTIP_SUPPORT.
+       (lisp): Use it.
+       (SOME_MACHINE_LISP): Add tooltip.
+
+2005-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h.  Don't
+       include TextEncodingConverter.h.
+       (mac_system_script_code, Vmac_system_locale): New variables.
+       (syms_of_mac): Defvar them.
+       (mac_get_system_locale): New function.
+
+       * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: Use
+       ENCODE_SYSTEM to encode title bar string.
+       (x_create_tip_frame): Apply 2005-03-18 change for xfns.c.
+       (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: Use
+       CFStringGetSystemEncoding to get system default string encoding.
+
+       * macterm.c [!TARGET_API_MAC_CARBON]: Don't include
+       TextEncodingConverter.h.
+
+2005-04-13  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (syms_of_macterm): Remove redundant definition of
+       mac-pass-control-to-system.
+
+2005-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.c (Fset_window_configuration): Be careful when you choose
+       among several possible points for the new_current_buffer.
+
+2005-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call
+       poll_for_input_1.  Set interrupt_input_pending to 1 instead.
+       (Qlanguage_change) [MAC_OS]: New variable.
+       (syms_of_keyboard) [MAC_OS]: Intern and staticpro it.
+       (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT.
+
+       * macterm.c (mac_keyboard_text_encoding)
+       (current_mac_keyboard_text_encoding): Remove variables.
+       (XTread_socket): Store language-change event if keyboard script change
+       is detected.  Don't convert input to `mac_keyboard_text_encoding'.
+       (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding.
+
+       * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT.
+
+2005-04-10  Richard M. Stallman  <rms@gnu.org>
+
+       * emacs.c (standard_args): Rename --bare-bones to --quick.
+       Add -D aka --basic-display.
+
+       * buffer.c (Fmake_indirect_buffer): Clear out some local variables.
+
+2005-04-09  Richard M. Stallman  <rms@gnu.org>
+
+       * keymap.c (where_is_internal): Convert a string used as event type
+       into "(any string)".
+
+       * lread.c (Vloads_in_progress): Not static.
+       * fns.c (Vloads_in_progress): Add extern.
+       (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil.
+
+2005-04-09  Thien-Thi Nguyen  <ttn@surf.glug.org>
+
+       * dispnew.c (mirror_line_dance): Avoid crash if W2 is null.
+
+2005-04-09  Lute Kamstra  <lute@gnu.org>
+
+       * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is
+       within the accessible part of the buffer.
+
+2005-04-09  Kim F. Storm  <storm@cua.dk>
+
+       * lread.c (readevalloop): Add args START and END as region in
+       current buffer to read.  Callers changed.
+       When specified, narrow to this region only when reading,
+       not during eval.  Track next point to read from during eval.
+       Also restore point to "real" buffer position before eval.
+       (Feval_region): Don't save excursion and restriction here, and
+       don't narrow to region.  Just pass region to readevalloop.
+       Note: Point is now preserved even when PRINTFLAG is nil.
+
+2005-04-08  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>".
+
+2005-04-06  Kim F. Storm  <storm@cua.dk>
+
+       * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones.
+
+2005-04-06  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'.
+       (Fmac_get_preference): Doc fix.
+
+       * macfns.c (Fx_create_frame, x_create_tip_frame):
+       Add "fontset-mac" to fallback font/fontsets.
+
+2005-04-04  Kim F. Storm  <storm@cua.dk>
+
+       * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc.
+
+       * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry.
+       Call it again after autoload.
+
+2005-04-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling
+       mallopt.
+
+       * ralloc.c (r_alloc_init): Ditto.
+
+2005-04-01  Kenichi Handa  <handa@m17n.org>
+
+       * lisp.h (Vascii_upcase_table, Vascii_canon_table)
+       (Vascii_eqv_table): Extern them.
+
+       * casetab.c (set_case_table): If standard is nonzero, setup
+       Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table.
+
+       * search.c (looking_at_1): Use current_buffer->case_canon_table,
+       not DOWNCASE_TABLE.
+       (string_match_1): Likewise.
+       (fast_c_string_match_ignore_case): Use Vascii_canon_table, not
+       Vascii_downcase_table.
+       (fast_string_match_ignore_case): Likewise.
+       (search_buffer): Fix checking of boyer-moore usability.
+       (boyer_moore): Calculate translate_prev_byte1/2/3 in advance.
+       No need of tranlating characters in PAT.  Fix calculation of
+       simple_translate.
+
+2005-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap.
+       (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it.
+       Use XtNtopShadowPixel and XtNbottomShadowPixel.
+       (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't
+       really work and that breaks with some versions of Xaw3d.
+
+2005-03-31  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (syms_of_coding): Fix previous change.
+
+2005-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (search_embedded_absfilename): Fix last change.
+
+2005-03-25  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (syms_of_coding): Suggest to use set-coding-category in
+       the docstring of coding-category-list.
+
+2005-03-31  Kim F. Storm  <storm@cua.dk>
+
+       * keyboard.c (Qmouse_fixup_help_message): New var.
+       (syms_of_keyboard): Intern and staticpro it.
+       (show_help_echo): Apply mouse-fixup-help-message to help string.
+
+2005-03-30  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_line): Allow multiple overlay arrows in window.
+
+2005-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP.
+       (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p.
+       (Ffile_name_absolute_p): Use it.
+       (search_embedded_absfilename): New fun, extracted from
+       Fsubstitute_in_file_name.  Use file_name_absolute_p.
+       Free the pw data after use.
+       (Fsubstitute_in_file_name): Use it.
+       After cutting a prefix, re-check file-name-handler.
+
+2005-03-26  Lennart Borgman  <lennart.borgman.073@student.lu.se>
+
+       * w32term.h (x_output): Add focus_state.
+
+       * w32term.c (x_focus_changed, w32_detect_focus_change): New functions.
+       (w32_read_socket) [WM_SETFOCUS]: Call w32_detect_focus_change.
+
+2005-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit):
+       Use Fexit_minibuffer.
+       (Fexit_minibuffer): Mark it as no-return, deactivate the mark.
+
+2005-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * dired.c (Ffile_attributes): Add a missing gcpro.
+
+       * alloc.c (make_number): The arg can be bigger than `int'.
+       * lisp.h (make_number): Make prototype more precise.
+
+       * process.c, dired.c (Vfile_name_coding_system)
+       (Vdefault_file_name_coding_system):
+       * callproc.c (Vdoc_file_name, Vfile_name_coding_system)
+       (Vdefault_file_name_coding_system): Remove unused declarations.
+
+2005-03-24  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xmenu.c (create_and_show_popup_menu): Just remove menu and return
+       if it failed to pop up (Gnome "show pointer on ctrl" option makes
+       menus fail to pop up).
+
+2005-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9.
+       Just prepend a backslash without replacing the NBSP by an SPC.
+
+2005-03-22  Kim F. Storm  <storm@cua.dk>
+
+       * xfaces.c (lookup_derived_face): Add arg SIGNAL_P.
+       * dispextern.h (lookup_derived_face): Fix prototype.
+       * msdos.c (XMenuActivate): Fix call to lookup_derived_face.
+
+       * xdisp.c (handle_single_display_spec): Derive left-fringe and
+       right-fringe face from fringe face.
+
+       * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face):
+       Derive face from fringe face.
+
+2005-03-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xrdb.c (x_load_resources): Undo previous change (2005-03-18).
+
+2005-03-22  David Kastrup  <dak@gnu.org>
+
+       * textprop.c (Fnext_char_property_change)
+       (Fprevious_char_property_change): Allow marker as limit.
+       (Fnext_single_char_property_change)
+       (Fprevious_single_char_property_change): Check that limit is a
+       number in strings.
+       (Fnext_single_char_property_change): Coerce position to integer.
+       (Fprevious_single_char_property_change): Same here.
+
+2005-03-21  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined.
+
+2005-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * frame.c (Fignore_event): Remove.
+       (syms_of_frame): Don't defsubr it.
+
+       * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the
+       redundant `ignore-event'.
+
+2005-03-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * unexec.c (write_segment, unexec): Move these functions to avoid
+       forward references (which cause errors with "gcc -gcoff").
+
+2005-03-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so
+       that it doesn't become "tooltip".  The specbind is enough.
+
+       * xrdb.c (x_load_resources): Use different char *helv when I18N
+       is present.
+
+2005-03-17  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (syms_of_coding): Docstring of coding-category-list fixed.
+
+2005-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]:
+       Use xic_create_fontsetname even for non-Motif menus.
+       Don't forget to free the fontsetname.
+
+       * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern.
+
+2005-03-17  Richard M. Stallman  <rms@gnu.org>
+
+       * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM.
+
+       * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file)
+       (Fmake_symbolic_link): Use G to read the new file name.
+
+       * callint.c (Finteractive): Document G option.
+       (Fcall_interactively): Implement G option.
+
+       * buffer.c (buffer_lisp_local_variables): New function,
+       broken out from Fbuffer_local_variables.
+       (clone_per_buffer_values): Use buffer_lisp_local_variables.
+
+2005-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xfns.c (xic_create_fontsetname): Add `motif' argument.
+       Always return a freshly allocated string.
+       (xic_create_xfontset): Adjust call.
+
+       * xfaces.c (x_update_menu_appearance) [USE_MOTIF]:
+       Use xic_create_fontsetname to create a fontset so utf-8 locales work.
+       (dump_realized_face): Fix warning.
+
+       * emacs.c (Fkill_emacs): YAILOM.
+
+       * frame.c (Fignore_event): Fix ancient obscure C-u handling bug.
+
+2005-03-17  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c (HASHKEY_TERMINAL): Remove.
+       (HASHKEY_MAX_NID): New macro.
+       (xrm_q_get_resource_1): Rename from xrm_q_get_resource.  Add extra
+       argument.
+       (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument.
+       (xrm_create_database, xrm_q_put_resource)
+       (xrm_merge_string_database, xrm_q_get_resource_1)
+       (xrm_q_get_resource): Change resource database representation so
+       that it may not use multiple hash tables for a single database.
+       [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM.
+
+2005-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM.
+
+       * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the
+       locale-coding-system, as was already done for WINDOWSNT.
+
+       * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta
+       translation for chars in the 0-255 range.
+
+2005-03-16  Lute Kamstra  <lute@gnu.org>
+
+       * floatfns.c (Ffloor): Doc fix.
+
+2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * mac.c: Include macterm.h instead of directly including Carbon.h.
+       [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata)
+       (Qarray, Qdictionary): New variables.
+       (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them.
+       [TARGET_API_MAC_CARBON] (Qutf_8): Add extern.
+       [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro.
+       [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used
+       in callback for CFDictionaryApplyFunction.
+       [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp)
+       (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp)
+       (cfobject_desc_to_lisp, cfdictionary_add_to_list)
+       (cfdictionary_puthash, cfproperty_list_to_lisp): New functions.
+       [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function.
+       (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
+       (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro.
+       (skip_white_space, parse_comment, parse_include_file)
+       (parse_binding, parse_component, parse_resource_name, parse_value)
+       (parse_resource_line, xrm_create_database, xrm_q_put_resource)
+       (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource)
+       (xrm_cfproperty_list_to_value, xrm_get_preference_database):
+       New functions.
+
+       * macfns.c (mac_get_rdb_resource): Remove function.
+       (x_get_string_resource): Use xrm_get_resource.
+
+       * macgui.h (XrmDatabase): Typedef to Lisp_Object.
+
+       * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of
+       name_list_element.
+       (mac_make_rdb): Create resource database from preferences and
+       argument string.
+       (mac_term_init): Save resource database to cddr part of
+       name_list_element.
+
+       * macterm.h (xrm_merge_string_database, xrm_get_resource)
+       (xrm_get_preference_database): Add externs.
+       [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp)
+       (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp)
+       (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise.
+
+       * process.c (init_process): Change `#ifdef DARWIN' to `#if
+       defined (DARWIN) || defined (MAC_OSX)'
+
+       * s/darwin.h (DARWIN): Don't define.
+
+2005-03-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift):
+       Remove unused variables.
+       (syms_of_macfns): Don't initialize them.  Likewise for
+       Qface_set_after_frame_default.  Defvar and initialize
+       Vx_window_horizontal_drag_shape.
+       (x_set_mouse_color): Change mouse pointer shape.
+       (mac_window) [!MAC_OSX]: Create root control.
+       (Fx_create_frame): Remove initializations of mouse pointer shapes.
+       (hourglass_started): New function (from xfns.c).
+       (start_hourglass, cancel_hourglass): Put function body in #ifdef
+       MAC_OSX.
+       (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress
+       indicator for each non-tooltip frame if needed, and show it.
+       (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators.
+
+       * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and
+       Controls.h.  Use ThemeCursor instead of CursHandle.
+
+       * macterm.c (activate_scroll_bars, deactivate_scroll_bars):
+       Remove functions and declarations.
+       (mac_set_colors): Take argument for saving background color.
+       All callers changed.
+       (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle)
+       (mac_draw_rectangle, mac_draw_string_common): Save and Restore
+       background color.
+       (x_update_end, mac_do_track_drag): Don't reset background color.
+       (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]:
+       Use SetThemeCursor.
+       (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress
+       indicator control to the upper-right corner of the window.
+       (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable.
+       (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it.
+       (do_window_update): Update controls after updating content area.
+       (mac_handle_window_event): Remove unused extern.
+       (XTread_socket): Check both control handle and control part code
+       to determine whether a scroll bar is clicked.  Activate/deactivate
+       root control instead of contained scroll bar controls.
+       (make_mac_terminal_frame): Use ThemeCursor constants.
+
+       * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]:
+       New member hourglass_control.
+       (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines.
+       (activate_scroll_bars, deactivate_scroll_bars): Remove declarations.
+
+2005-03-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (keycode_to_xkeysym_table): Change mapping so that it
+       coincides with that in Apple X11 except `clear', `enter' on
+       laptops, and fn + `enter' on laptops.
+
+2005-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte.
+       (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR.
+       (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING.
+
+       * xfns.c (xic_defaut_fontset): New constant.
+       (xic_create_fontsetname): New function.
+       Extracted from create_frame_xic.  Try to generate a slightly
+       better fontset.
+       (xic_create_xfontset): Use it.
+       (create_frame_xic): Simplify.
+
+2005-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fmake_symbolic_link): Fix last change.
+
+2005-03-11  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Frename_file, Fadd_name_to_file)
+       (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory,
+       expand the basename of FILE relative to it.
+
+2005-03-11  Kenichi Handa  <handa@m17n.org>
+
+       * fileio.c (Finsert_file_contents): Call Fcheck_coding_system
+       before calling setup_coding_system so that autoloading of a coding
+       system work.
+
+2005-03-10  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (hourglass_started): New function.
+
+       * dispextern.h: Declare hourglass_started.
+
+       * keyboard.c (Fexecute_extended_command): Restart hourglass
+       after call to Fcompleting_read if already started.
+
+       * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the
+       GTK main loop is entered in xterm.c, thus doing the redraw.
+
+2005-03-10  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (pos_visible_p): Fix X value in last line of buffer.
+
+2005-03-08  Kenichi Handa  <handa@m17n.org>
+
+       * frame.c (x_set_font): Call set_default_ascii_font if an
+       available font is found.
+
+       * fontset.c (set_default_ascii_font): New function.
+       (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here.
+
+       * fontset.h (set_default_ascii_font): Extern it.
+
+2005-03-07  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const.
+       (clear_image_cache_count): New var.
+       (redisplay_internal): Don't clear face and image caches in the
+       middle of redisplay; do it afterwards.
+
+       * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else.
+
+       * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos
+       is valid.  If not, clear phys_cursor_on_p and return.
+
+2005-03-07  Andreas Schwab  <schwab@suse.de>
+
+       * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.
+
 2005-03-06  Richard M. Stallman  <rms@gnu.org>
 
        * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT.
        * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if
        defined (MAC_OSX) && defined (HAVE_CARBON)'.
 
-       * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include
-       QuickTime.h.
+       * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h.
 
        * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h.
        [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent.
-       (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New
-       functions.
+       (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions.
        (mac_clear_font_name_table): Move extern to macterm.h.
 
        * macfns.c (install_window_handler): Move extern to macterm.h.
        valid.  Don't check !NILP (dir) because it is already checked with
        CHECK_STRING.
        (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for
-       specifying the default location and obtaining the selected
-       filename.
+       specifying the default location and obtaining the selected filename.
 
        * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h.
 
        * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that
        are included via Carbon.h.
 
-       * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: Define
-       USE_CARBON_EVENTS to 1.
+       * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]:
+       Define USE_CARBON_EVENTS to 1.
        (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare.
        (x_free_frame_resources): Call remove_window_handler for
        non-tooltip windows.
        (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for
        drag-and-drop handler functions and register them.
        (remove_window_handler): New function.
-       (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: Use
-       fsspec_to_posix_pathname.
+       (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]:
+       Use fsspec_to_posix_pathname.
        (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8.
        (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM.
-       [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: Set
-       default cursors.
+       [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]:
+       Set default cursors.
        (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call
        init_service_handler or init_quit_char_handler.
        (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess.
 
        * xselect.c (selection_data_to_lisp_data): For the special case
        type == XA_ATOM, data contains array of int, not array of Atom.
-       (x_property_data_to_lisp, selection_data_to_lisp_data): Comment
-       update: data must be array of int for format == 32.
+       (x_property_data_to_lisp, selection_data_to_lisp_data):
+       Comment update: data must be array of int for format == 32.
 
 2005-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
 2005-02-02  Steven Tamm  <steventamm@mac.com>
 
-       * macfns.c (unwind_create_frame): Fixing compile error due to
+       * macfns.c (unwind_create_frame): Fix compile error due to
        xassert being uncondition, but predicate is.
-       * dispnew.c (update_window): Fixing compile error due to
+       * dispnew.c (update_window): Fix compile error due to
        xassert being uncondition, but predicate is.
 
 2005-02-02  Miles Bader  <miles@gnu.org>
 
        * s/darwin.h: Removed PTY_ITERATION from here.
        (DARWIN): Define.
+
        * process.c (init_process): Default process-connection-type to
        nil on darwin 6 or less, t if it is 7 or higher.  This way the
        broken pty behavior is still allowed on darwin 6 for interactive
 
        * doc.c: New variable Vbuild_files.
        (Fsnarf_documentation): If Vbuild_files is nil, populate it with
-       file names from buildobh.lst.  Only attach docstrings from files
+       file names from buildobj.lst.  Only attach docstrings from files
        that are in Vbuild_files.
        (syms_of_doc): Defvar Vbuild_files.
 
 
        * xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
 
-2004-10-21  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
+2004-10-21  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
 
        * xterm.h (x_output): New member `xic_base_fontname'.
        (FRAME_XIC_BASE_FONTNAME): New macro.
 2004-08-26  Steven Tamm  <steventamm@mac.com>
 
        * fileio.c (Fread_file_name): Call x_file_dialog on carbon on
-       tool-bar/menu click
-       * macfns.c (Fx_file_dialog): Implemented using NavServices
+       tool-bar/menu click.
+       * macfns.c (Fx_file_dialog): Implement using NavServices.
 
 2004-08-24  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * keyboard.c (cmd_error): Don't call any_kboard_state
        if inside a recursive edit level.
 
-2004-06-13  Lorentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+2004-06-13  K\e,Ba\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
 
        * keyboard.c (command_loop): Call any_kboard_state before
        command_loop_2 when at top level.
 
 2004-04-26  Steven Tamm  <tamm@Steven-Tamms-Computer.local>
 
-       * lread.c (init_lread): Fixing typo HAVE_CARBON test logic
+       * lread.c (init_lread): Fix typo in HAVE_CARBON test logic.
 
 2004-04-26  Miles Bader  <miles@gnu.org>
 
 
 2004-03-11  Steven Tamm <steventamm@mac.com>
 
-       * image.c [MAC_OSX]: Include sys/stat.h
+       * image.c [MAC_OSX]: Include sys/stat.h.
 
        * macfns.c (syms_of_macfns): Remove definitions of things now
-       defined in image.c
+       defined in image.c.
 
 2004-03-11  Kim F. Storm  <storm@cua.dk>
 
        * macterm.c (Vmac_emulate_three_button_mouse): New variable for
        controlling emulation of a three button mouse with option and
        command keys.
-       (Qreverse, mac_get_enumlated_btn): Handle the emulation
+       (Qreverse, mac_get_enumlated_btn): Handle the emulation.
        (mac_event_to_emacs_modifiers, XTread_socket): Ditto.
 
 2004-02-15  Kim F. Storm  <storm@cua.dk>
 
 2003-01-20  Steven Tamm  <steventamm@mac.com>
 
-       * macterm.c (XTread_socket): Checks for valid, visible window
+       * macterm.c (XTread_socket): Check for valid, visible window
        before sending a scroll-wheel event.
 
 2003-01-20  Richard M. Stallman  <rms@gnu.org>
 
 2002-12-28  Steven Tamm  <steventamm@mac.com>
 
-       * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to
+       * Makefile.in (macosx-bundle): Fix 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.
 
 
        * 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
+       being treated like C-%.  Do 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>