From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70785 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: That newfangled IMAP thing... Date: Mon, 13 Sep 2010 14:58:53 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87hbi3jasy.fsf@lifelogs.com> <87pqwmsusz.fsf@news.realpath.org> <8762yd6j4j.fsf@rimspace.net> <87eid0fsil.fsf@lifelogs.com> <87bp84y00w.fsf@keller.adm.naquadah.org> <878w35ex1q.fsf@lifelogs.com> <87aanlde64.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284382760 21143 80.91.229.12 (13 Sep 2010 12:59:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 12:59:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19158@lists.math.uh.edu Mon Sep 13 14:59:18 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov8cw-0006ms-5G for ding-account@gmane.org; Mon, 13 Sep 2010 14:59:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ov8cr-0004Tk-Gw; Mon, 13 Sep 2010 07:59:13 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ov8cq-0004TW-9a for ding@lists.math.uh.edu; Mon, 13 Sep 2010 07:59:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ov8cl-0006oJ-Ly for ding@lists.math.uh.edu; Mon, 13 Sep 2010 07:59:12 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ov8cl-0008FR-00 for ; Mon, 13 Sep 2010 14:59:07 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ov8cj-0006hY-PR for ding@gnus.org; Mon, 13 Sep 2010 14:59:05 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Sep 2010 14:59:05 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Sep 2010 14:59:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEX+04X9wHqmYD/8tXXi j1v4qG15Syr+AAACVUlEQVQ4jUWTwZrbIAyE5W/buynNfcPie1jC3SbivjHo/V+lI9lJnUs+fqQZ DUCRK4dYuYtIT8n1nFPOUiicX85dsOidz/drLkKM3VqVHPZlJeV+LV2o6vZHdvPknAKHDRltaXDg +kiO8Msn8AqkQroZ8AfwuRStCDWcFb4UAN+7oBdVFXk4fLN26P7eRHaAGEIMmwdICiCAIVSDUbBv 1jpbhZo6NEIcG6bw3YAaOOxWAz4VlRSbMVsFpmatKKJxHSUKhHnhTceSXsNixMQVjCc8IcUiizbT dIUa1zhWVGAyAx2gmN0mYyVE6IrwCbQishwAGZ5A08qEZeGVaJ7IS1sseR2SZDCfwEn7kuzVulbs yORG+k0iS06TpiOZcNJptuV5Ku0L/6fJANScgY918qIARlQc2e6RP1f6vTkvV9tzgvodyrISjxc4 WiEiGMLHe8j9OmurSe02Hvnp0kaM/PNRYSDsoca68idAKNeLStiAEfcKF2usaBU4NtNGXgQIi+jA eshX6M1Iszt6cOObqjOuBeKfjku70YJX8AnwKzQXCbNOEeFJojYaMgRhUaczOQB5OtKjnHUnd7NK PsJl8iS4r5bDAWaA7W+Inn4m9fYGRD44B390m5D7AWydPk7wc1HTCp4nsFaNfu7c7ED40IbdEP/M Cz1x5k4J2zE6nQMeFlr4rKA3GIhroZ1ry29gk/cVU9Id71xurwJv4D4DpBC5pfk/+FhyZo7UvxW8 KrICfUEDkSC0/m5FdFn0CQLggTR5qTu8dgVl0GgDj+WtjqCFscT/AFosulXAAbfjAAAAAElFTkSu QmCC Mail-Copies-To: never X-Now-Playing: Tuxedomoon's _Half-Mute-Scream With A View_: "Tritone (Musica Diablo)" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:otNxNF6+DNmV5jfjtCmWF6dmLFo= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70785 Archived-At: I was thinking about the various... levels... of new-article/flag scanning to be performed against IMAP servers to get a reasonable `g' behaviour. (The assumption is a new interface function that will update all new articles/flags on subscribed nnimap groups.) 1) If it's a newfangled server with the right extensions, getting all new articles and new flags for all subscribed articles is fast, so that's a solved problem. 2) If it's a server without the extensions, but it's a server with client-side splitting, then we need only check the groups that we know we have received new articles in on `g'. 3) If it's neither 1) or 2), we issue an EXAMINE per group, and if the NEXTUID hasn't changed, then we don't bother to examine the flags. I think this will be reasonable default behaviour, and give acceptable speed on `g' for most users. If a user wants total synchronisation between the IMAP server and the Gnus view on all flags, then there can be a `nnimap-be-really-slow' flag to say that Gnus should check all groups in depth in cases 2) and 3) every time. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen