<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div><div class="markdown">
<p dir="auto">On 30 Nov 2021, at 17:13, Randall Meadows wrote:</p>
<blockquote>
<p dir="auto">I have this keybinding in a custom file:</p>
<p dir="auto">"u" = {<br />
"u" = ( "markAsUnread:", "");<br />
};</p>
<p dir="auto">and it works just fine. I'm trying to create an analog to mark selected messages as READ, without luck; it just beeps at me after the second <code>r</code>. I've tried several things along the lines of</p>
<p dir="auto">"r" = {<br />
"r" = ( "markAsRead:", "");<br />
};</p>
<p dir="auto">with and without that second argument, adding in (or using only) <code>"setTag:", "\\SEEN"</code>; what's the magic voodoo incarnation to get this working?</p>
<p dir="auto">–––––</p>
<p dir="auto">Upon further investigation, I'm now confused on how my w-w command is working, as <code>markAsUnread:</code> is NOT listed in <a href="https://manual.mailmate-app.com/key_binding_selectors.html">https://manual.mailmate-app.com/key_binding_selectors.html</a> . Help?</p>
</blockquote>
<p dir="auto">For what it’s worth, the following variation continues to work for me in 5850:</p>
<p dir="auto">"u" = ( "toggleReadState:" );</p>
<p dir="auto">I know this doesn’t answer your question. It’s just a possible alternative should you want to resort to it. Personally I find it confusing to have two shortcuts for a boolean option; it’s like having two switches on the same lamp, one for on and one for off.</p>
<p dir="auto">Oddly, and possibly relatedly, at least one of my moving and filing key bindings doesn’t work on a Mac where BBEdit has been newly installed. The binding above does work and is in the same plist file, so I know the file is being found correctly. The mail account is the same as on the Mac where the binding works as expected, so it’s not that the mailbox doesn’t exist:</p>
<p dir="auto">// Move to "Waiting"<br />
"w" = ( "moveToMailbox:", "imap://<<em>address</em>>@mail.pobox.com/INBOX/Waiting" );</p>
<p dir="auto">I can press w with a message selected until I grow old and die, and it doesn’t work on this second machine. I’m baffled.</p>
</div></div></body>
</html>