From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#39618: 28.0.50; gnus nnimap reports more group articles than actually exist Date: Sun, 16 Feb 2020 14:53:13 -0800 Message-ID: <875zg6kuue.fsf@ericabrahamsen.net> References: <877e0nlkk6.fsf@aia00054aia.gr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63548"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 39618@debbugs.gnu.org To: Deus Max Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 16 23:54:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j3Snk-000GNc-21 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Feb 2020 23:54:12 +0100 Original-Received: from localhost ([::1]:37646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Sni-0007ha-QN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Feb 2020 17:54:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54479) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Snb-0007hT-9F for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2020 17:54:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3Sna-0005fi-A6 for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2020 17:54:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3Sna-0005fT-6Q for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2020 17:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3Sna-0001gD-5H for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2020 17:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Feb 2020 22:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39618 X-GNU-PR-Package: emacs Original-Received: via spool by 39618-submit@debbugs.gnu.org id=B39618.15818936026407 (code B ref 39618); Sun, 16 Feb 2020 22:54:02 +0000 Original-Received: (at 39618) by debbugs.gnu.org; 16 Feb 2020 22:53:22 +0000 Original-Received: from localhost ([127.0.0.1]:37835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3Smw-0001fH-JO for submit@debbugs.gnu.org; Sun, 16 Feb 2020 17:53:22 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:35828 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3Smu-0001f3-Sk for 39618@debbugs.gnu.org; Sun, 16 Feb 2020 17:53:21 -0500 Original-Received: from localhost (97-113-55-18.tukw.qwest.net [97.113.55.18]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id F115DFA095; Sun, 16 Feb 2020 22:53:14 +0000 (UTC) In-Reply-To: <877e0nlkk6.fsf@aia00054aia.gr> (Deus Max's message of "Sat, 15 Feb 2020 21:25:29 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176129 Archived-At: Deus Max writes: > Recently my gnus started displaying (in the *Group* buffer) some groups > (which had previously no unread articles) with an unread "ghost" article > but which groups could not be normally entered. > > Here is a description of what I observed: > > 1. When pressing , the cursor simply moves on to the next group > line. The number of unread articles remains unchanged and non-zero. > 2. When pressing for `gnus-group-catchup-current', the unread > article number becomes zero and upon , all read articles are > displayed in the group. Upon exit from the group, upon "g" > gnus-refresh the "ghost" unread article reappears. > > Luckily, this being nnimap the situation can be recovered by removing > the .newsrc files and restarting gnus from scratch. This is not optimal, > as all other relevant configurations will be lost, such as group levels, > etc. > > This issue has happened before, it is not the first time. This definitely happens to many of us from time to time. Unfortunately I can't really reproduce the problem, as by the time it appears it's too late to figure out where it came from, though I assume it has to do with Gnus calculating unread messages from a high-low range, and not being aware of "filled in" read messages within that range. In the meantime, is "M-g" on the problematic group(s) enough to permanently fix the problem? Not a great solution, though better than doctoring your .newsrc.eld file...