From: Lars Ingebrigtsen Date: Wed, 28 Jan 2015 06:59:06 +0000 (+0000) Subject: lisp/gnus/nnimap.el (nnimap-request-group): nnimap group request bug fix X-Git-Tag: emacs-25.0.90~2572^2~35 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=173ac1caac65543956ce0d72a9d6ae10b6729fa8;p=emacs.git lisp/gnus/nnimap.el (nnimap-request-group): nnimap group request bug fix --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 49d1444de69..a200216424d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -3,6 +3,11 @@ * nnimap.el (nnimap-find-expired-articles): Fix handling of (expiry-wait . never). +2015-01-28 Lars Ingebrigtsen + + * nnimap.el (nnimap-request-group): Clear the buffer before returning + the data. + 2015-01-27 Lars Ingebrigtsen * nnir.el (nnir-imap-expr-to-imap): Check for literal+ capability in diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index ba2013e2798..e619c0f13c2 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -812,6 +812,7 @@ textual parts.") (nnimap-finish-retrieve-group-infos server (list info) sequences t) (setq active (nth 2 (assoc group nnimap-current-infos))))) + (erase-buffer) (insert (format "211 %d %d %d %S\n" (- (cdr active) (car active)) (car active)