Mercurial > emacs
changeset 56589:eb864aaf90b0
*** empty log message ***
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 02 Aug 2004 15:30:37 +0000 |
parents | 79a8fffd55e9 |
children | f48e32fbfc6c |
files | etc/NEWS lisp/ChangeLog src/ChangeLog |
diffstat | 3 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Mon Aug 02 15:20:18 2004 +0000 +++ b/etc/NEWS Mon Aug 02 15:30:37 2004 +0000 @@ -2187,6 +2187,10 @@ * 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.
--- a/lisp/ChangeLog Mon Aug 02 15:20:18 2004 +0000 +++ b/lisp/ChangeLog Mon Aug 02 15:30:37 2004 +0000 @@ -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
--- a/src/ChangeLog Mon Aug 02 15:20:18 2004 +0000 +++ b/src/ChangeLog Mon Aug 02 15:30:37 2004 +0000 @@ -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.