+2011-05-20 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
+ the thread moves us backwards and so we loop forever.
+
2011-05-19 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
(let ((ol (gnus-make-overlay starteol (point) nil t nil)))
(gnus-overlay-put ol 'invisible 'gnus-sum)
(gnus-overlay-put ol 'evaporate t)))
- (gnus-summary-goto-subject article))
+ (gnus-summary-goto-subject article)
+ (when (> start (point))
+ (message "Hiding the thread moved us backwards, aborting!")
+ (goto-char (point-max))))
(goto-char start)
nil))))