Erase buffer before appending for easier debugging.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 31 Oct 2010 22:07:30 +0000 (23:07 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 31 Oct 2010 22:07:30 +0000 (23:07 +0100)
lisp/ChangeLog
lisp/nnimap.el

index 87db427..9c59f13 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-request-accept-article): Erase buffer before
+       appending for easier debugging.
+
        * gnus-art.el (gnus-treat-article): Only inhibit body washing, and
        leave the header washing to take place.
 
index 11795b1..3ecee73 100644 (file)
@@ -930,6 +930,7 @@ textual parts.")
       (nnimap-add-cr)
       (setq message (buffer-substring-no-properties (point-min) (point-max)))
       (with-current-buffer (nnimap-buffer)
+       (erase-buffer)
        (setq sequence (nnimap-send-command
                        "APPEND %S {%d}" (utf7-encode group t)
                        (length message)))