<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal"><p dir="auto">Hi Benny,</p>
<p dir="auto">Thanks for your reply, and investing the time to try the key definitions!</p>
<p dir="auto">I'm glad to report the mystery is now solved.  I've used the same key bindings file for years and years, so I felt certain the syntax and definitions had to be correct [1, 2].  When you said there was nothing in MailMate that would override this, I started searching for other possibilities and found the issue: I also use KeyboardMaestro, and some time ago [3], had defined shortcuts to move me to the beginning and end of the message list in MailMate -- using the same keys, because meta-< and meta-> are the Emacs keys for "go to beginning of buffer" and "go to end of buffer", and that was what made sense for my muscle memory.  The KeyboardMaestro keys were overriding the MM keys.</p>
<p dir="auto">Thanks again,<br>
MH</p>
<p dir="auto">[1] I use a largish key bindings file to implement Emacs-like keys in as many application as I can.</p>
<p dir="auto">[2] The use of parens around the key definitions seems to be a valid alternative syntax. Thanks for pointing out the use of double quotes, though; I did try that too just to make sure, before figuring out the KM conflict.</p>
<p dir="auto">[3] I had defined them when I first tried MM long ago and was back then trying to adjust things to work for me, but I stopped for a while and only recently picked up MM again and full converted to using it.  But of course, I forgot what I had done in KM before.</p>
<br><br><p dir="auto">On 3 Jun 2018, at 3:42, Benny Kjær Nielsen wrote:</p>
</div>
<blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><div id="24B2527F-AB70-42E8-80E6-908912FFB5BB">

<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 2 Jun 2018, at 20:33, Mike Hucka wrote:</p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">So, this is interesting.  Most of my key bindings from ~/Library/KeyBindings/DefaultKeyBinding.dict work, but the two that don't seem to act properly are:<br>
<br>
        "~<"    = (moveToBeginningOfDocument:);<br>
        "~>"    = (moveToEndOfDocument:);</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">It might not matter, but to make it less likely to be parsed wrongly I would write:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">"~<"    = "moveToBeginningOfDocument:";
"~>"    = "moveToEndOfDocument:";
</code></pre>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">Is there something special that MailMate does with respect to those two particular functions?</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">Not as far as I can see.</p>

<p dir="auto">I tried reproducing the issue, but I cannot make the key bindings above work at all. (I use ⌘⇡ and ⌘⇣.)</p>

<p dir="auto">I also tried in TextEdit with no success.</p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">What happens is that instead of moving to the beginning/end of the document, they cause the cursor to move to the beginning/end of paragraphs.</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">That does seem to imply that MailMate is involved, but right now I have no idea how.</p>

<p dir="auto">Just for the record, I believe <a href="https://www.hcs.harvard.edu/%7Ejrus/site/cocoa-text.html" style="color:#3983C4">this old resource</a> is still the best one on system key bindings, but you probably already found that one.</p>

<p dir="auto">-- <br>
Benny<br>
<a href="https://freron.com/become_a_mailmate_patron/" style="color:#3983C4">https://freron.com/become_a_mailmate_patron/</a></p>
</div>
</div></div></blockquote>
<div style="white-space:normal"><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px">
</blockquote><blockquote style="border-left:2px solid #5855D5; color:#5855D5; margin:0 0 5px; padding-left:5px"><p dir="auto">_______________________________________________<br>
mailmate mailing list<br>
mailmate@lists.freron.com<br>
<a href="https://lists.freron.com/listinfo/mailmate">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote></div>
</div>
</body>
</html>