Subject: bug#16666: Gnus hangs while marking articles

From: Juri Linkov <[email-masked]>
Date: Thu, 06 Feb 2014 10:55:46 +0200

Package: emacs,gnus
Version: 24.3.50

Typing `T #' (gnus-uu-mark-thread) on the last thread
at the bottom of the Summary buffer goes into infinite loop.

This is caused by 2013-08-01 changes in gnus-uu.el that replaced

  (zerop (gnus-summary-next-subject 1 nil t))

with

  (zerop (forward-line 1))

to support dummy roots.  But that doesn't stop at the end of the buffer.