From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79583 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: How to create an empty ephemeral group? Date: Wed, 27 Jul 2011 23:27:17 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1311823733 14243 80.91.229.12 (28 Jul 2011 03:28:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 03:28:53 +0000 (UTC) Cc: Andrew Cohen To: ding@gnus.org Original-X-From: ding-owner+M27879@lists.math.uh.edu Thu Jul 28 05:28:49 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 1QmHHC-0001dZ-QB for ding-account@gmane.org; Thu, 28 Jul 2011 05:28:47 +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 1QmHG6-0001qJ-RM; Wed, 27 Jul 2011 22:27:38 -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 1QmHG5-0001q6-Cc for ding@lists.math.uh.edu; Wed, 27 Jul 2011 22:27:37 -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 1QmHG1-0002mt-9A for ding@lists.math.uh.edu; Wed, 27 Jul 2011 22:27:34 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QmHFy-0005SY-Bu for ding@gnus.org; Thu, 28 Jul 2011 05:27:30 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QmHFx-0001Fp-JC for ding@gnus.org; Thu, 28 Jul 2011 05:27:29 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Jul 2011 05:27:29 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Jul 2011 05:27:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:4qZ8+zNnGf8RPhlt/B6p9Cexiwk= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79583 Archived-At: Hi, I'm trying to look up articles by message-Id, e.g. from Org links. Here's what I'm using today: --8<---------------cut here---------------start------------->8--- (defun gnus-goto-article (message-id) (let ((nnir-imap-default-search-key "imap")) (gnus-group-make-nnir-group nil `((query . ,(concat "header message-id " message-id)) (criteria . "") (server . "nnimap:BoostPro") ))) (gnus-summary-refer-article message-id)) --8<---------------cut here---------------end--------------->8--- This is decent, but it would be so much cooler if I could use gnus-refer-article-method to look for messages that might be in newsgroups, gmane, google, etc. So I figured I'd just create an empty ephemeral group and then --8<---------------cut here---------------start------------->8--- (gnus-summary-refer-article "") --8<---------------cut here---------------end--------------->8--- ...which I have proved to myself works in an arbitrary group. But I can't figure out how to create an empty ephemeral group. Hints? TIA, -- Dave Abrahams BoostPro Computing http://www.boostpro.com