From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79536 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: `gnus-refer-article-methods' and `gnus-summary-refer-thread' Date: Fri, 22 Jul 2011 20:20:22 -0400 Message-ID: <87r55honjt.fsf@andy.bu.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311380510 26538 80.91.229.12 (23 Jul 2011 00:21:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2011 00:21:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27832@lists.math.uh.edu Sat Jul 23 02:21:46 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 1QkPyU-0008OO-A4 for ding-account@gmane.org; Sat, 23 Jul 2011 02:21:46 +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 1QkPxV-0002nU-5z; Fri, 22 Jul 2011 19:20:45 -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 1QkPxT-0002nC-O3 for ding@lists.math.uh.edu; Fri, 22 Jul 2011 19:20:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QkPxR-0007s9-VU for ding@lists.math.uh.edu; Fri, 22 Jul 2011 19:20:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QkPxP-0005qQ-2F for ding@gnus.org; Sat, 23 Jul 2011 02:20:39 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QkPxO-000829-I1 for ding@gnus.org; Sat, 23 Jul 2011 02:20:38 +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 ; Sat, 23 Jul 2011 02:20:38 +0200 Original-Received: from cohen by andy.bu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Jul 2011 02:20:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: andy.bu.edu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Arb+0bb0+j5JjcQ3GRa/HjG6FZc= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79536 Archived-At: >>>>> "Dave" == Dave Abrahams writes: Dave> It's a bit curious that when I'm sitting on the root of a Dave> thread, `A T' doesn't find the rest of it via nnir when I have Dave> that in `gnus-refer-article-methods'. `A T' (gnus-summary-refer-thread) doesn't use gnus-refer-article-methods at all. This is distinct from `^` (gnus-summary-refer-parent-article) which consults the entries in `gnus-refer-article-methods' in order until the parent is found. For nnimap groups `A T' searches /in the current group/ for any article that is referenced in the primary article, or refers to the primary article or any of its references. In rare cases where mailers have not properly coordinated references it is possible for this to miss articles, but it should be rare and avoiding it would require recursing searches which would be very slow. What it does /not/ do is search across multiple groups, and this is the most likely reason for not finding all articles within a thread. The current function adds the found articles from the current group into the summary buffer. Nnir creates an ephemeral group which can contain articles from multiple groups which is substantively different. Having said that I am just about to check in a modification that will allow searching across multiple groups through the use of a prefix-arg or setting a variable. Rather than calling the current `gnus-summary-refer-thread' this will construct the same imap search pattern but use nnir to search across the entire server and create an ephemeral group with the results. HTH, Andy