changeset 43362:5fe3e0ee7fd7

* gnus-sum.el (gnus-rebuild-thread): Count hidden lines too.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Sat, 16 Feb 2002 19:03:14 +0000
parents 5fc9760d2303
children bcefd6f01283
files lisp/gnus/ChangeLog lisp/gnus/gnus-sum.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sat Feb 16 17:32:07 2002 +0000
+++ b/lisp/gnus/ChangeLog	Sat Feb 16 19:03:14 2002 +0000
@@ -1,3 +1,7 @@
+2002-02-17  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+	* gnus-sum.el (gnus-rebuild-thread): Count hidden lines too.
+
 2002-02-13  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
 	* gnus-art.el (gnus-article-edit-mode): Use define-derived-mode.
--- a/lisp/gnus/gnus-sum.el	Sat Feb 16 17:32:07 2002 +0000
+++ b/lisp/gnus/gnus-sum.el	Sat Feb 16 19:03:14 2002 +0000
@@ -3549,7 +3549,7 @@
       (setq thread (gnus-remove-thread id)))
     (setq old-pos (gnus-point-at-bol))
     (setq current (save-excursion
-		    (and (zerop (forward-line -1))
+		    (and (re-search-backward "[\r\n]" nil t)
 			 (gnus-summary-article-number))))
     ;; If this is a gathered thread, we have to go some re-gathering.
     (when (stringp (car thread))