emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs trunk and Gnus master are fully sync'd now


From: Giorgos Keramidas
Subject: Re: Emacs trunk and Gnus master are fully sync'd now
Date: Mon, 08 Jul 2013 15:16:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

On Sun, 07 Jul 2013 21:51:19 +0200, David Engster <address@hidden> wrote:
> Giorgos Keramidas writes:
>> On Sat, 06 Jul 2013 17:44:30 +0200, David Engster <address@hidden> wrote:
>>> AFAICS in `nnimap-retrieve-group-data-early', the resync should only
>>> happen when there's either no 'active', 'unexist', or
>>> 'uidvalidity'. Perhaps the first step should be to install some verbose
>>> messaging which says which of those triggers the resync.
>>
>> I can try that.  Thanks for the pointer.
>
> You can apply the attached patch against current Emacs trunk to see in
> the *Messages* buffer why a group is triggered for resync.

Thanks for this patch:

> === modified file 'lisp/gnus/nnimap.el'
> --- lisp/gnus/nnimap.el       2013-07-02 10:38:58 +0000
> +++ lisp/gnus/nnimap.el       2013-07-07 19:48:50 +0000
> @@ -1326,6 +1326,12 @@
>             (if (and active uidvalidity unexist)
>                 ;; Fetch the last 100 flags.
>                 (setq start (max 1 (- (cdr active) 100)))
> +             (message
> +              (concat "Initial sync: Group " group
> +                      ". Reason: "
> +                      (when (not active) "active ")
> +                      (when (not uidvalidity) "uidvalidity ")
> +                      (when (not unexist) "unexist ")))
>               (incf (nnimap-initial-resync nnimap-object))
>               (setq start 1))
>             (push (list (nnimap-send-command "%s %S" command

The messages logged point to 'unexist' for all the groups:

    Reading /Users/gkeramidas/.newsrc.eld...
    Opening nnfolder server on archive...done
    No new newsgroups
    Checking new news...
    Initial sync: Group trips-2013-08-greece. Reason: unexist
    Initial sync: Group mercurial-main. Reason: unexist
    Initial sync: Group linkedin. Reason: unexist
    Initial sync: Group tex-context. Reason: unexist
    Initial sync: Group wikipedia. Reason: unexist
    Initial sync: Group unix-admin-gr. Reason: unexist
    Initial sync: Group twitter. Reason: unexist
    Initial sync: Group trips-2011-09-zurich-ntinos-aggeliki. Reason: unexist
    Initial sync: Group trips-2010-10-zurich-relocation. Reason: unexist
    Initial sync: Group transifex-devel. Reason: unexist
    Initial sync: Group spotify. Reason: unexist
    Initial sync: Group serverhive. Reason: unexist
    Initial sync: Group plug. Reason: unexist
    Initial sync: Group mobility. Reason: unexist
    Initial sync: Group migrate2linux. Reason: unexist
    Initial sync: Group microsoft. Reason: unexist
    Initial sync: Group mercurial-devel. Reason: unexist
    Initial sync: Group mercurial-bug. Reason: unexist
    Initial sync: Group lgu. Reason: unexist
    Initial sync: Group interview. Reason: unexist
    Initial sync: Group intelen. Reason: unexist
    Initial sync: Group ikea. Reason: unexist
    Initial sync: Group homegate. Reason: unexist
    Initial sync: Group google-plus. Reason: unexist
    Initial sync: Group freebsd-www. Reason: unexist
    Initial sync: Group freebsd-threads. Reason: unexist
    Initial sync: Group freebsd-security. Reason: unexist
    Initial sync: Group freebsd-questions. Reason: unexist
    Initial sync: Group freebsd-newbies. Reason: unexist
    Initial sync: Group freebsd-net. Reason: unexist
    Initial sync: Group freebsd-fs. Reason: unexist
    Initial sync: Group freebsd-doc-el. Reason: unexist
    Initial sync: Group freebsd-bugs. Reason: unexist
    Initial sync: Group freebsd-announce-moderators. Reason: unexist
    Initial sync: Group freebsd-advocacy. Reason: unexist
    Initial sync: Group fitocracy. Reason: unexist
    Initial sync: Group esr-uvc-review. Reason: unexist
    Initial sync: Group emacs-devel. Reason: unexist
    Initial sync: Group discus. Reason: unexist
    Initial sync: Group dentist. Reason: unexist
    Initial sync: Group cyanogen. Reason: unexist
    Initial sync: Group bsd-gr. Reason: unexist
    Initial sync: Group bitbucket-issues. Reason: unexist
    Initial sync: Group bitbucket. Reason: unexist
    Initial sync: Group atf-devel. Reason: unexist
    Initial sync: Group atf. Reason: unexist
    [...]

Does `unexist' mean that the group does not exist locally?  I see a few
lines above that we check (and active uidvalidity unexist) but if
'unexist' means that the groups does not exist in `.newsrc.eld', then we
are not reading the .newsrc.eld contents correctly.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]