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 Subject: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Date: Sun, 15 Sep 2024 12:49:27 +0000 Message-ID: <871q1lw089.fsf__24457.4320082151$1726404679$gmane$org@uwo.ca> References: <87h6g7mm8r.fsf@debian-hx90.lan> <868qwar3yn.fsf@gmx.net> <86h6ankmm6.fsf@gmx.net> <87r09q1i0s.fsf@uwo.ca> <868qvx1xst.fsf@gmx.net> <861q1p1gg2.fsf@gmx.net> <87seu2xqpa.fsf@uwo.ca> <87frq2xh4c.fsf@uwo.ca> <86h6ah2q47.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16723"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "ding@gnus.org" , "72949@debbugs.gnu.org" <72949@debbugs.gnu.org> To: James Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 15 14:51:11 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 1spoic-0004Aq-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Sep 2024 14:51:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spoiM-0004wt-2z; Sun, 15 Sep 2024 08:50:54 -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 1spoiI-0004wT-PY for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 08:50:51 -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 1spoiH-0003Ah-Vt for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 08:50:50 -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:In-Reply-To:References:Date:From:To:Subject; bh=L4H391azOlsDGIartIAKh1Y8Nvm2e/IYfZPVF74v1wI=; b=kG/l5ZJw2LeYjoLb8Nz2bex1GGDP6jEWNEtQHdGKl8cCQnRVxN74qqbpRuTF4M2cZf421YrVDYC2xNkLQguIYrysuLa7b+KME2s/hTL8tCb1vm4iwNdXZ1kdgaQX/tivQ3gNgnxMq7rzyQQOzp7hcgs/FHoi3Z093Z6PxL32m6G5Q2Ao/YDpurYntewNcuJsgtuRLGmT2lfMHha7RK0cOazP4SUzmNMlE7iuF0R940qEsDFrUMAULadLz67k0MCNCCZpcRHtfZ8UoyMxgsK67axBHfBKVAE++PY+Hn5WaOIvvqTti4DWlC8w22vWptPSqkps5+G9KuDcpIzhbiZRug==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spoiT-0002UI-Pz for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 08:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Christensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Sep 2024 12:51:01 +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 Original-Received: via spool by 72949-submit@debbugs.gnu.org id=B72949.17264046179143 (code B ref 72949); Sun, 15 Sep 2024 12:51:01 +0000 Original-Received: (at 72949) by debbugs.gnu.org; 15 Sep 2024 12:50:17 +0000 Original-Received: from localhost ([127.0.0.1]:48604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spohk-0002NC-Q3 for submit@debbugs.gnu.org; Sun, 15 Sep 2024 08:50:17 -0400 Original-Received: from mail-yqbcan01on2132.outbound.protection.outlook.com ([40.107.116.132]:23270 helo=CAN01-YQB-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spohi-0002L4-OD for 72949@debbugs.gnu.org; Sun, 15 Sep 2024 08:50:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PhvWKCDmDD2+yvMA7WyS93G9qqLrK671bA5gxGr56nwK51tw/R0mKgqT5fiPkN+/Z7Vgtjd3Rwpff8eea/n4vYANhyoZf9EOqzJrT9TM9ns5/jB6CkDiz4gjSgSNqdvVGRYVibyLhHTW3K9Oeu47C+xiWdUv/jw7U0qC17Fd5thaUJ12rCGzhjISQft5w1I98279CaxAC1fXsK75QoZbEFi+0lcAn/CEC+3yULuj8T2zb6jAkftIZvxnzbuH9+wF8BCwfaDYsn91NTeOr8fPF0Yig8DSsiwha1dCm/3fjEIewYdOQm0VNBukoULXM2cNwNP8xQQeu42VKW/IRDQR6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L4H391azOlsDGIartIAKh1Y8Nvm2e/IYfZPVF74v1wI=; b=lMmqpx/9J7p9wYdgPYQ9R8kwSFQRaFihMqe3pHe1/23Qr3E5NevBW9ZjzdvuEDHWs38Tqgca1d3lM5H9BTIRtc8LhhmfRkS5avWvry2ixzlIPqC+b6Hth1Fj9ZPtDLkcYkhkUxA91nMrUTTrRc10i7JOfz2x6dQKMLQ6HpqckTUFiKfO1U3JMgw/lh/bG1plByWFb6KdX5ONlxpzPHbOQUed0UddKnYLSZkgSoEMEX8bXR/f8j2edbOE4GCUDzBchJX8tA6347Tz4QG553d59WpNgjZ/h/tRipnEalROBBcfcKciF61h0s/t+K71u0kAw0IVdtZH8QcAA8QrkNNPMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uwo.ca; dmarc=pass action=none header.from=uwo.ca; dkim=pass header.d=uwo.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uwo.ca; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L4H391azOlsDGIartIAKh1Y8Nvm2e/IYfZPVF74v1wI=; b=GP2yO0gZ9X+Tkp+iTXFkt9wa4ygFSpbNJj1QOct+9L+kDwTMt0HUUjQg7HpFApe3PmL+Jl+rnPJBxPuZml7ToIdnau09coWJQAm9qnnRItfqkTb7E50SAKYxBw5+E97DQdg8kCq1/bJ81zmZ8E8ZTylS7TzemWA2Zxi1FytpDn50kA2huDiud8rmAikHhUoDiLiLcpVJKT56cTeE3WKSgzGEyE/Ie016V+5QTNVnY7TCo0r/I2PKrg/P1l89xZZof73cH0+IslKcozCVBAK0EkDWjHdQ5HF5ObMrLZY/9LGnk80dl4/dynI1RYfT8YSjYszkMU7iQ/YcVoqaOTBVIA== Original-Received: from YT2P288MB0089.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:f6::13) by YT3P288MB0725.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:127::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.23; Sun, 15 Sep 2024 12:49:55 +0000 Original-Received: from YT2P288MB0089.CANP288.PROD.OUTLOOK.COM ([fe80::3a82:13b8:bdd2:9071]) by YT2P288MB0089.CANP288.PROD.OUTLOOK.COM ([fe80::3a82:13b8:bdd2:9071%4]) with mapi id 15.20.7962.022; Sun, 15 Sep 2024 12:49:27 +0000 Thread-Topic: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Thread-Index: AQHbB22zfjb3ypn9fUCtfcnPlkyCKg== In-Reply-To: <86h6ah2q47.fsf@gmx.net> (James Thomas's message of "Sun, 15 Sep 2024 15:30:40 +0530") Accept-Language: en-CA, en-US Content-Language: en-US authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=uwo.ca; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YT2P288MB0089:EE_|YT3P288MB0725:EE_ x-ms-office365-filtering-correlation-id: bdee2dbd-2fab-43d4-4ec8-08dcd584d5be x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: J/5koCTcAQERu/5xQD+Fn2mpgD4UpTLdgQFdVODqSWeQpI+kFlKJTZofbykRXn17bI9m8UGxzcn4cNsyyBp339tjeZGaibPiDpcvtPbZ2uIhfJVfcqMvYFemZ+gKFypPq6k4D6J7nE2NvK2j+K1BtLR72vq7d4KpDojZW0cP8Z791rO8smKLhvBfYWR6zXUBgAeP8H8L1i0wjBHCJU2Ig61x77m19fPqpXSD8oX4HNBsmD01X6HrcZiltyJ/Xbs8YC8+8hrzTYhq9ye2Y6j5ED7sYjg8CkwAWiQXJm4FRWOCcyeQUx4e1moB7dwQ+xilL6+mSiHmmh9vAKHh2rIZMwdW8f3AzIRfhukuiqB8471L1blf7bdlgFUZYr6bMKoGf4pDmd2ULD/H3Sxy8udbPiC0tU6qZGCj5gDsn+XkSHhAW4HxbPPg3wOsKfFZ50MzTto0tyL0u0KoCpAH4LjK0bv6kdZWVlPdoQqrXukFe30rmdJNYTyOxLubFdfQ1k7OYxfpFKpwV7h9vl/5LSSyA6ERebry49YQgJVCu1nbQWvUrLfySjYKn2oQ+P5WIX6AI5v73+EPv/gSo6Zm3Y9dP4ve+siSzi2eMNIpQQInVgUc3svnlOkAVcjCq5aocYZDoxCpGnZNt+dcT3q/vmWtnupSHbgxP0omYmI6eX96Ugy3HROegzQalGBSGsGUz9Dqq3+qUw/H5JWXIz0Uksb1dBGXSkd67OmADwCCVK+q2xHgno0XIHDINXTr/lbmO apLW4cIq3OTs74BU0AJupuTgYQnSePy3QTPRfFhxTQXg9yjluvhMYPtX1jU6Si6Mgigzsfeto/hqzFghp6Q9/L36cAtZcaNbL0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT2P288MB0089.CANP288.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: JiifEXD5gu3w2PsC4LMMGnEmF7qvAfKFbLtzAOT9ReX2SsuIHG+iRZx7mFm0t2QIpHSEYnTEwph8riy3aSrc1BOSKIIYLNpkULDKD2iLMxrEbhRBBNUhlKPzNGFidvAvbwWLz629+4A9DLHnZCIQvGE9J8hYsJ2B32gsSg0fU3hWM3PNAFFii/S81HDYoz8R1n4/7lIRiqe1U8JQ1MdGfhT/n79huuCVFX0TYxCNCFPU1BynbZZbm3+ZSNIDW+5wAaFTMPdJFw/Ov7JykOWFCq2iTUypSSYoVOVwEZz/QNnX69JvTOkJZDcYZm18rvdrBhlU5G4HMBb+EcaRKita2Zyokb8vlv3Hbk1FX2ZEg2kvm7xLG4VanDCFwnzWfEXn8k+OMf+/PUXHF5PL2Cejvx0NZApFvbkbWPZ1ftnS+4qN1SCopx2IyF4w9PTH45/3mTV24Ok12UdhLMW/WdYKAmcn5JWL5EEVlU8x5XNyA8e3Wx84aZvdcp3H9iMv6IIg7Zsp+cdjF/7QsbLEJnyx9n7i7houkiz+bmLyPe//K78Mzp1Aahgyls6duty0mCj6T1rKkK2rbcXQDIzSrn9svX5vtzQ6ZqOtaPYN7Lsr9weaUd31RMG1DbiDYzN7f1b0lOOIcmD8qSxKALf+0PSGq3AtNAyh7fE7tbZ7P99ijDU9mr470nLaVjb65kQmOK2El8n21RsZLkh5zGMsdfnaLC+Tf8ti8JLq87gRq0k3CmXKl3iunmpwAKNuZS uL95HaDmHAESFbYiVR+rcQ7dtS8O1TeBfDbluIE/5Dezjrlb49LDbiEYPWcDWLRgHFrwhXaXIpalK0paNrHj1xbvbz6rGVk+9S X-OriginatorOrg: uwo.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT2P288MB0089.CANP288.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: bdee2dbd-2fab-43d4-4ec8-08dcd584d5be X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2024 12:49:27.7799 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ad93a64d-ad0d-4ecd-b2fd-e53ce15965be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SfWeGGgktF2FBa05hVekGcMt/9NcRO7kZaSlo44u4K0tDCJNsmqekPDWAk9DKVCT X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3P288MB0725 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:291852 Archived-At: On Sep 15, 2024, James Thomas wrote: > Dan Christensen wrote: > >> (max (1+ (- (cdr active) (car active))) 0) > > Just wanna chime in with what's in (info "(gnus) Required Back End > Functions"): > > Gnus just discards the total-number, so whether one should take the > bother to generate it properly (if that is a problem) is left as an > exercise to the reader. That's interesting. I wonder if it is still correct. As I mentioned in an earlier message in this bug report, without that line of the patch, Gnus gives me an error. Without that line, Gnus would calculate the total number of articles as -1, and this line from gnus-start.el would fail to match because of the minus sign: (when (looking-at "[0-9]+ [0-9]+ \\([0-9]+\\) [0-9]+") I'm not sure if this is the only place that would be affected. Also, I see that many other parts of Gnus do a correct calculation of the total number of articles, so I guess we should follow suit. Dan=