[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68687: [PATCH v2] Use text/org media type
From: |
Max Nikulin |
Subject: |
bug#68687: [PATCH v2] Use text/org media type |
Date: |
Fri, 2 Feb 2024 23:28:17 +0700 |
User-agent: |
Mozilla Thunderbird |
I am sending an updated version of the patch, earlier I missed one
occurrence of text/org.
I am leaving it up to you the decision concerning mailcap.el.
On 02/02/2024 14:09, Stefan Kangas wrote:
So why not:
1. Add support for _receiving_ "text/org" in Emacs 30
2. Wait with _sending_ "text/org" until it is formally accepted by IANA
I do not mind. I just do not see real reasons to do so taking into
account applicaion/vnd.lotus-organizer in Emacs and text/org in XDG.
Create ~/.mime.types. Debian's variant suggests it in the
/etc/mime.types header.
Is that documented somewhere in our documentation?
Likely it is not. It is documented in man pages for various tools. In
Emacs-27 mailcap.el was severely broken, so I do not expect detailed
documentation.
Yes, that would be best. While waiting for that to happen, why not do
what I proposed (override it unconditionally in Emacs)? It should be
more useful for Emacs users, if nothing else.
It has happened so that I has spent some time reading Python bug tracker
concerning their mimetypes module. I suggest against doing it
unconditionally. Give users controls what sources should be used and
what priority each source should have (application internal mapping,
system-wide configuration files, user configuration files, Windows
registry, XDG files as possible future improvement). Inconsistencies are
not uncommon, updates of the IANA registry are applied with different pace.
Taking a step back, how sure are we that IANA will accept this? Do they
typically accept taking over a previous designation?
An alternative is to negotiate with maintainers of mime.types in RedHat
and Debian. My first impression is that in the case of Debian it may
take enough time before any reaction. I am unsure as well that IANA will
agree to change media type for .org without approval from IBM.
v2-0001-Use-text-org-media-type.patch
Description: Text Data