Only list Gnus groups with unread messages

· by [Joakim Verona] · Read in about 1 min · (121 words) ·

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.


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