Subject: bug#925 closed by martin rudalics <[email-masked]> (Re: bug#925: 23.0.60; follow-mode doesn't work in buffers with a header line)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#925: 23.0.60; follow-mode doesn't work in buffers with a header line

It has been closed by martin rudalics <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact martin rudalics <[email-masked]> by
replying to this email.

-- 
925: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=925
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Tue Oct 28 10:45:33 2008
Date: Tue, 28 Oct 2008 18:43:40 +0100
From: martin rudalics <[email-masked]>
To: [email-masked]
CC: Phil Sung <[email-masked]>
Subject: Re: bug#925: 23.0.60;	follow-mode doesn't work in buffers with a
 header line

Fixed as

2008-10-28  Phil Sung  <[email-masked]>  (tiny change)

	* follow.el (follow-scroll-down, follow-calc-win-end)
	(follow-estimate-first-window-start): Reduce effective window
	height when header line is present.  (Bug#925)

Thanks, martin

>From [email-masked] Sun Sep  7 15:26:58 2008
From: Phil Sung <[email-masked]>
Date: Sun, 7 Sep 2008 18:26:22 -0400
To: [email-masked]
Subject: 23.0.60; follow-mode doesn't work in buffers with a header line
Sender: Phil Sung <[email-masked]>

Steps to reproduce:

0. emacs -Q
1. C-h r [info-emacs-manual]
2. C-x 3 [split-window-horizontally]
3. M-x follow-mode
4. C-n until point moves past bottom of window

Expected results:

   Point moves to top of next window.

Actual results:

   First window scrolls down and then recenters around point.

In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.13.7)
 of 2008-08-31 on iridium, modified by Debian
 (emacs-snapshot package, version 1:20080831-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''