diff options
| author | Karl Heuer | 1998-02-25 23:26:45 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-02-25 23:26:45 +0000 |
| commit | f980ec39f67fe2fb5d660086344d8d10b18eff47 (patch) | |
| tree | a3c9da1fa1d3aa4ed1a335a728f8d36e1a7240f2 | |
| parent | 353800c79a4857bb96d480188c56c3dd7c1f3cb0 (diff) | |
| download | emacs-f980ec39f67fe2fb5d660086344d8d10b18eff47.tar.gz emacs-f980ec39f67fe2fb5d660086344d8d10b18eff47.zip | |
(rmail-retry-failure): Don't insist on finding
MIME delimiter again at end of bounce text.
(mail-unsent-separator): Accept "Your message follows".
| -rw-r--r-- | lisp/mail/rmail.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index ef55e63dda6..e9901a0526a 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2813,6 +2813,7 @@ typically for purposes of moderating a list." | |||
| 2813 | "^ *---+ +Original message +---+ *$\\|" | 2813 | "^ *---+ +Original message +---+ *$\\|" |
| 2814 | "^ *--+ +begin message +--+ *$\\|" | 2814 | "^ *--+ +begin message +--+ *$\\|" |
| 2815 | "^ *---+ +Original message follows +---+ *$\\|" | 2815 | "^ *---+ +Original message follows +---+ *$\\|" |
| 2816 | "^ *---+ +Your message follows +---+ *$\\|" | ||
| 2816 | "^|? *---+ +Message text follows: +---+ *|?$") | 2817 | "^|? *---+ +Message text follows: +---+ *|?$") |
| 2817 | "A regexp that matches the separator before the text of a failed message.") | 2818 | "A regexp that matches the separator before the text of a failed message.") |
| 2818 | 2819 | ||
| @@ -2856,13 +2857,11 @@ specifying headers which should not be copied into the new message." | |||
| 2856 | (or (re-search-forward mail-mime-unsent-header nil t) | 2857 | (or (re-search-forward mail-mime-unsent-header nil t) |
| 2857 | (error "Cannot find beginning of header in failed message")) | 2858 | (error "Cannot find beginning of header in failed message")) |
| 2858 | (or (search-forward "\n\n" nil t) | 2859 | (or (search-forward "\n\n" nil t) |
| 2859 | (error "Cannot find end of Mime data in failed message")) | 2860 | (error "Cannot find start of Mime data in failed message")) |
| 2860 | (setq bounce-start (point)) | 2861 | (setq bounce-start (point)) |
| 2861 | (or (search-forward codestring nil t) | 2862 | (if (search-forward codestring nil t) |
| 2862 | (error "Cannot find end of Mime data in failed message")) | 2863 | (setq bounce-end (match-beginning 0)) |
| 2863 | (setq bounce-end (match-beginning 0)) | 2864 | (setq bounce-end (point-max))) |
| 2864 | ; (or (search-forward "\n\n" nil t) | ||
| 2865 | ; (error "Cannot find end of header in failed message")) | ||
| 2866 | ) | 2865 | ) |
| 2867 | ;; non-MIME bounce | 2866 | ;; non-MIME bounce |
| 2868 | (or (re-search-forward mail-unsent-separator nil t) | 2867 | (or (re-search-forward mail-unsent-separator nil t) |