<div class="markdown">
<p dir="auto">On 4 Dec 2013, at 15:09, Kee Hinckley wrote:</p>
<p dir="auto">There is no documentation. Mostly because the query language was primarily intended for internal use in MailMate, but it “leaks” into some of the low level customizations.</p>
<blockquote>
<p dir="auto">In particular, the difference between =[x] and =[c]? But anything would be helpful!</p>
</blockquote>
<p dir="auto">It's two different things and actually there are 3:</p>
<ul>
<li><code>c</code> for case sensitive.</li>
<li><code>x</code> for eXclusive</li>
<li><code>a</code> for all body parts</li>
</ul>
<p dir="auto">Exclusive (x) is used to say that the condition should be true for all values which is important for multi-value headers, in particular, for negated comparisons (!=).</p>
<blockquote>
<p dir="auto">I'm trying to constructor a selector for messages that aren't from me. The <code>Personal Inbox</code> example uses:</p>
<pre><code>filter = "#recipient.address = $SENT.from.address";
</code></pre>
</blockquote>
<p dir="auto">Yes, the translation is “one of the recipients of a message must be one of the senders in the universal Sent Messages mailbox”.</p>
<blockquote>
<p dir="auto">for messages which <em>are</em> to me. Unread messages uses:</p>
<pre><code>filter = "#flags.flag !=[x] '\\Seen'";
</code></pre>
<p dir="auto">to exclude anything containing a tag.</p>
</blockquote>
<p dir="auto">Yes, the translation is “No flag/tag/keyword of the message is allowed to be Seen”. Without the <code>x</code> then it would be enough if just one flag/tag/keyword was not Seen.</p>
<blockquote>
<p dir="auto">So I would guess that it should be something like:</p>
<pre><code>$SENT.from.address !=[x] from.address
</code></pre>
<p dir="auto">except that crashes MailMate, so I guess not! :)</p>
</blockquote>
<p dir="auto">MailMate does not like invalid queries :-) If I understand you correctly then you should have done like this:</p>
<pre><code>from.address !=[x] $SENT.from.address
</code></pre>
<p dir="auto">The sender of the message must not be equivalent to any of the Sent Messages senders.</p>
<p dir="auto">-- <br>
Benny</p>
</div>