From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79934 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: nnir, gnus-goto-article and such Date: Thu, 15 Sep 2011 14:24:26 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316111154 6727 80.91.229.12 (15 Sep 2011 18:25:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2011 18:25:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28228@lists.math.uh.edu Thu Sep 15 20:25:50 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 1R4GdC-0005ta-74 for ding-account@gmane.org; Thu, 15 Sep 2011 20:25:50 +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 1R4Gc3-0004HO-3N; Thu, 15 Sep 2011 13:24:39 -0500 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 1R4Gc2-0004HG-1x for ding@lists.math.uh.edu; Thu, 15 Sep 2011 13:24:38 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R4Gc0-0006ih-0h for ding@lists.math.uh.edu; Thu, 15 Sep 2011 13:24:37 -0500 Original-Received: from mail-qw0-f44.google.com ([209.85.216.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R4Gby-0006j9-BT for ding@gnus.org; Thu, 15 Sep 2011 20:24:34 +0200 Original-Received: by qwb8 with SMTP id 8so1200281qwb.31 for ; Thu, 15 Sep 2011 11:24:28 -0700 (PDT) Original-Received: by 10.229.64.75 with SMTP id d11mr1230861qci.103.1316111068014; Thu, 15 Sep 2011 11:24:28 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id cg14sm8138384qab.0.2011.09.15.11.24.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 11:24:27 -0700 (PDT) Original-Received: by pluto.luannocracy.com (Postfix, from userid 501) id 15975F07DF6; Thu, 15 Sep 2011 14:24:26 -0400 (EDT) User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79934 Archived-At: I have this nifty function that lets me look up an article by message-id, no matter which of my groups it's in: --8<---------------cut here---------------start------------->8--- (defun gnus-goto-article (message-id) (with-current-buffer (get-buffer-create (concat "*goto-article " message-id "*")) (erase-buffer) ;; insert dummy article (insert (format "From nobody Tue Sep 13 22:05:34 2011\n\n")) (gnus-group-read-ephemeral-group message-id `(nndoc ,message-id (nndoc-address ,(current-buffer)) (nndoc-article-type mbox)) 'activate (not 'quit-config) (not 'request-only) '(-1) ; 'select-articles (not 'parameters) 0 ; ' number ) (gnus-summary-refer-article message-id))) --8<---------------cut here---------------end--------------->8--- Now there are just two problems with this: 1. (very minor): if I do `/ o' in the resulting buffer, I see the dummy article, which is needed if I want to activate the group. How can I remove it from the group after activation? 2. (important) I'd like to see the whole thread (e.g. with `A T'). That works fine if it's an IMAP article because nnir finds it. However, nnir doesn't work on nntp newsgroups. It seems to me what's missing is some way of recording the source of the message retrieved by gnus-summary-refer-article, and some way of asking for a thread search in an nntp server. Ideas? TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com