[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12972: 24.3.50; Move `org-open-file' and associated code out of Org
From: |
Lars Ingebrigtsen |
Subject: |
bug#12972: 24.3.50; Move `org-open-file' and associated code out of Org mode |
Date: |
Tue, 01 Jun 2021 08:56:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Drew Adams" <drew.adams@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
- bug#12972: 24.3.50; Move `org-open-file' and associated code out of Org mode,
Lars Ingebrigtsen <=