Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: David Edmondson <dme@dme.org>
Cc: ding@gnus.org
Subject: Re: gnus-cloud.el
Date: Sat, 28 Mar 2020 10:19:11 -0700	[thread overview]
Message-ID: <87zhc0v1m8.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <cuneetczdq2.fsf@vroomfondel.hh.sledj.net> (David Edmondson's message of "Sat, 28 Mar 2020 15:44:05 +0000")

David Edmondson <dme@dme.org> 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


  reply	other threads:[~2020-03-28 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28 15:44 gnus-cloud.el David Edmondson
2020-03-28 17:19 ` Eric Abrahamsen [this message]
2020-03-28 19:10   ` gnus-cloud.el David Edmondson
2020-03-28 22:45     ` gnus-cloud.el 황병희
2020-03-28 23:08     ` gnus-cloud.el Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zhc0v1m8.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    --cc=dme@dme.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).