From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id BB8D62D9F5 for ; Wed, 18 Sep 2024 01:03:39 +0200 (CEST) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1sqhEJ-0000000GN4C-1AKj for ml@inbox.vuxu.org; Tue, 17 Sep 2024 18:03:35 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1sqhEH-00000004CdY-44be for ml@inbox.vuxu.org; Tue, 17 Sep 2024 18:03:30 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1sqhEE-00000004CdP-2SGY for ding@lists.math.uh.edu; Tue, 17 Sep 2024 18:03:26 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1sqhEC-0000000GN3l-3yaK for ding@lists.math.uh.edu; Tue, 17 Sep 2024 18:03:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=MIME-Version:Content-Transfer-Encoding:Content-Type: In-Reply-To:References:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4rhafpWaY++nLgSrQV59i7iEHaG5HJJqI5UK++uN2lM=; b=BD+yyUwMjlLm3fTq3KJXY70lbY en83jg9yHj6N9ouiZU2fPgQLl6faHaT8ypDqB5m9GE87A2CE5upAtPwFy766+2vkPDIcoBE4qrA8c r50z4hrHPRzjz/91vdaUQCxtqPv+rR+ZOJgSn3Tx2Z7Zpp71rEW9up8OPAEFwbVbqL9s=; Received: from mail-yt3can01on2131.outbound.protection.outlook.com ([40.107.115.131] helo=CAN01-YT3-obe.outbound.protection.outlook.com) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sqhE3-0004Ft-Jh for ding@gnus.org; Wed, 18 Sep 2024 01:03:19 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ea23dC4+68wq6HK+7V1rYHXjxZpCyy0FcyRj6AbDNCkvxAfXhbfTaDtGTgiyeRhUNjutzlTbEnIkqN7E6vUrPtowHscWS6LTonrdNemolCokmP6+b2OlRv5GpN3PL6eiHHmhHF+NdIYrzxJBP3uxqeQSdkTmq3rwa2B0aBNEPai4yTF6SHe/NgOiR8euEtP1w5FmoDLZD/JmyFHcB0wkT/IDLv2A67hwjbFmzafogAmx4I7PA/fLdhTCxwuflqYK8HtjS4q3Xujw8p7rCsavOsY4hZwR1sEV3Xu1fS1jYedNzDBzHkgetff1Cx6haHuRQkcZ8XQOsUO447a2cCCWuQ== 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=4rhafpWaY++nLgSrQV59i7iEHaG5HJJqI5UK++uN2lM=; b=WOuArw+bEAB4l/AK7ZGy83JqF22gT8jZRZ1Rk6K+uQvgLzjcztcMMAbu2l9VmtrTPb9FmKwIytoNfAJ6an6qME+3eh1fkwGrNKoTV9vLdLdt+Wba3IWy6CBEmyKI6IBqcrbDo2N2MCkhd2SYzZVHSVpQFiMNl76PXtIsP62MFlRxah2Rg4adI5sirUBK17lZA1Ta1hTXHMVhxsvlDsqIrowdDZr+xG6+S0aWp/DbWoGUU23HWM9UZgCrQrsRRTmZ17i65IHthsrPCP7BpHtFB5WY1iY4R6QpHDhi3Yo6XFsuKS9Mlmx4XcJbYzV8jWjYTGrVpq9hvWuup6fOsHsKjA== 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=4rhafpWaY++nLgSrQV59i7iEHaG5HJJqI5UK++uN2lM=; b=c51gP5zV++gy8IvMRoM3QKo9HCpuvxFy2sswDjXKr79jffSQAuN7bru6fsC6yknZMOEZzZufjYJCCbbS9lTzeLakGY4d2uBvFVrGCIQqDrZMQtu3Qn3N2MnUk0257/NP9g77r3L/RxMxbTVDQaeYCZH+1RmM/GDvtsmiGpQeq4JvAd9/v82eleVaB2O6OM6U4NEw+cfa3lklCi7Qi4Ju3hVt0AvlU4Hy9zT+lHY+B5kgZb0cIJvmuRJ6cIcKDroijwYJgmqz2i9RCT4TvjVfTCjEhjX8KjmleKigW7kgVNCsaYBPJZpbGc2pUHmNc1dgM6TloY97duOILddCZ+oujA== Received: from YT2P288MB0089.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:f6::13) by YT6P288MB0770.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:11e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7962.24; Tue, 17 Sep 2024 23:03:12 +0000 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; Tue, 17 Sep 2024 23:03:12 +0000 From: Dan Christensen To: James Thomas CC: "72949@debbugs.gnu.org" <72949@debbugs.gnu.org>, "ding@gnus.org" Subject: Re: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Thread-Topic: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Thread-Index: AQHbCVXFP/huvmBMq0u4d47lfjxbHg== Date: Tue, 17 Sep 2024 23:03:12 +0000 Message-ID: <87zfo5rihb.fsf@uwo.ca> References: <87h6g7mm8r.fsf@debian-hx90.lan> <86h6ah2q47.fsf@gmx.net> <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> <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> <871q1lw089.fsf@uwo.ca> <86plp4ovgj.fsf@gmx.net> <87cyl3u5vo.fsf_-_@uwo.ca> <86zfo69b52.fsf@gmx.net> <86setx3o07.fsf@gmx.net> In-Reply-To: <86setx3o07.fsf@gmx.net> (James Thomas's message of "Wed, 18 Sep 2024 04:07:44 +0530") Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) 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_|YT6P288MB0770:EE_ x-ms-office365-filtering-correlation-id: bf97f049-2f0f-450c-0e44-08dcd76ce7fe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?c918eZrbPlUaRIGg8RsTx9e5m3wKR8I3iXWTUMHqmnaVrvuriGK5Xh2HBI?= =?iso-8859-1?Q?h1WfvjUAG6HKnrylvo+7zxZHYZc6fwQg3Czygy3H7o5HeOM1tsx42OFms8?= =?iso-8859-1?Q?1ibsSz8hgW1DK5BcQWVv4nVABq9zVzU7FGFlwc348tXipCT+caPKqhNL+Z?= =?iso-8859-1?Q?Fh0WFgxaoZ1MqycvThnRRN1nNEXwt4PmghYE37VBiOG5wewKlo1m0d+4NL?= =?iso-8859-1?Q?mY6Vr7RsIKZHnZ2idSuVgVQBz+TN3lHcpQi09QAUrile6n1/41lCejNP58?= =?iso-8859-1?Q?UG0nvigSNZSioAEZHkl9FFNYuTaJJPB851zmS36+shCn+jTiz0RYdFdEbD?= =?iso-8859-1?Q?8XtTlVqXVRckRXBBf6Rxo+Ec3BQIGAXvTZrdfCSscvpFSbAqALvP3vOSVt?= =?iso-8859-1?Q?4qgv8iuKtR/SDi81CDahQGJKFi6pJ59dAxAOFNaBVRdxFH0W3KJ4cJAyUd?= =?iso-8859-1?Q?9WMPFaMIYJPOEiYH72DD16rQ3gDhUNSnxQHO10CDiYxiwFeDS5NgtUxL4J?= =?iso-8859-1?Q?yXGr47fSF8dSxzz6nyrIfzLyU7sA3TJYDUGhPDlu95fXQ8uCb6OzFvzR5K?= =?iso-8859-1?Q?fINm9ap2W7N9GuP/QkfQ3pHTydXy6VVgZaOVR1H60ol5bj0lKPSKvamPo8?= =?iso-8859-1?Q?z5pwS2WrXCSAannA9Og0Bd2c0TUk6RSk8nIeqpn1yBOfPUGYhlne0QQi1U?= =?iso-8859-1?Q?YvPF2fz9yBthq5Vht1khxL6a8EipsA3WM9lhAQI3XNQc8p5GOahd5skPfV?= =?iso-8859-1?Q?0wwv+JjSQyNjdn121ij1dzDmJ+4H6Eo6LxTJfFm6h0o3rXPO1p8UUdxY2e?= =?iso-8859-1?Q?2I5jajp/VCIjvW6dOPHQBUDJ2mrtFlhBXXsrvA1+QuA/jeoORvpuEE3oXl?= =?iso-8859-1?Q?+PNnpfuy2PdDPgX8qAtibbUW43Yygu0df6Yc77uAhV0uYh6r1/3CkJ3dUw?= =?iso-8859-1?Q?4n7SjGq8Jh9D++921UgPRE9OngRYKj5VIDqI7TMEJAueCrjnGDqRq0g5Wh?= =?iso-8859-1?Q?5sjUXXbSD9EJQEYeaynxO7fFyRDVL5nXhYPxYdpvNrJXwpLigg1hUlJIUq?= =?iso-8859-1?Q?OstqNPENgaminsKY5EGkQ26Niz74TuYbGa/5OUY7SeocZim9mGAiF17Qog?= =?iso-8859-1?Q?uGDY0lAw0ZfJ2o9TiYP85TagSTbV96xOD1QzoVId6rGqF4/zKua1u9A/4f?= =?iso-8859-1?Q?FCAlFXm+mxIzZD4SU5YprJ6B+9d2qsMUEnP/gUnmpVuntVsnCyPCiW6TlN?= =?iso-8859-1?Q?TfgbjwzxuqHlFY/MobOgjpwAgzh/rhEOv5KUmXYjRhtnd7yM3zH6fF3pnT?= =?iso-8859-1?Q?LjdkEzFk+ZbaezSgF/DHqdeD23vuohXyFYKo51UdTLM0ilu45UKIwW//j9?= =?iso-8859-1?Q?ZwXdSXUm7X6tBNt7saXNX28mnBE1XYPUsx+8ChZPCJSVNXdHVRw30ecBvD?= =?iso-8859-1?Q?jYCANCzc8aXzMTLHr8K3QMT26K2zaxqBpYLRXg=3D=3D?= 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)(376014)(366016)(1800799024)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?um1NUwIfoh5O7Pk64umP/M3rt0as8N5l/Ty3BDjOA6euUUaY5wOuJsAS5s?= =?iso-8859-1?Q?IXFrUkFcRQGqqjv/Ft2HDf5wwoExiDJajOkLzFzjCJ+4r9Pk6YI6YcoqBR?= =?iso-8859-1?Q?sZ9EzJZZ7bgyIeOnZp+8dr74jGauNHnxKhojPgZrI/aw9/w4cJ6vC+IgOg?= =?iso-8859-1?Q?I5lOG9ud57orv8wRhREFPIaYh1+tB+k0Q+UnALWXHbRaYPUfkBHuDbLFBM?= =?iso-8859-1?Q?cCLemvuC6ZmNnev2cehQzQSedR2CyJIBNaFR+5TG2EHHryRoAxEtV4euoK?= =?iso-8859-1?Q?kDGj/DIUzQegbEGvXVZ71ftTAyH/AA6JzOcPbgCxjo10BzW+ShaHynwM9w?= =?iso-8859-1?Q?IVYUOmbZ/MieJdxr7U7wfeeUK0jaJ8UnJGQt90xIzVohD5VLFZLnNMluXF?= =?iso-8859-1?Q?B8Bij9H7WUgwTqXrmofx3/V9vCMyvs5+YbMlCUwmS6dziDM4Mr+X6G6Bvk?= =?iso-8859-1?Q?TfmaDp3z+UK7tmmMFWeKSQpG7SpXmMjqkEDBFdTvivNFrUkTfc6CTz6mG6?= =?iso-8859-1?Q?CWkHaYJ2iHJIrVeU5qJSFcGC0FxoBVIK7OWoR3gzR0nw1pZHpojDdRgoRb?= =?iso-8859-1?Q?M2tdrR4408Y+hbaM3iMR064GteUU0MossNHkhPdzpFdwlkR/esrndo0RT1?= =?iso-8859-1?Q?QpO+IzUNuauZ20zfct8zczchyj2h48DtZwhVayVUbWM/tN0mLmGlkpK2Eb?= =?iso-8859-1?Q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zukr5QCqkPVmq291nlaq?= =?iso-8859-1?Q?e409FerOXDV3E=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: bf97f049-2f0f-450c-0e44-08dcd76ce7fe X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2024 23:03:12.8092 (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: mGq3gctCrefCdY8GP7r82qQch77MGp+Li2mKmLX5da+LTXwSnkCjnKfCoLu+x5N3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT6P288MB0770 List-ID: Precedence: bulk On Sep 18, 2024, James Thomas wrote: > James Thomas wrote: > > In fact, is the max needed? Wouldn't this work as well? This is about the line (max (1+ (- (cdr active) (car active))) 0) The max is there in case active contains a pair like (10 . 8), for which (1+ (- (cdr active) (car active))) evaluates to -1. While this seems unlikely to happen, at least two other backends use the above code to guard against it, and it seems wise to be generous in what we accept. This is especially true because gnus-parse-active does not accept negative numbers. Dan=