From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62896 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap doc patch Date: Tue, 18 Apr 2006 11:10:05 +0200 Message-ID: <878xq3tfki.fsf@latte.josefsson.org> References: <294q17xn63.fsf@james.hut.fi> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145351562 20620 80.91.229.2 (18 Apr 2006 09:12:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 09:12:42 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m11423@lists.math.uh.edu Tue Apr 18 11:12:40 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FVmGA-00018Z-OW for ding-account@gmane.org; Tue, 18 Apr 2006 11:12:34 +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 1FVmG6-00039z-00; Tue, 18 Apr 2006 04:12:30 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FVmE1-00039t-00 for ding@lists.math.uh.edu; Tue, 18 Apr 2006 04:10:21 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FVmDq-00049p-0w for ding@lists.math.uh.edu; Tue, 18 Apr 2006 04:10:21 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FVmDp-0007Uq-00 for ; Tue, 18 Apr 2006 11:10:09 +0200 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3I9A5bi030646; Tue, 18 Apr 2006 11:10:05 +0200 Original-To: Jouni K Seppanen OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:060418:jks@iki.fi::oD2Ku6BvJJb0KJAl:Fyi X-Hashcash: 1:21:060418:ding@gnus.org::VeESKKrOspWsNU5G:26v/ In-Reply-To: <294q17xn63.fsf@james.hut.fi> (Jouni K. Seppanen's message of "Thu, 06 Apr 2006 08:56:04 +0300") User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on yxa-iv X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62896 Archived-At: Jouni K Seppanen writes: > It seems that my doc patch from November > <29hdb27qbn.fsf@itl-pc9.hut.fi> hasn't been applied. Was there some > problem with it, or was it just forgotten? The latter, sorry! Could you send an updated patch with the (minor) fixes below? We should add it. > -@cindex expiry-wait > +@vindex expiry-wait This is probably wrong, see the other e-mails. > +However, if @code{nnimap-search-uids-not-since-is-evil} > +is true, the command is @code{"UID NOT SINCE @var{date}"}, > +regardless of this variable. This seems backwards, if that variable is non-nil, the command is UID SINCE @var{date}. See the doc string: nnimap-search-uids-not-since-is-evil is a variable defined in `nnimap.el'. Its value is nil Documentation: If non-nil, avoid "UID SEARCH UID ... NOT SINCE" queries when expiring. Instead, use "UID SEARCH SINCE" to prune the list of expirable articles within Gnus. This seems to be faster on Courier in some cases. This is a Gnus server variable. See Info node `(gnus)Select Methods'. > +@item nnimap-nov-is-evil > +@vindex nnimap-nov-is-evil > +@cindex Courier @acronym{IMAP} server > +@cindex @acronym{NOV} > + > +Never generate or use a local @acronym{NOV} database. Defaults to the > +value of @code{gnus-agent}. > > +Using a @acronym{NOV} database usually makes header fetching much > +faster, but it uses the @code{UID SEARCH UID} command, which is very > +slow on some servers (notably some versions of Courier). Since the Gnus > +Agent caches the information in the @acronym{NOV} database without using > +the slow command, this variable defaults to true if the Agent is in use, > +and false otherwise. Seems good! > +@item nnimap-search-uids-not-since-is-evil > +@vindex nnimap-search-uids-not-since-is-evil > +@cindex Courier @acronym{IMAP} server > +@cindex expiring @acronym{IMAP} mail > + > +Avoid the @code{UID SEARCH UID @var{message numbers} NOT SINCE > +@var{date}} command, which is slow on some @acronym{IMAP} servers > +(notably, some versions of Courier). Instead, use @code{UID SEARCH SINCE > +@var{date}} and prune the list of expirable articles within Gnus. > + > +When Gnus expires your mail (@pxref{Expiring Mail}), it starts with a > +list of expirable articles and asks the IMAP server questions like ``Of > +these articles, which ones are older than a week?'' While this seems > +like a perfectly reasonable question, some IMAP servers take a long time > +to answer it, since they seemingly go looking into every old article to > +see if it is one of the expirable ones. Curiously, the question ``Of > +@emph{all} articles, which ones are newer than a week?'' seems to be > +much faster to answer, so setting this variable causes Gnus to ask this > +question and figure out the answer to the real question itself. > + > +This problem can really sneak up on you: when you first configure Gnus, > +everything works fine, but once you accumulate a couple thousand > +messages, you start cursing Gnus for being so slow. On the other hand, > +if you get a lot of email within a week, setting this variable will > +cause a lot of network traffic between Gnus and the IMAP server. Nice!