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.
Stefan Monnier [Sun, 10 Dec 2000 21:08:55 +0000 (21:08 +0000)]
(log-edit-parent-buffer): New var.
(log-edit): Set it. Add BUFFER argument.
(log-edit-done): Use char-before.
Don't bother checking validity of vc-comment-ring.
Only bury the buffer if log-edit popped it up.
Miles Bader [Fri, 8 Dec 2000 18:12:48 +0000 (18:12 +0000)]
(Fpos_visible_in_window_p): Replace FULLY parameter with PARTIALLY,
inverting the sense.
(window_scroll_pixel_based): Scroll partially visible lines into place
if we hit the beginning or end of the buffer.
(displayed_window_lines): Don't include partially visible line at bottom.
Stefan Monnier [Fri, 8 Dec 2000 16:31:50 +0000 (16:31 +0000)]
Move the (require 'cl) to the front of the
file where it's more visible.
(texinfo-filter, texinfo-chapter-level-regexp): New variables
moved from texnfo-upd.el (for AUCTeX's compatibility, originally).
(texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter.
(texinfo-inside-macro-p): Only catch `scan-error's.
(texinfo-inside-env-p): Make better use of the match info.
(texinfo-insert-quote): Collapse calls to `texinfo-inside-macro-p'.
(texinfo-insert-@end): Slight re-organization.
Also remove useless `looking-at' call.