[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in 9.5.3 org--file-default-apps
From: |
Ihor Radchenko |
Subject: |
Re: Bug in 9.5.3 org--file-default-apps |
Date: |
Wed, 25 May 2022 14:10:25 +0800 |
Craig STCR <craig.stcr1@gmail.com> writes:
> On 5/20/22 9:44 PM, Ihor Radchenko wrote:
>> However, I am not sure what to do on Windows/Mac.
> Maybe try a quick-and-dirty, cross-platform solution that checks
> non-binary files for a first-line shebang? Could use existing Emacs
> hooks that determine major-mode when opening files.
Good idea. Currently, Org only supports auto-mode-alist (see
org-file-apps docstring) checking the filename. I think that the same
option can be extended to use magic-mode-alist and such.
I will leave it for others to implement. Patches are welcome!
Best,
Ihor
- Re: [PATCH] Re: Bug in 9.5.3 org--file-default-apps, (continued)
- Re: Bug in 9.5.3 org--file-default-apps, Craig STCR, 2022/05/23
- Re: Bug in 9.5.3 org--file-default-apps, Craig STCR, 2022/05/23
- Re: Bug in 9.5.3 org--file-default-apps, Craig STCR, 2022/05/23
- Re: Bug in 9.5.3 org--file-default-apps, Craig STCR, 2022/05/23
- Re: Bug in 9.5.3 org--file-default-apps, Ihor Radchenko, 2022/05/25
- Re: Bug in 9.5.3 org--file-default-apps, Max Nikulin, 2022/05/23
- Re: Bug in 9.5.3 org--file-default-apps, Ihor Radchenko, 2022/05/25
- Re: Bug in 9.5.3 org--file-default-apps, Craig STCR, 2022/05/25
- Re: Bug in 9.5.3 org--file-default-apps,
Ihor Radchenko <=
- Message not available
- Message not available
- Re: Bug in 9.5.3 org--file-default-apps, Craig STCR, 2022/05/16
- Re: Bug in 9.5.3 org--file-default-apps, Ihor Radchenko, 2022/05/18