+2013-03-28 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * nndraft.el (nndraft-request-expire-articles):
+ Make expiry target always `delete'.
+
2013-03-27 Andrew Cohen <cohen@bu.edu>
* gnus-msg.el (gnus-setup-message): When replying from an nnir summary
(deffoo nndraft-request-expire-articles (articles group &optional server force)
(nndraft-possibly-change-group group)
(let* ((nnmh-allow-delete-final t)
- (nnmail-expiry-target
- (or (gnus-group-find-parameter
- (gnus-group-prefixed-name group (list 'nndraft server))
- 'expiry-target t)
- nnmail-expiry-target))
+ (nnmail-expiry-target 'delete)
+ ;; FIXME: If we want to move a draft message to an expiry group,
+ ;; there are things to have to improve:
+ ;; - Remove a header separator.
+ ;; - Encode it, including attachments, into a MIME message.
+ ;;(nnmail-expiry-target
+ ;; (or (gnus-group-find-parameter
+ ;; (gnus-group-prefixed-name group (list 'nndraft server))
+ ;; 'expiry-target t)
+ ;; nnmail-expiry-target))
(res (nnoo-parent-function 'nndraft
'nnmh-request-expire-articles
(list articles group server force)))