diff options
| author | Lars Magne Ingebrigtsen | 2011-06-30 04:07:50 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-06-30 04:07:50 +0000 |
| commit | d0b36cbeb198377ef831a75b75645e76b471e7c1 (patch) | |
| tree | fb08007d7e27abf43b0a110d0a79bc75b3ce107a | |
| parent | 94b9acce13573ce598bd9a73ebb273d7e200c09d (diff) | |
| download | emacs-d0b36cbeb198377ef831a75b75645e76b471e7c1.tar.gz emacs-d0b36cbeb198377ef831a75b75645e76b471e7c1.zip | |
nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to.
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 17 |
2 files changed, 13 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 594bef2f01c..5f173b2aeed 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -6,6 +6,9 @@ | |||
| 6 | 6 | ||
| 7 | 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org> | 7 | 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 8 | 8 | ||
| 9 | * nnimap.el (nnimap-process-expiry-targets): Say what target we're | ||
| 10 | expiring articles to. | ||
| 11 | |||
| 9 | * mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 | 12 | * mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 |
| 10 | variations as ASCII (bug#5458). | 13 | variations as ASCII (bug#5458). |
| 11 | 14 | ||
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index e78c20bdeef..e330a4b84e9 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -880,15 +880,18 @@ textual parts.") | |||
| 880 | (with-temp-buffer | 880 | (with-temp-buffer |
| 881 | (mm-disable-multibyte) | 881 | (mm-disable-multibyte) |
| 882 | (when (nnimap-request-article article group server (current-buffer)) | 882 | (when (nnimap-request-article article group server (current-buffer)) |
| 883 | (nnheader-message 7 "Expiring article %s:%d" group article) | ||
| 884 | (when (functionp target) | 883 | (when (functionp target) |
| 885 | (setq target (funcall target group))) | 884 | (setq target (funcall target group))) |
| 886 | (when (and target | 885 | (if (and target |
| 887 | (not (eq target 'delete))) | 886 | (not (eq target 'delete))) |
| 888 | (if (or (gnus-request-group target t) | 887 | (if (or (gnus-request-group target t) |
| 889 | (gnus-request-create-group target)) | 888 | (gnus-request-create-group target)) |
| 890 | (nnmail-expiry-target-group target group) | 889 | (progn |
| 891 | (setq target nil))) | 890 | (nnmail-expiry-target-group target group) |
| 891 | (nnheader-message 7 "Expiring article %s:%d to %s" | ||
| 892 | group article target)) | ||
| 893 | (setq target nil)) | ||
| 894 | (nnheader-message 7 "Expiring article %s:%d" group article)) | ||
| 892 | (when target | 895 | (when target |
| 893 | (push article deleted-articles)))))))) | 896 | (push article deleted-articles)))))))) |
| 894 | ;; Change back to the current group again. | 897 | ;; Change back to the current group again. |