]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Mon, 2 Aug 2004 15:30:37 +0000 (15:30 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 2 Aug 2004 15:30:37 +0000 (15:30 +0000)
etc/NEWS
lisp/ChangeLog
src/ChangeLog

index 12d8f04463781a058b98bfeee54a4f43c01e9979..0693e063992be1b714f301d467dbfe519616fd36 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2187,6 +2187,10 @@ configuration files.
 \f
 * Lisp Changes in Emacs 21.4
 
+** Function `compute-motion' now calculates the usable window
+width if the WIDTH argument is nil.  If the TOPOS argument is nil,
+the usable window height and width is used.
+
 +++
 ** `visited-file-modtime' and `calendar-time-from-absolute' now return
 a list of two integers, instead of a cons.
index f78140ae1d9caf9a4318ede12b6bdb1edf73b9bc..b5134b2647fec4f21ee655fd10babca699d9d15d 100644 (file)
@@ -1,3 +1,14 @@
+2004-08-02  Kim F. Storm  <storm@cua.dk>
+
+       * avoid.el (mouse-avoidance-point-position): Use window-inside-edges
+       and call compute-motion with nil for topos and width to get proper
+       usable width and height for both window and non-window systems.
+
+       * windmove.el (windmove-coordinates-of-position): Let compute-motion
+       calculate usable window width and height.
+
+       * window.el (window-buffer-height): Call compute-motion with nil width.
+
 2004-08-01  David Kastrup  <dak@gnu.org>
 
        * replace.el (query-replace-read-from): Use
index 74a2281988b7e24f0668856096f34c80ee0fa545..84538195917f6d0fb2465bfea28b355baec1a110 100644 (file)
@@ -1,3 +1,15 @@
+2004-08-02  Kim F. Storm  <storm@cua.dk>
+
+       * indent.c (compute_motion): Use actual window width if WIDTH is -1,
+       properly accounting for continuation glyph on non-window systems.
+       (Fcompute_motion): Use actual window width if WIDTH is nil, and
+       actual window width/height if TOPOS is nil, properly accounting for
+       continuation glyphs on non-window systems, and optional header lines.
+       (vmotion): Let compute_motion calculate actual window width.
+
+       * window.c (window_scroll_line_based): Let compute_motion
+       calculate actual window width.
+
 2004-08-02  Kim F. Storm  <storm@cua.dk>
 
        * process.c (read_process_output): Use whole read buffer.