diff options
| author | Lars Ingebrigtsen | 2012-02-20 07:54:56 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-02-20 07:54:56 +0000 |
| commit | b0668aa847fc5112debd686291aa457d252482e1 (patch) | |
| tree | 9566210ebe963cc268ad49bda7bb65bea44b32e4 | |
| parent | de8f52b0ee53d865640c530657daddd2889b7e8b (diff) | |
| download | emacs-b0668aa847fc5112debd686291aa457d252482e1.tar.gz emacs-b0668aa847fc5112debd686291aa457d252482e1.zip | |
nnimap.el: IMAP command logging improvement; When moving articles between IMAP servers, delete from the correct server
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e7473c463a9..387693f9ae0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-02-20 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-log-command): Add the IMAP address to the log | ||
| 4 | buffer. Suggested by Herbert Valerio Riedel. | ||
| 5 | (nnimap-request-move-article): Delete the message from the correct IMAP | ||
| 6 | server. | ||
| 7 | |||
| 1 | 2012-02-19 Vida Gábor <vidagabor@gmail.com> (tiny change) | 8 | 2012-02-19 Vida Gábor <vidagabor@gmail.com> (tiny change) |
| 2 | 9 | ||
| 3 | * gnus-demon.el (gnus-demon-init): Don't multiply time twice. | 10 | * gnus-demon.el (gnus-demon-init): Don't multiply time twice. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index c6f0f7a97e8..6cbd83c8f78 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -868,6 +868,7 @@ textual parts.") | |||
| 868 | ;; Move the article to a different method. | 868 | ;; Move the article to a different method. |
| 869 | (let ((result (eval accept-form))) | 869 | (let ((result (eval accept-form))) |
| 870 | (when result | 870 | (when result |
| 871 | (nnimap-possibly-change-group group server) | ||
| 871 | (nnimap-delete-article article) | 872 | (nnimap-delete-article article) |
| 872 | result))))))) | 873 | result))))))) |
| 873 | 874 | ||
| @@ -1706,7 +1707,8 @@ textual parts.") | |||
| 1706 | (when nnimap-record-commands | 1707 | (when nnimap-record-commands |
| 1707 | (with-current-buffer (get-buffer-create "*imap log*") | 1708 | (with-current-buffer (get-buffer-create "*imap log*") |
| 1708 | (goto-char (point-max)) | 1709 | (goto-char (point-max)) |
| 1709 | (insert (format-time-string "%H:%M:%S") " " | 1710 | (insert (format-time-string "%H:%M:%S") |
| 1711 | " [" nnimap-address "] " | ||
| 1710 | (if nnimap-inhibit-logging | 1712 | (if nnimap-inhibit-logging |
| 1711 | "(inhibited)\n" | 1713 | "(inhibited)\n" |
| 1712 | command)))) | 1714 | command)))) |