Subject: Re: bug#12972: 24.3.50; Move `org-open-file' and associated code out of Org mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 01 Jun 2021 08:56:19 +0200

"Drew Adams" <[email-masked]> 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