]> git.eshelyaron.com Git - emacs.git/commitdiff
nnimap.el: IMAP command logging improvement; When moving articles between IMAP server...
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 20 Feb 2012 07:54:56 +0000 (07:54 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 20 Feb 2012 07:54:56 +0000 (07:54 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index e7473c463a9efb2995b2d3e76bc4387a739dd1c4..387693f9ae0ddf20446bfe7382a4e71170fe97e5 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-log-command): Add the IMAP address to the log
+       buffer.  Suggested by Herbert Valerio Riedel.
+       (nnimap-request-move-article): Delete the message from the correct IMAP
+       server.
+
 2012-02-19  Vida Gábor  <vidagabor@gmail.com>  (tiny change)
 
        * gnus-demon.el (gnus-demon-init): Don't multiply time twice.
index c6f0f7a97e883dd805f4d417cd9f73c749a19a1b..6cbd83c8f78e6c0b29a79b21cce4ab03a76d0b1b 100644 (file)
@@ -868,6 +868,7 @@ textual parts.")
          ;; Move the article to a different method.
          (let ((result (eval accept-form)))
            (when result
+             (nnimap-possibly-change-group group server)
              (nnimap-delete-article article)
              result)))))))
 
@@ -1706,7 +1707,8 @@ textual parts.")
   (when nnimap-record-commands
     (with-current-buffer (get-buffer-create "*imap log*")
       (goto-char (point-max))
-      (insert (format-time-string "%H:%M:%S") " "
+      (insert (format-time-string "%H:%M:%S")
+             " [" nnimap-address "] "
              (if nnimap-inhibit-logging
                  "(inhibited)\n"
                command))))