{"id":7613,"date":"2018-11-14T14:00:44","date_gmt":"2018-11-14T19:00:44","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=7613"},"modified":"2018-11-14T14:00:44","modified_gmt":"2018-11-14T19:00:44","slug":"deleting-mail-by-the-page-in-mu4e","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=7613","title":{"rendered":"Deleting Mail by the Page in Mu4e"},"content":{"rendered":"<p>\n\u00c1lvaro Ram\u00edrez is a recent convert to and fan of mu4e. He&rsquo;s been using the system to handle his 4 email accounts for 5 months and is happy with the results. There is a problem though: with 4 email accounts he gets a <i>lot<\/i> of spam. That&rsquo;s mostly going into his spam folder, of course, but he still needs to check for false positives so he occasionally checks the spam folder for misclassified messages.\n<\/p>\n<p>\nThe problem arises because he now has several pages of messages to delete and mu4e doesn&rsquo;t provide a convenient way of deleting whole pages of messages. But, as Ram\u00edrez says, this is Emacs so it&rsquo;s straightforward to add it. Straightforward and easy as it turns out. Take a look at <a href=\"http:\/\/xenodium.com\/#faster-junk-mail-deletion-with-mu4e\">his post<\/a> to see he accomplishes the task with just a few lines of code and the help of Roland Walker&rsquo;s <a href=\"https:\/\/github.com\/rolandwalker\/window-end-visible\">window-end-visible<\/a> package.\n<\/p>\n<p>\nIf you&rsquo;re an <a href=\"https:\/\/github.com\/skeeto\/elfeed\">elfeed<\/a> user\u2014and you should be\u2014you may be interested in some similar code that he uses to mark entire pages of elfeed entries as <code>Read<\/code>. I&rsquo;m not sure of his use case for that but if you&rsquo;re interested, <a href=\"http:\/\/xenodium.com\/#faster-elfeed-browsing-with-paging\">here it is<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00c1lvaro Ram\u00edrez is a recent convert to and fan of mu4e. He&rsquo;s been using the system to handle his 4 email accounts for 5 months and is happy with the results. There is a problem though: with 4 email accounts &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=7613\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-7613","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7613"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7613\/revisions"}],"predecessor-version":[{"id":7614,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/7613\/revisions\/7614"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}