Kenichi Handa [Wed, 13 Dec 2000 23:24:37 +0000 (23:24 +0000)]
(ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro.
(detect_coding_emacs_mule, detect_coding_iso2022,)
(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
(detect_coding_utf_16, detect_coding_ccl): Make them static. New
argument MULTIBYTEP. Callers changed.
(detect_coding_mask, detect_coding_system): New argument
MULTIBYTEP. Callers changed.
Karl Fogel [Wed, 13 Dec 2000 22:56:38 +0000 (22:56 +0000)]
* bookmark.el: Provide a generic exit hook, as suggested by Ovidiu
Predescu <ovidiu@cup.hp.com>:
(bookmark-exit-hook): new var.
(bookmark-exit-hook-internal): new func, replaces old raw lambda form
in `kill-emacs-hook', and runs new `bookmark-exit-hooks'. No longer
tests for the bookmark feature, as logically that feature must have
been provided if this function is running.
Removed ;;;###autoload before the `add-hook' call.
Gerd Moellmann [Wed, 13 Dec 2000 20:27:01 +0000 (20:27 +0000)]
(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]:
New variables.
(unwind_create_frame, unwind_create_tip_frame): New functions.
(Fx_create_frame, x_create_tip_frame): Handle errors signaled
while a frame is only partially constructed.
Stefan Monnier [Wed, 13 Dec 2000 16:14:49 +0000 (16:14 +0000)]
(easy-menu-define): Setup indentation.
(easy-menu-current-active-maps): New function.
(easy-menu-get-map): Use it.
Make a proper menu entry when creating a new keymap.
Gerd Moellmann [Tue, 12 Dec 2000 16:54:45 +0000 (16:54 +0000)]
(smiley-regexp-alist): Make regexps match
at the end of the buffer.
(smiley-region): In the loop, move to the end of the submatch
matching the smiley instead of using the end of the match
of the whole regexp.
Gerd Moellmann [Tue, 12 Dec 2000 16:14:01 +0000 (16:14 +0000)]
(Fset_window_point): If displaying cursors in windows
other than the selected window, make sure redisplay updates
other windows to show the new value of point in the window.
Eli Zaretskii [Tue, 12 Dec 2000 14:55:35 +0000 (14:55 +0000)]
(fast_find_position): Don't overstep the last window row.
(IT_note_mouse_highlight): Initialize portion to -1. Remove
unused variable `area'. When looking for a row under (X,Y), give
up if some of the previous rows is not enabled.
Gerd Moellmann [Tue, 12 Dec 2000 10:20:52 +0000 (10:20 +0000)]
Use `define-minor-mode' for the minor mode
definition (patch by Stefan Monnier).
(glasses-mode): Use jit-lock instead of `after-change-functions'
(patch by Stefan Monnier).
Miles Bader [Tue, 12 Dec 2000 01:20:55 +0000 (01:20 +0000)]
(delete-horizontal-space): Add BACKWARD-ONLY parameter.
Respect field end too.
(just-one-space): Respect fields as `delete-horizontal-space'.
(newline-and-indent, reindent-then-newline-and-indent): Use
`delete-horizontal-space'.
Gerd Moellmann [Mon, 11 Dec 2000 19:26:34 +0000 (19:26 +0000)]
(Fx_hide_tip): Avoid unnecessary work when there's
nothing to do. Bind inhibit-quit.
(tip_frame): Make it a Lisp_Object.
(x_create_tip_frame): Set tip_frame after it has been added to
Vframe_list.
(Fx_show_tip): Don't set tip_frame here.
Gerd Moellmann [Mon, 11 Dec 2000 14:50:29 +0000 (14:50 +0000)]
(try_cursor_movement): Check update_mode_lines instead
of the window's update_mode_line flag, since the former is set by
force-mode-line-update, not the latter. This makes
column-number-mode slightly faster.
Gerd Moellmann [Mon, 11 Dec 2000 11:54:38 +0000 (11:54 +0000)]
(AC_SYS_LARGEFILE, AC_SYS_LARGEFILE_MACRO_VALUE):
Merge fixes from latest GNU tar version. These macros no longer
futz with _XOPEN_SOURCE, as that was not portable in practice.
(AC_FUNC_FSEEKO): New macro.
Miles Bader [Mon, 11 Dec 2000 07:22:38 +0000 (07:22 +0000)]
(displayed_window_lines): Handle non-newline-terminated final lines properly.
(Fwindow_text_height): New function (used to be in lisp).
(syms_of_window): Initialize it.
Miles Bader [Mon, 11 Dec 2000 05:02:17 +0000 (05:02 +0000)]
(gnus-summary-recenter): When trying to keep the bottom line visible,
check to see if it's partially obscured, and if so, either scroll one
more line to make it fully visible, or revert to showing the second line
from the top.