Gnus development mailing list
 help / color / mirror / Atom feed
* Wrong articles on RET
@ 2012-07-19 19:41 Rasmus
  2012-07-19 22:09 ` Rasmus
  2012-07-19 22:39 ` Matt Ford
  0 siblings, 2 replies; 6+ messages in thread
From: Rasmus @ 2012-07-19 19:41 UTC (permalink / raw)
  To: ding

Hi list,

I upgraded to the newest offlineimap, which required some changes
in my offlineimap rc file.  Following this, offlineimap decided
to re-syncronize all messages, perhaps due to a new, needed name
translation function.  Unfortunately, Gnus is now frustrated.

I handle all of my mail accounts in Gnus.  For mail groups I
display the 60 most recent mails when I click RET on one of them.
This used to work out absolutely brilliantly, with the most
recent thread/mail on top.  It still works as I'd like it to when
I open all messages [C-u {large number} RET] (i.e. most recent
on top with `threating').
But when I just click RET on a group a (to me) random (but
consistent) selection of mails is shown, typically several month
old (all from March/April, it seems).  I don't understand why
Gnus now want to show me these messages. . .  When I open 
webinterfaces the messages are still displayed in the correct order.

Does anyone know how I could solve this issue of Gnus showing the
`wrong' messages when I select a group?

Thanks in advance,
Rasmus




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong articles on RET
  2012-07-19 19:41 Wrong articles on RET Rasmus
@ 2012-07-19 22:09 ` Rasmus
  2012-07-19 22:39 ` Matt Ford
  1 sibling, 0 replies; 6+ messages in thread
From: Rasmus @ 2012-07-19 22:09 UTC (permalink / raw)
  To: ding

Rasmus <rasmus <at> gmx.us> writes:


> I handle all of my mail accounts in Gnus.  For mail groups I
> display the 60 most recent mails when I click RET on one of them.
> This used to work out absolutely brilliantly, with the most
> recent thread/mail on top.  It still works as I'd like it to when
> I open all messages [C-u {large number} RET] (i.e. most recent
> on top with `threating').
> But when I just click RET on a group a (to me) random (but
> consistent) selection of mails is shown, typically several month
> old (all from March/April, it seems).  I don't understand why
> Gnus now want to show me these messages. . .  When I open 
> webinterfaces the messages are still displayed in the correct order.

From the doc strings I gather that Gnus select the `latest
articles' when I click RET (or space).  The problem is that Gnus
selects the wrong `latest articles' for some reason which I do
not understand (but only when I select n articles with n less
than the groups total number of articles).

It's pretty consistent.  I have tried to `reset' Gnus is various
ways, like renaming the .newrc.eld file, but without restoring
selection of the `right' latest articles.

Thus, I fear that offlineimap has messed up somehow, but I'm not
sure what determines the latest articles and thus what
offlineimap might have screwed up.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong articles on RET
  2012-07-19 19:41 Wrong articles on RET Rasmus
  2012-07-19 22:09 ` Rasmus
@ 2012-07-19 22:39 ` Matt Ford
  2012-07-20  7:26   ` Rasmus
  1 sibling, 1 reply; 6+ messages in thread
From: Matt Ford @ 2012-07-19 22:39 UTC (permalink / raw)
  To: ding

Hi,

I see this behaviour too. 
  
 For whatever reason (copying, resyncing, internal server craziness)
 message sequence can be drastically re-ordered.

 I suspect its something to do with IMAP UIDs and Messages sequence
 numbers: http://tools.ietf.org/html/rfc3501#section-2.3.1

 Post the resync operation new mail is sequenced normally and the
 behaviour you want returns (so after sixty mails you should be okay).

 The only way to see the last date sixty is to load everything and sort
 by date AFAIK.  If anyone knows different or how one might "reindex"
 the IMAP server based on date then please let me know!

-- 
Matt




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong articles on RET
  2012-07-19 22:39 ` Matt Ford
@ 2012-07-20  7:26   ` Rasmus
  2012-07-20  7:52     ` Matt Ford
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2012-07-20  7:26 UTC (permalink / raw)
  To: ding

Matt,

>  For whatever reason (copying, resyncing, internal server craziness)
>  message sequence can be drastically re-ordered.
>
>  I suspect its something to do with IMAP UIDs and Messages sequence
>  numbers: http://tools.ietf.org/html/rfc3501#section-2.3.1

This was what I thought of last night as well.  I will check whether
this is in fact the case later.

Out of curiosity, did you also get to this state using offlineimap?

>  The only way to see the last date sixty is to load everything and
>  sort by date AFAIK.  If anyone knows different or how one might
>  "reindex" the IMAP server based on date then please let me know!


IF it's based on IMAP UIDs it may be possible to use of these wonderful
Python libraries (e.g. imapclient or imaplib) [there's also a Perl
imapclient].

For my part it could also be that Dovecot is the source of the problem.
I'm really not sure. . .

–Rasmus


-- 
A clever person solves a problem. A wise person avoids it





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong articles on RET
  2012-07-20  7:26   ` Rasmus
@ 2012-07-20  7:52     ` Matt Ford
  2012-07-20  9:24       ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Ford @ 2012-07-20  7:52 UTC (permalink / raw)
  To: ding

Rasmus <rasmus@gmx.us> writes:

> Out of curiosity, did you also get to this state using offlineimap?

Yep, offlineimap and dovecot.  I've given up using both the IMAP support
and GNUS agent now seem plenty good enough for my offline usage...

-- 
Matt




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Wrong articles on RET
  2012-07-20  7:52     ` Matt Ford
@ 2012-07-20  9:24       ` Rasmus
  0 siblings, 0 replies; 6+ messages in thread
From: Rasmus @ 2012-07-20  9:24 UTC (permalink / raw)
  To: ding


Matt Ford <matt@dancingfrog.co.uk> writes:

> Rasmus <rasmus@gmx.us> writes:
>
>> Out of curiosity, did you also get to this state using offlineimap?
>
> Yep, offlineimap and dovecot.  I've given up using both the IMAP support
> and GNUS agent now seem plenty good enough for my offline usage...

My sorting problem persists across the backends:
  {nnmaildir, nnimap (dovecot), nnimap (upstream)}.

But again, only when I select the latest articles.  Somehow everything
works out when I show all articles.

It does indeed seem to be related to UIDs.  When I look at dovecot uid
list and the corresponding messages, the one with the highest number is
not the newest. . .

–Rasmus





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-20  9:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 19:41 Wrong articles on RET Rasmus
2012-07-19 22:09 ` Rasmus
2012-07-19 22:39 ` Matt Ford
2012-07-20  7:26   ` Rasmus
2012-07-20  7:52     ` Matt Ford
2012-07-20  9:24       ` Rasmus

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).