From: Dave Abrahams <dave@boostpro.com>
To: ding@gnus.org
Cc: Andrew Cohen <cohen@andy.bu.edu>
Subject: How to create an empty ephemeral group?
Date: Wed, 27 Jul 2011 23:27:17 -0400 [thread overview]
Message-ID: <m27h73ytii.fsf@pluto.luannocracy.com> (raw)
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 "<some-message-id>")
--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
next reply other threads:[~2011-07-28 3:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 3:27 Dave Abrahams [this message]
2011-07-28 19:38 ` [Solved] " Dave Abrahams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27h73ytii.fsf@pluto.luannocracy.com \
--to=dave@boostpro.com \
--cc=cohen@andy.bu.edu \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).