{"id":11906,"date":"2024-01-14T11:58:12","date_gmt":"2024-01-14T16:58:12","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=11906"},"modified":"2024-01-14T11:58:12","modified_gmt":"2024-01-14T16:58:12","slug":"browsing-in-emacs","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=11906","title":{"rendered":"Browsing In Emacs"},"content":{"rendered":"<p>\nNorman Walsh has an interesting post in which he discusses discovering <a href=\"https:\/\/so.nwalsh.com\/2024\/01\/09-emacs\">browsing in Emacs<\/a>. More specifically, he discovered how to follow a link in an Email and have the result displayed in Emacs. He&rsquo;s using WebKit with Xwidgets so that means more than just using EWW.\n<\/p>\n<p>\nIn his setup, which judging from the screenshot is on a Mac, typing return on a link in an email renders the link in HTML in the Emacs buffer. He doesn&rsquo;t say what email client he&rsquo;s using but with mu4e, which I use, that doesn&rsquo;t happen. Rather, the link opens in the browser. At first I thought that I must have some sort of configuration item causing the difference but I couldn&rsquo;t find anything. In any event, it doesn&rsquo;t matter for mu4e because if it detects you have Xwidgets installed it will automatically include a binding (<code>ax<\/code>) to render the email in HTML. From there, you can follow any other links by clicking on them.\n<\/p>\n<p>\nThat&rsquo;s pretty nice, but it gets better. I also have <a href=\"https:\/\/github.com\/fritzgrabo\/elfeed-webkit\">elfeed-webkit<\/a> installed so that I can read my elfeed RSS entries in HTML as well. What actually happens is that elfeed-webkit follows the source link in the RSS and renders it in HTML. You can configure it to automatically include or exclude specific sites if you need to.\n<\/p>\n<p>\nThe takeaway from all this is that it&rsquo;s possible to render emails, elfeed entries, and various other links in HTML directly in an Emacs buffer. Walsh discovered one aspect of a much larger field of possibilities. Emacs has gotten pretty good at handling HTML <i>within Emacs<\/i>. There are still a few dark corners but things are getting better and better. I&rsquo;m looking forward to the day I can finally ditch my browser.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Norman Walsh has an interesting post in which he discusses discovering browsing in Emacs. More specifically, he discovered how to follow a link in an Email and have the result displayed in Emacs. He&rsquo;s using WebKit with Xwidgets so that &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=11906\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-11906","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\/11906","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=11906"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11906\/revisions"}],"predecessor-version":[{"id":11907,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11906\/revisions\/11907"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}