Gnus development mailing list
 help / color / mirror / Atom feed
* nnir, gnus-goto-article and such
@ 2011-09-15 18:24 Dave Abrahams
  2011-09-16 15:05 ` gnus-warp-to-article (was: nnir, gnus-goto-article and such) Dave Abrahams
  2011-09-21 18:03 ` nnir, gnus-goto-article and such Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 26+ messages in thread
From: Dave Abrahams @ 2011-09-15 18:24 UTC (permalink / raw)
  To: ding


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




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

end of thread, other threads:[~2011-09-29 23:40 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15 18:24 nnir, gnus-goto-article and such Dave Abrahams
2011-09-16 15:05 ` gnus-warp-to-article (was: nnir, gnus-goto-article and such) Dave Abrahams
2011-09-21 18:03 ` nnir, gnus-goto-article and such Lars Magne Ingebrigtsen
2011-09-21 21:16   ` John Wiegley
2011-09-22 13:01     ` Andrew Cohen
2011-09-26 19:17       ` Lars Magne Ingebrigtsen
2011-09-26 20:46       ` Dave Abrahams
2011-09-27  7:04         ` John Wiegley
2011-09-27 15:36           ` Dave Abrahams
2011-09-26 20:01   ` Dave Abrahams
2011-09-26 21:35     ` Ted Zlatanov
2011-09-27 15:35       ` Dave Abrahams
2011-09-27 21:12         ` Ted Zlatanov
2011-09-28 14:34           ` Dave Abrahams
2011-09-29  0:32             ` Ted Zlatanov
2011-09-29  1:19               ` Dave Abrahams
2011-09-29  2:06                 ` Dave Abrahams
2011-09-29  8:27                   ` Ted Zlatanov
2011-09-29 13:40                     ` Dave Abrahams
2011-09-29 14:00                       ` Ted Zlatanov
2011-09-29 14:40                         ` Dave Abrahams
2011-09-29 14:58                           ` Ted Zlatanov
2011-09-29 20:04                             ` Dave Abrahams
2011-09-29 23:40                               ` Ted Zlatanov
2011-09-29  8:22                 ` Ted Zlatanov
2011-09-27 16:04       ` 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).