lisp/gnus/nnimap.el (nnimap-request-group): nnimap group activation problems fixed

This commit is contained in:
Lars Magne Ingebrigtsen 2015-01-29 09:20:48 +00:00 committed by Katsumi Yamaoka
parent 4ba343984f
commit cfb1887189
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2015-01-29 Lars Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-request-group): Allow running this function on
groups that don't exist in Gnus yet.
* message.el (message-smtpmail-send-it): Remove the mail header
separator before sending.

View file

@ -804,9 +804,10 @@ textual parts.")
articles active marks high low)
(with-current-buffer nntp-server-buffer
(when result
(when (or (not dont-check)
(not (setq active
(nth 2 (assoc group nnimap-current-infos)))))
(when (and info
(or (not dont-check)
(not (setq active
(nth 2 (assoc group nnimap-current-infos))))))
(let ((sequences (nnimap-retrieve-group-data-early
server (list info))))
(nnimap-finish-retrieve-group-infos server (list info) sequences