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 A38E4223CC for ; Mon, 22 Apr 2024 02:01:12 +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.97.1) (envelope-from ) id 1ryh7O-00000002rO9-2vM5 for ml@inbox.vuxu.org; Sun, 21 Apr 2024 19:01:10 -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 1ryh7O-00000003gVL-1uHe for ml@inbox.vuxu.org; Sun, 21 Apr 2024 19:01:10 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1ryh7G-00000003gVC-3Xa4 for ding@lists.math.uh.edu; Sun, 21 Apr 2024 19:01:07 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1ryh7E-00000003i7L-3lVx for ding@lists.math.uh.edu; Sun, 21 Apr 2024 19:01:02 -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:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc: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=gj8jiVci1kDvUp1JCFhAWYSWQQJv14YWv4SEamL2Xow=; b=PsGoFMuTQATxW5MlFPR1vH4ocs +6XIVfV/uw2ODZO+lNej5pZ+wMYYsv0ZQjT/KXNLKnLVQGqp15g3XPggNYBhMnUm2TcoRAOXSOvK9 l5jhQYYS6DG+ITBWtzEU4vINvtL6VG7jPU+jAUJz8+Xgg2r+x2M39jlyGvd1CPqMYpLA=; Received: from s1.lexort.com ([71.19.148.97]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ryh72-0002yX-7v for ding@gnus.org; Mon, 22 Apr 2024 02:00:51 +0200 Received: by s1.lexort.com (Postfix, from userid 10853) id A31964106FC; Sun, 21 Apr 2024 20:00:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lexort.com; s=mail; t=1713744044; bh=lYqxy2ipDJePB6WtAcnnk9gcLu//J0cVQmSA4P5sAyM=; h=From:To:Subject:References:Date:In-Reply-To; b=HlKpdjdZNRov22/BPC00cef7+4UHlwqU3ClTStOfWhd5tLfezEUBtQerMKEbdEF0t h6guxu90hOkZy0J6laHejpnQqv+eVR+ItFdy0PfG5ni3e+77c4F3TZRuCLZGXMS4M3 ihqsMZusFKIl2KvF3+lgxS6gq60ZU+6N37O0p8Eo= From: Greg Troxel To: ding@gnus.org Subject: Re: Gnus sometimes reports new messages but not showing them on IMAP server References: <87h6g7mm8r.fsf@debian-hx90.lan> <878r1blqcg.fsf@uwo.ca> <87ttjx55ey.fsf@uwo.ca> <875xwalmf4.fsf@ericabrahamsen.net> OpenPGP: id=098ED60E Date: Sun, 21 Apr 2024 20:00:44 -0400 In-Reply-To: (Arash Esbati's message of "Sun, 21 Apr 2024 20:16:35 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Arash Esbati writes: >> I've focused on figuring out why the active number goes wrong, but in >> the interest of pragmatism it might be better just to make sure that >> nnimap always does the equivalent of "M-g" at Gnus startup. > > That might be a good compromise. Agreed. It seems obvious (said knowing that's dangerous) that on starting up the program, it's best not to rely on state that could be wrong. That's tricky, because mail programs keep messages and don't refetch them, but relying on counts of unread seems very trouble prone, vs "I have this message body and the timestamp matches so I won't fetch it." I think it would also be good to separate check for new get all the messages that are there really rescan and don't believe state in terms of being much louder about the differences. I have the impression that the assembled gnususers here are at least somewhat hazy on those boundaries. At least I am.