Mercurial > hg > xemacs-beta
diff lisp/vm/vm-reply.el @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:35 +0200 |
parents | 376386a54a3c |
children | 49a24b4fd526 |
line wrap: on
line diff
--- a/lisp/vm/vm-reply.el Mon Aug 13 08:45:53 2007 +0200 +++ b/lisp/vm/vm-reply.el Mon Aug 13 08:46:35 2007 +0200 @@ -529,6 +529,10 @@ (vm-rfc1153-encapsulate-messages vm-forward-list vm-forwarded-headers vm-unforwarded-header-regexp)) + ((equal vm-forwarding-digest-type "rfc1521") + (vm-rfc1521-encapsulate-messages + vm-forward-list vm-forwarded-headers + vm-unforwarded-header-regexp)) ((equal vm-forwarding-digest-type nil) (vm-no-frills-encapsulate-message (car vm-forward-list) vm-forwarded-headers @@ -686,7 +690,11 @@ ((equal vm-digest-send-type "rfc1153") (vm-rfc1153-encapsulate-messages mlist vm-rfc1153-digest-headers - vm-rfc1153-digest-discard-header-regexp))) + vm-rfc1153-digest-discard-header-regexp)) + ((equal vm-digest-send-type "rfc1521") + (vm-rfc1521-encapsulate-messages + mlist vm-rfc1521-digest-headers + vm-rfc1521-digest-discard-header-regexp))) (goto-char start) (setq mp mlist) (if prefix @@ -718,6 +726,12 @@ (let ((vm-digest-send-type "rfc1153")) (vm-send-digest preamble))) +(defun vm-send-rfc1521-digest (&optional preamble) + "Like vm-send-digest but always sends an RFC 1521 (MIME) digest." + (interactive "P") + (let ((vm-digest-send-type "rfc1521")) + (vm-send-digest preamble))) + (defun vm-continue-composing-message (&optional not-picky) "Find and select the most recently used mail composition buffer. If the selected buffer is already a Mail mode buffer then it is @@ -852,6 +866,8 @@ vm-send-rfc934-digest-other-frame vm-send-rfc1153-digest vm-send-rfc1153-digest-other-frame + vm-send-rfc1521-digest + vm-send-rfc1521-digest-other-frame vm-forward-message vm-forward-message-other-frame vm-forward-message-all-headers @@ -985,3 +1001,14 @@ (vm-send-rfc1153-digest prefix)) (if (vm-multiple-frames-possible-p) (vm-set-hooks-for-frame-deletion))) + +(defun vm-send-rfc1521-digest-other-frame (&optional prefix) + "Like vm-send-rfc1521-digest, but run in a newly created frame." + (interactive "P") + (if (vm-multiple-frames-possible-p) + (vm-goto-new-frame 'composition)) + (let ((vm-frame-per-composition nil) + (vm-search-other-frames nil)) + (vm-send-rfc1153-digest prefix)) + (if (vm-multiple-frames-possible-p) + (vm-set-hooks-for-frame-deletion)))