Re: bug#68687: [PATCH] Use text/org media type

2024-02-01 Thread Eli Zaretskii
> From: Richard Stallman > Cc: e...@gnu.org, maniku...@gmail.com, 68...@debbugs.gnu.org, > emacs-orgmode@gnu.org, stefankan...@gmail.com > Date: Thu, 01 Feb 2024 22:40:06 -0500 > > > It may or may not depending on user customization `mm-inline-media-tests'. > > Just like with text/html,

Re: bug#68687: [PATCH] Use text/org media type

2024-02-01 Thread Stefan Kangas
Max Nikulin writes: > On 01/02/2024 03:00, Stefan Kangas wrote: >> Max Nikulin writes: >>> +++ b/lisp/net/mailcap.el >>> @@ -989,7 +989,8 @@ (defvar mailcap-mime-extensions >>> (".jpe" . "image/jpeg") >>> (".jpeg" . "image/jpeg") >>> (".webp" . "image/webp") >>> -(".org"

Re: bug#68687: [PATCH] Use text/org media type

2024-02-01 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > It may or may not depending on user customization `mm-inline-media-tests'. > Ju

Re: bug#68687: [PATCH] Use text/org media type

2024-02-01 Thread Max Nikulin
On 01/02/2024 03:00, Stefan Kangas wrote: Max Nikulin writes: +++ b/lisp/net/mailcap.el @@ -989,7 +989,8 @@ (defvar mailcap-mime-extensions (".jpe" . "image/jpeg") (".jpeg" . "image/jpeg") (".webp" . "image/webp") -(".org" . "text/x-org")) +;; May be overridden by

Re: bug#68687: [PATCH] Use text/org media type

