Ponymail has two rendering modes: 'modern' seems to wrap all text and
squash whitespace, and 'legacy' preserves the formatting of the
original email.

I would prefer to use 'modern', since many people (and their email
clients) don't wrap long paragraphs properly. But 'modern' flattens
paragraphs that have been carefully indented by hand, such as the
following code example (see [1]):

  final public String NonReservedKeyWord() throws ParseException {
    if (jj_2_1116(2)) {
      NonReservedKeyWord0of3();
    } else if (jj_2_1117(2)) {
      NonReservedKeyWord1of3();
    ...

Has someone considered a 'hybrid' rendering mode that wraps paragraphs
like 'modern' mode only if they are not preceded by whitespace? That
seems to be the behavior of many modern email clients, such as gmail,
and would be popular with those of us who include code fragments in
our email discussions.

Julian

[1] https://lists.apache.org/thread/p9gm08w9s9b9xdc767ggxgpp98sk7l5v

Reply via email to