"Drew Adams" <drew.ad...@oracle.com> writes: > IIUC, `org-open-file' and its associated code, such as `org-file-apps', > `org-default-apps', and `org-apps-regexp-alist', have nothing > particularly to do with Org mode. They constitute general-purpose code > for opening files using associated programs. Code that uses them > should not need to load the Org code, and this code should be > maintained separately for general use.
`org-open-file' is too Org-specific to move out of Org. But there should be a command to do what it essentially does outside of Org -- that is, use ~/.mailcap to determine what viewer to use. So I've now added this to Emacs 28 under the name `mailcap-view-file'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no