[MlMt] Debugging custom keystrokes (another newbie question)

Benny Kjær Nielsen mailinglist at freron.com
Fri Nov 10 09:55:53 EST 2017


On 7 Nov 2017, at 16:54, Robert Goldman wrote:

> It's quite simple, and it was mostly copied from the manual and from 
> GitHub resources.  This is all it is:
> ```
> {
>     "^@\U000D" = "send:"; // Cmd + Return
>     "^@\U000A" = "send:"; // Cmd + Enter
>     // spacebar like Thunderbird
>     " " = "scrollPageDownOrNextUnreadMessage:";
>     // tag commands
>     "t" = {
> 	"p" = ( "setTag:", "Primrose" );
>         };
> }
> ```
>
> and it's in a file called `rpg-bindings.plist` in 
> `~/Library/Application Support/MailMate/Resources/KeyBindings/`

Ok, I had not problems with this file.

> When I try using the `t-p` combination in the messages window, it 
> seems like some other keybinding interfere, and I get a thread display 
> (I believe this is coming from the Postbox bindings).

Yes, if you switch the order of the files then it should work. Note, 
that by default `t` is already taken by a setting in the Tags 
preferences pane, but apparently you have changed/disabled that.

> When I try Cmd + Return in a compose buffer, I just get a beep.

The key binding above is Ctrl + Cmd + Return. Maybe that's the problem?

> I have probably just done something obvious and stupid, but I can't 
> for the life of me figure out what... I don't even know how to tell if 
> my file is failing to parse (although `plutil` says it is OK), or if 
> the file is simply never being read.

As promised MailMate now logs when loading/parsing fails.

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20171110/29b3fcd9/attachment-0001.html>


More information about the mailmate mailing list