From 0f7a93c1c6d940cc7691834a7936b800af6c0d6f Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 2 Aug 2004 15:30:37 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 4 ++++ lisp/ChangeLog | 11 +++++++++++ src/ChangeLog | 12 ++++++++++++ 3 files changed, 27 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 12d8f044637..0693e063992 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2187,6 +2187,10 @@ configuration files. * 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. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f78140ae1d9..b5134b2647f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2004-08-02 Kim F. Storm + + * 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 * replace.el (query-replace-read-from): Use diff --git a/src/ChangeLog b/src/ChangeLog index 74a2281988b..84538195917 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,15 @@ +2004-08-02 Kim F. Storm + + * 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 * process.c (read_process_output): Use whole read buffer. -- 2.39.2