Re: [MlMt] New bindings, extensibility and a thanks

2016-05-29 Thread Benny Kjær Nielsen

On 29 May 2016, at 6:22, Mike Petonic wrote:

I just bought an additional license of MailMate, as well. Please take 
a friend out to Ruby and have a drink on me.


Thanks for the support! [Ruby](https://rby.dk/about-ruby/) is a great 
place if one knows when to stop ;)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] search for different Flags

2016-05-29 Thread Benny Kjær Nielsen

On 28 May 2016, at 22:17, Stephan Bösebeck wrote:

It's cool, that you can easily switch on a flag by hitting `Shift-F` 
0-9, so there needs to be some kind of support for searching it 
somewhere - I just did not find it yet.


Flags are implemented using IMAP keyword “bits”. A clever solution 
by Apple, but MailMate currently doesn't have an easy way to do colored 
flag searches. You can only do it by searching for the corresponding set 
of bits. Here are the F keybindings:


"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" );

};

Implicitly, they also tell you what to search for, e.g., F2, means that 
`$MailFlagBit0` is enabled and `$MailFlagBit1`/`$MailFlagBit2` are 
disabled.


I hope that helps.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate