When moving an article from nnimap, request the article first so the
accepting form has an article to accept. Reported by Dan Christensen.
(nnimap-request-delete-group): Implement group deletion.
(nnimap-transform-headers): Return the size of the entire message in
the Bytes header, not just the size of the first part.
+ (nnimap-request-move-article): When moving an article from nnimap,
+ request the article first so the accepting form has an article to
+ accept. Reported by Dan Christensen.
2010-09-20 David Edmondson <dme@dme.org> (tiny change)
(nnimap-find-article-by-message-id
internal-move-group message-id))))
(with-temp-buffer
- (let ((result (eval accept-form)))
- (when result
- (nnimap-delete-article article)
- result)))))))
+ (when (nnimap-request-article article group server (current-buffer))
+ (let ((result (eval accept-form)))
+ (when result
+ (nnimap-delete-article article)
+ result))))))))
(deffoo nnimap-request-expire-articles (articles group &optional server force)
(cond