From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73191 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: Sat, 16 Oct 2010 08:58:06 -0400 Message-ID: <87mxqepa5d.fsf@andy.bu.edu> References: <87mxqjvuy8.fsf@andy.bu.edu> <87r5fuc6xk.fsf@andy.bu.edu> <87hbgpdd25.fsf@andy.bu.edu> <87d3rddbmu.fsf@andy.bu.edu> <87k4llfw24.fsf@andy.bu.edu> <8762x5szj4.fsf@andy.bu.edu> <87sk08sjen.fsf@andy.bu.edu> <87pqvbius2.fsf@keller.adm.naquadah.org> <87vd53r95n.fsf@andy.bu.edu> <87fww7itie.fsf@keller.adm.naquadah.org> <87k4ljr7hs.fsf@andy.bu.edu> <87hbgnr76q.fsf@keller.adm.naquadah.org> <87aamfr6pe.fsf@andy.bu.edu> <8762x3r69b.fsf@andy.bu.edu> <87pqvb71nt.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1287233976 11514 80.91.229.12 (16 Oct 2010 12:59:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Oct 2010 12:59:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21563@lists.math.uh.edu Sat Oct 16 14:59:31 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 1P76MF-0001m6-FX for ding-account@gmane.org; Sat, 16 Oct 2010 14:59:31 +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 1P76LB-0004Qn-9j; Sat, 16 Oct 2010 07:58:25 -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 1P76L7-0004QW-MU for ding@lists.math.uh.edu; Sat, 16 Oct 2010 07:58:21 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P76L5-0004GJ-VL for ding@lists.math.uh.edu; Sat, 16 Oct 2010 07:58:21 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P76L4-0005hg-00 for ; Sat, 16 Oct 2010 14:58:18 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P76L2-0001Nq-Pw for ding@gnus.org; Sat, 16 Oct 2010 14:58:16 +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, 16 Oct 2010 14:58:16 +0200 Original-Received: from cohen by andy.bu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Oct 2010 14:58:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 56 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:9ASajevOv5sy9g4oq6M/R7xQs60= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73191 Archived-At: --=-=-= Content-Type: text/plain Umm, apparently you have to DO something with headers once you've retrieved them :) This is a small bug fix which solves my problem that 'A T' would sometimes fail to show the thread. Regards, Andy --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=refer.diff Content-Description: gnus-sum fix diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index c50d8aa..39f6314 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -8834,7 +8834,11 @@ variable." (limit (if limit (prefix-numeric-value limit) gnus-refer-thread-limit))) (if (gnus-check-backend-function 'request-thread gnus-newsgroup-name) - (gnus-request-thread id) + (setq gnus-newsgroup-headers + (gnus-merge 'list + gnus-newsgroup-headers + (gnus-request-thread id) + 'gnus-article-sort-by-number)) (unless (eq gnus-fetch-old-headers 'invisible) (gnus-message 5 "Fetching headers for %s..." gnus-newsgroup-name) ;; Retrieve the headers and read them in. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=Changelog.diff Content-Description: changes diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a66ec9..35a9de4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-10-16 Andrew Cohen + + * gnus-sum.el (gnus-summary-refer-thread): Bug fix. Add the thread + headers to gnus-newsgroup-headers. + 2010-10-15 Andrew Cohen * gnus-sum.el (gnus-summary-refer-thread): unconditionally ignore --=-=-=--