[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs trunk and Gnus master are fully sync'd now
From: |
David Engster |
Subject: |
Re: Emacs trunk and Gnus master are fully sync'd now |
Date: |
Sun, 07 Jul 2013 21:51:19 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
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.
-David
=== 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
- Emacs trunk and Gnus master are fully sync'd now, Katsumi Yamaoka, 2013/07/02
- Re: Emacs trunk and Gnus master are fully sync'd now, Giorgos Keramidas, 2013/07/02
- Re: Emacs trunk and Gnus master are fully sync'd now, Giorgos Keramidas, 2013/07/07
- Re: Emacs trunk and Gnus master are fully sync'd now,
David Engster <=
- Re: Emacs trunk and Gnus master are fully sync'd now, Giorgos Keramidas, 2013/07/08
- Re: Emacs trunk and Gnus master are fully sync'd now, David Engster, 2013/07/08
- Re: Emacs trunk and Gnus master are fully sync'd now, Giorgos Keramidas, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, David Engster, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, Giorgos Keramidas, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, David Engster, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, Ted Zlatanov, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, Giorgos Keramidas, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, David Engster, 2013/07/09
- Re: Emacs trunk and Gnus master are fully sync'd now, Ted Zlatanov, 2013/07/10