Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Error when IMAP server UIDs change
Date: Tue, 03 Jan 2012 21:46:24 +0100	[thread overview]
Message-ID: <m3k458ikf3.fsf@stories.gnus.org> (raw)
In-Reply-To: <87pqfsvog9.fsf@zelenka.enovance.com> (Julien Danjou's message of "Tue, 13 Dec 2011 09:57:26 +0100")

Julien Danjou <julien@danjou.info> writes:

> I "fixed" it with the following hack:
>
> diff --git a/lisp/nnimap.el b/lisp/nnimap.el
> index b4e6e31..56c06ff 100644
> --- a/lisp/nnimap.el
> +++ b/lisp/nnimap.el
> @@ -1332,7 +1332,8 @@ textual parts.")
>  	     (cdr (assq 'uidvalidity (gnus-info-params info)))))
>  	(and old-uidvalidity
>  	     (not (equal old-uidvalidity uidvalidity))
> -	     (> start-article 1)))
> +             (or (not start-article)
> +                 (> start-article 1))))
>        (gnus-group-remove-parameter info 'uidvalidity)
>        (gnus-group-remove-parameter info 'modseq))
>       ;; We have the data needed to update.
>
> Lars, WDYT?

Looks good; please apply.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



      reply	other threads:[~2012-01-03 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13  8:57 Julien Danjou
2012-01-03 20:46 ` Lars Magne Ingebrigtsen [this message]

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=m3k458ikf3.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.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).