[MlMt] stripping in the subject line

Benny Kjær Nielsen mailinglist at freron.com
Tue Nov 25 18:27:31 EST 2014


On 24 Nov 2014, at 22:22, Christopher LILJENSTOLPE wrote:

> I'm seeing a behavior where MM strips capitalized text followed by a : 
> in the subject line (it strips "CR:", for example).  I would assume 
> that's to deal with any RE:, SV:, etc. so that you don't end up with 
> RE: RE: RE....

That is correct. It even handles chinese symbols after this was reported 
as a problem.

It's a bit aggressive to do it like this, but subject lines often become 
very ugly.

> However, it's breaking the poor benighted souls in my company that use 
> Outlook (Outlook threads on Subject line).  We use tags (like CR:) to 
> identify what the e-mail is (for example, "CR: foo" means a report 
> about a call with foo).

Ah, so when you reply then it ruins their threading, because the `CR:` 
is missing. I was mainly concerned about the loss of information when I 
implemented it, but no-one complained until now :-)

> Any chance of having a dictionary of text to strip, rather than a 
> '??:'   ?

That might actually be the best (only) way to solve it. The current 
solution is hardcoded in a settings file (`specifiers.plist`). You can 
change it, but it's not straightforward to do so. I'll note that I 
should somehow make it easily configurable, e.g., with a regular 
expression (it's currently `{Alpha}{2,3}`).

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20141126/53f55292/attachment.html>


More information about the mailmate mailing list