Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-page-broken won't be cleared
@ 2003-10-20  5:40 Katsumi Yamaoka
  2003-10-20  7:46 ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2003-10-20  5:40 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

Hi,

I noticed that the gnus-page-broken flag won't be cleared once
it has been set to t.  Because of this, the SPC key in the
summary buffer sometimes doesn't show the next article but

Previous page...

if the article buffer was just filled by the whole article,
even if it doesn't contain `^L's.  How about the following
patch?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 671 bytes --]

--- gnus-art.el~	2003-10-19 22:09:03 +0000
+++ gnus-art.el	2003-10-20 05:35:00 +0000
@@ -4933,13 +4933,15 @@
       (let ((buffer-read-only nil))
 	(gnus-remove-text-with-property 'gnus-prev)
 	(gnus-remove-text-with-property 'gnus-next)))
-    (when
+    (if
 	(cond ((< arg 0)
 	       (re-search-backward page-delimiter nil 'move (1+ (abs arg))))
 	      ((> arg 0)
 	       (re-search-forward page-delimiter nil 'move arg)))
-      (setq gnus-page-broken t)
-      (goto-char (match-end 0)))
+	(progn
+	  (setq gnus-page-broken t)
+	  (goto-char (match-end 0)))
+      (setq gnus-page-broken nil))
     (when gnus-page-broken
       (narrow-to-region
        (point)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-21 14:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20  5:40 gnus-page-broken won't be cleared Katsumi Yamaoka
2003-10-20  7:46 ` Katsumi Yamaoka
2003-10-21  3:27   ` Katsumi Yamaoka
2003-10-21 13:02     ` Reiner Steib
2003-10-21 14:28       ` Katsumi Yamaoka

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).