Only list Gnus groups with unread messages

The Emacs news-reader Gnus, is the interface I use to read most of my feeds. Since I use it for mail, news, rss and more, theres a lot of groups in my Gnus. (Okay, if you don't know Gnus this doesnt make much sense.)

Only list Gnus groups with unread messages because I have so many marks and so many groups now.

you set: (setq gnus-list-groups-with-ticked-articles nil) which works exactly as expected.

1
2(defun gnus-toggle-gnus-list-groups-with-ticked-articles ()
3  (interactive)
4  (setq gnus-list-groups-with-ticked-articles (if gnus-list-groups-with-ticked-articles nil t))
5  (gnus-group-get-new-news))
 1[ Gnus -- 7262133 ]
 2  [ Frequent -- 9349 ]
 3      5038: nnimap+naru:imapmail.lists.inkscape-devel
 4	30: gmane.linux.redhat.fedora.devel
 5      4259: nntp+news.gwene.org:gwene.com.hacker-news.full
 6	22: nnimap+naru:imapmail.nagios
 7  [ Family -- 0 ]
 8  [ Friends -- 0 ]
 9  [ Mail -- 0 ]
10  [ Work -- 1913 ]