Tassilo Horn <[EMAIL PROTECTED]> writes:
> One annoying thing is that it seems I must use (gnus-group-select-group
> 1), if I provide 0 or nil, the group won't be selected.  So you'll have
> another message in the group after you press "M-^" in the nnmairix
> group.

Yes, but you can limit the summary buffer to the message containing the
message-id. I'd suggest the following:

(defun th-gnus-registry-select-article (message-id)
  (interactive "sMessage-ID: ")
  (let ((group-buffer (get-buffer gnus-group-buffer))
        (group (gnus-registry-fetch-group message-id)))
    (pop-to-buffer group-buffer)
    (gnus-group-jump-to-group group)
    (gnus-summary-read-group group 1 t nil nil nil nil) 
    (gnus-summary-refer-article message-id)
    (gnus-summary-limit-to-headers (format "message-id: %s" message-id))
    (gnus-summary-select-article)))

I'm currently working on the code that finds the original group based on
the message file path. As soon as this is ready I'll post an update to
nnmairix also containing the registry code.

Thanks for your input,
David



_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to