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,gmane.emacs.gnus.general Subject: bug#72949: Gnus sometimes reports new messages but not showing them on IMAP server Date: Mon, 16 Sep 2024 03:25:04 +0530 Message-ID: <867cbcr39j.fsf@gmx.net> 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> Reply-To: James Thomas Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37522"; 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: Dan Christensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 15 23:56: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 1spxE3-0009aw-8D for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Sep 2024 23:56:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spxDl-0005ZG-UO; Sun, 15 Sep 2024 17:55: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 1spxDh-0005Yj-Vi for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 17:55:50 -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 1spxDh-0000Mt-NK for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 17:55:49 -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=GRDTz7vNQNWd9xswMtBTUsAyUH1eHQ7HyaCjF4miI2I=; b=f3AeXehCDTDjJJBfTpViVrqYHP2/A9TDvv1I1lfNHEgFtNa46k4hc7/StIGVZU+WuRkWUJRofsuJ6bocFYo2/lwYlChwQq+eBbfwToBq3SsjVXJDeJ/815iONuu7oxh4jGSMbxCzOvIhlkQGir57chiKr+2KCzIPIeTBHrrU+i3btV9mIy0LYjJ8oxaVbhGuiLawjgAhwFilOqXqzJhgvfKmYjYZ9/toPHlyFpX4tOJ6xD8hQTJx3auMRYEMdp+WschGcLhISZ2FuaHD9CBFHAORghWjBZK64uovxDQ5pC82HD6W+w3GmW3O79qgoSUwolobChFyzUTDQLGHQGtbtQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spxDu-0007lM-2R for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 17:56: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: Sun, 15 Sep 2024 21:56: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 Original-Received: via spool by 72949-submit@debbugs.gnu.org id=B72949.172643733729801 (code B ref 72949); Sun, 15 Sep 2024 21:56:02 +0000 Original-Received: (at 72949) by debbugs.gnu.org; 15 Sep 2024 21:55:37 +0000 Original-Received: from localhost ([127.0.0.1]:50658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spxDV-0007ka-Ho for submit@debbugs.gnu.org; Sun, 15 Sep 2024 17:55:37 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:50367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spxDT-0007kK-Gu for 72949@debbugs.gnu.org; Sun, 15 Sep 2024 17:55:36 -0400 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 Original-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 In-Reply-To: <871q1lw089.fsf@uwo.ca> (Dan Christensen's message of "Sun, 15 Sep 2024 12:49:27 +0000") 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+I1Oqn 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:291870 gmane.emacs.gnus.general:91622 Archived-At: 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