From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73259 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.gnus.general Subject: Re: fast list Date: Mon, 18 Oct 2010 16:49:17 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287435038 14712 80.91.229.12 (18 Oct 2010 20:50:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2010 20:50:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21631@lists.math.uh.edu Mon Oct 18 22:50:37 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 1P7wfC-0006OU-Vy for ding-account@gmane.org; Mon, 18 Oct 2010 22:50:35 +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 1P7wf3-0000qE-VW; Mon, 18 Oct 2010 15:50:26 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P7wf2-0000pv-DS for ding@lists.math.uh.edu; Mon, 18 Oct 2010 15:50:24 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P7wex-00069C-M3 for ding@lists.math.uh.edu; Mon, 18 Oct 2010 15:50:24 -0500 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P7wew-0005yf-00 for ; Mon, 18 Oct 2010 22:50:18 +0200 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id 1AB7A4015C; Mon, 18 Oct 2010 20:49:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1287435010; bh=PC0wMr61c4Jc6X7ZnC78TqGh1b2QHOU8jkZu/Y8I7Zc=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=uSAyV3H6r89Earp0sA78G5Nvlp1fCHLel18Cohg956GD5kJSRY4cmCjn5DnyNmH+m WvwvLlKx9jDbwgXC4BzvtH7JNOqeQ/eDSx9nHgFRUvu5eJHS1yuwZbZDei+ixJ0d9q Z8hs+gvxFRN9LMul5sAJ3gPYFfOVmyz18QrTar2g= Original-Received: from carbon.jhcloos.org (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id 5F7641DF31D for ; Mon, 18 Oct 2010 20:49:17 +0000 (UTC) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 18 Oct 2010 21:10:54 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 32 X-Hashcash: 1:30:101018:ding@gnus.org::dURE5wm8j4oaNrC+:0004kgDj X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73259 Archived-At: >>>>> "LMI" == Lars Magne Ingebrigtsen writes: >> What, exactly, does gnus need for each group? LMI> To update the group infos, Gnus needs all the article data, really. LMI> If you have no UNSEEN, but 3 \Flagged articles, Gnus displays that (by LMI> default) as "* 0: group.name", and that info isn't available just by OK. I restart gnus again last night, with strace attached. It sent: LIST # *fast*, now EXAMINE for each group # took ~20 min # worked internally for ~20 min LIST # again? EXAMINE/UID FETCH FLAGS tuple # another ~20 min >> LIST "" "%" RETURN (STATUS (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)) It seems like an extended LIST which returns STATUS and FLAGS would do the same as the UID FETCH FLAGS for every group, yes? At the very least LIST-STATUS should avoid the need to EXAMINE each group twice, yes? If I get an i-d written up to support a FLAGS return type for LIST, would you be willing to add support for that to nnimap? -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6