From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.emacs.bugs,gmane.emacs.orgmode Subject: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Thu, 27 Oct 2022 13:13:29 +0200 Message-ID: <87wn8lpl2p.fsf@web.de> References: <86bkq0qf8p.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13048"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 28.1 Cc: 58774@debbugs.gnu.org, emacs-orgmode@gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 13:24:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oo0zb-0003Br-ON for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 13:24:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo0zU-0004rY-T1; Thu, 27 Oct 2022 07:24:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo0zS-0004Ud-A6 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 07:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo0zR-0001pz-VJ for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 07:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo0zR-0005ij-Qb for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 07:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Dr. Arne Babenhauserheide" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 11:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58774 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166686982921967 (code B ref -1); Thu, 27 Oct 2022 11:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 11:23:49 +0000 Original-Received: from localhost ([127.0.0.1]:56287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo0zE-0005iF-VY for submit@debbugs.gnu.org; Thu, 27 Oct 2022 07:23:49 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo0zC-0005i6-Ce for submit@debbugs.gnu.org; Thu, 27 Oct 2022 07:23:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo0z4-0001hL-K2; Thu, 27 Oct 2022 07:23:41 -0400 Original-Received: from mout.web.de ([212.227.15.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo0z0-0001i7-Op; Thu, 27 Oct 2022 07:23:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1666869781; bh=lQMyKkX1Ukfa2shvQ7GmQmnCLSg+dbUhLcRDzn3vQhI=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=O71FX747WnX2iZWXW3yt/tEINokug/JgwGYlEesEd3mXMk9HWw9a8ANMd89tbDKMN 4BAiq9/H0hCC67Fy2GFjSQa8g57+KB6bDMSsLCMISgl/1cXjcKLKq3mLAKpW6aEs5b zfjCVjx3JD4UcActTeJ4KiMCYIVl9rzgLPGzX/ZsgoSHuXbFXqef3NLwUt29ZNpsQZ zTcG9ByNQLZbvaIdRdYHezQ5ObBEsXfZDLQMb5IuPXeOs+4LAd6DHJdY4rJPAcDsVb Agl4LkeAP9JlLwE69jLrxMunRWCfhIn+XWMrW1QjHED9RqRqaWpGfYgOmqKhKCROzi qt23ULXeKDhNA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.165.20.127]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mv3Ya-1p5gPt0eH2-00r24Y; Thu, 27 Oct 2022 13:23:01 +0200 In-reply-to: X-Provags-ID: V03:K1:L2NlTWBOtHUKAPlnmecScZM1kzV8DLLsFfY+aStuSEzdlPsf73o ExjoPWyPT+eVOt2BWivk3Imts3SX7Ye4yWyNa4Kwc/i6fgo3fZX8ObpHeQq1EQsCmGazFUh 1mOhA/7dxR/VgiBjRha3K1cJHhtFAtUk3aS7HYZqXGujdGQwRe1ef5BirpmLwxPa+izxWTn 4GrlZg3GyHLx5c33+Tu7A== UI-OutboundReport: notjunk:1;M01:P0:jQxoo0yuf/0=;5dtU2P5C3yWYiDiXfHlFCSWrmjV +cDRiiBPdZ4ftgHbOuSf6OHgSd/WCxwZ9U2zseNlFX59wj32ShUSQZamsh4HShMPzsZX/BH6l z+r6ASRQpJ9piCqCMJseiOUiSdwrgXWlZUTJRSN4i5rEYsie9UKebuNUuQrrCs5TllWws0Zac OAUbTVuIrVMe49Qo8yOCMIl+V4hv1tapeCJvFGsJyZ8En4OowgraDC+/7tkb7vHlzVl8ghynW gLpsU1XbwIkUOMfVondjS7VsShOHU047RqpWWxqTbLotwqGb4QeBaInuhOXGLTLlr8Z/8FImL PEeIvNrU06q3f/avYDFdATCKzi7Upilzb7S+QvXinKa0icsq2FwtcO57UlhVyXjBNOlXfRpog rxSto+HBeBmu4GWQs2IXPdOLUDloy1SxQdJpXkx04wi3WNFB3+zgP8Zxw2HRMSLdhTys73Akb HFGFxw9oQ9AigPqay8YyCyRi65JPsMdxjhjp1k2YjSrIJqKBfnpE/xSGAjvaPcsdxkS9sVU1/ 4xMGgELNGTYD/zchrPbspJXGfsdOdL01PcR3I95PxE2T9SupLEo2i3yK+mg4Fi8p3bohpWGjC xduhGrl4u4doyoHkYoQF62pAP5vGIh4RcRAspGmDQrNyz4jEDjnqNdycrjTqF+p7aRC0kTcLx Tn7dj+qSge2qHcB2sgzrmMkRv72gyRBxFsH3SQAk01gzpe4DJDguvc53VJgtSR8wH/SJEwEmX KoP8h5IVBeslOPUVIqUQuZkC4JKlDFmUDbwzwj2kx4YevOLR9tEJX8gY+MuNuZfZu7S3/eFR Received-SPF: pass client-ip=212.227.15.14; envelope-from=arne_bab@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246292 gmane.emacs.orgmode:149980 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean Louis writes: > * Jean Louis [2022-10-25 15:14]: >>=20 >> This wish request is related to Emacs EWW and Org mode. >>=20 >> Please make EWW recognize Org file when served by WWW server. Currently >> it does not recognize the MIME type text/x-org and opens the file as >> text, it does not invoke the org mode. In my opinion, it should. > > Now is clear that main problem here is that Org advertises somewhere > to be "text" in MIME context, while it is not, it is by default > "application" and thus unsafe, see: > > Application Media Types > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.5 > > and understand difference to: > > Text Media Types > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.1 > > Thus I suggest that Org changes its MIME type and stop falsely > claiming to be "text" in MIME context, but that content type: > "application/x-org" become adopted, as that way it will become clear > that it is unsafe opening Org as falsely claimed "plain" text. You are mixing up text/plain and text/*. Orgmode is clearly text/* but not text/plain. From your link: Beyond plain text, there are many formats for representing what might be known as "rich text". An interesting characteristic of many such representations is that they are to some extent readable even without the software that interprets them. It is useful to distinguish them, at the highest level, from such unreadable data as images, audio, or text represented in an unreadable form. In the absence of appropriate interpretation software, it is reasonable to present subtypes of "text" to the user, while it is not reasonable to do so with most non-textual data. Such formatted textual data can be represented using subtypes of "text". Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmNaahEQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD63fpEADSpUzyAvm/FFr/I3rmq3u6UCCziLavjekC /nZXPGIx0gxiZfceh6CCb0QTTCcQdyCzDP+nvY7Qb9EshfCu5CQSqy1vSMVKP0zN vphJTvlOOtJDCE4+6v9GcJJB0XTvgecaKjahvITWJj4xM2ig3hoQ2THSkvA2tMqA ZCCnnWYQl30JW7+bIbkerIy12mNo8z/Mb/lEGxb4/auyGBPcemPVhjJSg2bLJ+18 Bg2VNG6LQHLcgjq1WknxWHor1A/21A42rjPW2gGldvDIwuGTlWsIaAooJf42Ajkg kUTF+2EUfUYIieQjcJYkv+S2vbZ0AKdfmGdPTb/hiBGJ6A0Dinv0tqivDCh/Msbl kxOa5nhCFxaSN7Z6OnA2FMsXu2N62JCdhkqYGpXgZJVKLftA0hfOgJUxAILxhl67 3VQoXlWl3SuJHF9lvPlIqsUNM2aQJSffz9g4umF2jta8QduTOsBOGh4hqpJRCumU H5JEFD2x6e6ELfXfnqQPUPyY2C3uP3zA1ia/oa2pNfK3MnCBkQKVPS2X8nZ2UFpE XPQ65tPjWc0OSGiZGECen1Kxdk4xAr4HgNzDrE6Zxk0uMCejqWhkVfVYLouTxjns APz5kR5PmiFNqAxzjCBsyj/AYg+VzdD4gGxJfjfy34DlGy7SkVomPqtDldk/lvvr LYrehv2iz4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmNaahIQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSCDyA/wLPCeqFaL7Ne45Vr2p3oXqdCPe x0zIUY0swKQnstWgWIHSA9BnPrmEu+rChaMD58fw/ZuNZGJ1v8f0Z0bK5exeobU1 MMjw+244dbczqFbvAdsAtnmWUX2W37+0T5f+iIczv2j0Lg3X75WVoRhp/5cYWwUY 0hXb6CWvAl6gg+rE2g== =m4Yv -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MOO8KpFrWmMy9gAAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 13:29:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oJu3KpFrWmNswQAA9RJhRA (envelope-from ) for ; Thu, 27 Oct 2022 13:29:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 532562EDDA for ; Thu, 27 Oct 2022 13:29:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo0zE-0002Qf-Jz; Thu, 27 Oct 2022 07:23:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo0z4-0001hL-K2; Thu, 27 Oct 2022 07:23:41 -0400 Received: from mout.web.de ([212.227.15.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo0z0-0001i7-Op; Thu, 27 Oct 2022 07:23:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1666869781; bh=lQMyKkX1Ukfa2shvQ7GmQmnCLSg+dbUhLcRDzn3vQhI=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=O71FX747WnX2iZWXW3yt/tEINokug/JgwGYlEesEd3mXMk9HWw9a8ANMd89tbDKMN 4BAiq9/H0hCC67Fy2GFjSQa8g57+KB6bDMSsLCMISgl/1cXjcKLKq3mLAKpW6aEs5b zfjCVjx3JD4UcActTeJ4KiMCYIVl9rzgLPGzX/ZsgoSHuXbFXqef3NLwUt29ZNpsQZ zTcG9ByNQLZbvaIdRdYHezQ5ObBEsXfZDLQMb5IuPXeOs+4LAd6DHJdY4rJPAcDsVb Agl4LkeAP9JlLwE69jLrxMunRWCfhIn+XWMrW1QjHED9RqRqaWpGfYgOmqKhKCROzi qt23ULXeKDhNA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from fluss ([84.165.20.127]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mv3Ya-1p5gPt0eH2-00r24Y; Thu, 27 Oct 2022 13:23:01 +0200 References: <86bkq0qf8p.fsf@protected.rcdrun.com> User-agent: mu4e 1.8.9; emacs 28.1 From: "Dr. Arne Babenhauserheide" To: Jean Louis Cc: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Subject: Re: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Thu, 27 Oct 2022 13:13:29 +0200 In-reply-to: Message-ID: <87wn8lpl2p.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:L2NlTWBOtHUKAPlnmecScZM1kzV8DLLsFfY+aStuSEzdlPsf73o ExjoPWyPT+eVOt2BWivk3Imts3SX7Ye4yWyNa4Kwc/i6fgo3fZX8ObpHeQq1EQsCmGazFUh 1mOhA/7dxR/VgiBjRha3K1cJHhtFAtUk3aS7HYZqXGujdGQwRe1ef5BirpmLwxPa+izxWTn 4GrlZg3GyHLx5c33+Tu7A== UI-OutboundReport: notjunk:1;M01:P0:jQxoo0yuf/0=;5dtU2P5C3yWYiDiXfHlFCSWrmjV +cDRiiBPdZ4ftgHbOuSf6OHgSd/WCxwZ9U2zseNlFX59wj32ShUSQZamsh4HShMPzsZX/BH6l z+r6ASRQpJ9piCqCMJseiOUiSdwrgXWlZUTJRSN4i5rEYsie9UKebuNUuQrrCs5TllWws0Zac OAUbTVuIrVMe49Qo8yOCMIl+V4hv1tapeCJvFGsJyZ8En4OowgraDC+/7tkb7vHlzVl8ghynW gLpsU1XbwIkUOMfVondjS7VsShOHU047RqpWWxqTbLotwqGb4QeBaInuhOXGLTLlr8Z/8FImL PEeIvNrU06q3f/avYDFdATCKzi7Upilzb7S+QvXinKa0icsq2FwtcO57UlhVyXjBNOlXfRpog rxSto+HBeBmu4GWQs2IXPdOLUDloy1SxQdJpXkx04wi3WNFB3+zgP8Zxw2HRMSLdhTys73Akb HFGFxw9oQ9AigPqay8YyCyRi65JPsMdxjhjp1k2YjSrIJqKBfnpE/xSGAjvaPcsdxkS9sVU1/ 4xMGgELNGTYD/zchrPbspJXGfsdOdL01PcR3I95PxE2T9SupLEo2i3yK+mg4Fi8p3bohpWGjC xduhGrl4u4doyoHkYoQF62pAP5vGIh4RcRAspGmDQrNyz4jEDjnqNdycrjTqF+p7aRC0kTcLx Tn7dj+qSge2qHcB2sgzrmMkRv72gyRBxFsH3SQAk01gzpe4DJDguvc53VJgtSR8wH/SJEwEmX KoP8h5IVBeslOPUVIqUQuZkC4JKlDFmUDbwzwj2kx4YevOLR9tEJX8gY+MuNuZfZu7S3/eFR9 P7VBCCQ8E973HaPwtujaHFqEa1b6Zqhz5fHCMLXFRSfwr7alRsWTOROIPqUjgCS1LJ88pVp10 V49oQx3FE62054X2hQCJEOsvOJDWMcp6xde4hws5WbjGJ3jNzUIVEQ96Nnj2utZte7+B4zMn3 ZwC92YQverOVTwIhJ9m0DzDNkn4= Received-SPF: pass client-ip=212.227.15.14; envelope-from=arne_bab@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666870161; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Mq51/5IboXiboQUZ8kJY65lXLhqLQArC+vP05I9WmWk=; b=PJUlqDNCGgMMY4ASWr7yTjg+1t6oLt9AS5g8Nks6KvHis1/XJpcJYsEdH6/sQdNE1+uOEp oCuEcniGwq7aYl6Op1LyCLiFi8EasqK2LdsywmaE3338PvsZdmaoq/r1t2ITIWg8RyudIS 5ybrc8f4WBQur+y7BRK1w5SLRHgQfd5aLnI/015y0IvKA4MH0Kv8x0CuoPdKhxQjr+Hako LyoM942V2W/1jPd58ro+1BDwMq4nzKT0ZvqwrHIcMp31+rILPqNsTM0WGgXbR8VgnP0Rke 8/boX1zPBREU7AvwkUPSKBQd4wphpnkATefKSETR+Z0o0EspHPMacLwx6vyAJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666870161; a=rsa-sha256; cv=none; b=U8A70ymFgncHYjzcKRW4zwxBoXAmXJxqj3gOvP+uTuXYZR8LbUZ2EfzWNPBcoho2QU4qTr rAOcWCtk2J4wz5zNA9SQ5jtRxTw1qZJEeY7EQZUEpefjbkJvnPhYTFxVsF7V94nHGykBfU /5/1xTLNrjXGoHgZ11kCvTMOkaD7bRh+mVgb0S/stNlHunCYW36z6Q87qnIFxrTRAU2kdw E3XZ6yzkRIgPR5elY23ZFH1L8KtfsId+Ml2LIJ0qB1J2JBcc7HkJSG82viMvdO2tUho30F +Ix7rf9rrkQv09kqqqMhkUauThAcZHbi1lrteTVpqDJ0Sr89cdJ6ZqCFUGKnVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=O71FX747; dmarc=pass (policy=none) header.from=web.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=O71FX747; dmarc=pass (policy=none) header.from=web.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 532562EDDA X-Spam-Score: -4.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: KRpm8Jlz9R54 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean Louis writes: > * Jean Louis [2022-10-25 15:14]: >>=20 >> This wish request is related to Emacs EWW and Org mode. >>=20 >> Please make EWW recognize Org file when served by WWW server. Currently >> it does not recognize the MIME type text/x-org and opens the file as >> text, it does not invoke the org mode. In my opinion, it should. > > Now is clear that main problem here is that Org advertises somewhere > to be "text" in MIME context, while it is not, it is by default > "application" and thus unsafe, see: > > Application Media Types > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.5 > > and understand difference to: > > Text Media Types > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.1 > > Thus I suggest that Org changes its MIME type and stop falsely > claiming to be "text" in MIME context, but that content type: > "application/x-org" become adopted, as that way it will become clear > that it is unsafe opening Org as falsely claimed "plain" text. You are mixing up text/plain and text/*. Orgmode is clearly text/* but not text/plain. From your link: Beyond plain text, there are many formats for representing what might be known as "rich text". An interesting characteristic of many such representations is that they are to some extent readable even without the software that interprets them. It is useful to distinguish them, at the highest level, from such unreadable data as images, audio, or text represented in an unreadable form. In the absence of appropriate interpretation software, it is reasonable to present subtypes of "text" to the user, while it is not reasonable to do so with most non-textual data. Such formatted textual data can be represented using subtypes of "text". Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmNaahEQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD63fpEADSpUzyAvm/FFr/I3rmq3u6UCCziLavjekC /nZXPGIx0gxiZfceh6CCb0QTTCcQdyCzDP+nvY7Qb9EshfCu5CQSqy1vSMVKP0zN vphJTvlOOtJDCE4+6v9GcJJB0XTvgecaKjahvITWJj4xM2ig3hoQ2THSkvA2tMqA ZCCnnWYQl30JW7+bIbkerIy12mNo8z/Mb/lEGxb4/auyGBPcemPVhjJSg2bLJ+18 Bg2VNG6LQHLcgjq1WknxWHor1A/21A42rjPW2gGldvDIwuGTlWsIaAooJf42Ajkg kUTF+2EUfUYIieQjcJYkv+S2vbZ0AKdfmGdPTb/hiBGJ6A0Dinv0tqivDCh/Msbl kxOa5nhCFxaSN7Z6OnA2FMsXu2N62JCdhkqYGpXgZJVKLftA0hfOgJUxAILxhl67 3VQoXlWl3SuJHF9lvPlIqsUNM2aQJSffz9g4umF2jta8QduTOsBOGh4hqpJRCumU H5JEFD2x6e6ELfXfnqQPUPyY2C3uP3zA1ia/oa2pNfK3MnCBkQKVPS2X8nZ2UFpE XPQ65tPjWc0OSGiZGECen1Kxdk4xAr4HgNzDrE6Zxk0uMCejqWhkVfVYLouTxjns APz5kR5PmiFNqAxzjCBsyj/AYg+VzdD4gGxJfjfy34DlGy7SkVomPqtDldk/lvvr LYrehv2iz4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmNaahIQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSCDyA/wLPCeqFaL7Ne45Vr2p3oXqdCPe x0zIUY0swKQnstWgWIHSA9BnPrmEu+rChaMD58fw/ZuNZGJ1v8f0Z0bK5exeobU1 MMjw+244dbczqFbvAdsAtnmWUX2W37+0T5f+iIczv2j0Lg3X75WVoRhp/5cYWwUY 0hXb6CWvAl6gg+rE2g== =m4Yv -----END PGP SIGNATURE----- --=-=-=--