{"id":8883,"date":"2020-05-22T12:38:12","date_gmt":"2020-05-22T16:38:12","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=8883"},"modified":"2020-05-22T12:38:12","modified_gmt":"2020-05-22T16:38:12","slug":"zamansky-72-customizing-elfeed","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=8883","title":{"rendered":"Zamansky 72: Customizing Elfeed"},"content":{"rendered":"<p>Mike Zamansky has a new video up in his <a href=\"https:\/\/cestlaz.github.io\/stories\/emacs\/\">Using Emacs Series<\/a> and an update on his last video (<a href=\"http:\/\/irreal.org\/blog\/?p=8866\">Zamansky 71: Openwith<\/a>). Let\u2019s deal with the update first.<\/p>\n<p>As you\u2019ll recall, the problem Zamansky was trying to solve was being able to open a file in Dired with an external application. He found a solution but then discovered that it interfered with his mail client, mu4e. It turns out that Dired already has a built-in solution although you can be forgiven for not knowing about it. It\u2019s not on the Dired reference card for Emacs 26 and even knowing what it was and the name of the function implementing it, it was still hard to find.<\/p>\n<p>The answer is to press <kbd>W<\/kbd> on a Dired entry to open the file in your default browser. Despite the name of the function, <code>browse-url-of-dired-file<\/code>, it will open any file that the browser can display. That\u2019s exactly the behavior that Zamansky was looking for: problem solved.<\/p>\n<p>The current video documents a <a href=\"https:\/\/cestlaz.github.io\/post\/using-emacs-72-customizing-elfeed\/\">change Zamansky made to the behavior of Elfeed<\/a> and the process he went through to accomplish it. When I\u2019m reading my Elfeed entries, I usually start at the top and go down the list by pressing <kbd>n<\/kbd> after I finish an entry. If the original post\/article looks interesting or offers more information, I may press <kbd>b<\/kbd> to bring it up in my browser. That\u2019s the default behavior of Elfeed.<\/p>\n<p>Zamansky\u2019s workflow is different. He likes to stay in the index and rather than reading the RSS entry, he presses <kbd>b<\/kbd> to open the entry in his browser. When you do that, Elfeed marks the entry as read but many times Zamansky just glances at the entry in the browser with the intention of reading it later. That means he has to mark it as unread so it doesn\u2019t disappear from the index. He wanted to find a way of displaying the entry in the browser but not mark it read.<\/p>\n<p>Most of the video shows the process he went through to discover how to do that. His point is that Emacs makes such discovery fairly easy. He did have a problem with an anaphoric <code>it<\/code> but solved that too with a little experimentation. The takeaway is that you don\u2019t need to be an Emacs internals expert or even an Elisp expert to make Emacs suit your work flow.<\/p>\n<p>Take a look at the video for all the details. It\u2019s about 12 and a quarter minutes so plan accordingly. Also be sure to read his post if you want the details on the update.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mike Zamansky has a new video up in his Using Emacs Series and an update on his last video (Zamansky 71: Openwith). Let\u2019s deal with the update first. As you\u2019ll recall, the problem Zamansky was trying to solve was being &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=8883\">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-8883","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\/8883","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=8883"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8883\/revisions"}],"predecessor-version":[{"id":8884,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8883\/revisions\/8884"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}