From: Michael Shields <shields@msrl.com>
Subject: [PATCH] Correctly handle an article that exactly fills the window
Date: Tue, 07 Jan 2003 08:21:31 +0000 [thread overview]
Message-ID: <87isx1v08k.fsf@mulligatwani.msrl.com> (raw)
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 <shields@msrl.com>
* 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.
next reply other threads:[~2003-01-07 8:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-07 8:21 Michael Shields [this message]
2003-01-08 3:54 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87isx1v08k.fsf@mulligatwani.msrl.com \
--to=shields@msrl.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).