From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77111 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: imap or offlineimap ? Date: Tue, 22 Feb 2011 12:39:00 -0500 Message-ID: <87ei709dfv.fsf@andy.bu.edu> References: <87d3mp69lp.fsf@gnus.org> <87y65dyb33.fsf@member.fsf.org> <87tyg1wt9l.fsf@member.fsf.org> <87aahtukyi.fsf@andy.bu.edu> <87oc690wnn.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298396384 11470 80.91.229.12 (22 Feb 2011 17:39:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 17:39:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25444@lists.math.uh.edu Tue Feb 22 18:39:39 2011 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 1PrwD4-0003WU-7T for ding-account@gmane.org; Tue, 22 Feb 2011 18:39:38 +0100 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 1PrwCl-0003fa-Oz; Tue, 22 Feb 2011 11:39:19 -0600 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 1PrwCj-0003f5-K7 for ding@lists.math.uh.edu; Tue, 22 Feb 2011 11:39:17 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PrwCf-0005DO-E7 for ding@lists.math.uh.edu; Tue, 22 Feb 2011 11:39:17 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PrwCe-0003PN-Mr for ding@gnus.org; Tue, 22 Feb 2011 18:39:12 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PrwCd-0003G8-QM for ding@gnus.org; Tue, 22 Feb 2011 18:39:11 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Feb 2011 18:39:11 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Feb 2011 18:39:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:S2LCcOHBz3uAcy0rGikz1RbK6h0= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77111 Archived-At: >>>>> "Lars" == Lars Ingebrigtsen writes: Lars> Andrew Cohen writes: >> I guess I could special-case the raw imap search and treat >> header-limited searches differently. I generally don't like this >> kind of special casing, but I'll think again if there is a better >> way. Lars> How about sorting the groups on the method first (i.e., Lars> nnimap, nntp, etc), and then issuing the prompt once per Lars> method type? I think that would give you the correct number Lars> of prompts for all use cases. Turns out this was much easier than I thought. I've added caching for imap searches, and I'll fix up the others shortly (although imap is probably the only use case). Andy