2024-01-31 Thread Stefan Kangas
Max Nikulin writes: > From 8b71393625f11590e99896808bbd04ed83f7917e Mon Sep 17 00:00:00 2001 > From: Max Nikulin > Date: Wed, 24 Jan 2024 21:16:28 +0700 > Subject: [PATCH] Use text/org media type > > Avoid "x-" prefix deprecated by rfc6648 for Org mode media type. > * lisp/net/mailcap.el (mailca

Re: bug#68687: [PATCH] Use text/org media type

2024-01-31 Thread Max Nikulin
On 26/01/2024 14:23, Eli Zaretskii wrote: Max Nikulin writes: diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el index 3c7e3cbdf1a..b10da0c143a 100644 --- a/lisp/gnus/mm-uu.el +++ b/lisp/gnus/mm-uu.el @@ -394,7 +394,7 @@ (defun mm-uu-emacs-sources-extract () (defun mm-uu-org-src-code-bloc

Re: bug#68687: [PATCH] Use text/org media type

2024-01-31 Thread Ihor Radchenko
Max Nikulin writes: > On 30/01/2024 19:13, Ihor Radchenko wrote: >> Even when text/org is rendered using Org mode, there is nothing >> pressuring people to use Org mode there. It is just visuals. Org major >> mode is not activated. > > I am not familiar with gnus & Co code, so I am confused by (f

Re: bug#68687: [PATCH] Use text/org media type

2024-01-31 Thread Max Nikulin
On 30/01/2024 19:13, Ihor Radchenko wrote: Even when text/org is rendered using Org mode, there is nothing pressuring people to use Org mode there. It is just visuals. Org major mode is not activated. I am not familiar with gnus & Co code, so I am confused by (funcall mode) in `mm-display-inli

Re: bug#68687: [PATCH] Use text/org media type

2024-01-30 Thread Ihor Radchenko
Stefan Kangas writes: > Ihor Radchenko writes: > >> I see using text/org as an improvement. text/x-org is likely useless. >> At least, >> https://github.com/jeremy-compostella/org-msg/blob/master/org-msg.el >> uses text/org, which may appear in email parts. > ... > What does this mean with regar

Re: bug#68687: [PATCH] Use text/org media type

2024-01-30 Thread Stefan Kangas
Ihor Radchenko writes: > I see using text/org as an improvement. text/x-org is likely useless. > At least, > https://github.com/jeremy-compostella/org-msg/blob/master/org-msg.el > uses text/org, which may appear in email parts. > > However, AFAIU, text/org will fall into "standards tree" in IANA

Re: bug#68687: [PATCH] Use text/org media type

2024-01-30 Thread Eli Zaretskii
> From: Richard Stallman > Cc: maniku...@gmail.com, 68...@debbugs.gnu.org, emacs-orgmode@gnu.org, > stefankan...@gmail.com > Date: Mon, 29 Jan 2024 22:56:58 -0500 > > I am concerned that the actions described above would tend to embed > Org format and Org mode more deeply into Emacs usage.

Re: bug#68687: [PATCH] Use text/org media type

2024-01-30 Thread Ihor Radchenko
Richard Stallman writes: > I am concerned that the actions described above would tend to embed > Org format and Org mode more deeply into Emacs usage. > > Suppose A and B are Org users. If A knows this, and mails B a message > which contains text labaled as text/org, that won't make anyone > unh

Re: bug#68687: [PATCH] Use text/org media type

2024-01-29 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I think Richard lacks the broader context: that text/org is supposed > to appea

Re: bug#68687: [PATCH] Use text/org media type

2024-01-28 Thread Eli Zaretskii
> Cc: 68...@debbugs.gnu.org, emacs-orgmode@gnu.org > Date: Sun, 28 Jan 2024 23:35:09 +0700 > From: Max Nikulin > > On 27/01/2024 10:38, Richard Stallman wrote: > > > > What is the purpose for which text/org would be used? > > In what situations would we want to send files in Org format > > and w

Re: bug#68687: [PATCH] Use text/org media type

2024-01-28 Thread Max Nikulin
On 27/01/2024 10:38, Richard Stallman wrote: What is the purpose for which text/org would be used? In what situations would we want to send files in Org format and why would it be useful to formally label them? I am rather confused by these questions. Media types appears in the Content-Type h

Re: bug#68687: [PATCH] Use text/org media type

2024-01-26 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] What is the purpose for which text/org would be used? In what situations would we wan

Re: bug#68687: [PATCH] Use text/org media type

2024-01-26 Thread Ihor Radchenko
Eli Zaretskii writes: >> The spec is still not fully finalized, so we are not yet initiating the >> registration, as we will need to repeat it again if we decide to make >> further changes (https://www.rfc-editor.org/rfc/rfc6838.html#section-5.5) > > I hope the process of finalizing the Org spec

Re: bug#68687: [PATCH] Use text/org media type

2024-01-25 Thread Eli Zaretskii
> Cc: 68...@debbugs.gnu.org, Max Nikulin , > emacs-orgmode@gnu.org > From: Ihor Radchenko > Date: Thu, 25 Jan 2024 23:43:14 + > > However, AFAIU, text/org will fall into "standards tree" in IANA media > type specification, which means that it MUST be registered, as described > in https://www

Re: bug#68687: [PATCH] Use text/org media type

2024-01-25 Thread Eli Zaretskii
> Cc: emacs-orgmode@gnu.org > From: Stefan Kangas > Date: Thu, 25 Jan 2024 15:10:27 -0800 > > Max Nikulin writes: > > > Hi, > > > > I suggest to make the media type used for Org mode files consistent with > > the one used by XDG https://gitlab.freedesktop.org/xdg/shared-mime-info > > Currently

Re: bug#68687: [PATCH] Use text/org media type

2024-01-25 Thread Ihor Radchenko
Stefan Kangas writes: >> I suggest to make the media type used for Org mode files consistent with >> the one used by XDG https://gitlab.freedesktop.org/xdg/shared-mime-info >> Currently Emacs has text/x-org, however "x-" prefix is not recommended >> by IANA any more, see https://www.rfc-editor.or

Re: bug#68687: [PATCH] Use text/org media type

2024-01-25 Thread Stefan Kangas
Max Nikulin writes: > Hi, > > I suggest to make the media type used for Org mode files consistent with > the one used by XDG https://gitlab.freedesktop.org/xdg/shared-mime-info > Currently Emacs has text/x-org, however "x-" prefix is not recommended > by IANA any more, see https://www.rfc-editor.