(main) [VMS]: Fix var ref.
[bpt/emacs.git] / src / ChangeLog
index bd641e8..5ad2280 100644 (file)
@@ -1,3 +1,861 @@
+2004-05-06  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * emacs.c (main) [VMS]: Fix var ref.
+
+2004-05-06  Romain Francoise  <romain@orebokech.com>  (tiny change)
+
+       * data.c (Fsetq_default): Fix docstring.
+
+2004-05-06  Jason Rumney  <jasonr@gnu.org>
+
+       * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h
+       to avoid name clash.
+
+2004-05-04  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * fileio.c (barf_or_query_if_file_exists): Use lstat.
+       (Frename_file): Handle renaming of symlinks across file systems.
+       (Frename_file): Put symlink handling inside #ifdef S_IFLNK.
+
+2004-05-04  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (Qtotal): New var.
+       (syms_of_xdisp): Intern and staticpro it.
+       (calc_line_height_property): New arg total.  Set it if
+       line-spacing property has format (total . VALUE).
+       (x_produce_glyphs): Ignore line-spacing if line-height is 0.
+       Handle total line-spacing property.
+
+2004-05-03  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear
+       "under" scroll bar when size/position changes.
+
+2004-05-03  Jason Rumney  <jasonr@gnu.org>
+
+       * makefile.nt: Remove.
+
+2004-05-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid
+       compiler warnings.
+
+       * Makefile.in (region-cache.o): Depend on config.h.
+
+2004-05-02  Romain Francoise  <romain@orebokech.com>  (tiny change)
+
+       * indent.c (compute_motion): Save vpos in prev_vpos when dealing
+       with continuation lines, too.
+
+2004-05-02  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'.
+
+2004-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (calc_line_height_property): YAILOM (yet another
+       int/Lisp_Object mixup).
+
+2004-05-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to
+       undo bad effect of pack(4) in some versions of system headers.
+
+2004-05-01  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (x_draw_hollow_cursor): Sync with xterm.c
+
+2004-04-30  Kim F. Storm  <storm@cua.dk>
+
+       * buffer.c (syms_of_buffer) <line-spacing>: Allow float value.
+       (syms_of_buffer) <cursor-type>: Doc fix.
+
+       * dispextern.h (struct it): Remove member use_default_face.
+       Add members override_ascent, override_descent, override_boff.
+
+       * xdisp.c (init_iterator): Handle line-spacing float value.
+       Initialize override_ascent member.
+       (append_space_for_newline): Reset override_ascent.
+       Remove use_default_face.
+       (calc_line_height_property): New function to calculate value of
+       line-height and line-spacing properties.  Look at overlays, too.
+       Set override_ascent, override_descent, override_boff members when
+       using another face than the current face.  Float values are now
+       relative to the frame default font, by default; accept a cons
+       of ratio and face name to specify value relative to a specific face.
+       (x_produce_glyphs): Use calc_line_height_property.
+       Use override_ascent etc. when set to handle different face heights.
+       A negative line-spacing property value is interpreted as a total
+       line height, rather than inter-line spacing.
+       (note_mouse_highlight): Allocate room for 40 overlays initially.
+
+2004-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * data.c (Fsubr_name): New fun.
+       (syms_of_data): Defsubr it.
+
+2004-04-29  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (null_glyph_slice): New var.
+       (append_glyph, append_composite_glyph, append_stretch_glyph):
+       Use it to initialize glyph slice.
+
+2004-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup.
+       (on_hot_spot_p): Make sure we always return a value.
+       (Flookup_image_map): Remove unused var ix and iy.
+       (note_mode_line_or_margin_highlight): Remove unused var `image'.
+
+2004-04-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * msdos.c (init_environment): If one of the TMP... environment
+       variables is set to a drive letter without a trailing slash,
+       append a slash.
+
+2004-04-27  Matthew Mundell  <matt@mundell.ukfsn.org>
+
+       * editfns.c (lisp_time_argument): Provide externally.
+
+       * fileio.c (Fset_file_times): New function.
+       (syms_of_fileio): Intern and staticpro it.
+
+2004-04-27  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (x_produce_glyphs): Fix last change; handle newline in
+       header line strings.
+
+       * dispextern.h (struct it): New member use_default_face.
+
+       * xdisp.c (Qline_height): New variable.
+       (syms_of_xdisp): Intern and staticpro it.
+       (append_space_for_newline): Partially undo 2004-04-25 change;
+       add default_face_p arg, and restore callers.
+       Clear it->use_default_face after use.
+       (x_produce_glyphs): Set default font for ascii char if
+       it->use_default_font is set.  Change line-spacing property to set
+       just extra line spacing.  Handle new line-height property.
+
+2004-04-26  Andreas Schwab  <schwab@suse.de>
+
+       * print.c (print_object): Print non-ascii characters in bool
+       vector representation as octal escapes.
+
+       * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define.
+       * print.c (print_object): Use it instead of BITS_PER_CHAR for
+       bool vectors.
+       * lread.c (read1): Likewise.
+       * alloc.c (Fmake_bool_vector): Likewise.
+       * data.c (Faref, Faset): Likewise.
+       * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray)
+       (mapcar1): Likewise.
+
+2004-04-26  Steven Tamm  <tamm@Steven-Tamms-Computer.local>
+
+       * lread.c (init_lread): Fixing typo HAVE_CARBON test logic
+
+2004-04-26  Miles Bader  <miles@gnu.org>
+
+       * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c.
+
+2004-04-26  Juanma Barranquero  <lektu@terra.es>
+
+       * buffer.c (Fpop_to_buffer): Fix docstring.
+
+2004-04-26  Steven Tamm  <steventamm@mac.com>
+
+       * lread.c (init_lread): Don't display missing lisp directory
+       warnings with Carbon Emacs because self-contained bundled Emacs
+       may be built without correct installation path.
+
+2004-04-25  Kim F. Storm  <storm@cua.dk>
+
+       * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines.
+
+       * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines.
+
+       * xdisp.c (append_space_for_newline): Rename from append_space.
+       Remove DEFAULT_FACE_P arg; always use current face.  Callers changed.
+       (x_produce_glyphs): Handle line-spacing property on newline char.
+       If value is t, adjust ascent and descent to fit current row height.
+       If value is an integer or float, set extra_line_spacing to integer
+       value, or to float value x current line height.
+
+2004-04-23  Kenichi Handa  <handa@m17n.org>
+
+       * fontset.c (Finternal_char_font): If POSITION is nil, return
+       font for displaying CH with the default face.
+
+2004-04-23  Juanma Barranquero  <lektu@terra.es>
+
+       * makefile.w32-in: Add "-*- makefile -*-" mode tag.
+
+2004-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]:
+       Don't make assumptions about the relative place of i and val.
+       (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well.
+
+2004-04-21  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (struct glyph_slice): New struct.
+       (struct glyph): New member slice.
+       (GLYPH_SLICE_EQUAL_P): New macro.
+       (GLYPH_EQUAL_P): Use it.
+       (struct glyph_string): New member slice.
+       (struct it_slice): New struct.
+       (struct it): New member slice, add member to stack too.
+       New member constrain_row_ascent_descent_p.
+       (image_ascent): Add prototype.
+
+       * dispnew.c (buffer_posn_from_coords): Return full image width
+       and height even for image slices (posn is relative to full image).
+       (marginal_area_string): Adjust x0,y0 for image slice.
+
+       * image.c (image_ascent): Add slice arg; calculate ascent for
+       image slice (or full image).
+
+       * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns.
+       (syms_of_keyboard): Defsubr them.
+
+       * lisp.h (pos_visible_p): Fix prototype.
+
+       * macterm.c (x_draw_relief_rect): Add top_p and bot_p args.
+       (x_draw_glyph_string_box): Fix call to x_draw_relief_rect.
+       (x_draw_image_foreground, x_draw_image_relief)
+       (x_draw_image_foreground_1, x_draw_image_glyph_string):
+       Draw sliced images.
+
+       * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args.
+       (x_draw_glyph_string_box): Fix call to x_draw_relief_rect.
+       (x_draw_image_foreground, x_draw_image_relief)
+       (w32_draw_image_foreground_1, x_draw_image_glyph_string):
+       Draw sliced images.
+
+       * w32term.h (image_ascent): Remove prototype.
+
+       * window.c (Fpos_visible_in_window_p): Return pixel position if
+       PARTIALLY arg is non-nil.  Simplify.  Doc fix.
+       (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg
+       to return/set vscroll in pixels.
+
+       * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN.
+
+       * xdisp.c (Qslice): New variable.
+       (syms_of_xdisp): Intern and staticpro it.
+       (pos_visible_p): Return pixel position in new x and y args.
+       (init_iterator): Reset it->slice info.
+       (handle_display_prop): Parse (slice ...) property.
+       (push_it, pop_it): Save/restore slice info.
+       (make_cursor_line_fully_visible): Fix 2004-04-14 change.  Do not
+       force repositioning of tall row if window is vscrolled, as that
+       would reset vscroll.
+       (append_space): Set it->constrain_row_ascent_descent_p to avoid
+       increasing row height if row is non-empty.
+       (fill_image_glyph_string): Copy slice info.
+       (take_vertical_position_into_account): Simplify.
+       (produce_image_glyph): Handle iterator slice info, setup glyph
+       slice info.  Do not force minimum line height.
+       (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set,
+       do not increase height (ascent/descent) of non-empty row when
+       adding normal character glyph; instead reduce glyph ascent/descent
+       appropriately; if row is higher than current glyph, adjust glyph
+       descent/ascent to reposition glyph within the existing row.
+       Likewise, when char is newline, only set ascent/descent if row is
+       currently empty.
+       (note_mouse_highlight): Handle hotspots with sliced image.
+
+       * xterm.c (x_draw_relief_rect): Add top_p and bot_p args.
+       (x_draw_glyph_string_box): Fix call to x_draw_relief_rect.
+       (x_draw_image_foreground, x_draw_image_relief)
+       (x_draw_image_foreground_1, x_draw_image_glyph_string):
+       Draw sliced images.
+
+       * xterm.h (image_ascent): Remove prototype.
+
+2004-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup.
+
+2004-04-20  John Paul Wallington  <jpw@gnu.org>
+
+       * fns.c (Fassoc, Feql): Fix indentation.
+
+       * fontset.c (regularize_fontname): Rename from regulalize_fontname.
+
+2004-04-19  John Paul Wallington  <jpw@gnu.org>
+
+       * fns.c (Feql): New function.
+       (syms_of_fns): Defsubr it.
+
+2004-04-18  Jason Rumney  <jasonr@gnu.org>
+
+       * w32select.c (Fw32_set_clipboard_data): Get sequence number
+       after closing the clipboard.
+
+2004-04-16  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * buffer.c (Fbuffer_base_buffer): Doc fix.
+
+2004-04-17  Kim F. Storm  <storm@cua.dk>
+
+       * keymap.c (Fkey_description): Add optional PREFIX arg.
+       Combine prefix with KEYS to make up the full key sequence to describe.
+       Correlate meta_prefix_char and following (simple) key to describe
+       as meta modifier.  All callers changed.
+       (describe_map): Rename arg `keys' to `prefix'.  Remove local
+       `elt_prefix' var.  Use Fkey_description with prefix instead of
+       elt_prefix combined with Fsingle_key_description.
+       (describe_vector): Declare static.  Replace arg `elt_prefix' with
+       `prefix'.  Add KEYMAP_P arg.  Add local var `elt_prefix'; use it
+       if !KEYMAP_P. Use Fkey_description with prefix instead of
+       Fsingle_key_description.
+
+       * keymap.h (Fkey_description): Fix prototype.
+       (describe_vector): Remove prototype.
+
+       * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0.
+
+       * image.c (PNG_BG_COLOR_SHIFT): Remove.
+       (png_load): Fix calculation of transparent background color on X
+       and W32 platforms.
+
+2004-04-16  Juanma Barranquero  <lektu@terra.es>
+
+       * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is
+       not too large before computing how much to scroll.
+
+2004-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler.
+
+2004-04-14  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime):
+       Add hyperlink to Elisp manual to the docstring.
+
+2004-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * callint.c (fix_command): Use XDCR.
+
+2004-04-14  Nick Roberts  <nick@nick.uklinux.net>
+
+       * window.c (Fget_lru_window): Doc fix.
+
+2004-04-14  Kim F. Storm  <storm@cua.dk>
+
+       * editfns.c (Fformat): Fix allocation size of precision array.
+
+       * dispnew.c (update_window): Only set changed_p if
+       scrolling_window actually did scroll.
+       (scrolling_window): Only return 1 if we actually did scroll.
+
+       * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor
+       height to glyph height when cursor row is not fully visible.
+       (make_cursor_line_fully_visible): Add FORCE_P arg to return
+       failure in case row is higher than window.  Callers changed.
+       (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd).
+       Try to scroll partially visible, higher-than-window cursor row.
+       (redisplay_window): Always try to scroll partially visible,
+       higher-than-window cursor row - both initially and again with
+       centering_position = 0.
+       Clear desired matrix before retrying with centering_position = 0.
+
+2004-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * syntax.c (scan_lists): Simplify backward string scan.
+       Fix off-by-one boundary check for string and comment fences.
+
+2004-04-13  Joe Buehler  <jbuehler@hekimian.com>
+
+       * sheap.c, unexcw.c: New files.
+
+2004-04-12  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * buffer.c (Fmake_indirect_buffer): Throw an error if the intended
+       base buffer has been killed.  Correct the error message if the
+       base buffer does not exist.
+
+2004-04-12  Joe Buehler  <jbuehler@hekimian.com>
+
+       * s/cygwin.h: Changes for Cygwin unexec() support, changes in
+       Cygwin itself.  Add support for Xaw3d scrollbars.
+
+       * puresize.h: Set up PURE_P() for Cygwin unexec() support.
+
+       * lastfile.c: Define my_endbss[] for Cygwin unexec() support.
+
+       * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(),
+       before Cygwin unexec.
+
+       * Makefile.in: Link changes for Cygwin unexec() support.
+
+2004-04-12  Andreas Schwab  <schwab@suse.de>
+
+       * buffer.c (Fmake_indirect_buffer): Check that NAME is a string.
+
+2004-04-11  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if
+       IGNORE argument equals NAME.  Doc fix.
+
+2004-04-11  Masatake YAMATO  <jet@gyve.org>
+
+       * buffer.c (fix_start_end_in_overlays): Make overlays
+       empty if they are backwards.
+
+2004-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xfaces.c (face_color_supported_p): Fix compilation without X11.
+
+2004-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * doc.c (Fsnarf_documentation): Ignore new file name entries.
+
+2004-04-06  Kim F. Storm  <storm@cua.dk>
+
+       * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden.
+       (dos_rawgetc): Set mouse_face_hidden after clearing highlight.
+
+       * w32term.c (w32_read_socket): Set mouse_face_hidden after
+       clearing highlight.
+
+       * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden.
+
+       * xterm.c (handle_one_xevent): Set mouse_face_hidden after
+       clearing highlight.
+
+       * indent.c (vmotion): Do not reserve one column for continuation
+       marks on window frames.
+
+2004-04-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings
+       from GCC.
+
+2004-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * .gdbinit-union: Remove.
+
+       * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION.
+       (xgetptr, xgetint, xgettype): New funs.  Use them everywhere.
+       ($nonvalbits): Remove.
+       ($valmask): Set it by calling xreload to avoid redundancy.
+
+       * emacs.c (gdb_use_union, gdb_use_lsb): New vars.
+       (gdb_emacs_intbits): Remove.
+
+2004-03-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes.
+
+2004-03-30  Kenichi Handa  <handa@m17n.org>
+
+       * editfns.c (Fformat): Fix initialization of the array info.
+
+2004-03-30  Kim F. Storm  <storm@cua.dk>
+
+       * xterm.c (x_mouse_click_focus_ignore_position): New var.
+       (syms_of_xterm): DEFVAR_BOOL it.
+       (ignore_next_mouse_click_timeout): New var.
+       (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify.
+       Use it to filter mouse clicks following focus event.
+
+2004-03-29  David Ponce  <david@dponce.com>
+
+       * callint.c (Fcall_interactively): Fix last change.
+
+2004-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eval.c (Fcommandp): Simplify.
+
+       * data.c (Finteractive_form): Rename from Fsubr_interactive_form.
+       Extend to handle all kinds of functions.
+
+       * lisp.h (Finteractive_form): Declare.
+
+       * callint.c (Fcall_interactively): Use it.
+
+2004-03-26  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error
+       to catch errors in calc_pixel_width_or_height during redisplay.
+
+2004-03-26  Masatake YAMATO  <jet@gyve.org>
+
+       * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range.
+
+       * lisp.h (fix_start_end_in_overlays): Likewise.
+
+       * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays.
+
+       * editfns.c (Ftranspose_regions): Likewise.
+
+2004-03-20  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (handle_one_xevent): Do not pass key press events to GTK.
+
+2004-03-19  Richard M. Stallman  <rms@gnu.org>
+
+       * s/sol2-6.h: Delete previous change.
+
+2004-03-19  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when
+       to_charpos corresponds to newline in right fringe.  Use local
+       BUFFER_POS_REACHED_P macro.
+
+2004-03-19  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM
+       to compile on non-window system.
+
+2004-03-19  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (calc_pixel_width_or_height): Add prototype.
+
+       * image.c (Qcenter): Move to xdisp.c.
+
+       * xdisp.c (Qcenter): Declare here.
+       (syms_of_xdisp): Intern and staticpro it.
+       (handle_single_display_prop): Allow space display property on all
+       platforms.
+       (display_mode_line): Set mode_line_p before displaying line.
+       (calc_pixel_width_or_height): Declare extern.  Add separate :align-to
+       handling.  Remove complex cases for fringes and scroll-bars.
+       Add left, right, and center alignment positions. Add text (area)
+       width/height.  Return width or height for image specs.
+       (produce_stretch_glyph): Improve handling of :align-to.  Is now
+       relative to left of text area by default, but other base offsets
+       can be specified -- also for text lines.
+
+       * term.c (produce_glyphs): Handle IT_STRETCH.
+       (produce_stretch_glyph): New function to handle space width and
+       align-to display properties on non-window systems.
+
+2004-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fread_file_name): Set completion-ignore-case for
+       case-insensitive systems.
+
+2004-03-14  Masatake YAMATO  <jet@gyve.org>
+
+       * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE
+       when keymap and cursor are setup.
+
+2004-03-14  Steven Tamm <steventamm@mac.com>
+
+       * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o.
+
+2004-03-14  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h (x_find_image_file): Add prototype.
+
+       * image.c (x_find_image_file): Make extern.
+
+       * xfns.c (x_find_image_file): Remove prototype.
+
+2004-03-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined.
+
+       * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined.
+
+2004-03-12  Richard M. Stallman  <rms@gnu.org>
+
+       * fns.c (internal_equal): New arg PROPS controls comparing
+       text properties.  All callers changed.
+       (Fequal_including_properties): New function.
+       (syms_of_fns): defsubr it.
+
+2004-03-12  Kim F. Storm  <storm@cua.dk>
+
+       Fix image support on MAC.  From YAMAMOTO Mitsuharu.
+
+       * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs.
+       (image_background, image_background_transparent): Fix prototypes.
+
+       * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h.
+
+       * macfns.c (x_list_fonts, x_get_font_info, x_load_font)
+       (x_query_font, x_find_ccl_program, x_set_window_size)
+       (x_make_frame_visible, mac_initialize, XCreatePixmap)
+       (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground)
+       (mac_draw_line_to_pixmap): Move prototypes to macterm.h.
+
+       * macterm.h (x_list_fonts, x_get_font_info, x_load_font)
+       (x_query_font, x_find_ccl_program, x_set_window_size)
+       (x_make_frame_visible, mac_initialize, XCreatePixmap)
+       (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground)
+       (mac_draw_line_to_pixmap): Add prototypes.
+
+2004-03-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (XTread_socket): Fix mouse click on tool bar.
+
+2004-03-11  Kim F. Storm  <storm@cua.dk>
+
+       * dispextern.h: Move image related prototypes from xfns.c section
+       to image.c.  Condition them by HAVE_WINDOW_SYSTEM rather than
+       HAVE_X_WINDOWS.
+
+       * Makefile.in (XOBJ): Consolidate into one list.  Add image.o.
+       Move gtkutil.o to new GTK_OBJ list.
+       (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place.
+       (GTK_OBJ) [USE_GTK]: New declaration.
+       (obj): Add $(GTK_OBJ) to list.
+
+2004-03-11  Steven Tamm <steventamm@mac.com>
+
+       * image.c [MAC_OSX]: Include sys/stat.h
+
+       * macfns.c (syms_of_macfns): Remove definitions of things now
+       defined in image.c
+
+2004-03-11  Kim F. Storm  <storm@cua.dk>
+
+       The following changes consolidates the identical/similar image
+       support code previously found in xfns.c, w32fns.c, and macfns.c
+       into a new file image.c.
+
+       * makefile.w32-in (OBJ1): Add image.o.
+       ($(BLD)/image.$(O)): Add dependencies.
+
+       * Makefile.in (XOBJ, MAC_OBJ): Add image.o.
+       (image.o): Add dependencies.
+
+       * image.c: New file with consolidated image support code.
+       (COLOR_TABLE_SUPPORT): New define to control whether
+       color table support is available (X only).
+       (Bitmap_Record): Common name for x_bitmap_record,
+       w32_bitmap_record, and mac_bitmap_record.
+       (XImagePtr): Common name for pointer to XImage or equivalent.
+       (XImagePtr_or_DC): New type to simplify code sharing; equivalent
+       to XImagePtr on X+MAC, and to HDC on W32.
+       (GET_PIXEL): Wrapper for XGetPixel or equivalent.
+       (NO_PIXMAP): Common name for "None" or equivalent.
+       (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors.
+       (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value.
+       (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c).
+       (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen):
+       Define with suitable equivalents on W32 and MAC for code sharing.
+       (XDrawLine): Define on MAC for code sharing.
+       (Destroy_Image, Free_Pixmap): Wrappers for code sharing.
+       (IF_LIB_AVAILABLE): Macro to simplify code sharing.
+       (Vx_bitmap_file_path, Vimage_cache_eviction_delay)
+       (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
+       (x_reference_bitmap, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, x_destroy_bitmap)
+       (x_destroy_all_bitmaps, x_create_bitmap_mask)
+       (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
+       (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols)
+       (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask)
+       (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter)
+       (define_image_type, lookup_image_type, valid_image_p)
+       (image_error, enum image_value_type, struct image_keyword)
+       (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)
+       (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)
+       (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file)
+       (find_image_fsspec, image_load_qt_1, image_load_quicktime)
+       (init_image_func_pointer, image_load_quartz2d)
+       (struct ct_color, init_color_table, free_color_table)
+       (lookup_rgb_color, lookup_pixel_color, colors_in_color_table)
+       (cross_disabled_images, x_to_xcolors, x_from_xcolors)
+       (x_detect_edges, x_emboss, x_laplace, x_edge_detection)
+       (x_disable_image, x_build_heuristic_mask)
+       (XBM support, XPM support, PBM support, PNG support, JPEG support)
+       (TIFF support, GIF support, Ghostscript support): Consolidate image
+       code from xfns.c, w32fns.c, and macfns.c.
+       (syms_of_image): Consolidate image related symbol setup here.
+       (init_image): Consolidate image related initializations here.
+
+       * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image
+       and init_image.  Remove call to init_xfns.
+
+       * macterm.h (struct mac_bitmap_record): Add file member.
+       Not currently used, but simplifies code sharing.
+
+       * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay)
+       (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
+       (x_reference_bitmap, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, x_destroy_bitmap)
+       (x_destroy_all_bitmaps, x_create_bitmap_mask)
+       (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
+       (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols)
+       (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask)
+       (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter)
+       (define_image_type, lookup_image_type, valid_image_p)
+       (image_error, enum image_value_type, struct image_keyword)
+       (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)
+       (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)
+       (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file)
+       (find_image_fsspec, image_load_qt_1, image_load_quicktime)
+       (init_image_func_pointer, image_load_quartz2d)
+       (struct ct_color, init_color_table, free_color_table)
+       (lookup_rgb_color, lookup_pixel_color, colors_in_color_table)
+       (cross_disabled_images, x_to_xcolors, x_from_xcolors)
+       (x_detect_edges, x_emboss, x_laplace, x_edge_detection)
+       (x_disable_image, x_build_heuristic_mask)
+       (XBM support, XPM support, PBM support, PNG support, JPEG support)
+       (TIFF support, GIF support, Ghostscript support): Merge with image
+       code from xfns.c and macfns.c into image.c.
+       (syms_of_xfns): Move image related symbols to image.c.
+       (init_external_image_libraries, init_xfns): Remove; initialization
+       moved to init_image in image.c.
+
+       * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay)
+       (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
+       (x_reference_bitmap, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, x_destroy_bitmap)
+       (x_destroy_all_bitmaps, x_create_bitmap_mask)
+       (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols)
+       (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask)
+       (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter)
+       (define_image_type, lookup_image_type, valid_image_p)
+       (image_error, enum image_value_type, struct image_keyword)
+       (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)
+       (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)
+       (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file)
+       (struct ct_color, init_color_table, free_color_table)
+       (lookup_rgb_color, lookup_pixel_color, colors_in_color_table)
+       (cross_disabled_images, x_to_xcolors, x_from_xcolors)
+       (x_detect_edges, x_emboss, x_laplace, x_edge_detection)
+       (x_disable_image, x_build_heuristic_mask)
+       (XBM support, XPM support, PBM support, PNG support, JPEG support)
+       (TIFF support, GIF support, Ghostscript support): Merge with image
+       code from xfns.c and macfns.c into image.c.
+       (syms_of_xfns): Move image related symbols to image.c.
+       (init_external_image_libraries, init_xfns): Remove; initialization
+       moved to init_image in image.c.
+
+       * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay)
+       (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
+       (x_reference_bitmap, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, x_destroy_bitmap)
+       (x_destroy_all_bitmaps, x_create_bitmap_mask)
+       (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols)
+       (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask)
+       (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter)
+       (define_image_type, lookup_image_type, valid_image_p)
+       (image_error, enum image_value_type, struct image_keyword)
+       (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)
+       (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)
+       (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file)
+       (struct ct_color, init_color_table, free_color_table)
+       (lookup_rgb_color, lookup_pixel_color, colors_in_color_table)
+       (cross_disabled_images, x_to_xcolors, x_from_xcolors)
+       (x_detect_edges, x_emboss, x_laplace, x_edge_detection)
+       (x_disable_image, x_build_heuristic_mask)
+       (XBM support, XPM support, PBM support, PNG support, JPEG support)
+       (TIFF support, GIF support, Ghostscript support): Merge with
+       w32fns.c and macfns.c image code into image.c.
+       (syms_of_xfns): Move image related symbols to image.c.
+       (init_xfns): Remove; initialization moved to init_image in image.c.
+
+       * lisp.h (syms_of_image, init_image): Add protoypes.
+       (init_xfns): Remove prototype.
+
+       * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
+       (x_reference_bitmap, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, x_destroy_bitmap)
+       (x_create_bitmap_mask): Move prototypes from dispextern.h.
+       (gamma_correct) [MAC_OS]: Add prototype.
+
+       * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
+       (x_reference_bitmap, x_create_bitmap_from_data)
+       (x_create_bitmap_from_file, x_destroy_bitmap)
+       (x_create_bitmap_mask): Move prototypes to dispextern.h.
+
+2004-03-09  Kenichi Handa  <handa@etlken2>
+
+       * coding.c (decode_coding_emacs_mule): Handle insufficent source
+       correctly.
+
+2004-03-04  Richard M. Stallman  <rms@gnu.org>
+
+       * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition.
+
+       * window.c (Fdisplay_buffer): Doc fix.
+
+       * buffer.c (Fpop_to_buffer): Doc fix.
+
+2004-03-03  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row.
+
+2004-03-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * editfns.c (Ftranslate_region): Lisp_Object/int mixup.
+
+2004-03-02  Richard M. Stallman  <rms@gnu.org>
+
+       * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc.
+
+2004-03-02  Kenichi Handa  <handa@m17n.org>
+
+       * doc.c (Fsubstitute_command_keys): Fix counding bytes.
+
+2004-03-02  Kim F. Storm  <storm@cua.dk>
+
+       * window.h (struct window): New member overlay_arrow_bitmap.
+
+       * window.c (make_window): Initialize overlay_arrow_bitmap.
+
+       * xdisp.c (Voverlay_arrow_variable_list): New variable to properly
+       implement and integrate multiple overlay arrows with redisplay.
+       (syms_of_xdisp): DEFVAR_LISP and initialize it.
+       (last_arrow_position, last_arrow_string): Replace by properties.
+       (Qlast_arrow_position, Qlast_arrow_string)
+       (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables.
+       (syms_of_xdisp): Intern and staticpro them.
+       (overlay_arrow_string_or_property, update_overlay_arrows)
+       (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p)
+       (overlay_arrow_at_row): New functions for multiple overlay arrows.
+       (redisplay_internal): Use them instead of directly accessing
+       Voverlay_arrow_position etc. for multiple overlay arrows.
+       (mark_window_display_accurate): Use update_overlay_arrows.
+       (try_cursor_movement): Use overlay_arrow_in_current_buffer_p.
+       (try_window_id): Use overlay_arrows_changed_p.
+       (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg.
+       (display_line): Use overlay_arrow_at_row to check multiple
+       overlay arrows, and get relevant overlay-arrow-string and
+       overlay-arrow-bitmap.  Set w->overlay_arrow_bitmap accordingly.
+       (produce_image_glyph): Set pixel_width = 0 for fringe bitmap.
+       (syms_of_xdisp): Remove last_arrow_position and last_arrow_string.
+
+       * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set.
+       (update_window_fringes): Remove unused code.
+
+2004-03-01  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_read_socket): Fix last change to ButtonPress handling.
+
+2004-03-01  Juanma Barranquero  <lektu@terra.es>
+
+       * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring.
+
+       * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies.
+
 2004-03-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_display_color_cells): Use number of planes to calculate
 
 2004-02-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
-       * xfns.c (x_window): Fixed indentation.
+       * xfns.c (x_window): Fix indentation.
 
        * xterm.c (x_calc_absolute_position): Call x_real_positions
        to get WM window sizes and use those to calculate position.
-       (x_set_offset): Removed code commented out.
+       (x_set_offset): Remove code commented out.
 
 2004-02-28  Miles Bader  <miles@gnu.org>
 
        * keyboard.h (kbd_buffer_store_event_hold): Add prototype.
        (gen_help_event): Fix prototype.
 
-       * macterm.c (XTread_socket):  Remove bufp_r and
+       * macterm.c (XTread_socket): Remove bufp_r and
        numcharsp args.  Add hold_quit arg.
        Rework to use just one, local, inev input_event. Store inev
        directly in fifo using kbd_buffer_store_event_hold.
        initialize local hold_quit event to handle postponed quit event
        (and store it if set by kbd_buffer_store_event_hold).
 
-       * term.c (read_socket_hook): Fix arg list. 
+       * term.c (read_socket_hook): Fix arg list.
 
        * termhooks.h (read_socket_hook): Fix prototype.
 
 
        * xsmfns.c (x_session_check_input): Remove numchars arg.
 
-       * xterm.c (x_focus_changed, x_detect_focus_change): Remove
-       numchars arg.  Always store event into bufp arg.  Return nothing.
-       Callers changed accordingly.
+       * xterm.c (x_focus_changed, x_detect_focus_change):
+       Remove numchars arg.  Always store event into bufp arg.
+       Return nothing.  Callers changed accordingly.
        (glyph_rect): Simplify.
        (STORE_KEYSYM_FOR_DEBUG): New macro.
        (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc.
        * xterm.h (x_session_check_input): Fix prototype.
 
 2004-02-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
-       
-       * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework
-       QuickTime'.
-       
+
+       * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'.
+
        * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
        macgui.h).
-       
+
        * emacs.c (main) [HAVE_CARBON]: Call init_xfns.
-       
+
        * macgui.h [MAC_OSX]: Include Carbon/Carbon.h.
        (mktime, DEBUG, Z, free, malloc, realloc, max, min)
        (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h.
        (Bitmap): Remove typedef.
        (Pixmap): Change int to GWorldPtr.
 
-       * macmenu.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in
-       macgui.h).
-       
-       * macterm.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in
-       macgui.h).
-       (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): New
-       #define to extract 16-bit depth color components from unsigned
+       * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
+
+       * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
+       (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG):
+       New #define to extract 16-bit depth color components from unsigned
        long representation.
        (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel
        colors used for masks.
        (struct mac_display_info): Add color_p.  Remove n_cbits.
-       
+
        * macfns.c: Include sys/types.h and sys/stat.h.
        [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h).
        Include QuickTime/QuickTime.h.
        (ZPixmap): New #define for compatibility with xfns.c.
        (XGetImage, XPutPixel, XGetPixel, XDestroyImage)
        (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image)
-       (find_image_fsspec, image_load_qt_1, image_load_quicktime): New
-       functions.
+       (find_image_fsspec, image_load_qt_1, image_load_quicktime):
+       New functions.
        (four_corners_best, x_create_x_image_and_pixmap)
-       (x_destroy_x_image, unwind_create_frame, x_disable_image,
-       (x_edge_detection, init_color_table, colors_in_color_table,
+       (x_destroy_x_image, unwind_create_frame, x_disable_image)
+       (x_edge_detection, init_color_table, colors_in_color_table)
        (lookup_rgb_color, lookup_pixel_color, postprocess_image)
        (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image)
        (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors)
        (enum pbm_keyword_index, pbm_format, enum png_keyword_index)
        (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format)
        (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p)
-       (enum gif_keyword_index, gif_format, gif_image_p): Sync with
-       xfns.c.
+       (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c.
        (x_make_gc): Sync with xfns.c.  Enclose unused `border_tile' with
        #if 0.
        (x_free_gcs): Sync with xfns.c.  Enclose unused `border_tile' with
        #if 0.  Free white_relief.gc and black_relief.gc.
-       (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): New
-       functions (from xfns.c).
+       (unwind_create_frame, x_emboss, x_laplace, x_edge_detection):
+       New functions (from xfns.c).
        (Fx_create_frame): Record unwind_create_frame.
        (Fxw_display_color_p): Use dpyinfo->color_p.
        (Fx_display_grayscale_p, Fx_display_planes): Don't use
        (Fimage_size, Fimage_mask_p, four_corners_best, image_background)
        (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image)
        (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges)
-       (image_background_transparent): New function (from xfns.c).  Use
-       PIX_MASK_DRAW/PIX_MASK_RETAIN.
+       (image_background_transparent): New function (from xfns.c).
+       Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
        (image_load_quicktime): Add declaration.
        [MAC_OSX] (image_load_quartz2d): Likewise.
        [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef.
        [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable.
-       [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New
-       functions.
+       [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs.
        (xbm_load_image_from_file, x_laplace_read_row)
        (x_laplace_write_row, pbm_read_file): Remove functions.
        [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p)
        (lookup_rgb_color): Don't lookup color table.  Just do gamma
        correction.
        (COLOR_INTENSITY): New #define (from xfns.c).
-       (x_disable_image): New function (from xfns.c).  Use
-       PIX_MASK_DRAW/PIX_MASK_RETAIN.
-       (x_build_heuristic_mask): Sync with xfns.c.  Use
-       PIX_MASK_DRAW/PIX_MASK_RETAIN.
+       (x_disable_image): New function (from xfns.c).
+       Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
+       (x_build_heuristic_mask): Sync with xfns.c.
+       Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
        (HAVE_PBM): Remove #ifdef.
        (pbm_load): Sync with xfns.c.  Set img->width and img->height
        before IMAGE_BACKGROUND.
-       (png_image_p, png_load): Don't enclose declarations with #if
-       HAVE_PNG.
+       (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG.
        (Qpng, enum png_keyword_index, png_format, png_type, png_image_p):
        Don't enclose with #if HAVE_PNG.
        [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a
-       symbol _CGImageCreateWithPNGDataProvider is defined.  Otherwise
-       use image_load_quicktime.
+       symbol _CGImageCreateWithPNGDataProvider is defined.
+       Otherwise use image_load_quicktime.
        [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime.
-       [HAVE_PNG] (png_load): Sync with xfns.c.  Use
-       PIX_MASK_DRAW/PIX_MASK_RETAIN.
+       [HAVE_PNG] (png_load): Sync with xfns.c.
+       Use PIX_MASK_DRAW/PIX_MASK_RETAIN.
        (jpeg_image_p, jpeg_load): Don't enclose declarations with #if
        HAVE_JPEG.
        (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type)
        (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type)
        (tiff_image_p): Don't enclose with #if HAVE_TIFF.
        [!HAVE_TIFF] (tiff_load): Use image_load_quicktime.
-       [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): New
-       functions (from xfns.c).
+       [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler):
+       New functions (from xfns.c).
        [HAVE_TIFF] (tiff_load): Sync with xfns.c.
-       (gif_image_p, gif_load): Don't enclose declarations with #if
-       HAVE_GIF.
+       (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF.
        (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p):
        Don't enclose with #if HAVE_GIF.
        [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is
        image types.  Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
        HAVE_PNG.  Add defsubr for Simage_size and Simage_mask_p.
        (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and
-       HAVE_PNG.  Call EnterMovies to support animated gifs.  Call
-       init_image_func_pointer to bind a symbol
+       HAVE_PNG.  Call EnterMovies to support animated gifs.
+       Call init_image_func_pointer to bind a symbol
        _CGImageCreateWithPNGDataProvider if it is defined.
-       
-       * macterm.c [MAC_OSX]: Do not include Carbon/Carbon.h (now in
-       macgui.h).
+
+       * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h).
        (x_draw_bar_cursor): Sync declaration with xterm.c.
        (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area)
        (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen
        (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc.
        (mac_draw_line_to_pixmap, XCreatePixmap)
        (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap)
-       (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): New
-       functions.
-       (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: Use
-       GetPortBitMapForCopyBits instead of the cast to Bitmap *.  Cast
-       bits to char *.
+       (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap):
+       New functions.
+       (mac_draw_bitmap) [TARGET_API_MAC_CARBON]:
+       Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
+       Cast bits to char *.
        (reflect_byte): New function (from w32fns.c).
        (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits
        due to byte alignment.
-       (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use
-       GetPortBitMapForCopyBits instead of the cast to Bitmap *.
+       (mac_scroll_area) [TARGET_API_MAC_CARBON]:
+       Use GetPortBitMapForCopyBits instead of the cast to Bitmap *.
        (XSetForeground): Remove static (now used in macfns.c).
        (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c).
        (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c.
        (x_free_frame_resources): New funcion (from xterm.c).
        (XTread_socket): Call handle_tool_bar_click if mouse up/down event
        occurs in tool bar area.
-       (mac_initialize_display_info): Remove dpyinfo->n_cbits.  Set
-       dpyinfo->color_p.  Determine dpyinfo->n_planes using HasDepth.
+       (mac_initialize_display_info): Remove dpyinfo->n_cbits.
+       Set dpyinfo->color_p.  Determine dpyinfo->n_planes using HasDepth.
        Initialize image cache.
        (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match):
        Enclose unused functions with #if 0.
        (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables.
        (decode_mac_font_name): New function to apply code conversions
-       from a mac font name to an XLFD font name according to its script
-       code.
+       from a mac font name to an XLFD font name according to its script code.
        (x_font_name_to_mac_font_name): Apply code conversion from an XLFD
-       font name to a mac font name according to REGISTRY and ENCODING
-       fields.
+       font name to a mac font name according to REGISTRY and ENCODING fields.
        (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font
        whose name starts with `.'.
        (init_font_name_table): Use decode_mac_font_name.  Add both
        * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked);
        BLOCK_INPUT can be nested, so it doesn't make much sense.
 
-2004-02-24  Michael Mauger <mmaug@yahoo.com>
+2004-02-24  Michael Mauger  <mmaug@yahoo.com>
 
        * w32fns.c (slurp_file, xbm_scan, xbm_load_image)
        (xbm_read_bitmap_data): Use unsigned char for image data.
        * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps
        correctly over other bitmaps.
 
-2004-02-21  Eli Zaretskii  <eliz@elta.co.il>
+2004-02-21  Eli Zaretskii  <eliz@gnu.org>
 
        * emacs.c (USAGE1): Split into two halves.
        (USAGE2): Second half of the old USAGE1.
-       (USAGE3): Renamed from USAGE2.
-       (USAGE4): Renamed from USAGE3.
+       (USAGE3): Rename from USAGE2.
+       (USAGE4): Rename from USAGE3.
 
 2004-02-21  Juri Linkov  <juri@jurta.org>
 
        in one call to read_socket_hook.  Value is 8.
        (read_avail_input): Separate and rework handling of read_socket_hook
        and non-read_socket_hook cases.  Use smaller input_event buffer
-       in read_socket_hook case, and repeat if full buffer is read.  Use
-       new local variable 'discard' to skip input after C-g.
+       in read_socket_hook case, and repeat if full buffer is read.
+       Use new local variable 'discard' to skip input after C-g.
        In non-read_socket_hook case, just use a single input_event, and
        call kbd_buffer_store_event on the fly for each character.
 
        (read_avail_input): Use it to zero out only those slots in buf[]
        that were used last time we were called.
 
-2004-02-16  Eli Zaretskii  <eliz@elta.co.il>
+2004-02-16  Eli Zaretskii  <eliz@gnu.org>
 
        * Makefile.in (obj): Move fringe.o from here...
        (XOBJ, MAC_OBJ): ...to here.
        Add prototypes.
 
        * macterm.c (mac_draw_bitmap): Add overlay_p arg.
-       (x_draw_fringe_bitmap):  Handle overlayed fringe bitmaps;
+       (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps;
        thanks to YAMAMOTO Mitsuharu for advice on how to do this.
        Use cursor color for displaying cursor in fringe.
        (x_redisplay_interface): Add null handlers for
        if vector_ret_p is true.
        (syms_of_xfns): Sx_send_client_message moved to xselect.c.
 
-2004-02-02  Eli Zaretskii  <eliz@elta.co.il>
+2004-02-02  Eli Zaretskii  <eliz@gnu.org>
 
        * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the
        basename of FILE relative to it, not FILE itself.
        (syms_of_fileio): Adapt the docstring of insert-default-directory
        to the change in Fread_file_name.
 
-2004-01-29  Eli Zaretskii  <eliz@elta.co.il>
+2004-01-29  Eli Zaretskii  <eliz@gnu.org>
 
        * alloca.c [!alloca]: Fix the prototype for xfree.
 
 
        * makefile.w32-in, w32fns.c: Add `default-printer-name' function.
 
-2004-01-27  Steven Tamm <steventamm@mac.com>
+2004-01-27  Steven Tamm  <steventamm@mac.com>
 
        * unexmacosx.c (unexec_copy): Do not copy more than was
        requested to prevent overwriting during unexec.
 
        * process.h: Add extern to synch_process_termsig.
 
-2004-01-27  Steven Tamm <steventamm@mac.com>
+2004-01-27  Steven Tamm  <steventamm@mac.com>
 
        * macterm.c (make_mac_frame, make_mac_terminal_frame):
        Move setting of scroll bars from make_mac_frame to
 
        * buffer.h (struct buffer): New member indicate_buffer_boundaries.
 
-       * buffer.c (init_buffer_once):  Set buffer_defaults and
+       * buffer.c (init_buffer_once): Set buffer_defaults and
        buffer_local_flags for indicate_buffer_boundaries.
        (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro
        default- variable for it.
        to the definition of `signal' in the Elisp manual.
        * eval.c (Fsignal): Ditto.
 
-2003-12-29  James Clark <jjc@jclark.com>  (tiny change)
+2003-12-29  James Clark  <jjc@jclark.com>  (tiny change)
 
        * fns.c (internal_equal): Return t for two NaN arguments.
 
 
        * minibuf.c (Fcompleting_read): Undo previous change.
 
-2003-12-25  Lars Hansen <larsh@math.ku.dk>
+2003-12-25  Lars Hansen  <larsh@math.ku.dk>
 
        * dired.c (Fdirectory_files, Fdirectory_files_and_attributes):
        Arguments GCPRO'ed in call to file name handler.
        * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new
        mode_line_string and marginal_area_string parameters.
 
-2003-11-22  Lars Hansen <larsh@math.ku.dk>
+2003-11-22  Lars Hansen  <larsh@math.ku.dk>
 
        * w32.c (struct the_group, getgrgid): Add.
        * mac.c (struct my_group, getgrgid): Add.
        * frame.c (store_frame_param):
        * fontset.c (Fset_fontset_font):
        * emacs.c (shut_down_emacs):
-       * ccl.c (ccl_driver):  Remove period at end of error message.
+       * ccl.c (ccl_driver): Remove period at end of error message.
 
        * config.in: Regenerate.
 
        Set BUF_INTERVALS (buffer)->up_obj when appropriate.
        Handle over_used when splitting UNDER.
 
-2003-09-30  YAMAMOTO  Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+2003-09-30  YAMAMOTO  Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * regex.c (regex_compile): Free the stack when returning from function.
 
        * fontset.c (Finternal_char_font): Change return value to
        cons (FONT-NAME . GLYPH-CODE).
 
-2003-09-28  Eli Zaretskii  <eliz@elta.co.il>
+2003-09-28  Eli Zaretskii  <eliz@gnu.org>
 
        * term.c (tty_setup_colors): Treat any negative argument as -1.
 
 
        * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros.
 
-2003-09-22  Eli Zaretskii  <eliz@elta.co.il>
+2003-09-22  Eli Zaretskii  <eliz@gnu.org>
 
        * term.c (set_tty_color_mode): Use INTEGERP to test whether a
        color mode is an integer number (it could be -1).
        * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to
        avoid warning.
 
-2003-09-07  Eli Zaretskii  <eliz@elta.co.il>
+2003-09-07  Eli Zaretskii  <eliz@gnu.org>
 
        * editfns.c (region_limit): Support any non-zero value of BEGINNINGP.
 
 
        * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment.
 
-2003-08-26  Terje Rosten <terjeros@phys.ntnu.no>
+2003-08-26  Terje Rosten  <terjeros@phys.ntnu.no>
 
        * xfns.c (Vgtk_version_string): New variable.
        (syms_of_xfns): DEFVAR_LISP it.  Provide gtk.
 
-2003-08-24  Eli Zaretskii  <eliz@elta.co.il>
+2003-08-24  Eli Zaretskii  <eliz@gnu.org>
 
        * term.c (term_init): Remove `const' from buffer_size's declaration.
 
        (draw_fringe_bitmap): Rework to handle per-window fringes and new
        fringe vs. display margin position.
        (hscroll_window_tree): Use window_box_width instead of window_box.
-       (redisplay_window):  Adapt to per-window scroll bars.
-       (draw_glyphs):  Rework to handle per-window fringes and scroll
+       (redisplay_window): Adapt to per-window scroll bars.
+       (draw_glyphs): Rework to handle per-window fringes and scroll
        bars, and new fringe vs. display margin position.
        Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left.
-       (x_clear_end_of_line):  Adapt to per-window fringes and scroll
+       (x_clear_end_of_line): Adapt to per-window fringes and scroll
        bars, and new fringe vs. display margin position.  Fix bug which
        increased total width of full_width rows by width of scroll bars
        although window's total width already includes that.
        (w32_draw_window_cursor): New W32-specific functions for RIF.
        (w32_redisplay_interface): Add new members.
 
-       * w32gui.h (No_Cursor):  Define as 0 for W32.
+       * w32gui.h (No_Cursor): Define as 0 for W32.
        (XRectangle): Add X compatible rectangle type.
        (NativeRectangle): Declare as RECT for W32.
        (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
 
        * lisp.h: Declare Vx_resource_name extern.
 
-       * keyboard.c (kbd_buffer_get_event):  Check MENU_BAR_ACTIVATE_EVENT
+       * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT
        for USE_GTK.
        (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK.
 
        Its primary purpose at this time is to initialize the global variable
        track_mouse_event_fn.
 
-       * w32fns.c (w32_wnd_proc):  Remove initialization of
+       * w32fns.c (w32_wnd_proc): Remove initialization of
        track_mouse_event_fn from the handler for the WM_SETFOCUS message.
 
        * w32fns.c (syms_of_w32fns): Call globals_of_w32fns.
 
-       * w32menu.c (globals_of_w32menu):  New function. Used to
+       * w32menu.c (globals_of_w32menu): New function. Used to
        initialize those global variables that must always be initialized
        on startup even when the global variable initialized is non zero.
        Its primary purpose at this time is to initialize the global
 
 2002-07-19  Juanma Barranquero  <lektu@terra.es>
 
-       * fileio.c (Ffile_name_as_directory): Fix argument name in docstring.
-       (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
-
        * xdisp.c (syms_of_xdisp): Remove redundant deprecation info.
 
        * fileio.c (syms_of_fileio): Likewise.
+       (Ffile_name_as_directory): Fix argument name in docstring.
+       (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP.
 
 2002-07-18  Richard M. Stallman  <rms@gnu.org>
 
 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.
+       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.
+       * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE.
+       All callers changed.
 
 2002-07-09  Stefan Monnier  <monnier@cs.yale.edu>
 
 
 2001-12-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
-       * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option.
+       * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option.
 
 2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
 
        * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
 
-       * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks.
+       * buffer.c (Fkill_buffer): Likewise.
 
-       * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks.
+       * print.c (temp_output_buffer_setup): Likewise.
 
 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>