emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should Emacs declare itself as being able to open all the text/* mim


From: Ihor Radchenko
Subject: Re: Should Emacs declare itself as being able to open all the text/* mimetypes?
Date: Wed, 20 Sep 2023 12:38:25 +0000

Po Lu <luangruo@yahoo.com> writes:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> Other source code files might though. For example,
>>
>> $ xdg-mime query filetype src/js.rs 
>> text/rust
>
> RFC6838 does not incorporate text/rust AFAICT.

Indeed. That officially registered mimetype list in
https://www.iana.org/assignments/media-types/media-types.xhtml is rather
limited.

But xdg-mime is still recognizing a number of other types, including
text/x-makefile, which is also not on IANA list.

So, the idea of using the same mimetype for all OSes will not work.
"Standard" it too limited to rely on.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]