Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: gnus and imap
Date: Sun, 24 Aug 2008 21:29:30 +0200	[thread overview]
Message-ID: <87y72mus85.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <878wumqo7z.fsf@randomsample.de> (David Engster's message of "Sun, 24 Aug 2008 20:09:36 +0200")

On Sun, Aug 24 2008, David Engster wrote:

> Vitaly Mayatskikh <v.mayatskih@gmail.com> writes:
>> Yes, but we still have to fix all this convoluted code (for
>> gnus-unread-info or whatever). Unread articles calculations (count of
>> articles, list of articles) are totally wrong for the case of IMAP.
>
> I wonder why it's that bad with the Zimbra imapd. Doesn't it produce
> contiguous UIDs? I mean, I also get wrong article numbers with dovecot,
> but only in cases when I delete or move articles, but these are not
> "totally" wrong. As the documentation says, the number is an estimate,
> after all.

In my nnimap usage, I don't see wrong article counts.  There's also
code introduced in Oort that's supposed to give correct unread counts:

,----[ (info "(gnus)Oort Gnus") ]
|         * Unread count correct in nnimap groups.
| 
|           The estimated number of unread articles in the group buffer
|           should now be correct for nnimap groups.  This is achieved
|           by calling `nnimap-fixup-unread-after-getting-new-news' from
|           the `gnus-setup-news-hook' (called on startup) and
|           `gnus-after-getting-new-news-hook'. (called after getting
|           new mail).  If you have modified those variables from the
|           default, you may want to add
|           `nnimap-fixup-unread-after-getting-new-news' again.  If you
|           were happy with the estimate and want to save some (minimal)
|           time when getting new mail, remove the function.
`----

BTW, the functions is
`gnus-fixup-nnimap-unread-after-getting-new-news' not
`nnimap-fixup-unread-after-getting-new-news':

,----[ ChangeLog.2 ]
| 2002-09-27  Simon Josefsson  <jas@extundo.com>
| 
| 	* gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news): New.
| 	(gnus-setup-news-hook): Use it.
| 	(gnus-after-getting-new-news-hook): Ditto.
| 
| 	* nnimap.el (nnimap-fixup-unread-after-getting-new-news): Remove.
`----

> BTW, there was also a patch for this, though for nnml, but it was not
> integrated into Gnus:
>
> http://thread.gmane.org/gmane.emacs.gnus.general/56714

We have papers on file for David Hanak.  So if his code is useful, we
could use it.

> The comments on this are interesting, especially the ones from Kevin
> Greiner, which led me to the above request-group-articles function.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2008-08-24 19:29 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 16:14 Vitaly Mayatskikh
2008-08-19 20:12 ` Frank Schmitt
2008-08-19 22:24   ` Vitaly Mayatskikh
2008-08-20  6:42     ` Vegard Vesterheim
2008-08-20  7:41       ` Vitaly Mayatskikh
2008-08-20 16:16 ` David Engster
2008-08-21  6:26   ` Vitaly Mayatskikh
2008-08-21 11:27     ` David Engster
2008-08-21 12:57       ` Tibor Simko
2008-08-22  8:44         ` Vitaly Mayatskikh
2008-08-22  8:54           ` David Engster
2008-08-22 15:35           ` Tibor Simko
2008-08-21 15:06       ` Vitaly Mayatskikh
2008-08-21 21:15       ` Frank Schmitt
2008-08-22 12:13       ` Reiner Steib
2008-08-22 12:30         ` Vitaly Mayatskikh
2008-08-22 15:50           ` Ted Zlatanov
2008-08-22 16:10             ` Vitaly Mayatskikh
2008-08-22 16:21         ` David Engster
2008-08-22 16:27           ` Vitaly Mayatskikh
2008-08-22 17:33             ` David Engster
2008-08-22 18:11               ` Vitaly Mayatskikh
2008-08-23  9:19                 ` David Engster
2008-08-23 11:32                   ` Vitaly Mayatskikh
2008-08-23 14:52                     ` David Engster
2008-08-24  8:47                       ` Vitaly Mayatskikh
2008-08-24 18:09                         ` David Engster
2008-08-24 19:29                           ` Reiner Steib [this message]
2008-08-24 23:39                             ` David Engster
2008-08-25 19:22                               ` James Cloos
2008-08-25  0:00                           ` Daniel Pittman
2008-08-25  9:46                             ` David Engster
2008-08-25 18:02                               ` Ted Zlatanov
2008-08-25 19:50                                 ` David Engster
2008-08-25  8:05                           ` Vitaly Mayatskikh
2008-08-25 12:25                             ` David Engster
2008-08-25 13:17                               ` Vitaly Mayatskikh
2008-08-25 17:53                         ` Ted Zlatanov
2008-08-24  9:18                       ` Vitaly Mayatskikh
2008-08-24 10:08                         ` David Engster
2008-08-26 20:40                           ` Vitaly Mayatskikh
2008-09-03 11:55                             ` David Engster
2008-09-21  9:57                               ` David Engster
2009-12-07 18:57                                 ` Dan Christensen
2009-12-10 20:08                                   ` Dan Christensen
2009-12-11 20:36                                     ` David Engster
  -- strict thread matches above, loose matches on Subject: below --
2002-07-09  8:52 gnus and IMAP me
2002-07-09  9:29 ` Niklas Morberg
2002-07-09 10:17   ` me
2002-07-09 10:27   ` me
2002-07-09 10:52   ` me

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=87y72mus85.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --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).