From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73059 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: A T does not work in nnimap Date: Wed, 13 Oct 2010 13:56:55 -0400 Message-ID: <87r5fuc6xk.fsf@andy.bu.edu> References: <874ocrwjxu.fsf@andy.bu.edu> <87mxqjvuy8.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286992663 907 80.91.229.12 (13 Oct 2010 17:57:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 17:57:43 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21431@lists.math.uh.edu Wed Oct 13 19:57:42 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 1P65a9-0004Ix-Ia for ding-account@gmane.org; Wed, 13 Oct 2010 19:57:41 +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 1P65Zg-0001dk-8L; Wed, 13 Oct 2010 12:57:12 -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 1P65Ze-0001dR-5S for ding@lists.math.uh.edu; Wed, 13 Oct 2010 12:57:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P65ZZ-0007AB-7B for ding@lists.math.uh.edu; Wed, 13 Oct 2010 12:57:09 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P65ZY-0002Mi-00 for ; Wed, 13 Oct 2010 19:57:04 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P65ZY-000403-9j for ding@gnus.org; Wed, 13 Oct 2010 19:57:04 +0200 Original-Received: from andy.bu.edu ([128.197.41.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 19:57:04 +0200 Original-Received: from cohen by andy.bu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 19:57:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: andy.bu.edu User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:1l7tZcDN3h7/3h6a35of37SP01g= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73059 Archived-At: >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> Andrew Cohen writes: >> OK here is a first pass at modifying gnus-summary-refer-thread to >> work with imap. It seemed like a good idea to factor out a >> thread-searching function for nnimap, so I did. Lars> I think, perhaps, that it would be nice if this worked Lars> generally for all non-NOV backends. Although the speedup for Lars> IMAP is nice, but it should probably be refactored out into a Lars> -request-thread function that would just return the headers of Lars> all the articles that are in the thread. I definitely agree and started thinking about this while playing around with A T. Firstly, this may be beyond my minimal skill set. But in any case, I wonder what the backend functions should do. They could return the headers as you suggest. Or they might just return the list of articles. But I noticed that there is an imap extension for returning a threaded list of messages. It might be useful to choose something that would allow for backend specific speedups in threading. Since I haven't figured out exactly how threading works at the moment, I'm not sure whats best. Regards, Andy