From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38395 Path: main.gmane.org!not-for-mail From: Nuutti Kotivuori Newsgroups: gmane.emacs.gnus.general Subject: Re: N versus . for unseen messages Date: Tue, 28 Aug 2001 12:05:04 +0300 Message-ID: <87ofp08shr.fsf@smarttrust.com> References: <87wv3o9703.fsf@smarttrust.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: main.gmane.org 1035174265 22188 80.91.224.250 (21 Oct 2002 04:24:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:24:25 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 4116 invoked from network); 28 Aug 2001 09:05:23 -0000 Original-Received: from smtp.dave.sonera.fi (131.177.130.21) by gnus.org with SMTP; 28 Aug 2001 09:05:23 -0000 Original-Received: from kotivnu1-nb.etela.sonera.fi ([131.177.205.219]:32896 "EHLO oro") by inside.dave.sonera.fi with ESMTP id convert rfc822-to-8bit; Tue, 28 Aug 2001 12:05:05 +0300 Original-Received: from naked by oro with local (Exim 3.32 #1 (Debian)) id 15benw-0001Y5-00; Tue, 28 Aug 2001 12:05:04 +0300 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 28 Aug 2001 10:20:51 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence) Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:38395 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38395 Kai Großjohann wrote: > Nuutti Kotivuori writes: >> Kai Großjohann wrote: >>> Some of my unseen messages are marked `N', some are marked `.'. >>> It's clear to me that `N' is used only in nnimap groups, but then >>> why do I sometimes see `.' in nnimap groups? >> >> 'N' comes from the IMAP server's recent status, '.' comes from >> Gnus's idea of what's new and what's not. Apparently these two are >> running at the same time - and accesses outside Gnus atleast do >> change the state of both. > > I never access my mail from outside Gnus. At least, not knowingly. Fetchmail? Biff? Maybe even some 'g', 'M-g' or other invocation could unwillingly change the recent flag on server. The RFC says that it is set for exactly the first seesion to _have been notified_ about this message - only STATUS command does not alter recent. So unless care is taken that a mailbox is never selected or examined before actually entered, it's impossible to properly get the recent flags from the server. (And I believe getting the smallest/biggest uid for messages in a group is impossible without selecting the group. ((The status command can return NEXTUID, which is the next uid to be reserved - though that is ofcourse a different matter))) And all this is ofcourse expecting a fully standards compliant server - I won't start imagining what bogosities some servers do with recent. But I don't know anything about nnimap really, so perhaps Simon could answer this one better. -- Naked