diff options
| author | Karl Heuer | 1998-10-06 22:54:20 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-10-06 22:54:20 +0000 |
| commit | 526e342958866ea1a128951d8e6fae16a913dfd6 (patch) | |
| tree | 4b8836d81afc643f23d96182139861f5f7a420e5 | |
| parent | 466886a2192e910f3af0634ea88970ab2b7d5c06 (diff) | |
| download | emacs-526e342958866ea1a128951d8e6fae16a913dfd6.tar.gz emacs-526e342958866ea1a128951d8e6fae16a913dfd6.zip | |
(rmail-retry-failure): Allow blanks in boundary
string. Expose mime stuff while searching.
| -rw-r--r-- | lisp/mail/rmail.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index dad0cd0aae5..6e717c586c6 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2989,10 +2989,13 @@ specifying headers which should not be copied into the new message." | |||
| 2989 | (require 'mail-utils) | 2989 | (require 'mail-utils) |
| 2990 | (let ((rmail-this-buffer (current-buffer)) | 2990 | (let ((rmail-this-buffer (current-buffer)) |
| 2991 | (msgnum rmail-current-message) | 2991 | (msgnum rmail-current-message) |
| 2992 | (pruned (rmail-msg-is-pruned)) | ||
| 2992 | bounce-start bounce-end bounce-indent resending) | 2993 | bounce-start bounce-end bounce-indent resending) |
| 2993 | (save-excursion | 2994 | (save-excursion |
| 2994 | ;; Narrow down to just the quoted original message | 2995 | ;; Narrow down to just the quoted original message |
| 2995 | (rmail-beginning-of-message) | 2996 | (if pruned |
| 2997 | (rmail-toggle-header 0) | ||
| 2998 | (rmail-beginning-of-message)) | ||
| 2996 | (let* ((case-fold-search t) | 2999 | (let* ((case-fold-search t) |
| 2997 | (top (point)) | 3000 | (top (point)) |
| 2998 | (content-type | 3001 | (content-type |
| @@ -3003,7 +3006,7 @@ specifying headers which should not be copied into the new message." | |||
| 3003 | ;; Handle MIME multipart bounce messages | 3006 | ;; Handle MIME multipart bounce messages |
| 3004 | (if (and content-type | 3007 | (if (and content-type |
| 3005 | (string-match | 3008 | (string-match |
| 3006 | ";[\n\t ]*boundary=\"?\\([-0-9a-z'()+_,./:=?]+\\)\"?" | 3009 | ";[\n\t ]*boundary=\"?\\([-0-9a-z'()+_,./:=? ]+\\)\"?" |
| 3007 | content-type)) | 3010 | content-type)) |
| 3008 | (let ((codestring | 3011 | (let ((codestring |
| 3009 | (concat "\n--" | 3012 | (concat "\n--" |
| @@ -3084,7 +3087,9 @@ specifying headers which should not be copied into the new message." | |||
| 3084 | (goto-char (point-min)) | 3087 | (goto-char (point-min)) |
| 3085 | (mail-position-on-field (if resending "Resent-To" "To") t) | 3088 | (mail-position-on-field (if resending "Resent-To" "To") t) |
| 3086 | (set-buffer rmail-this-buffer) | 3089 | (set-buffer rmail-this-buffer) |
| 3087 | (rmail-beginning-of-message)))))) | 3090 | (rmail-beginning-of-message)))) |
| 3091 | (if pruned | ||
| 3092 | (rmail-toggle-header)))) | ||
| 3088 | 3093 | ||
| 3089 | (defun rmail-summary-exists () | 3094 | (defun rmail-summary-exists () |
| 3090 | "Non-nil iff in an RMAIL buffer and an associated summary buffer exists. | 3095 | "Non-nil iff in an RMAIL buffer and an associated summary buffer exists. |