<!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">On 8 Nov 2016, at 16:14, Bill Cole wrote:</p>

<p dir="auto"></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">On 8 Nov 2016, at 8:01, Patrik Fältström wrote:<br>
</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999"><p dir="auto">On 8 Nov 2016, at 18:04, Thomas Eckhold wrote:<br>
</p>
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><p dir="auto">On 8 Nov 2016, at 13:25, Patrik Fältström wrote:<br>
</p>
<blockquote style="border-left:2px solid #777; color:#BBB; margin:0 0 5px; padding-left:5px; border-left-color:#BBB"><p dir="auto">I should have been careful and asked whether moveFromJunk: exists as a Key Binding Selector use like moveToJunk?</p>
</blockquote><p dir="auto">I see. I do not know but moveToJunk is a shorthand for ( 'moveToMailbox:', 'junk' ) so I would guess that moveFromJunk could be achieved with ( 'moveToMailbox:', ‚inbox' ).</p>
</blockquote><p dir="auto">The mail might not have been moved from inbox to junk but some other mailbox, so "back" might not be to inbox.</p>
</blockquote><p dir="auto">There's no persistent history maintained of what mailboxes a message has been in, so there's no way for MM to know where to move a message "back" to. The "Move Out of Junk" menu command & button move a message to INBOX because that's an identifiable non-Junk mailbox that every IMAP account must have.</p>

</blockquote></div>
<div style="white-space:normal">

<p dir="auto">There's no history, but locally MailMate does know the previous (IMAP) location of an email. This is used by “Move Out of Junk”. There's no <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">moveFromJunk:</code> selector, but there is <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">toggleJunkMailbox:</code> which has this behavior when an email is in the Junk mailbox. Alternatively, I believe this should also work:</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"> ... = ( "moveToMailbox:", "previousOrInbox" );
</code></pre>

<p dir="auto">(If a previous mailbox is not known then it moves to the Inbox.)</p>

<p dir="auto">-- <br>
Benny</p>
</div>
</div>
</body>
</html>