Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nnimap, agent unplugged and expiry-target

3 views
Skip to first unread message

Simon Josefsson

unread,
Oct 5, 2001, 2:52:58 PM10/5/01
to Bjørn Mork, The Gnus Bugfixing Girls + Boys
"Bjørn Mork" <bm...@nextra.com> writes:

> These don't seem to mix very well. I am using
>
> (expiry-target . "nnimap+imap.nextra.no:lest")
> (total-expire . t))
>
> in one of my imap inboxes. The result is that I can't exit from the
> summary buffer when using agent unplugged.
>
> Backtrace:
>
> Signaling: (error "No buffer named *nnimap* imap.nextra.no")
> imap-current-mailbox(" *nnimap* imap.nextra.no")
> nnimap-request-accept-article("lest" "imap.nextra.no" nil)
> gnus-request-accept-article("nnimap+imap.nextra.no:lest" nil nil t)
> nnmail-expiry-target-group("nnimap+imap.nextra.no:lest" "INBOX")

Maybe this patch helps? I'm not really sure what would happen, you
can't add articles to remote servers when unplugged, but maybe nnagent
takes care of it somehow and adds the article to the local nnml group.
Which might not be very useful, but anyway..

--- gnus-int.el.~6.5.~ Wed Jan 24 19:27:48 2001
+++ gnus-int.el Fri Oct 5 20:50:23 2001
@@ -467,9 +467,9 @@
(let ((mail-parse-charset message-default-charset))
(mail-encode-encoded-word-buffer)))
(message-encode-message-body)))
- (let ((func (car (or gnus-command-method
- (gnus-find-method-for-group group)))))
- (funcall (intern (format "%s-request-accept-article" func))
+ (let ((gnus-command-method (or gnus-command-method
+ (gnus-find-method-for-group group))))
+ (funcall (gnus-get-function gnus-command-method 'request-accept-article)
(if (stringp group) (gnus-group-real-name group) group)
(cadr gnus-command-method)
last)))

Bjørn Mork

unread,
Oct 6, 2001, 6:57:11 PM10/6/01
to
Simon Josefsson <j...@extundo.com> writes:

> Maybe this patch helps? I'm not really sure what would happen, you
> can't add articles to remote servers when unplugged, but maybe nnagent
> takes care of it somehow and adds the article to the local nnml group.
> Which might not be very useful, but anyway..

Thanks. Looks good so far. Gnus claims to be expiring articles when
I'm running unplugged, but they show up again when plugged. Which is
fine by me since they will be moved when running the expiry process
online anyway.

It would maybe become a problem if you implemented offline deletion,
if expiry caused articles to be deleted without being added to the
target group.

Bjørn
--
I can't believe how sadistic you are.

0 new messages