From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Gnus state, feed commands Date: Mon, 18 Nov 2013 09:43:22 +0700 Message-ID: <871u2ev391.fsf@ericabrahamsen.net> References: <87ob5k1a9q.fsf__48304.1452513591$1384626024$gmane$org@nl106-137-194.student.uu.se> <87bo1jjg1w.fsf@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384742536 17011 80.91.229.3 (18 Nov 2013 02:42:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 02:42:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 03:42:21 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ViEn7-0003q9-30 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Nov 2013 03:42:21 +0100 Original-Received: from localhost ([::1]:40987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViEn6-0004LO-NK for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Nov 2013 21:42:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViEmq-0004LB-MJ for help-gnu-emacs@gnu.org; Sun, 17 Nov 2013 21:42:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViEmk-00035E-2c for help-gnu-emacs@gnu.org; Sun, 17 Nov 2013 21:42:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:57542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViEmj-000353-Qj for help-gnu-emacs@gnu.org; Sun, 17 Nov 2013 21:41:57 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ViEmg-0003gH-V8 for help-gnu-emacs@gnu.org; Mon, 18 Nov 2013 03:41:54 +0100 Original-Received: from 223.204.248.247 ([223.204.248.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Nov 2013 03:41:54 +0100 Original-Received: from eric by 223.204.248.247 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Nov 2013 03:41:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 223.204.248.247 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:bU05PjlDHnL32TxIfp9Ef2HaG7s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94531 Archived-At: Emanuel Berg writes: > Eric Abrahamsen writes: > >> That number above comes from the function >> gnus-group-unread, so you could probably map all >> subscribed groups through it and collect the unread >> count. I've never messed with the mode line, so I'm >> not sure about using a function to produce a value >> for it... > > Yes, I was told on gnu.emacs.gnus that I was possible > to do like this: > > (gnus-number-of-unseen-articles-in-group "gnu.emacs.help") Weird, I wonder what the difference is supposed to be. On my installation, anyway, with three unread messages in "gmane.emacs.help", gnus-group-unread returns 3, and gnus-number-of-unseen-articles-in-group returns 0. Strange. Also, if you use topics, the easiest way to get the full number of unread messages would probably be to run gnus-topic-unread on the top-level topic. E