Commit d67d60a2 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

nnimap respool fix

* nnimap.el (nnimap-request-accept-article): Make respooling to nnimap
groups work again.
parent 45e2ca14
2014-03-07 Lars Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-request-accept-article): Make respooling to nnimap
groups work again.
2014-03-07 George McNinch <gmcninch@gmail.com> (tiny change)
 
* nnir.el (nnir-run-namazu): Parse namazu results that are larger than
......
......@@ -1099,6 +1099,14 @@ If LIMIT, first try to limit the search to the N last articles."
(nnimap-wait-for-response sequence))))))
(deffoo nnimap-request-accept-article (group &optional server last)
(unless group
;; We're respooling. Find out where mail splitting would place
;; this article.
(setq group
(caar
(nnmail-article-group
`(lambda (group)
(nnml-active-number group ,server))))))
(setq group (nnimap-decode-gnus-group group))
(when (nnimap-change-group nil server)
(nnmail-check-syntax)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment