From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: James Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Date: Thu, 12 Sep 2024 06:40:58 +0530 Message-ID: <868qvx1xst.fsf@gmx.net> References: <87h6g7mm8r.fsf@debian-hx90.lan> <868qwar3yn.fsf@gmx.net> <86h6ankmm6.fsf@gmx.net> <87r09q1i0s.fsf@uwo.ca> Reply-To: James Thomas Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10209"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 72949@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 12 03:12:46 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 1soYO6-0002Ta-1C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Sep 2024 03:12:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soYNL-0000Jv-9P; Wed, 11 Sep 2024 21:11:59 -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 1soYNH-0000JK-U2 for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 21:11:55 -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 1soYNH-0004HJ-KH for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 21:11:55 -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:Date:References:In-Reply-To:From:To:Subject; bh=Bm9Y/Gty5S2KIkVWf3yAFbHpzTna6dUNCBEVbZKJFdE=; b=v2qwy8/q8tzQzKk48Ff0Z+Xuv7BL+evnr8JzPDNxlk4HqHyBx0shTn977xok2rzx1pU+ZjDRR2/2L42kr/Ysu7na47D07+nYAyOMu97kn+GA6brUkAgxdeZwWuz1XY7tLZYOk8fADAo+166hf6fRHQInHjqRzelzqZGVMygP97MSsIHQviW9wiuzD8Fnuv7GuZrMv+e9cIBTBPaMeL7WPJFmJepKBt7lH/QC95/Q0Ix4c8X+IJ1n5gwypUCVQ3Dn4IJEp2By5XbXd01aqPIf1Vt35NrKu8/dCwVP59rKL6oyaF8/vE18d4pf8bhuAEWQkVEUh1BFUnqnagdIa5/A1A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soYNO-0005Fc-DQ for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 21:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Sep 2024 01:12: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 X-Debbugs-Original-Cc: 72949@debbugs.gnu.org Original-Received: via spool by 72949-submit@debbugs.gnu.org id=B72949.172610350820154 (code B ref 72949); Thu, 12 Sep 2024 01:12:02 +0000 Original-Received: (at 72949) by debbugs.gnu.org; 12 Sep 2024 01:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:39783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soYNA-0005F0-CA for submit@debbugs.gnu.org; Wed, 11 Sep 2024 21:11:48 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:54893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soYN6-0005Ei-7n for 72949@debbugs.gnu.org; Wed, 11 Sep 2024 21:11:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1726103479; x=1726708279; i=jimjoe@gmx.net; bh=Bm9Y/Gty5S2KIkVWf3yAFbHpzTna6dUNCBEVbZKJFdE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=OJlfPKbMaOp3/iDwDDQ1pBMKZuYP02nE/AB7IMoZ8fsbJ6NIikg0URcQZcwGxwgt vHWrIEwOM1Ix7gN+o7IZ4qEhJaugBrXNdzSM1Mdr1auVYGV26MWF8YxVJXzQA8VU0 Yd7bJ5WK5nU+6DMxyZCYmPlftNKm81qn/c8yOFnkcjo/asM/NSoer0dkW+JFjnJrz GjEapf7+aogmxfMIBNljRpfLJqi8wJGdwVqR9t6W8SePwsz8PIvZcwJ29w9ko8SyJ IRMcFstebGNhP20hxld7RCcSTwtHrQ48Ad6euNAsmGF9ZMO8cl9sDMlIUoQL9EVcR 5hMHhiSVFv1MN/kwfg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from user-Inspiron-3493 ([117.216.27.71]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1M6llE-1svfdQ1yTm-009Rvk; Thu, 12 Sep 2024 03:11:19 +0200 In-Reply-To: <87r09q1i0s.fsf@uwo.ca> (Dan Christensen's message of "Wed, 11 Sep 2024 08:39:31 -0400") X-Provags-ID: V03:K1:Pz4NrMP9N9CBSsRzHt6Mbh5fj/mNc0YxY6X/WaC6NCcqkn9VFpe 4xH22w4Sm6e405cid+d1BHmcaVGCQN5TxBpUEEfqYh3gKa3O9IXAS8x92vc/mV6WDwRndNC fPTuNjj82kN87oPkyv8lk+2VEutywE0NzqBHjsnD3inkKWpW7iJg90Ga4tNAg5YrmoosJJv L4N4zV4ozEVM4pMha0OzQ== UI-OutboundReport: notjunk:1;M01:P0:SNGImdF51kU=;mIV6VOHuBcaWUuQ7Q/5Yw6ip15E y1uD3iP7ncqO0hqh5OztR729UNzD+cC7kSqaH91PEcim70mW2tETufFgocNLe7/ll6pNuKg3l oIYHL9FmrpieHU+FvBMszIA9nNrqT/XnV4yp7sizbsdL7FRzps8YKdU6xg+nr1SPwU4WCTX5r 6f2+GKtPgVkF41kAQXJ2M4BwXqilQlC4gqFJQal56up/J5ahnFkJiA+cUM6RN80/cAbySMrsF fhph0fhx3lZ8iZQ/2xyXEBpgmQBUwhzLpcOAEogo/PlaATAhF/LFpGNrSceRdFx+NGFhzaD1I C0X85/lG4rBpR1OdfRZr5t1Tmn/Z2encfIirONdfrBZ5fWvFByA9NFUjONX7lS38hZu8EAhMA BmJrlz7b/HMhmNyaMFSwJ/XWVjYjUnz5dN2XKAvsl1v91BhGn8LO8zfcLbivgJR1CKAWihyoQ qZrIFhhulR2QTqjOMDq1Az3jJbbvPe+6vi4I4ufmCC3JTDnVuzsogXZjWPcOTKwsckypvxo/t gfMZ9z/hTNHELySmGhC9HMmukdXtZMdPw38lSUOk4fLdGgOD6wBgKz9m2CPwJR3WNt6aaFSTA BqV9Nz28JI544pHmJbHu71fHNt5AZ2JB84OpPK/gdeDCMRDMiOponjl6+c0heTd03WFx1E/Q+ B9Q6FDmTANsRmRR5nRPi1v7MibtmSqVHgqJlOD4oC3CahWheu1k5kHi3D/OqrWcZGNVU8Pnn/ 3P0ClPaOxFQa7b7m0CykQdT0luW6rTyaIfMQhEBSjXH73CfQh2P/+dfXXczYwRudGxXZ6BMw 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:291617 Archived-At: Dan Christensen wrote: > 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=E2=80=99t create group nnima= p+rocky:testmove4") > signal(error ("Couldn=E2=80=99t 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. Sorry! I got confused again... Please try the other patch in that bug report (the one that swaps the car and cdr). I find that it works with your use case! --