Open Jmuccigr opened 8 years ago
The default setting of QF will regard any line with (at least) two hyphens as a signature separator, which—as you already found—may be a bit too liberal for some e-mails.
In the Advanced settings, you can enter a custom regular expression to override the default. Try and see if the following works better for you:
(?i)^\s*--(?: |\s+|\xa0)?$
My impression has always been that signature separators were supposed to be two hyphens followed by a space.
Al Varnell Mountain View, CA
On Mon, Jan 04, 2016 at 11:41 AM, Robert Klep wrote:
The default setting of QF will regard any line with (at least) two hyphens as a signature separator, which—as you already found—may be a bit too liberal for some e-mails.
In the Advanced settings, you can enter a custom regular expression to override the default. Try and see if the following works better for you:
(?i)^\s*--(?: |\s+|\xa0)?$
@alvarnell you're quite right.
However, the number of people that actually know (and therefore use) that construct is, sadly, pretty small.
Just realized by hitting cmd-Z (undo) that QuoteFix is sometimes deleting text in a reply. Here's an example. Before QuoteFix does its thing:
where all the text starting from "Dear John" down to "Let us know..." is quoted by Mail.app.
Here's what results after QuoteFix:
Where the text quoted by Mail.app is reduced to just the first two lines.
The options I have checked for QuoteFix are:
Always remove trailing whitespace, Keep whitespace..., and Remove attachment placeholders. Unchecking them makes no difference. If I check the Remove last occurrence, I get all the text down to the Contact ILL. Checking Don't remove sender's signature solves the problem. This makes me think that QuoteFix is thinking that the line of hyphens indicates the start of the sender's sig.
I'm not sure there's an easy way around this.