Gnus development mailing list
 help / color / mirror / Atom feed
* Scrolling article with RET impossible in 5.8.4
@ 2000-01-05 21:03 Raymond Scholz
  2000-01-05 22:02 ` Shenghuo ZHU
  0 siblings, 1 reply; 4+ messages in thread
From: Raymond Scholz @ 2000-01-05 21:03 UTC (permalink / raw)


Hi!

(same for scrolling up with M-RET)

This somewhat essential function broke up in today's CVS checkins. I
guess someone with CVS access has already noticed that and can fix
it. Hope this happened _after_ the 5.8.3 release.

Cheers,
  Ray
-- 
Raymond Scholz -*- rscholz@tzi.de -*- http://www.tzi.de/~rscholz/
FB 3 Informatik, Universität Bremen -*- PGP key available via WWW



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

* Re: Scrolling article with RET impossible in 5.8.4
  2000-01-05 21:03 Scrolling article with RET impossible in 5.8.4 Raymond Scholz
@ 2000-01-05 22:02 ` Shenghuo ZHU
  2000-01-05 23:01   ` Kim-Minh Kaplan
  0 siblings, 1 reply; 4+ messages in thread
From: Shenghuo ZHU @ 2000-01-05 22:02 UTC (permalink / raw)


>>>>> "Raymond" == Raymond Scholz <rscholz@tzi.de> writes:

Raymond> Hi!
Raymond> (same for scrolling up with M-RET)

Raymond> This somewhat essential function broke up in today's CVS
Raymond> checkins. I guess someone with CVS access has already noticed


Raymond> that and can fix it. Hope this happened _after_ the 5.8.3
Raymond> release.

This happened after 5.8.3.

2000-01-05 17:31:52  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* gnus-sum.el (gnus-summary-select-article): Return whether we
	selected something new.

gnus-summary-select-article should return 'old if it is old. Right?

-- 
Shenghuo



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

* Re: Scrolling article with RET impossible in 5.8.4
  2000-01-05 22:02 ` Shenghuo ZHU
@ 2000-01-05 23:01   ` Kim-Minh Kaplan
  2000-01-09  2:05     ` Shenghuo ZHU
  0 siblings, 1 reply; 4+ messages in thread
From: Kim-Minh Kaplan @ 2000-01-05 23:01 UTC (permalink / raw)


Shenghuo ZHU writes:

> gnus-summary-select-article should return 'old if it is old. Right?

Right.  Here is a fix.  The patch is big because of indentation
changes.

Kim-Minh.

diff -u -r5.95 gnus-sum.el
--- gnus-sum.el	2000/01/05 17:38:42	5.95
+++ gnus-sum.el	2000/01/05 22:54:07
@@ -5796,38 +5796,34 @@
     (set-buffer gnus-summary-buffer))
   (let ((article (or article (gnus-summary-article-number)))
 	(all-headers (not (not all-headers))) ;Must be T or NIL.
-	gnus-summary-display-article-function
-	did)
+	gnus-summary-display-article-function)
     (and (not pseudo)
 	 (gnus-summary-article-pseudo-p article)
 	 (error "This is a pseudo-article"))
-    (prog1
-	(save-excursion
-	  (set-buffer gnus-summary-buffer)
-	  (if (or (and gnus-single-article-buffer
-		       (or (null gnus-current-article)
-			   (null gnus-article-current)
-			   (null (get-buffer gnus-article-buffer))
-			   (not (eq article (cdr gnus-article-current)))
-			   (not (equal (car gnus-article-current)
-				       gnus-newsgroup-name))))
-		  (and (not gnus-single-article-buffer)
-		       (or (null gnus-current-article)
-			   (not (eq gnus-current-article article))))
-		  force)
-	      ;; The requested article is different from the current article.
-	      (prog1
-		  (gnus-summary-display-article article all-headers)
-		(setq did article)
-		(when (or all-headers gnus-show-all-headers)
-		  (gnus-article-show-all-headers)))
+    (save-excursion
+      (set-buffer gnus-summary-buffer)
+      (if (or (and gnus-single-article-buffer
+		   (or (null gnus-current-article)
+		       (null gnus-article-current)
+		       (null (get-buffer gnus-article-buffer))
+		       (not (eq article (cdr gnus-article-current)))
+		       (not (equal (car gnus-article-current)
+				   gnus-newsgroup-name))))
+	      (and (not gnus-single-article-buffer)
+		   (or (null gnus-current-article)
+		       (not (eq gnus-current-article article))))
+	      force)
+	  ;; The requested article is different from the current article.
+	  (progn
+	    (gnus-summary-display-article article all-headers)
 	    (when (or all-headers gnus-show-all-headers)
 	      (gnus-article-show-all-headers))
-	    'old))
-      (when did
-	(gnus-article-set-window-start
-	 (cdr (assq article gnus-newsgroup-bookmarks)))))
-    did))
+	    (gnus-article-set-window-start
+	     (cdr (assq article gnus-newsgroup-bookmarks)))
+	    article)
+	(when (or all-headers gnus-show-all-headers)
+	  (gnus-article-show-all-headers))
+	'old))))
 
 (defun gnus-summary-set-current-mark (&optional current-mark)
   "Obsolete function."



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

* Re: Scrolling article with RET impossible in 5.8.4
  2000-01-05 23:01   ` Kim-Minh Kaplan
@ 2000-01-09  2:05     ` Shenghuo ZHU
  0 siblings, 0 replies; 4+ messages in thread
From: Shenghuo ZHU @ 2000-01-09  2:05 UTC (permalink / raw)


>>>>> "Kim-Minh" == Kim-Minh Kaplan <kmkaplan@vocatex.fr> writes:

Kim-Minh> Shenghuo ZHU writes:
>> gnus-summary-select-article should return 'old if it is old. Right?

Kim-Minh> Right.  Here is a fix.  The patch is big because of
Kim-Minh> indentation changes.

[...]

Applied. 

-- 
Shenghuo



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

end of thread, other threads:[~2000-01-09  2:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-05 21:03 Scrolling article with RET impossible in 5.8.4 Raymond Scholz
2000-01-05 22:02 ` Shenghuo ZHU
2000-01-05 23:01   ` Kim-Minh Kaplan
2000-01-09  2:05     ` Shenghuo ZHU

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