emacs-devel
[Top][All Lists]
Advanced

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

Re: Generic Elisp mechanism to declare file/URI handlers for Emacs


From: Po Lu
Subject: Re: Generic Elisp mechanism to declare file/URI handlers for Emacs
Date: Wed, 20 Sep 2023 17:57:51 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Ihor Radchenko <yantar92@posteo.net> writes:

> AFAIK, this is not the case. At least, for .desktop file on Linux.
> Emacs opens all text/plain documents, but not all text/* documents.
> In addition Emacs opens
>
> text/english;text/x-makefile;text/x-c++hdr;text/x-c++src;
> text/x-chdr;text/x-csrc;text/x-java;text/x-moc;
> text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
>
> which is a closed list. If we have something like, for example,
> text/markdown, it will not be open by Emacs without explicit declaration
> in the .desktop file.

Then maybe that should be fixed, because under Android, Emacs opens all
text/* files.  (Given that Emacs is usually the sole functioning text
editor when installed on Android systems.)

> I thought that mimetypes is the common standard:
> https://www.iana.org/assignments/media-types/media-types.xhtml
> If not, it is indeed a problem.

Does the IANA standard encompass Clojure files?


reply via email to

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