mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
nnimap.el (nnimap-process-expiry-targets): Say what target we're expiring articles to.
This commit is contained in:
parent
94b9acce13
commit
d0b36cbeb1
@ -6,6 +6,9 @@
|
||||
|
||||
2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* nnimap.el (nnimap-process-expiry-targets): Say what target we're
|
||||
expiring articles to.
|
||||
|
||||
* mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4
|
||||
variations as ASCII (bug#5458).
|
||||
|
||||
|
@ -880,15 +880,18 @@ textual parts.")
|
||||
(with-temp-buffer
|
||||
(mm-disable-multibyte)
|
||||
(when (nnimap-request-article article group server (current-buffer))
|
||||
(nnheader-message 7 "Expiring article %s:%d" group article)
|
||||
(when (functionp target)
|
||||
(setq target (funcall target group)))
|
||||
(when (and target
|
||||
(not (eq target 'delete)))
|
||||
(if (or (gnus-request-group target t)
|
||||
(gnus-request-create-group target))
|
||||
(nnmail-expiry-target-group target group)
|
||||
(setq target nil)))
|
||||
(if (and target
|
||||
(not (eq target 'delete)))
|
||||
(if (or (gnus-request-group target t)
|
||||
(gnus-request-create-group target))
|
||||
(progn
|
||||
(nnmail-expiry-target-group target group)
|
||||
(nnheader-message 7 "Expiring article %s:%d to %s"
|
||||
group article target))
|
||||
(setq target nil))
|
||||
(nnheader-message 7 "Expiring article %s:%d" group article))
|
||||
(when target
|
||||
(push article deleted-articles))))))))
|
||||
;; Change back to the current group again.
|
||||
|
Loading…
Reference in New Issue
Block a user