From 173ac1caac65543956ce0d72a9d6ae10b6729fa8 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 28 Jan 2015 06:59:06 +0000 Subject: [PATCH] lisp/gnus/nnimap.el (nnimap-request-group): nnimap group request bug fix --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnimap.el | 1 + 2 files changed, 6 insertions(+) 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) -- 2.39.2