[gnus git] branch master updated: =1= (gnus-article-next-page): Change last-line-displayed behaviour.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  659352f2cfd41471c57ed9d3cdd810fcda50edc0 (commit)
      from  b6c321c02ab94e19cbfa08aa7fb02177abcb9f73 (commit)


- Log -----------------------------------------------------------------
commit 659352f2cfd41471c57ed9d3cdd810fcda50edc0
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Wed Jan 26 15:11:16 2011 -0800

    (gnus-article-next-page): Change last-line-displayed behaviour.
    
    When the last line of the article is displayed, scroll down once more
    instead of going to the next article at once.
    
    This makes for more SPC-ing, but since you normally don't know whether
    an article is over or not in this situation, this is perhaps less
    surprising and annoying behaviour.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2376402..4c93ce0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
 2011-01-26  Lars Ingebrigtsen  <[email protected]>
 
+	* gnus-art.el (gnus-article-next-page): When the last line of the
+	article is displayed, scroll down once more instead of going to the
+	next article at once.
+
 	* shr.el: Revert change that made headings use different-sized faces.
 	The Emacs display engine isn't advanced enough that, for instance,
 	tables can comfortably use differntly-sized faces.
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 0cf2d2f..110e5c8 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -6267,7 +6267,7 @@ Argument LINES specifies lines to be scrolled up."
 	   (save-excursion
 	     (end-of-line)
 	     (and (pos-visible-in-window-p)	;Not continuation line.
-		  (>= (1+ (point)) (point-max))))) ;Allow for trailing newline.
+		  (>= (point) (point-max)))))
       ;; Nothing in this page.
       (if (or (not gnus-page-broken)
 	      (save-excursion

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    4 ++++
 lisp/gnus-art.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.