[MlMt] Custom key binding: mark all messages in Junk as read

Benny Kjær Nielsen mailinglist at freron.com
Mon Aug 12 11:06:41 EDT 2013


On 12 Aug 2013, at 11:18, Torsten Grust wrote:

> is the following custom key binding expected to work?

Yes, but it doesn't :-) Your observations are correct.

> 	/* Mark all messages in Junk folder as read */
> 	"^j" = ( "goToMailbox:", "JUNK",
> 			 "selectWithFilter:", "#flags.flag !=[x] '\\Seen'",
> 			 "setTag:", "\\Seen" );

I'll look into fixing it, but it's part of systemic bug which means I'll 
need to be careful not to break other things.

In this particular case, it'll work in the latest test release if you do 
it like this:

	"^j" = ( "goToMailbox:", "JUNK",
			 "mailboxSetTag:", "\\Seen" );

Hmm, it is probably also going to work in the official version of 
MailMate if you insert this in your example before setting the tag:

	"makeFirstResponder:", "mainOutline",

-- 
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20130812/9f9ac45a/attachment.html>


More information about the mailmate mailing list