{"id":11138,"date":"2023-02-09T10:41:44","date_gmt":"2023-02-09T15:41:44","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=11138"},"modified":"2023-02-09T10:41:44","modified_gmt":"2023-02-09T15:41:44","slug":"finding-the-link-to-an-org-attach-file","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=11138","title":{"rendered":"Finding The Link To An Org Attach File"},"content":{"rendered":"<p>Matus Goljer (Fuco1), whose work I\u2019ve written about many times before, has an interesting post on his <a href=\"https:\/\/fuco1.github.io\/2023-02-08-Visit-the-org-headline-from-the-attach-dired-buffer.html\">use of org-attach<\/a>. The point of the post is a way of automating the finding of the Org headline that points to an attached file. Normally, that\u2019s not a problem because you\u2019re starting with the Org file but occasionally you search for the attached file directly outside of Org and want to find the Org entry that points to it.<\/p>\n<p>To me, the part of the post that resonated the most was that <code>org-attach<\/code> provides a way of avoiding the agonizing decision making that goes into deciding where to store documents in the file hierarchy. In that respect, it sort of reminds me of my email strategy. <a href=\"https:\/\/pragmaticemacs.wordpress.com\/2015\/12\/17\/master-your-inbox-with-mu4e-and-org-mode\/\">Following Ben Maughan<\/a>, I store all my saved emails in a single flat file and use the excellent <a href=\"https:\/\/www.emacswiki.org\/emacs\/mu4e\">mu4e<\/a> search capability to find them. It really is far superior to trying to figure out where in a complex file hierarchy the email belongs.<\/p>\n<p>The same is true in storing a file related to an Org file heading. Rather than trying to figure out the proper place to store it, you simply let Org worry about where it is and use Org\u2019s search and linking capabilities to find it.<\/p>\n<p>Goljer\u2019s post is short and worth a read. It\u2019s another example of how Emacs and Org mode can make your life easier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Matus Goljer (Fuco1), whose work I\u2019ve written about many times before, has an interesting post on his use of org-attach. The point of the post is a way of automating the finding of the Org headline that points to an &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=11138\">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,4],"class_list":["post-11138","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs","tag-org-mode"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11138","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=11138"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11138\/revisions"}],"predecessor-version":[{"id":11139,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11138\/revisions\/11139"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}