From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16254 Path: news.gmane.org!not-for-mail From: Rainer@krugs.de (Rainer M. Krug) Newsgroups: gmane.emacs.gnus.user Subject: Re: Customizing group buffer - strange "number of total articles" Date: Mon, 22 Apr 2013 09:55:27 +0200 Message-ID: <87r4i3m234.fsf@krugs.de> References: <87wqs4teca.fsf@krugs.de> <87r4i4rss6.fsf@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366617358 15012 80.91.229.3 (22 Apr 2013 07:55:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2013 07:55:58 +0000 (UTC) Cc: info-gnus-english@gnu.org To: Oleksandr Gavenko Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Apr 22 09:56:02 2013 Return-path: Envelope-to: gegu-info-gnus-english@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 1UUBbW-0007ve-0W for gegu-info-gnus-english@m.gmane.org; Mon, 22 Apr 2013 09:56:02 +0200 Original-Received: from localhost ([::1]:58492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUBbV-0000JL-Mh for gegu-info-gnus-english@m.gmane.org; Mon, 22 Apr 2013 03:56:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUBb4-0008OU-JK for info-gnus-english@gnu.org; Mon, 22 Apr 2013 03:55:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUBb1-000411-MZ for info-gnus-english@gnu.org; Mon, 22 Apr 2013 03:55:34 -0400 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:38138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUBb1-00040s-H8 for info-gnus-english@gnu.org; Mon, 22 Apr 2013 03:55:31 -0400 Original-Received: by mail-wi0-f176.google.com with SMTP id hj19so3792352wib.9 for ; Mon, 22 Apr 2013 00:55:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=YNRp0Wz3vTormagHOWNhBQ6MRUALyJoxvmCBqGjdxAU=; b=ANFmMb1Dzp92jM5eId+E6vasz0ohknjDqaFO3HYNraGM6g+U+syZZ1sOcCsFzinLSg Q4UeAupueZC8LV/Mh65N0ZhdnSfe+s1xegUX/7l6oDbrv3MKlzZ6L/lSHYhevd6PygET dEOt3p/MoLtGDUFWSNlMrsXA97YgKDoLy3VV0PnGpg4YmYCDZFTd0owUzQLCUs7OV3dB HMub+c/ovhxagRm4B0FQI2tA41PJdekYk+1r0I+xi/F/BFBnO0YPpSiwj+39rJ7JzG1r +bw0x2WJF6okGtCqPHaNtfOcmXRwwhhZKiNH4sWaHqzu0KzxdqF2/4tBEjKNWgF0OxoI avwg== X-Received: by 10.194.143.50 with SMTP id sb18mr49512113wjb.44.1366617330465; Mon, 22 Apr 2013 00:55:30 -0700 (PDT) Original-Received: from ecolmod ([2a01:e35:8baa:b070:6cc1:e1e8:8c34:2e8e]) by mx.google.com with ESMTPSA id ge7sm17562782wic.0.2013.04.22.00.55.28 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 22 Apr 2013 00:55:29 -0700 (PDT) In-Reply-To: <87r4i4rss6.fsf@gavenkoa.example.com> (Oleksandr Gavenko's message of "Sun, 21 Apr 2013 15:07:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::230 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16254 Archived-At: Oleksandr Gavenko writes: > On 2013-04-15, Rainer M. Krug wrote: > >> Hi >> >> I changed my group buffer format and added %t whic, according to the >> manual is >> >> ,---- >> | `t' >> | Total number of articles. >> `---- >> >> but it gives me very strange numbers, e.g. in the Inbox of my gmail >> account (synced via offlineimap) I get nearly 10 times the number of >> actual messages. It is an local imap account. I checked the number of >> files in the Inbox folder of gmail, and it is also only about 10% of >> number shown for %t. >> >> I also read in the info manual that it is only an estimate and the >> liitations for nntp, but my backend is nnimap and I can therefore not >> compact. >> >> So my queestion is: is there a way of getting the number of mails from >> the nnimap backend in the group buffer? >> > > (info "(gnus)FAQ 4-12") > > Question 4.12 > ............. > > The number of total messages in a group which Gnus displays in group > buffer is by far to high, especially in mail groups. Is this a bug? > > Answer > ...... > > No, that's a matter of design of Gnus, fixing this would mean > reimplementation of major parts of Gnus' back ends. Gnus thinks > "highest-article-number - lowest-article-number = > total-number-of-articles". This works OK for Usenet groups, but if you > delete and move many messages in mail groups, this fails. To cure the > symptom, enter the group via `C-u RET' (this makes Gnus get all > messages), then hit `M P b' to mark all messages and then say `B m > name.of.group' to move all messages to the group they have been in > before, they get new message numbers in this process and the count is > right again (until you delete and move your mail to other groups again). <#secure method=pgpmime mode=sign> Thanks for showing me the FAQ - makes sense. I will think about it and see if I can work around that.\ Cheers, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug