From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RDNS_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 3801 invoked from network); 28 Mar 2020 17:20:07 -0000 Received: from unknown (HELO lists1.math.uh.edu) (129.7.128.208) by inbox.vuxu.org with ESMTP; 28 Mar 2020 17:20:07 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jIF7Q-0004Lo-8x; Sat, 28 Mar 2020 12:19:36 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jIF7L-0004J1-KF for ding@lists.math.uh.edu; Sat, 28 Mar 2020 12:19:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jIF7K-0002YX-8t for ding@lists.math.uh.edu; Sat, 28 Mar 2020 12:19:31 -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: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=R5XAa0M+qnQpB69i7Uu2u0RfECZ+1YzmeQIkKEUGx6Q=; b=IEKx46+ouYhpQzGxHOAHIwdV3k El9wT9NOqtjrQ+HqqDW4KtSF/Q130gwQxqGzYBH+j+h9KWT/eGZe67GQzAluSoaFPCpgznPrOwDJU eZYxwLnbWPKloezbNJ5jyx6OmLqePkAeCC78T7xmK6iakREooJpc5zgOCph6BSVo9l6M=; Received: from ericabrahamsen.net ([52.70.2.18] helo=mail.ericabrahamsen.net) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIF75-0002He-Mb for ding@gnus.org; Sat, 28 Mar 2020 18:19:25 +0100 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id EBDD9FA094; Sat, 28 Mar 2020 17:19:12 +0000 (UTC) From: Eric Abrahamsen To: David Edmondson Cc: ding@gnus.org Subject: Re: gnus-cloud.el References: Date: Sat, 28 Mar 2020 10:19:11 -0700 In-Reply-To: (David Edmondson's message of "Sat, 28 Mar 2020 15:44:05 +0000") Message-ID: <87zhc0v1m8.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk David Edmondson writes: > After some time away, I'm playing with Gnus again. In this instance, > gnus-cloud isn't working for me. > > Specifically, I can add a gnus-cloud storage server (on nnimap) and > register another server (nntp) with it. ~u causes messages to be added > to Emacs-Cloud and they appear to have the right kind of content. > > ~d on another machine never does anything useful (e.g. mark some > articles as read) because this test: > > (if (and newer (not force-older)) > (gnus-message 3 "Skipping outdated cloud info for group %s, the info is from %s (now is %s)" group date now) > > always returns true. > > Looking at how `newer' is calculated, it compares the group timestamp > from the gnus-cloud message with the current time. It's not clear to me > how that test is ever going to return `nil', unless I have a version of > emacs running somewhere in the future that updates gnus-cloud. It's true that doesn't make a lot of sense. Presumably we should be checking against some value from `gnus-cloud-file-timestamps' instead. And now that there's a iso8601 library, it would also be nice to use that along with `time-less-p', instead of these string comparisons. > Forcing `newer' to `nil' for debugging does indeed cause the local gnus > to pay attention to changes from the cloud. > > Is this all expected to be working at the moment? The logic has not > changed for quite some time (I have the patch that Paul Eggert made a > couple of weeks ago - it doesn't seem directly relevant). I once installed gnus-cloud, but I don't think I ever tried to use it. I've never really looked into how it's supposed to work. Eric