Function: gnus-group-next-unread-group
gnus-group-next-unread-group is an interactive and byte-compiled
function defined in gnus-group.el.gz.
Signature
(gnus-group-next-unread-group N &optional ALL LEVEL SILENT)
Documentation
Go to next N'th unread newsgroup.
If N is negative, search backward instead. If ALL is non-nil, choose any newsgroup, unread or not. If LEVEL is non-nil, choose the next group with level LEVEL, or, if no such group can be found, the next group with a level higher than LEVEL. Returns the difference between N and the number of skips actually made.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
(defun gnus-group-next-unread-group (n &optional all level silent)
"Go to next N'th unread newsgroup.
If N is negative, search backward instead.
If ALL is non-nil, choose any newsgroup, unread or not.
If LEVEL is non-nil, choose the next group with level LEVEL, or, if no
such group can be found, the next group with a level higher than
LEVEL.
Returns the difference between N and the number of skips actually
made."
(interactive "p" gnus-group-mode)
(let ((backward (< n 0))
(n (abs n)))
(while (and (> n 0)
(gnus-group-search-forward
backward (or (not gnus-group-goto-unread) all) level))
(setq n (1- n)))
(when (and (/= 0 n)
(not silent))
(gnus-message 7 "No more%s newsgroups%s" (if all "" " unread")
(if level " on this level or higher" "")))
n))