(Flookup_key): Add error message for trying to bind [DEL], [RET], etc.
[bpt/emacs.git] / src / ChangeLog
index 23b1c6f..8428636 100644 (file)
@@ -1,5 +1,244 @@
+2001-12-28  Richard M. Stallman  <rms@gnu.org>
+
+       * keymap.c (Flookup_key):
+       Add error message for trying to bind [DEL], [RET], etc.
+
+2001-12-28  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_setup_relief_colors): Don't compute an image's
+       background color if it doesn't have a Pixmap.
+       
+       * xterm.c (notice_overwritten_cursor): Don't depend on
+       output_cursor and updated_area.  Compare pixel coordinates with
+       window's cursor pixel coordinates.
+       (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): Call
+       notice_overwritten_cursor with new arg list.
+       (show_mouse_face): Fix bug setting a row's mouse_face_p flag
+       unconditionally.
+
+       * xdisp.c (try_scrolling) <PT below scroll margin>: Add the
+       height of the cursor line to the amount to scroll.
+
+2001-12-27  Richard M. Stallman  <rms@gnu.org>
+
+       * intervals.c (set_point_both): The position after an invisible,
+       intangible character is not an acceptable stopping point.
+
+2001-12-27  Ken Raeburn  <raeburn@gnu.org>
+
+       * window.c (enlarge_window): In new preserve_before code, convert
+       CURBEG from lisp object to integer before doing arithmetic.
+
+2001-12-27  Richard M. Stallman  <rms@gnu.org>
+
+       * bytecode.c (Fbyte_code): Undo previous change.
+
+2001-12-26  Kim F. Storm  <storm@cua.dk>
+
+       * keyboard.c (record_char): Ignore duplicate help-echo events only
+       separated by mouse-movement.  When tracking mouse, only record
+       first and last mouse-movement event in same window.
+       Don't record mouse-movement events in keyboard macros.
+       
+2001-12-25  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (enlarge_window): New arg PRESERVE_BEFORE.  Callers changed.
+       (Fenlarge_window): New arg PRESERVE_BEFORE.
+
+       * bytecode.c (Fbyte_code): Use Fstring_make_unibyte
+       instead of Fstring_as_unibyte.
+
+2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       The following changes remove mocklisp support:
+
+       * mocklisp.h, mocklisp.c: Files removed.
+
+       * lisp.h: Remove declarations of variables `Vmocklisp_arguments',
+       `Qmocklisp' and `Qmocklisp_arguments'.
+       Remove prototype of syms_of_mocklisp.
+
+       * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp
+       files.
+
+       * callint.c: Do not include mocklisp.h.
+       (Fcall_interactively): Do not test for mocklisp case.
+
+       * eval.c: Remove variables `Qmocklisp_arguments',
+       `Vmocklisp_arguments' and `Qmocklisp'.  Remove prototype of
+       ml_apply.
+       (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): Do
+       not test for mocklisp case.
+       (Fwhile): Remove unused variable `tem'.
+       (syms_of_eval): Remove variable `moclisp-arguments'.
+
+       * data.c (wrong_type_argument): Remove mocklisp case.
+
+       * doc.c (Fdocumentation): Remove mocklisp case.
+
+       * emacs.c (main): Do not call syms_of_mocklisp.
+
+2001-12-21  Richard M. Stallman  <rms@gnu.org>
+
+       * xfns.c (compute_tip_xy): If tooltip won't fit on the screen
+       to the left or to the right of the pointer, put it against
+       the left screen edge.
+
+2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (distclean): Remove .gdbinit if we are building
+       outside the source tree.
+
+2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * w32.c (emacs_root_dir): New function.
+
+       * msdos.c (emacs_root_dir): New function.
+
+       * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory
+       of the current drive as the fallback for default_directory.
+
+       * dired.c (file_name_completion): Run the elements of
+       completion-ignored-extensions through ENCODE_FILE.
+
+       * lisp.h (scmp): Remove prototype, since it's now a static
+       function private to dired.c.
+
+2001-12-18  Richard M. Stallman  <rms@gnu.org>
+
+       * dired.c (scmp): Function moved from minibuf.c.
+       Delete multibyte handling--used only on encoded strings.
+
+       * minibuf.c (scmp): Function moved to dired.c.
+
+       * fns.c (merge): Add QUIT call.
+
+2001-12-18  Dave Love  <fx@gnu.org>
+
+       * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el,
+       language/georgian.el.
+
+2001-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (lisp, shortlisp): Synchronize with changes to
+       lisp/Makefile.in:DONTCOMPILE.
+
+2001-12-18  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xdisp.c (window_box_height): Do not return negative values.
+       From Gerd Moellmann <gerd@gnu.org>.
+
+       * keyboard.c (head_table): Add missing braces around initializer.
+
+       * term.c (keys): Likewise.
+
+       * xfns.c (x_frame_parms, visual_classes): Likewise.
+
+2001-12-17  Sam Steingold  <sds@gnu.org>
+
+       * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last
+       patch (COMPOSING_P, not COMPOSING).
+
+2001-12-17  Richard M. Stallman  <rms@gnu.org>
+
+       * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop.
+
+       * coding.c (code_convert_region): Update coding->cmp_data->char_offset
+       before calling decode_coding.
+
+       * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal.
+
+       * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding)
+       instead of only for COMPOSITION_DISABLED.
+
+2001-12-16  Richard M. Stallman  <rms@gnu.org>
+
+       * alloc.c (pure_alloc): After overflow, allocate just a small block.
+
+       * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.
+
+       * buffer.h (struct buffer): New field `display_error_modiff'.
+       * buffer.c (reset_buffer): Initialize `display_error_modiff'.
+
+       * window.c (Frecenter): Clear display_error_modiff field.
+
+       * xdisp.c (redisplay_window_0, redisplay_window_1): New functions.
+       Call redisplay_window, but not if display_error_modiff field says no.
+       (redisplay_window_error): New function.
+       (displayed_buffer): New variable.
+       (redisplay_internal, redisplay_windows): Call the new functions
+       instead of redisplay_window directly.
+
+2001-12-15  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix.
+
+2001-12-14  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in (EMACSLOADPATH): Define.
+       ($(EMACS)): Run `list-load-path-shadows' after dumping emacs.
+       (bootstrap-temacs): Remove dependency on bootstrap-clean.
+
+2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xfns.c (x_report_frame_params): Make the scroll-bar-width frame
+       parameter have a numeric value all the time.
+
+       * w32fns.c (x_report_frame_params): Likewise.
+
+2001-12-12  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fwrite_region): Doc fix.
+
+       * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500.
+       (redisplay_internal): Call clear_image_cache only for window terminals.
+
+2001-12-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (move_it_vertically_backward): Change heuristic
+       for the case that we didn't move far enough initially.
+
+       * window.c (Frecenter): Simplify computation in the case of window
+       system frames and ARG < 0; use window_box_height.
+
+2001-12-11  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c:
+       * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX.
+
+2001-12-11  Andrew Innes  <andrewi@gnu.org>
+
+       * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if
+       arg is negative.
+
+2001-12-11  Richard M. Stallman  <rms@gnu.org>
+
+       * m/hp800.h: Split the __hpux conditional into the parts
+       that are right for GNU/Linux too and the parts that are not.
+       Use the former if GNU_LINUX.
+       (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux.
+
+       * s/gnu-linux.h (GNU_LINUX): Defined.
+
+2001-12-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * macros.c, msdos.c, w16select.c: Change doc-string comments to
+       `new style' [w/`doc:' keyword].
+
+2001-12-10  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (w32_free_submenu_strings): Clear menu item struct
+       before using.
+
+2001-12-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * dosfns.c: Change doc-string comments to `new style' [w/`doc:'
+       keyword].
+
 2001-12-09  Eli Zaretskii  <eliz@is.elta.co.il>
 
+       * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix.
+
        * s/hpux10.h (srand48): Don't undefine.
 
 2001-12-09  Jason Rumney  <jasonr@gnu.org>
        (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
        (my_create_tip_window): New function.
        (x_create_tip_frame, compute_tip_xy): Adapt for Windows.
-       (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. 
+       (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
 
 2001-11-20  Jason Rumney  <jasonr@gnu.org>
 
        in macros.
 
        * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
-       casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c,
-       composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c,
-       eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h,
-       indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c,
-       minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c,
-       sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c,
-       w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c,
-       xfaces.c, xmenu.c, xselect.c : Update usage of CHECK_ macros
+       casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c,
+       composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c,
+       eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h,
+       indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c,
+       minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c,
+       sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c,
+       w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c,
+       * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros
        (remove unused second argument).
 
 2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>