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,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 B4C5E2F94C for ; Sun, 15 Sep 2024 23:55:45 +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 1spxDV-0000000EnHY-3EYC for ml@inbox.vuxu.org; Sun, 15 Sep 2024 16:55:42 -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 1spxDU-000000048cS-3zCN for ml@inbox.vuxu.org; Sun, 15 Sep 2024 16:55:37 -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 1spxDR-000000048cJ-41nj for ding@lists.math.uh.edu; Sun, 15 Sep 2024 16:55:34 -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 1spxDQ-0000000EnH8-2Ca4 for ding@lists.math.uh.edu; Sun, 15 Sep 2024 16:55:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=GRDTz7vNQNWd9xswMtBTUsAyUH1eHQ7HyaCjF4miI2I=; b=RAEZ87y1wuIb29iHUaftahMBZW 3pqtlXFlbb5bm+j7HjcA9/gFTYvyKEDZFn3G4yNupznz2sjcmn6EP9iOkT4KvPHfLTWu+O/oyCePp QXntbcMr98daz7GpY9yI/U1kX3J4hUNGMim9V48scfNRnSFMsIQ2DFmiPxksD7XWlwf0=; Received: from mout.gmx.net ([212.227.15.19]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1spxDI-0005gV-SD for ding@gnus.org; Sun, 15 Sep 2024 23:55:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1726437309; x=1727042109; i=jimjoe@gmx.net; bh=GRDTz7vNQNWd9xswMtBTUsAyUH1eHQ7HyaCjF4miI2I=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=mQQ089jxTrdhzSt9PKaZg5oAPVNVzORjOQYOjWT70TOqGylIUbNVK2upimqdN+s3 BRYh2KLN8KsKfp8MmLL5vCLmCV7mnBGK/MQzG9B5iRZ/M1okL6NmLX6euDr87HzlI bG5hhKQC9BaH4UDLbCrbyrH9kAqJbcu6p5+a9JVmvi4ee276363n2FoSOYHqmBgn2 1wp8Sr+uZifCj6FpL32976O78UvqHMLJWpaOGvyUDZ9otF21Gbzl82V2oexzo77xz pK099X9umevuXja8J9K5ZFL+jw4j8YI2jEpG4DG1sBLBtHicI0Fq96jRISnN8CPrR l9eCbYqmYZ82yuNvaw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from user-Inspiron-3493 ([117.212.162.162]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MRTN9-1sbHy40fmH-00Y7IW; Sun, 15 Sep 2024 23:55:09 +0200 From: James Thomas To: Dan Christensen 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 In-Reply-To: <871q1lw089.fsf@uwo.ca> (Dan Christensen's message of "Sun, 15 Sep 2024 12:49:27 +0000") 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> <871q1lw089.fsf@uwo.ca> Date: Mon, 16 Sep 2024 03:25:04 +0530 Message-ID: <867cbcr39j.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:5EnzogM0nVBSr8TL7Z675C3LivcC1HYEaiMHJ/VBDT9Pe5xaGnU Q8aHlQQj5BxTl846krLSZO+y5T+c9B0WQLNU3oI/GmvhabSXABy5V2DEZRCzg+tzmgsCKBN V6eOZphYiIfITWJo89uLXJNEvOEroYUzxKi9saZcYZI9JePX/8eo7Fi+nhdpzRPwmsDQ/38 zU3sFnDsFz5JeVh4xwsBA== UI-OutboundReport: notjunk:1;M01:P0:6wH61Io7jec=;rKrMh7W61+50tCn2Kq659FfDVtP PwfmNk3ITQhdBF7jIv6MbgMqGCsfP5qHQBTyYGDSQJwiFbYmfMfBvi/2dngH+S4VbtL0qTI8i ouEhYzyqQFCDl+131v3znPgwhaCt4kg5qO3MGLFR+I+nIVkzy00ROBz2id+R2askWz43d95Rg 9g7A7GrRpQwQJM+Rzojti6mCQpHsuJ8BIBPj+wuK1a1xZUk1SKJxqShNnEscKJBkUIUTuFBvD 7mlU1IwakcsLSoXNVCulMQgJBdzG/qbBnP7hl8zPb+QfUC+q2TF3CWAkAffIh045iWtcJFzKS liuH3T9clCWBfzHVOcqTZWT3Kh13ZkMIV8FEtqTbMwzaOStA9DrDtdAaBy8AtRh1NFqz8IitQ vm8F2u3PBAlWENaqGJcqWPMuPOTwuzAIMuAGGOhTEyWhcy0WBHWg+x4b12akGly7lklIx52R1 llql6VuBrmLmIpg/N+2Js86UCqWxn8HngxADJy3+77rqj3Mb1SgPCWILjLiuzLvs4R2YIO/9A LsXXq3Y9TFdvyNQYgWsvwi+h6JIioeTnGk7YxXdByZQiH6A9MSN6uacUav4jG1cHvhioezbUl 6vrESc4WiBTJXh9CWBTyJs87fBzKi/AfBHjhjVZcqdAPvK9gtNqnMfQllyEDvGPGl8J56egML gIs05+MIS5JLVgNhgeuTaVGDPC8IW+T8Nidliaf7lJLfx4NQOBvFYol4bcXtGnJg55shV9eAn JRPis3D4lGRJeMknIjW2y2I7l50kz7/4mojQg4tsKJTiiWCnhn3xYO1Ja8ffbjhtfV+I1Oqnn fqvhHMbTKcZn8HeufW8b1ttg== List-ID: Precedence: bulk Dan Christensen wrote: > 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]+") Of course, a non-numeric character would still be wanton. > I see that many other parts of Gnus do a correct calculation of the > total number of articles Wrt this function? Maybe they didn't realize this. :-) Regards, James