<!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:Calibri, Verdana, Arial, "Gil Sans", sans-serif; font-size:11pt'><div style='-ms-text-size-adjust:100%; font-family:sans-serif; text-size-adjust:100%; margin:0; background-color:#fff; color:black; font:13px/1.4 Calxibri, Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; white-space:normal' bgcolor="#ffffff">
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">I have two keyboard macros that I use a lot for this purpose. They aren't exactly what you want, but close.</p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0"><code style='{box-sizing:border-box; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:85%; padding-bottom:0.2em} :after{content:""} :before{content:""}' bgcolor="#f7f7f7">sf</code> selects all messages with the same From.<br style="box-sizing:border-box">
<code style='{box-sizing:border-box; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:85%; padding-bottom:0.2em} :after{content:""} :before{content:""}' bgcolor="#f7f7f7">sr</code> selects all messages with the same Recipient.</p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">Depending on the mailing list, one or the other works. Then, as people have mentioned, you would command-click to unselect the current one. Although usually I do this after reading the message, so I just nuke them all.</p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">I also have <code style='{box-sizing:border-box; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:85%; padding-bottom:0.2em} :after{content:""} :before{content:""}' bgcolor="#f7f7f7">df</code> and <code style='{box-sizing:border-box; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:85%; padding-bottom:0.2em} :after{content:""} :before{content:""}' bgcolor="#f7f7f7">dr</code> commands if I want to delete them all immediately without checking to make sure it selected what I want (<code style='{box-sizing:border-box; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:85%; padding-bottom:0.2em} :after{content:""} :before{content:""}' bgcolor="#f7f7f7">dr</code> in particular can be dangerous).</p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">So in ~/Library/Application Support/MailMate/Resources/KeyBindings/Kee.plist<br style="box-sizing:border-box">
You enable it in Preferences/General under Custom Key Bindings (just put in "Kee", or whatever you call it).</p>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">Here's the file: (discard the parts you don't want).</p>
<pre style='box-sizing:border-box; background-color:#f7f7f7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px; overflow:auto; font-family:monospace, monospace; font-size:1em; font:12px Consolas, "Liberation Mono", Menlo, Courier, monospace; margin-bottom:16px; margin-top:0' bgcolor="#f7f7f7"><code style='{box-sizing:border-box; background-color:#f7f7f7; border-radius:3px; margin:0; padding:0; font-family:Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size:100%; padding-bottom:0.2em; background:transparent; border:0; white-space:pre} :after{content:""} :before{content:""}' bgcolor="#f7f7f7">{
// "r" = ( "replyAll:", "selectAll:", "decreaseQuoteLevel:", "deselectAll:", "moveToBeginningOfDocument:", "insertNewline:", "insertNewline:", "moveToBeginningOfDocument:" );
"r" = ( "addTag:", "HTMLReply", "replyAll:" );
"c" = "collapseThread:";
"e" = "expandThread:";
"j" = "nextMessage:";
"k" = "previousThread:";
"n" = "nextUnreadMessage:";
"p" = "previousUnreadMessage:";
"J" = ( "markAsNotJunk:", "removeTag:", "\\Seen", "moveToMailbox:",'INBOX');
// delete commands
"d" = {
// Delete entire thread
"t" = ( "selectThread:", "deleteMessage:" );
// Delete the thread in the inbox, but leave filed items alone
"i" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.path = 'INBOX'", "deleteMessage:" );
// Delete thread except mail that was mine (I sent)
"m" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.path != 'Sent Messages' and #source.path != 'Sent Items'", "deleteMessage:" );
// Delete thread except the stuff in inbox or sent (other)
"o" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.path != 'INBOX' and #source.path != 'Sent Messages' and #source.path != 'Sent Items'", "deleteMessage:" );
// Delete the subject
"s" = ( "selectWithFilter:", "subject.body = '${subject.body}'", "moveToMailbox:", "trash" );
// Delete by from address
"f" = ( "selectWithFilter:", "from.address = '${from.address}'", "moveToMailbox:", "trash" );
// Delete any mail to this recipient
"r" = ( "selectWithFilter:", "#recipient.address = '${#recipient.address}'", "moveToMailbox:", "trash" );
};
// select commands (good if you aren't sure what the delete in thread action is going to do!)
"s" = {
// Select an entire thread
"t" = "selectThread:";
// Select just the items in the thread that are in my inbox, leaving filed messages alone
"i" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.path = 'INBOX'" );
// Select thread except mail that was mine (I sent)
"m" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.path != 'Sent Messages' and #source.path != 'Sent Items'" );
// Select thread except the stuff in inbox or sent (other)
"o" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.path != 'INBOX' and #source.path != 'Sent Messages' and #source.path != 'Sent Items'" );
// Select the subject
"s" = ( "selectWithFilter:", "subject.body = '${subject.body}'" );
// Select by from address
"f" = ( "selectWithFilter:", "from.address = '${from.address}'" );
// Select any mail to this recipient (warning, I've had this crash MailMate)
"r" = ( "selectWithFilter:", "#recipient.address = '${#recipient.address}'" );
//"m" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and #source.mailto !=[x] \\$SENT.source.mailto" );
// "m" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and from.address !=[x] \\$SENT.from.address" );
};
// FROM SOMEONE "c" = ( "showThread:", "showCorrespondence" );
// Editing commands
// bold selection
"@b" = (selectWord:, setMark:, swapWithMark:, deleteToMark:, insertText:, "**", yank:, insertText:, " ", moveLeft:, insertText:, "**", moveRight:, deleteBackward:);
// italicize selection
"@i" = (selectWord:, setMark:, swapWithMark:, deleteToMark:, insertText:, "_", yank:, insertText:, " ", moveLeft:, insertText:, "_", moveRight:, deleteBackward:);
// typewriterize selection
"@t" = (selectWord:, setMark:, swapWithMark:, deleteToMark:, insertText:, "`", yank:, insertText:, " ", moveLeft:, insertText:, "`", moveRight:, deleteBackward:);
}
</code></pre>
<p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">On 13 Jun 2018, at 7:34, Eric Sharakan wrote:</p>
</div>
<div style='-ms-text-size-adjust:100%; font-family:sans-serif; text-size-adjust:100%; margin:0; background-color:#fff; color:black; font:13px/1.4 Calxibri, Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; white-space:normal' bgcolor="#ffffff"><blockquote style="box-sizing:border-box; border-left:4px solid #ddd; color:#777; margin:0; padding-left:5px; margin-bottom:16px; margin-top:0; margin-left:0; padding:0 15px"><p dir="auto" style="box-sizing:border-box; margin:1em 0; margin-bottom:16px; margin-top:0">Like many folks, I receive periodic mails from certain senders (weekly digest emails, sale info, etc). Is there a way to set up a rule or something that, when looking at a message, I can instruct MM to delete all prior messages from the same sender in the current mailbox?<br style="box-sizing:border-box">
<br style="box-sizing:border-box">
If not, please consider this a feature request. :-)<br style="box-sizing:border-box">
<br style="box-sizing:border-box">
Thanks.<br style="box-sizing:border-box">
<br style="box-sizing:border-box">
-Eric<br style="box-sizing:border-box">
_______________________________________________<br style="box-sizing:border-box">
mailmate mailing list<br style="box-sizing:border-box">
mailmate@lists.freron.com<br style="box-sizing:border-box">
<a href="https://lists.freron.com/listinfo/mailmate" style="box-sizing:border-box; color:#777; text-decoration:none">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote></div>
<div style='-ms-text-size-adjust:100%; font-family:sans-serif; text-size-adjust:100%; margin:0; background-color:#fff; color:black; font:13px/1.4 Calxibri, Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; white-space:normal' bgcolor="#ffffff">
</div>
</div>
</body>
</html>