Thread (28 messages) flat view 28 messages, 4 authors, 2016-06-16

Re: [RFC-PATCH 1/2] send-email: new option to quote an email and reply to

From: Eric Wong <hidden>
Date: 2016-06-16 02:19:34

Tom Russello [off-list ref] wrote:
This new option takes an email message file, parses it, fills the "To",
"Subject" and "Cc" fields appropriately and quote the message.
This option involves the `--compose` mode to edit the cover letter quoting the
given email.
Cool!  There should probably be some help text to encourage
trimming down the quoted text to only relevant portions.
+	#Message body
+	while (<$fh>) {
+		#for files containing crlf line endings
+		$_=~ s/\r//g;
+		my $space="";
+		if (/^[^>]/) {
+			$space = " ";
+		}
+		$message_quoted .=  ">".$space.$_;
Is this really necessary to switch between "> " and ">" prefix?
AFAIK, MUAs prefix unconditionally with "> ".
At least that's how mutt does it...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help