[MlMt] Colours

Mark Wadham mailmate at rkw.io
Wed Jun 29 10:09:49 EDT 2016


On 29 Jun 2016, at 15:06, Benny Kjær Nielsen wrote:
> Yes, but it's a bit complicated. You have to set multiple keywords as 
> if they were bits. It is best illustrated with the key bindings in 
> MailMate:
>
> ~~~
> "F" = {
> 	"0" = ( "removeTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", 
> "removeTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
> 	"1" = (    "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", 
> "removeTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
> 	"2" = (    "setTag:", "\\Flagged",    "setTag:", "$MailFlagBit0", 
> "removeTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
> 	"3" = (    "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0",    
> "setTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
> 	"4" = (    "setTag:", "\\Flagged",    "setTag:", "$MailFlagBit0",    
> "setTag:", "$MailFlagBit1", "removeTag:", "$MailFlagBit2" );
> 	"5" = (    "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0", 
> "removeTag:", "$MailFlagBit1",    "setTag:", "$MailFlagBit2" );
> 	"6" = (    "setTag:", "\\Flagged",    "setTag:", "$MailFlagBit0", 
> "removeTag:", "$MailFlagBit1",    "setTag:", "$MailFlagBit2" );
> 	"7" = (    "setTag:", "\\Flagged", "removeTag:", "$MailFlagBit0",    
> "setTag:", "$MailFlagBit1",    "setTag:", "$MailFlagBit2" );
> };
> ~~~
>
> (This is compatible with Apple Mail.)

*blink* wat?


More information about the mailmate mailing list