+2001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * 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>
+
+ * w32menu.c (_widget_value): Make `help' field a Lisp_Object. Add
+ comment to explain where the struct came from.
+ (single_submenu, w32_menu_show): Set `help' field as Lisp_Object.
+ (add_menu_item): Process pop-up menus first to avoid memory leak.
+ (add_menu_item, w32_menu_display_help): Use `help' field as
+ Lisp_Object.
+ (w32_free_submenu_strings): Only free owner-drawn strings.
+
+2001-12-09 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * COPYING: Moved back.
+
+ * charset.c (char_to_string_1, translate_char, Fdefine_charset):
+ Add parentheses around && within ||.
+
+ * indent.c (compute_motion): Likewise.
+
+ * intervals.c (merge_properties_sticky): Likewise.
+
+ * coding.c (setup_coding_system, shrink_encoding_region)
+ (Fdecode_sjis_char): Likewise.
+
+2001-12-07 Andreas Schwab <schwab@suse.de>
+
+ * xdisp.c (display_mode_element): Don't read past end of string if
+ it ends with '%'.
+
+ * alloc.c (inhibit_garbage_collection): Don't exceed value an int
+ can hold.
+
+ * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): Renamed
+ from most_positive_fixnum and most_negative_fixnum, resp., and
+ type changed to Lisp_Object.
+ (syms_of_data): DEFVAR_LISP them.
+
+2001-12-07 Richard M. Stallman <rms@gnu.org>
+
+ * callproc.c (init_callproc): Set Vdata_directory based on the source
+ location whenever Emacs was run uninstalled.
+
+2001-12-06 Paul Eggert <eggert@twinsun.com>
+
+ * config.in (HAVE_WORKING_VFORK): New #undefs.
+ * process.c (create_process):
+ Use HAVE_WORKING_VFORK, not HAVE_VFORK.
+ * m/cnvrgnt.h (HAVE_VFORK): Remove #define.
+ * m/ibm370aix.h (HAVE_VFORK): Remove #undef.
+ * m/ibmps2-aix.h (HAVE_VFORK): Remove #define.
+ * m/intel386.h (HAVE_VFORK): Likewise.
+ * m/mips-siemens.h (HAVE_VFORK): Likewise.
+ * m/mips.h (HAVE_VFORK): Likewise.
+ * s/freebsd.h (vfork): Remove #define.
+ * s/lynxos.h (HAVE_VFORK): Remove #undef.
+ * s/usg5-4-2.h: Fix comment about vfork.
+
+2001-12-06 Richard M. Stallman <rms@gnu.org>
+
+ * s/hpux10.h (random): Add undef.
+ (HAVE_RANDOM): Define it just once.
+
+2001-12-06 Stefan Monnier <monnier@cs.yale.edu>
+
+ * eval.c: Undo last change: the standard syntax is not wanted.
+
+2001-12-06 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the
+ scroll bars of the frame before deleting the frame itself. If the
+ frame has a widget, delete the frame with XtDestroyWidget, and do
+ not call XDestroyWindow before that.
+
+2001-12-06 Kim F. Storm <storm@cua.dk>
+
+ * xfns.c (x_report_frame_params): Return actual fringe widths.
+
+ * w32fns.c (x_report_frame_params): Return actual fringe widths.
+
+2001-12-05 Andrew Innes <andrewi@gnu.org>
+
+ * alloc.c (Fgarbage_collect): Shrink buffer gaps that are
+ excessively large.
+
+ * insdel.c (make_gap_larger): New function.
+ (make_gap_smaller): New function.
+ (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: Call
+ make_gap_smaller if arg is negative.
+
+2001-12-04 Stefan Monnier <monnier@cs.yale.edu>
+
+ * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype.
+ Pass a dummy argument when calling interrupt_signal.
+ (parse_menu_item): Mark disabled items before checking for empty def.
+ (read_char_minibuf_menu_prompt): Make safety more visible.
+ (read_key_sequence): Add a `first_unbound' variable.
+ Use it to detect C-c ESC ESC ESC ESC ... cases and drop the
+ unbound prefix as soon as we can detect it.
+
+ * doc.c (Fsnarf_documentation): Add prototype.
+ (get_doc_string): Handle negative arguments.
+ (Fdocumentation): Use AREF and ASIZE.
+ Move the calls to get_doc_string to a single place.
+ Don't confuse an interactive-spec for a docstring reference.
+ (Fdocumentation_property): Take advantage of the fact that
+ get_doc_string now ignores the sign of the docstring position.
+
+ * eval.c: Use standard syntax for usage in docstrings.
+
+2001-12-03 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option.
+
+2001-12-02 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * xterm.c (x_draw_image_relief): Use predefined macro instead of
+ constant when the value of `tool_bar_button_relief' is negative.
+
+2001-12-02 Richard M. Stallman <rms@gnu.org>
+
+ * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object.
+ (single_submenu, xmenu_show): Set `help' field as Lisp_Object.
+
+ * fileio.c (read_non_regular): Delete Fsignal call.
+
+2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (run_hook_list_with_args): Undo last change.
+
+2001-12-01 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_draw_fringe_bitmap): Always undo clipping.
+
+2001-12-01 Jason Rumney <jasonr@gnu.org>
+
+ * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c.
+
+ * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT)
+ [!WM_MOUSELEAVE]: Define.
+
+ * w32menu.c (current_popup_menu, get_menu_item_info):
+ (set_menu_item_info): New vars.
+ (set_frame_menubar): Doc fix clarifying GC interaction with menus.
+ (w32_menu_show): Set current_popup_menu.
+ (add_menu_item): Allocate new strings for owner-drawn menu items
+ and help strings.
+ Use owner-draw for disabled menu items again.
+ (w32_menu_display_help): Ignore owner-drawn items and popup menus.
+ (w32_free_submenu_strings, w32_free_menu_strings): New functions.
+
+ * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars.
+ (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame.
+ <WM_EXITMENULOOP>: Free menu strings.
+ <WM_MOUSELEAVE>: Stop tracking mouse.
+ (x_create_tip_frame): Specify no minibuffer, modeline or fringes.
+
+ * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo
+ and mouse face.
+
+2001-12-01 Kim F. Storm <storm@cua.dk>
+
+ The following changes add left-fringe and right-fringe
+ frame parameters to adjust fringe widths, or remove one or
+ both fringes.
+
+ * frame.h (struct frame): Remove trunc_area_pixel_width and
+ trunc_area_cols fields.
+ (Qleft_fringe, Qright_fringe): Declare.
+ (FRAME_RIGHT_FRINGE_WIDTH): New macro.
+
+ * frame.c (Qleft_fringe, Qright_fringe): New vars.
+ (syms_of_frame): Initialize them.
+
+ * window.c (coordinates_in_window): Handle separate left and right
+ fringe widths.
+
+ * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width,
+ and fringe_cols fields.
+ (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros.
+ (FRAME_X_FRINGE_COLS): Use fringe_cols field.
+ (FRAME_X_FRINGE_WIDTH): Use fringes_extra field.
+ (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field.
+ (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field.
+ (x_compute_fringe_widths): Add prototype.
+
+ * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to
+ fill fringe evenly with small dashes.
+ (x_draw_fringe_bitmap): Clear background if necessary. Align and
+ clip the new ZV bitmap to avoid jitter between rows.
+ (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear
+ background. Don't draw fringe bitmaps if fringe width is zero.
+ (x_compute_fringe_widths): New function.
+ (x_new_font, x_set_window_size_1): Use it.
+
+ * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms.
+ (x_set_frame_parameters): Process Process `font' parameter before other
+ parameters as fringe widths depend on it.
+ (x_set_fringe_width): New function.
+ (x_figure_window_size): Use x_compute_fringe_widths.
+ (Fx_create_frame): Process `left-fringe' and `right-fringe' frame
+ parameters.
+
+ * widget.c (set_frame_size): Use x_compute_fringe_widths.
+ (EmacsFrameSetCharSize): Ditto.
+
+ * w32term.h: Merged changes from xterm.h.
+ * w32term.c: Merged changes from xterm.c.
+ * w32fns.c: Merged changes from xfns.c.
+
+2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * COPYING: Removed.
+
+2001-11-29 Dave Love <fx@gnu.org>
+
+ * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an
+ extra extra slot.
+ (detect_coding_mask): Fix call of detect_coding_iso2022.
+
+2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * fileio.c (file-name-coding-system)
+ (default-file-name-coding-system): Doc fix (links to referenced
+ variables added).
+
+2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5):
+ Add dummy uses of gcproN variables.
+
+ * category.c (describe_category, describe_category_1)
+ (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.)
+ (syms_of_category): Don't defsubr Sdescribe_categories.
+
+2001-11-28 Richard M. Stallman <rms@gnu.org>
+
+ * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'.
+
+ * Makefile.in (lispdir): New variable, referring to build dir.
+ (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource).
+
+2001-11-28 Andrew Innes <andrewi@gnu.org>
+
+ * w32menu.c (w32_menu_display_help): Actually add the new argument
+ OWNER.
+
+2001-11-28 Jason Rumney <jasonr@gnu.org>
+
+ * w32menu.c (add_menu_item): Do not use owner-draw for disabled
+ menu items. From David Ponce <dponce@wanadoo.fr>.
+ (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function
+ conditionally.
+ (w32_menu_display_help): New argument OWNER. Rewritten to store a
+ help event in the owner frame's keyboard buffer.
+
+ * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly.
+ (Fx_show_tip): Don't subtract last width from row width.
+
+ * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove.
+ (w32_read_socket): Use EQ to compare frames.
+
+2001-11-28 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
+ OVERLAPS_P.
+
+2001-11-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * xdisp.c (message_dolog): Remove unused variables `gcpro2',
+ `gcpro3' and `gcpro4'.
+
+ * coding.c (decode_coding_string): Remove unused variable `gcpro1'.
+
+2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
+
+ * ccl.c: Use AREF and ASIZE.
+
+2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (run_hook_list_with_args): Remove.
+ (LIST_END_P): Fix call to wrong_type_argument.
+ (make_fixnum_or_float): Use EMACS_INT rather than int.
+
2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
+ * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax.
+ (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove.
+
+ * eval.c: Use AREF and ASIZE.
+ (Ffetch_bytecode): Add the file name to the error message.
+
+ * fileio.c (Ffind_file_name_handler): Give precedence to handlers
+ which match the end of the file-name.
+ (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR
+ is not a valid env var, but leave it as is instead.
+
* keymap.c (access_keymap): Handle t bindings like nil bindings.
Make nil bindings in char-tables transparent.
(store_in_keymap): Turn a nil binding into a t binding for char-tables.
* xfaces.c (merge_face_heights): Coerce back to int explicitly.
+2001-11-25 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi
+ Niemitalo <kon@iki.fi>.
+
2001-11-25 Jason Rumney <jasonr@gnu.org>
* w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames.
(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>