info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatically authenticating at local imap server


From: David
Subject: Re: Automatically authenticating at local imap server
Date: Wed, 06 Feb 2008 12:56:23 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Tassilo Horn <tassilo@member.fsf.org> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]