#282 accepted
Tai-Chung Huang

Key Bindings cannot be changed

Reported by Tai-Chung Huang | September 11th, 2012 @ 11:49 PM

Hi Benny,

I followed the manual to set up my own keybinding list in "~/Library/Application Support/MailMate/Resources/KeyBindings/" and enabled it in the Preferences (General pane) by prioritizing it before "Gmail". But MailMate does not take my setting. Instead, it still goes with Gmail.plist. Any suggestion?

Thanks,

Tai

Comments and changes to this ticket

  • benny

    benny September 12th, 2012 @ 06:20 AM

    • State changed from “new” to “accepted”

    Maybe MailMate cannot parse your file. Unfortunately there is no visual feedback for that, but you can take a look in Console.app for any output from MailMate. Although a quick look at the code tells me that it'll probably quietly fail. I'll take that as an implicit feature request :-)

    You can attach your file to this ticket and I'll try it out myself.

  • Tai-Chung Huang

    Tai-Chung Huang September 13th, 2012 @ 02:41 AM

    In my own keybindings file "taikeybinding.plist" (as attached), I changed almost nothing from Gmail.plist except that the first item "c" = "newMessage" was changed to "q" = "newMessage". Just for a simple. It did not work.
    Thanks, Tai

  • benny

    benny September 13th, 2012 @ 10:46 AM

    Ok, it worked for me. To be specific:

    1. In the preferences I have: “taikeybinding, Gmail”.
    2. I copied the file to /Users/<username>/Library/Application Support/MailMate/Resources/KeyBindings/

    Please check that you have the same.

  • Tai-Chung Huang

    Tai-Chung Huang September 13th, 2012 @ 05:40 PM

    I confirmed I did the same steps (1. & 2. above) like you, and it does not work for me. What do you need to proceed the troubleshooting?

  • benny

    benny September 13th, 2012 @ 07:19 PM

    I would like to verify once more that settings are correct. Could you do the following in the Terminal:

    defaults read com.freron.MailMate | grep MmCustomKeyBindings 
    ls ~/Library/Application\ Support/MailMate/Resources/KeyBindings/
    

    If that does not show what is wrong then the next step is probably a debug version of MailMate.

  • Tai-Chung Huang

    Tai-Chung Huang September 13th, 2012 @ 10:24 PM

    I executed those two lines you gave and this is what Terminal shows:

    tcgneh_:~ mac$ defaults read com.freron.MailMate | grep MmCustomKeyBindings

    MmCustomKeyBindingsEnabled = 1;
    

    tcgneh_:~ mac$ ls ~/Library/Application\ Support/MailMate/Resources/KeyBindings/
    taikeybinding.plist

  • benny

    benny September 14th, 2012 @ 06:27 AM

    Ok, something is wrong. I also get:

    MmCustomKeyBindingsName = "taikeybinding, Gmail";
    

    I think maybe it is all related to the changes in the text field for this setting not being committed. That might not happen if just closing the window or changing preferences pane without first hitting the “Enter” key.

    In any case, you should be able to make it work by doing the following (but first try the GUI again):

    defaults write com.freron.MailMate MmCustomKeyBindingsName "taikeybinding, Gmail"
    

    Restart MailMate after doing the above.

  • Tai-Chung Huang

    Tai-Chung Huang September 14th, 2012 @ 11:18 AM

    You are right and I appreciate you help. Now self-made key bindings work! I think I know why things went awry:

    Although I checked the box to enable "Custom Key Bindings", I forgot to hit the Enter key to make the items selected (i.e., shaded in the blue shadow). Instead, "taikeybinding, Gmail" were not selected. So MailMate couldn't take my input.

    Now, I have been able to add my own keywords and toggle them! Beautiful!

    Now what I am going to do is to recommend this wonderful email client to my friends using mac.

    Thanks a bunch, Benny.

  • benny

    benny September 14th, 2012 @ 11:24 AM

    I'm glad we found the problem. I'll keep this ticket open for fixing this: Automatically end editing of the text field when leaving the preferences window (changing focus).

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Attachments

Pages