Gnus development mailing list
 help / color / mirror / Atom feed
* Creating an ephemeral group for a single article?
@ 2011-09-14  4:57 John Wiegley
  2011-09-15 20:32 ` Dave Abrahams
  0 siblings, 1 reply; 4+ messages in thread
From: John Wiegley @ 2011-09-14  4:57 UTC (permalink / raw)
  To: ding

I'd like to write a function that I could call from, say, Org.  It should take
a Message-Id, and create an ephemeral group containing that one message, found
by the same mechanism that uses gnus-refer-article-method -- so that it can
find the message wherever it might be.  And if it truly can't find the
message, it should ding and say that.

What I have now is a half solution, as it inserts the message into my INBOX
summary:

--8<---------------cut here---------------start------------->8---
(defun gnus-goto-article (message-id)
  (gnus-summary-read-group "INBOX" nil t)
  (gnus-summary-refer-article message-id))
--8<---------------cut here---------------end--------------->8---

Thanks,
  John




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-27 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-14  4:57 Creating an ephemeral group for a single article? John Wiegley
2011-09-15 20:32 ` Dave Abrahams
2011-09-26 20:19   ` Ted Zlatanov
2011-09-27 16:51     ` Dave Abrahams

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).