[MlMt] Column customization works intermittantly

Benjamin Coddington bcodding at redhat.com
Wed May 11 08:15:09 EDT 2016


On 11 May 2016, at 4:08, Benny Kjær Nielsen wrote:

> On 9 May 2016, at 20:00, Benjamin Coddington wrote:
>
>> Hi list, I'm new here.
>
> Welcome. And sorry about the late response.
>
>> I'm using MailMate 1.9.4 (5234), and it is very helpful for me to be 
>> able view a column that shows either a message's list-id header, or a 
>> concatenation of some headers from bugzilla.  I do that with the 
>> following file:
>>
>> ...
>>
>> 	formatString = 
>> "${list-id.identifier}${X-Bugzilla-Status:+${X-Bugzilla-Status} for 
>> ${X-Bugzilla-Assigned-To}}";
>>
>> ...
>>
>> The list_bz_meta is the column I'd like to use.  This column always 
>> functions as expected for some period of time after starting MailMate 
>> (an hour or so), however at some point it will transition to a state 
>> where it will not show any text for newly arriving messages.  
>> Restarting MailMate fixes it up again.
>
> You are using several values in the format string. Does it make a 
> difference which one you would expect to provide a value? I mean, can 
> you reduce the problem to involve `list-id.identifier` and/or one of 
> the other values?

Ah, yes - I should have provided this info.   The list-id.identifier 
value always works.  It is the two BZ headers that start to fail.  
Apologies for leaving this out.

>
>> I've turned up the logging, nothing seems relevant other than: 
>> "Warning: Unknown field parser 'list-id.body'" at startup or when 
>> viewing an outline for a mailbox for the first time.  That message is 
>> still output even if I remove my outlineColumns.plist file entirely.
>
> Hmm, are you sure you are not using this somewhere else? Try this:
>
> 	grep "list-id.body" ~/Library/Application\ 
> Support/MailMate/Mailboxes.plist
> 	grep "list-id.body" ~/Library/Application\ 
> Support/MailMate/Resources/

Yes, I've checked these, (and just checked again to be sure).. I don't 
do any customizations for list-id elsewhere.  I think that output is a 
false trail.

>
> Or maybe this:
>
> 	defaults read com.freron.MailMate | grep 'list-id.body'

Nope.. nothing.

>
>> Any tips about how I might get this column to work reliably?
>
> Based on your description I suspect there is a MailMate bug. I suggest 
> you try to reduce the problem to a single column and header value. 
> Then we can debug off list. (Ideally, I'll be able to reproduce the 
> issue.)

So, it must be something with the two BZ headers.  Maybe I need to write 
a parser for them?   List-id works reliably.

*Ben does more experiments*

It seems those two columns never work for new, incoming messages, but 
they always work for existing messages at startup.  Again, I am tempted 
to write a parser for them.

Ben


More information about the mailmate mailing list