On 26 Jun 2011, at 11:50, Thomas Grundberg wrote: >> transformation = "($ALL_MESSAGES xor $SENT).filter(#thread-id =[c] >> ($mainOutline and $MAILING_LISTS).#thread-id) or >> $ALL_MESSAGES.filter(#thread-id =[c] ($mainOutline and ($ALL_MESSAGES >> xor $MAILING_LISTS)).#thread-id)"; > > Holy cow! Is this documented anywhere? I?m aware that Mailmate?s > help says ?For now, the examples and the comments within them are > the only documentation.?
No, both the query language and the layout file format is undocumented. The query language is used extensively within MailMate, for example, all mailboxes (including IMAP mailboxes) are based on queries. Most of the query language is available in the GUI when doing mailbox searches (or defining smart mailboxes). An important exception is the ?xor? used above. Note that when creating a smart mailbox, the corresponding query can be derived from the value of the filter key stored in ~/Library/Application Support/MailMate/Mailboxes.plist. Part of the reason these things are undocumented is that they are still evolving. In particular, the layout file format is subject to change. But questions are welcome if you have some special needs. -- Benny