From: Eli Zaretskii Date: Sat, 31 Mar 2018 17:41:32 +0000 (+0300) Subject: Support more separators in rmail-retry-failure X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~5746 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=320ecd3e564facaabdb6324f94c07c447f3175b9;p=emacs.git Support more separators in rmail-retry-failure * lisp/mail/rmail.el (mail-unsent-separator): Add a form of separator that confused rmail-retry-failure due to additional lines that start with a series of dashes. (Bug#30965) --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index f2fdcb6367b..0f4bb1f64d6 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -4126,6 +4126,7 @@ typically for purposes of moderating a list." "^ *---+ +Original message follows +---+ *$\\|" "^ *---+ +Your message follows +---+ *$\\|" "^|? *---+ +Message text follows: +---+ *|?$\\|" + "^ *---+ +This is a copy of \\w+ message, including all the headers.*---+ *\n *---+ +The body of the message is [0-9]+ characters long; only the first *\n *---+ +[0-9]+ or so are included here\\. *$\\|" "^ *---+ +This is a copy of \\w+ message, including all the headers.*---+ *$") "A regexp that matches the separator before the text of a failed message.")