[MlMt] Keyboard Shortcut to Moveto/GoTo Source Mailboxes

2013-11-13 Thread Will Styler
I've always been a mutt user, mostly for keyboardyness, and have decided to 
give MailMate a try seeing the IndieGogo campaign.  I love that most of the 
shortcuts I love already work One part of the configuration though has me 
stumped.  I'd like to set it up such that typing "cd" brings me to my ToDo 
folder, "cm" to Temp, etc, and equivalent, "sd" moves a message to my ToDo 
folder, "sm" to Temp, etc.

I know that the relevant portion of my KeyBindings file needs to look like:

// Combo keys
"c" = {
"d" = ( "goToMailbox:", "ToDo" );
"i" = ( "goToMailbox:", "INBOX" );
"s" = ( "goToMailbox:", "Sent Items );
"t" = ( "goToMailbox:", "Trash" );
"m" = ( "goToMailbox:", "Temp" );
"j" = ( "goToMailbox:", "Junk Mail" );
};

"s" = {
"d" = ( "moveToMailbox:", "ToDo" );
"i" = ( "moveToMailbox:", "INBOX" );
"m" = ( "moveToMailbox:", "Temp" );
"r" = ( "moveToMailbox:", "Receipts2013" );
"n" = ( "moveToMailbox:", "Junk Mail/NotSpam" );
"y" = ( "moveToMailbox:", "Junk Mail/Spam" );
};

And in fact, it works for Inbox.  And I can use the big long UUID for any of 
the top mailboxes (although saving to them doesn't work).  What I'm struggling 
with is how to make these shortcuts open (or save to) the mailboxes listed 
under my IMAP account's name under "SOURCES".  I've tried "Temp", "/Temp", 
"ProviderName/Temp", and nothing works.

Help!  Thanks!

Will


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Keyboard Shortcut to Moveto/GoTo Source Mailboxes

2013-11-13 Thread Steve Mayer

Will,

  If I'm not mistaken, you need to use the full imap:// string when 
naming mailboxes in the keybindings:



"m" = ( "moveToMailBox:", "imap:///Temp" );

I could be completely wrong, but this is what works for me.

--
Steve Mayer
smaye...@me.com

On 13 Nov 2013, at 8:58, Will Styler wrote:

I've always been a mutt user, mostly for keyboardyness, and have 
decided to give MailMate a try seeing the IndieGogo campaign.  I love 
that most of the shortcuts I love already work One part of the 
configuration though has me stumped.  I'd like to set it up such that 
typing "cd" brings me to my ToDo folder, "cm" to Temp, etc, and 
equivalent, "sd" moves a message to my ToDo folder, "sm" to Temp, etc.


I know that the relevant portion of my KeyBindings file needs to look 
like:


// Combo keys
"c" = {
"d" = ( "goToMailbox:", "ToDo" );
"i" = ( "goToMailbox:", "INBOX" );
"s" = ( "goToMailbox:", "Sent Items );
"t" = ( "goToMailbox:", "Trash" );
"m" = ( "goToMailbox:", "Temp" );
"j" = ( "goToMailbox:", "Junk Mail" );
};

"s" = {
"d" = ( "moveToMailbox:", "ToDo" );
"i" = ( "moveToMailbox:", "INBOX" );
"m" = ( "moveToMailbox:", "Temp" );
"r" = ( "moveToMailbox:", "Receipts2013" );
"n" = ( "moveToMailbox:", "Junk Mail/NotSpam" );
"y" = ( "moveToMailbox:", "Junk Mail/Spam" );
};

And in fact, it works for Inbox.  And I can use the big long UUID for 
any of the top mailboxes (although saving to them doesn't work).  What 
I'm struggling with is how to make these shortcuts open (or save to) 
the mailboxes listed under my IMAP account's name under "SOURCES".  
I've tried "Temp", "/Temp", "ProviderName/Temp", and nothing works.


Help!  Thanks!

Will
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Keyboard Shortcut to Moveto/GoTo Source Mailboxes

2013-11-13 Thread Will Styler
Steve,

Thanks for the quick response.  Unfortunately, I can't seem to get that to 
work.  I've tried:

"m" = ( "goToMailbox:", "imaps://mail.server.com/INBOX/Temp" );
"m" = ( "goToMailbox:", 
"imaps://mail.server.com:993/INBOX/Temp" );
"m" = ( "goToMailbox:", "imaps://mail.server.com/Temp" );

And none appear to resolve.  Any further advice?  Am I missing something silly? 

Thanks,

Will



On 13 Nov 2013, at 10:07, Steve Mayer wrote:

> Will,
>
> If I'm not mistaken, you need to use the full imap:// string when naming 
> mailboxes in the keybindings:
>
>
>   "m" = ( "moveToMailBox:", "imap:///Temp" );
>
> I could be completely wrong, but this is what works for me.
>
> -- 
> Steve Mayer
> smaye...@me.com
>
> On 13 Nov 2013, at 8:58, Will Styler wrote:
>
>> I've always been a mutt user, mostly for keyboardyness, and have decided to 
>> give MailMate a try seeing the IndieGogo campaign.  I love that most of the 
>> shortcuts I love already work One part of the configuration though has me 
>> stumped.  I'd like to set it up such that typing "cd" brings me to my ToDo 
>> folder, "cm" to Temp, etc, and equivalent, "sd" moves a message to my ToDo 
>> folder, "sm" to Temp, etc.
>>
>> I know that the relevant portion of my KeyBindings file needs to look like:
>>
>>  // Combo keys
>>  "c" = {
>>  "d" = ( "goToMailbox:", "ToDo" );
>>  "i" = ( "goToMailbox:", "INBOX" );
>>  "s" = ( "goToMailbox:", "Sent Items );
>>  "t" = ( "goToMailbox:", "Trash" );
>>  "m" = ( "goToMailbox:", "Temp" );
>>  "j" = ( "goToMailbox:", "Junk Mail" );
>>  };
>>
>>  "s" = {
>>  "d" = ( "moveToMailbox:", "ToDo" );
>>  "i" = ( "moveToMailbox:", "INBOX" );
>>  "m" = ( "moveToMailbox:", "Temp" );
>>  "r" = ( "moveToMailbox:", "Receipts2013" );
>>  "n" = ( "moveToMailbox:", "Junk Mail/NotSpam" );
>>  "y" = ( "moveToMailbox:", "Junk Mail/Spam" );
>>  };
>>
>> And in fact, it works for Inbox.  And I can use the big long UUID for any of 
>> the top mailboxes (although saving to them doesn't work).  What I'm 
>> struggling with is how to make these shortcuts open (or save to) the 
>> mailboxes listed under my IMAP account's name under "SOURCES".  I've tried 
>> "Temp", "/Temp", "ProviderName/Temp", and nothing works.
>>
>> Help!  Thanks!
>>
>> Will
>> ___
>> mailmate mailing list
>> mailmate@lists.freron.com
>> http://lists.freron.com/listinfo/mailmate
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Keyboard Shortcut to Moveto/GoTo Source Mailboxes

2013-11-13 Thread Benny Kjær Nielsen

On 14 Nov 2013, at 1:44, Will Styler wrote:

Thanks for the quick response.  Unfortunately, I can't seem to get 
that to work.  I've tried:


"m" = ( "goToMailbox:", "imaps://mail.server.com/INBOX/Temp" );
"m" = ( "goToMailbox:", 
"imaps://mail.server.com:993/INBOX/Temp" );
"m" = ( "goToMailbox:", "imaps://mail.server.com/Temp" );

And none appear to resolve.  Any further advice?  Am I missing 
something silly?


No, it's tricky. It's documented 
[here](http://manual.mailmate-app.com/custom_key_bindings#special_actions) 
but not very well. The best you can do is to simply see how the IMAP 
account name is encoded here:


~/Library/Application Support/MailMate/Messages/IMAP/

And it's always `imap:`, for example:

imap://usern...@mail.server.com/INBOX/Temp

or if the username itself contains a `@` then it'll be something like:

imap://user%40server@mail.server.com/INBOX/Temp

Creating custom key bindings is a low level feature and this would of 
course be much easier if it had some kind of GUI (no plans to do so 
though). In this particular case, configuring a shortcut to go to a 
particular mailbox is on the todo as part of some planned changes for 
the mailbox editor.


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


Re: [MlMt] Keyboard Shortcut to Moveto/GoTo Source Mailboxes

2013-11-14 Thread Will Styler
Benny,

Thank you very much, I've got it working now.  I definitely understand that 
keybindings are a particularly geeky thing, but it's the reason why Mailmate is 
about to win me away from Mutt after many years (which is HARD to do). GUI 
isn't really necessary, as everything else has been easily configured, but a 
more standard hook for keybinding to account mailboxes (SourceName/Boxname?) 
would have made the transition much easier, as well as some method for 
debugging keystrokes (as I've listened to a lot of beeps in the last few days, 
only to realize that I'd double-assigned something, etc.).

Would you be receptive to a few further suggestions for bindable actions?

Thanks!

Will


On 14 Nov 2013, at 0:33, Benny Kjær Nielsen wrote:

> On 14 Nov 2013, at 1:44, Will Styler wrote:
>
>> Thanks for the quick response.  Unfortunately, I can't seem to get that to 
>> work.  I've tried:
>>
>>  "m" = ( "goToMailbox:", "imaps://mail.server.com/INBOX/Temp" );
>>  "m" = ( "goToMailbox:", 
>> "imaps://mail.server.com:993/INBOX/Temp" );
>>  "m" = ( "goToMailbox:", "imaps://mail.server.com/Temp" );
>>
>> And none appear to resolve.  Any further advice?  Am I missing something 
>> silly?
>
> No, it's tricky. It's documented 
> [here](http://manual.mailmate-app.com/custom_key_bindings#special_actions) 
> but not very well. The best you can do is to simply see how the IMAP account 
> name is encoded here:
>
>   ~/Library/Application Support/MailMate/Messages/IMAP/
>
> And it's always `imap:`, for example:
>
>   imap://usern...@mail.server.com/INBOX/Temp
>
> or if the username itself contains a `@` then it'll be something like:
>
>   imap://user%40server@mail.server.com/INBOX/Temp
>
> Creating custom key bindings is a low level feature and this would of course 
> be much easier if it had some kind of GUI (no plans to do so though). In this 
> particular case, configuring a shortcut to go to a particular mailbox is on 
> the todo as part of some planned changes for the mailbox editor.
>
> -- 
> Benny
> http://freron.com/crowdfund2014
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Keyboard Shortcut to Moveto/GoTo Source Mailboxes

2013-11-14 Thread Benny Kjær Nielsen

On 14 Nov 2013, at 17:38, Will Styler wrote:

Thank you very much, I've got it working now.  I definitely understand 
that keybindings are a particularly geeky thing, but it's the reason 
why Mailmate is about to win me away from Mutt after many years (which 
is HARD to do). GUI isn't really necessary, as everything else has 
been easily configured, but a more standard hook for keybinding to 
account mailboxes (SourceName/Boxname?) would have made the transition 
much easier,


Yes, this is why I would like to put it in the mailbox editor (which is 
currently work-in-progress).


as well as some method for debugging keystrokes (as I've listened to a 
lot of beeps in the last few days, only to realize that I'd 
double-assigned something, etc.).


Yes, but it's not straightforward how to do that (without using more 
work than it would require to make a GUI for keybindings).


Would you be receptive to a few further suggestions for bindable 
actions?


Yes.

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