From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48859 Path: main.gmane.org!not-for-mail From: Michael Shields Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Correctly handle an article that exactly fills the window Date: Tue, 07 Jan 2003 08:21:31 +0000 Organization: Mad Science Research Labs Sender: owner-ding@hpc.uh.edu Message-ID: <87isx1v08k.fsf@mulligatwani.msrl.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041927688 27235 80.91.224.249 (7 Jan 2003 08:21:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 08:21:28 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18VozH-000757-00 for ; Tue, 07 Jan 2003 09:21:27 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18Vozb-0005K5-00; Tue, 07 Jan 2003 02:21:47 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 07 Jan 2003 02:22:40 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id CAA09755 for ; Tue, 7 Jan 2003 02:22:30 -0600 (CST) Original-Received: (qmail 11955 invoked by alias); 7 Jan 2003 08:21:32 -0000 Original-Received: (qmail 11950 invoked from network); 7 Jan 2003 08:21:32 -0000 Original-Received: from challah.msrl.com (198.137.194.222) by 66.230.238.6 with SMTP; 7 Jan 2003 08:21:32 -0000 Original-Received: (qmail 7452 invoked from network); 7 Jan 2003 08:21:31 -0000 Original-Received: from localhost (HELO mulligatwani.msrl.com) (127.0.0.1) by localhost with SMTP; 7 Jan 2003 08:21:31 -0000 Original-To: ding@gnus.org Original-Lines: 22 User-Agent: Gnus/5.090011 (Oort Gnus v0.11) XEmacs/21.4 (Military Intelligence, i386-debian-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48859 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48859 Currently, Gnus will page forward if the last line of the article falls on the last line of the article window. This seems to be a bug. 2003-01-07 Michael Shields * gnus-art.el (gnus-article-next-page): Correctly handle the case where the last line of the article is the last line of the window. --- lisp/gnus-art.el 2003/01/04 00:43:57 6.266 +++ lisp/gnus-art.el 2003/01/07 08:22:45 @@ -4730,7 +4755,7 @@ (if (save-excursion (end-of-line) (and (pos-visible-in-window-p) ;Not continuation line. - (eobp))) + (>= (1+ (point)) (point-max)))) ;Allow for trailing newline. ;; Nothing in this page. (if (or (not gnus-page-broken) (save-excursion -- Shields.