(Fkey_binding): Fix typo.
[bpt/emacs.git] / src / ChangeLog
index f8a4818..99b53bf 100644 (file)
@@ -1,3 +1,271 @@
+2002-07-11  Markus Rost  <rost@math.ohio-state.edu>
+
+       * keymap.c (Fkey_binding): Fix typo.
+
+2002-07-11  Richard M. Stallman  <rms@gnu.org>
+
+       * s/hpux11.h (BROKEN_SA_RESTART): Defined.
+
+       * sysdep.c (sys_signal): Test BROKEN_SA_RESTART.
+
+2002-07-11  Juanma Barranquero  <lektu@terra.es>
+
+       * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c,
+       * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c,
+       * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c,
+       * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c,
+       * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c,
+       * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense.
+
+2002-07-10  Juanma Barranquero  <lektu@terra.es>
+
+       * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers
+       changed.
+
+2002-07-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * ccl.c (HASH_VALUE): Remove (it's in lisp.h now).
+
+2002-07-09  Kenichi Handa  <handa@etl.go.jp>
+
+       * callproc.c (Fcall_process): Fix previous change.
+
+2002-07-07  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
+       Add support for hash-tables.
+       (Ftry_completion): Return t even if the string appears multiple times.
+
+       * fns.c (Fnconc): Use XCDR.
+       (Fprovide): Use CONSP and XCDR.
+       (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
+       (HASH_TABLE_SIZE): Delete: moved to lisp.h.
+       (Fmake_hash_table): Accept `:size nil'.
+       (Fmakehash): Delete: moved to subr.el.
+       (syms_of_fns): Don't defsubr makehash.
+
+       * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
+       (HASH_TABLE_SIZE): Move from fns.c.
+
+2002-07-07  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls.
+       Instead just return 0 when there is something to be done.
+       (try_scrolling): If make_cursor_line_fully_visible returns 0,
+       retry scrolling as if cursor were off the bottom.
+       (try_cursor_movement): If make_cursor_line_fully_visible returns 0,
+       return CURSOR_MOVEMENT_MUST_SCROLL.
+       (redisplay_window): If make_cursor_line_fully_visible returns 0,
+       go to try_to_scroll.
+
+       * buffer.c (Fbuffer_local_value): Store current value into its binding
+       so we get the up-to-date value for the binding that is loaded.
+
+       * eval.c (Fdefmacro): Doc fix.
+
+2002-07-05  Dave Love  <fx@gnu.org>
+
+       * keyboard.c (read_key_sequence): Set initial_idleness_start_time
+       correctly.
+
+       * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE)
+       (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New.
+       (ccl_driver): Add cases for CCL_LookupIntConstTbl,
+       CCL_LookupCharConstTbl.
+       (syms_of_ccl): Defvar translation-hash-table-vector.
+
+2002-07-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * xdisp.c: Remove unused variable `face'.
+
+2002-07-04  Juanma Barranquero  <lektu@terra.es>
+
+       * keyboard.c (post_command_idle_hook): Remove redundant (and inexact)
+       obsolescence information.
+
+2002-07-03  Andrew Choi  <akochoi@shaw.ca>
+
+       * macterm.c (x_list_fonts): Fix comment.  Cache fonts matching
+       pattern.  Search cache first.
+       (init_font_name_table): Also add entry for jisx0201.1976-0 coding
+       for Japanese font.
+       (XLoadQueryFont): Use it.
+
+2002-07-02  Richard M. Stallman  <rms@gnu.org>
+
+       * keymap.c (Fdefine_key): Doc fix.
+
+       * xterm.c (x_term_init): Turn off polling around XtOpenDisplay.
+
+2002-07-02  Juanma Barranquero  <lektu@terra.es>
+
+       * keymap.c (syms_of_keymap): Fix typo.
+
+2002-07-01  Andrew Choi  <akochoi@shaw.ca>
+
+       * s/darwin.h: Define POSIX_SIGNALS.
+
+       * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
+       and FSRefMakePath to convert FSSpec returned with Apple Event to
+       Posix pathname.
+       (mac_initialize) [TARGET_API_MAC_CARBON]:
+       Call init_required_apple_events and disable the `Quit' menu item
+       provided automatically by the Carbon Toolbox.
+
+2002-07-01  Dave Love  <fx@gnu.org>
+
+       * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
+       for K&R.
+
+       * xterm.c: Fix prototype for K&R.
+
+       * term.c (costs_set): Declare static, non-initialized for pcc.
+
+2002-07-01  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.c (timer_last_idleness_start_time): New variable.
+       (timer_start_idle): Set that.
+       (read_key_sequence): Use that to reset timer_idleness_start_time
+       to previous value.
+
+       * window.c (Frecenter): With arg, set optional_new_start.
+
+       * xdisp.c (redisplay_internal): Make optional_new_start really work.
+
+       * minibuf.c (Fminibuffer_complete_and_exit): Move to end of
+       buffer for completion.
+
+2002-06-29  Ken Raeburn  <raeburn@gnu.org>
+
+       * xdisp.c (store_mode_line_string): Lisp_Object/int mixup.
+
+2002-06-28  Jan D.  <jan.h.d@swipnet.se>
+
+       * keyboard.c (readable_filtered_events): New function that filters
+       FOCUS_IN_EVENT depending on parameter.
+       (readable_events): Calls readable_filtered_events, not filtering
+       FOCUS_IN_EVENT.
+       (get_filtered_input_pending): New function, filtering parameter passed
+       to readable_filtered_events.
+       (get_input_pending): Calls get_filtered_input_pending, not filtering
+       FOCUS_IN_EVENT.
+       (Finput_pending_p): Calls get_filtered_input_pending, DO filter
+       FOCUS_IN_EVENT.
+
+       * xterm.h (struct x_output): Add focus_state.
+
+       * xterm.c (x_focus_changed): New function.
+       (x_detect_focus_change): New function.
+       (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
+       EnterNotify and LeaveNotify to track X focus changes.
+
+2002-06-28  Andreas Schwab  <schwab@suse.de>
+
+       * lisp.h: Remove duplicate declaration of
+       code_convert_string_norecord.
+
+2002-06-27  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c: (mode_line_string_list, mode_line_string_face)
+       (mode_line_string_face_prop): New variables.
+       (store_mode_line_string): New function.
+       (display_mode_element): Use store_mode_line_string to
+       add mode-line string elements to mode_line_string_list
+       when mode_line_string_list is non-nil.
+       (Fformat_mode_line): Now returns propertized string by
+       default.  New arg NO-PROPS to ignore properties.
+       (decode_mode_spec): Only add two dashes for %- in propertized
+       mode-line string.
+       (syms_of_xdisp): Init and staticpro mode_line_string_list.
+
+2002-06-27  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * minibuf.c (minibuffer_completion_contents): Add return type.
+
+2002-06-27  Juanma Barranquero  <lektu@terra.es>
+
+       * charset.c (Fchar_bytes): Remove obsolescence info from docstring.
+
+2002-06-26  Juanma Barranquero  <lektu@terra.es>
+
+       * fileio.c (read_file_name_cleanup): Add missing return.
+
+2002-06-26  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (Frecenter): Don't set force_start flag.
+
+       * minibuf.c (do_completion, Fminibuffer_complete_word)
+       (Fminibuffer_completion_help): Complete just the text before point.
+       (minibuffer_completion_contents): New function.
+
+       * buffer.c (Fbury_buffer): Use frames_discard_buffer.
+
+       * frame.c (frames_bury_buffer): Function deleted.
+
+2002-06-25  Miles Bader  <miles@gnu.org>
+
+       * callint.c (Fcall_interactively): When checking to see if doprnt hit
+       the end of callint_message, allow for a terminating '\0'.
+
+2002-06-24  Juanma Barranquero  <lektu@terra.es>
+
+       * w32select.c: Include composite.h
+
+       * w16select.c: Likewise.
+
+2002-06-24  Kenichi Handa  <handa@etl.go.jp>
+
+       * callproc.c (Fcall_process): If code detection is necessary,
+       call detect_coding directly here.
+
+       * 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.
+
+       * xterm.c (XTread_socket): Disable composition handling.
+
+2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * print.c (temp_output_buffer_setup): Kill all local variables.
+
+2002-06-22  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * lread.c (Fread): Remove redundant and imprecise declaration.
+
+       * xfns.c (check_x_display_info): Use check_x_frame.
+
+       * .gdbinit (xprintsym): Use the new `xname' field.
+       (xsymbol): Use it.
+
+2002-06-22  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (file_dialog_callback): New function.
+       (Fx_file_dialog): Allow selecting directories as well as files.
+
+2002-06-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * m/pmax.h (START_FILES): Define START_FILES for NetBSD and
+       OpenBSD. Add support for mipseb-*-netbsd* machines.
+
+2002-06-17  Andrew Choi  <akochoi@shaw.ca>
+
+       * macterm.c (mac_scroll_area): Set foreground and backcolor to
+       black and white before scrolling.  Restore frame background and
+       foreground color after scrolling.
+       (do_window_update): Call XClearWindow before calling expose_frame.
+       (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and
+       FRAME_FOREGROUND_PIXEL of frame.
+
+       * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
+       test Mac command key as <ALT> key.
+
 2002-06-17  Stefan Monnier  <monnier@cs.yale.edu>
 
        * window.c (Fset_window_configuration): Lisp_Object/int mixup.
        Remove function_key_possible and key_translation_possible, replaced
        by checking `keytran_start < t'.
 
-       * .gdbinit (xsymbol): Use the name `xname' field.
+       * .gdbinit (xsymbol): Use the new `xname' field.
 
 2002-06-17  Andrew Choi  <akochoi@shaw.ca>
 
+       * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil,
+       test Mac command key as <ALT> key.
+
        * mac.c (do_applescript): Call initialize_applescript if necessary
        when first called.  Dispose of result_desc only when there is no error.
        (Fdo_applescript): Use %d format specifier instead of %ld.