From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58285 Path: main.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap problem solved by removing .agentview and .overview Date: Tue, 17 Aug 2004 08:50:19 -0700 Organization: SEH Labs Sender: ding-owner@lists.math.uh.edu Message-ID: References: <871xidtl04.fsf@mail.contactor.se> <83u0v25ue8.fsf@torus.sehlabs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092757912 16726 80.91.224.253 (17 Aug 2004 15:51:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2004 15:51:52 +0000 (UTC) Original-X-From: ding-owner+M6826@lists.math.uh.edu Tue Aug 17 17:51:42 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bx6FR-00077m-00 for ; Tue, 17 Aug 2004 17:51:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Bx6EP-0000bZ-00; Tue, 17 Aug 2004 10:50:37 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Bx6EG-0000bR-00 for ding@lists.math.uh.edu; Tue, 17 Aug 2004 10:50:28 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bx6ED-0008N8-JN for ding@lists.math.uh.edu; Tue, 17 Aug 2004 10:50:25 -0500 Original-Received: from W003275.na.alarismed.com (unknown [204.193.55.129]) by justine.libertine.org (Postfix) with ESMTP id BFB913A00B1 for ; Tue, 17 Aug 2004 10:50:23 -0500 (CDT) Original-Received: from sharris by W003275.na.alarismed.com with local (Exim 4.41) id I2LLBV-0001MC-Q1 for ding@gnus.org; Tue, 17 Aug 2004 08:50:20 -0700 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Rational FORTRAN, cygwin32) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58285 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58285 Simon Josefsson writes: > The unread article count in group buffer is only an estimate. In > situations like this, it will be wrong. But I thought there was > some workaround for this. What's the value of > `gnus-after-getting-new-news-hook' for you? It should include > `gnus-fixup-nnimap-unread-after-getting-new-news'. ,----[ gnus-after-getting-new-news-hook ] | `gnus-after-getting-new-news-hook' is a variable declared in Lisp. | -- loaded from "gnus-start" | | Value: (gnus-display-time-event-handler gnus-fixup-nnimap-unread-after-getting-new-news) | | Documentation: | *A hook run after Gnus checks for new news when Gnus is already running. `---- The fixup hook is in there, but it's not doing its job. I did note that hitting M-g on the group before entering it fixes the count. Perhaps this hook is not getting run upon initial connection. > They are supposed to be stored on the server, if the server support > client-specific flags. Do (setq imap-log t) and look in *imap-log* > buffer for the PERMANENTFLAGS value for the mailbox, e.g.: > > * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen NonJunk \*)] > > The \* is the critical value. If it is absent, Gnus cannot store > non-standard flags on the server. ,---- | 187 EXAMINE "INBOX.lists.gnus-ding" | * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent) | * OK [PERMANENTFLAGS ()] No permanent flags permitted | * 29 EXISTS | * 0 RECENT | * OK [UIDVALIDITY 1067647543] Ok | * OK [MYRIGHTS "acdilrsw"] ACL | 187 OK [READ-ONLY] Ok `---- Lovely. Is this something that I can appeal to my ISP's administrators to enable, or is it an inherent feature lack in a given IMAP implementation (in this case, Courier)? Just to reiterate, though, .newsrc.eld is in fact quite necessary for maintaining proper IMAP state if the server isn't as complicit as Gnus would prefer. Perhaps we can move these nnimap marks out of .newsrc.eld, or at least echo them into marks files like the NNTP backends do. -- Steven E. Harris