From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.bugs,gmane.emacs.gnus.general Subject: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Date: Wed, 11 Sep 2024 08:39:31 -0400 Message-ID: <87r09q1i0s.fsf@uwo.ca> References: <87h6g7mm8r.fsf@debian-hx90.lan> <868qwar3yn.fsf@gmx.net> <86h6ankmm6.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22363"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: ding@gnus.org To: 72949@debbugs.gnu.org Cancel-Lock: sha1:z8cgstkGAlMD4QV4d1Oe1CpRMyM= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 11 14:42:37 2024 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 1soMg9-0005dZ-98 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Sep 2024 14:42:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soMev-0006Ky-Ux; Wed, 11 Sep 2024 08:41:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1soMeY-0004x7-3d for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 08:41:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soMeW-00026Y-KD for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 08:40:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Mime-Version:References:Date:From:To:In-Reply-To:Subject; bh=z37iNrAm/HV5ems/a3TaZCbfIeJpBc5QJ/oBFZ499Y0=; b=JoI+lK2NIKpEgucLt7eLGrU1hJffcczCp4BEI+RHynp0a5o3vYxTbb2VOi5AqiESohV9PmbpkDbOxhlSgUrscgxLCO8OiL0DaBS1hJTSo9YJQMPlkrVVjp3aK8xKs5m0dLcXRZSko86PC/KstDosYIrz8O3PNmJo+bHFA0Dos1BW36ScMbPBdWUVyb7OeZQdwHksdT2DJKYtpA8SMtBvZS/Sava72E8lnFAWGw2qYLuZkD5ELXaqTZINUhGmw+K+r1hriAzUfs3e0oSmcdcuzj7bpk5QgXlMYbSCW8IAzoDXAm5dzX9nKZdiRkCZQw6srmKoUBPn2puM258+YHpVkw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soMec-0008AA-GG for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 08:41:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <868qwar3yn.fsf@gmx.net> Resent-From: Dan Christensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Sep 2024 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172605840530813 (code B ref -1); Wed, 11 Sep 2024 12:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Sep 2024 12:40:05 +0000 Original-Received: from localhost ([127.0.0.1]:37928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soMdh-00080u-1I for submit@debbugs.gnu.org; Wed, 11 Sep 2024 08:40:05 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soMdc-00080M-Lj for submit@debbugs.gnu.org; Wed, 11 Sep 2024 08:40:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1soMdV-0008KI-2I for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 08:39:53 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1soMdT-0001lU-F2 for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 08:39:52 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1soMdR-0002Z4-AO for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 14:39:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291600 gmane.emacs.gnus.general:91615 Archived-At: On Sep 11, 2024, James Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > James Thomas wrote: > >> I haven't tested this patch (don't really know how to), but this could >> very well be the cause of this long-standing bug: > > Could you check if this patch (the 1st one, which swaps the 0 and 1), > makes any difference? I've noticed a long-standing bug, and tried this patch. Here's the bug: If I use `B m' or `B c' to move or copy a message from an nnimap group to a non-existent nnimap group, Gnus asks if I want to create the group. I say yes, and then it gets created with some faulty parameters that make the *Group* buffer show odd numbers: ("nnimap+rocky:testmove1" 3 ((1 . 1)) ((unexist 0) (seen 1)) "nnimap:rocky" ((modseq . "3") (uidvalidity . "1549221829") (active 0 . 1) (permanent-flags %Answered %Flagged %Deleted %Seen %Draft %*))))) Note that article 0 is mentioned twice there. If I close Gnus, get rid of the "(unexist 0)", and change the active range to 1 . 1, then things are good again. I can consistently reproduce this. I wondered if the patch in this thread would help, but after applying it, I'm unable to create the new group in this way. After hitting `y' to agree to creating a new group, I get: Debugger entered--Lisp error: (error "Couldn’t create group nnimap+rocky:testmove4") signal(error ("Couldn’t create group nnimap+rocky:testmove4")) error("Couldn't create group %s" "nnimap+rocky:testmove4") gnus-read-move-group-name("Copy" "nnimap+rocky:testmove1" (50086) "nn:") gnus-summary-move-article(nil nil nil copy) gnus-summary-copy-article(nil) funcall-interactively(gnus-summary-copy-article nil) call-interactively(gnus-summary-copy-article nil nil) command-execute(gnus-summary-copy-article) So this patch makes Gnus worse for me, rather than better. I hope this reproducible strategy helps pin down a solution. Dan