<div class="markdown">
<p>On 13 Apr 2012, at 9:49, Niels Kobschätzki wrote:</p>
<blockquote>
<p>in the Gmail-Key Bindings-list stands the following:</p>
<pre><code>"*" = {
"a" = "selectAll:";
// Make a feature request if you need any/all of the following
// * then n Select none Deselects all mail.
// * then r Select read Selects all mail you've read.
// * then u Select unread Selects all unread mail.
// * then s Select starred Selects all starred mail.
// * then t Select unstarred Selects all unstarred mail.
};
</code></pre>
<p>Is there a way to select all mails in a thread for being able to select easily a thread in the inbox and move it to another one?</p>
</blockquote>
<p>See the “View ▸ Select Thread...” menu item. If you need a custom key binding then the name of the selector is <code>selectThread:</code>.</p>
<blockquote>
<p>And I'd like to select all read mails and deselect all mails.</p>
</blockquote>
<p>I believe <code>deselectAll:</code> should work. Not sure why I didn't add that to the default Gmail key bindings (I've done it now). I'll note the request for “select all read”, but I'm thinking that maybe it should be implemented using a more general solution. Something like “select all messages matching this filter”. Thinking out loud here:</p>
<pre><code>r = ( "selectWithFilter:", "#flags.flag = '\\Seen'");
</code></pre>
<hr>
<p>Benny</p>
</div>