[MlMt] search for different Flags

Gary Hull YH82d7dfU at yandex.com
Sun Jul 10 22:37:23 EDT 2016


To change the flag colors you have to use the fussy Shift-F, release, 
press number process. Is there any way to change them so that a quicker 
and easier keyboard shortcut could be used, such as a function key, or 
at least a non-shifted lowercase f?

On 29 May 2016, at 17:10, Benny Kjær Nielsen wrote:

> 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 at lists.freron.com
> https://lists.freron.com/listinfo/mailmate


More information about the mailmate mailing list