nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] trailing whitespace in replied text


From: David Levine
Subject: [Nmh-workers] trailing whitespace in replied text
Date: Sat, 13 Sep 2014 23:38:18 -0400

Ralph wrote:

> Hi David,
> 
> > Yeah, I do that a lot because body:component="> " turns a blank line
> > in replied text into one with a trailing space.
> 
> Yes, that's really icky.  Would be nice if mhl supported some kind of
> `strip' to prune those off afterwards.

I found where to do this in the code, that was the hard
part.

Is there any need to keep the trailing whitespace of the
component with blank text lines?  I'm inclined to always
strip it off.  E.g., "> \n" would become ">\n".

Separately, I would like to add a "strip" (or "trim"?) flag
to mhl to strip trailing whitespace from non-empty body lines.
It's easy to do and I'd use it.  "nostrip" ("notrim") would
remain the default.

There already is a "leftadjust" flag to strip off leading
whitespace.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]