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 23:43:11 +0200 Message-ID: <877d0los5c.fsf@web.de> References: <86bkq0qf8p.fsf@protected.rcdrun.com> <87wn8lpl2p.fsf@web.de> 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="10859"; 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 23:50:09 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 1ooAlL-0002cd-JO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 23:50:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooAkJ-0003Ww-Vr; Thu, 27 Oct 2022 17:49: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 1ooAkI-0003Wb-MA for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:49:02 -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 1ooAkI-0008Rb-Ct for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooAkI-00045R-5m for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:49:02 -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 21:49:02 +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.166690731615660 (code B ref -1); Thu, 27 Oct 2022 21:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 21:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:59510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAjr-00044W-P2 for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:48:36 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAjp-00044J-IX for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:48:34 -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 1ooAjk-0003SS-MH; Thu, 27 Oct 2022 17:48:28 -0400 Original-Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooAje-0008Iu-A1; Thu, 27 Oct 2022 17:48:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1666907266; bh=64KmBYckP+Mb1rmE9fvNYLfAaqTsrE/egQrAqOjr6Jc=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=ETB2xinJlFjdaooBVoSUB893AUbFGb8z9Calhe08yzj/gO1k5GswRquNQn6ov6lNL i6HdZcvU5AIoRDLc82iD19fLlBFxMZk6euvzmsYxY8TNe1N+GxeOSjZnyCLiEqUGC1 enrcD9Y8rgF64ZcE3HEuluaFbaFhzyQm7jsct1xdmNSgZk3Xr87DXFef67M6VQbafx IyNdvMXmEknm2wdMSlPxlY7hx+aMGsyA4dXA6vNqGOogbEav0vBdK4tcR5rp0xrX3c hv0HvFpyM0k1+qq7oLCYEH9x34OdaflBhFKp8RiJXWoiymC9HPVGFPNxrVjE8bO3K7 gN5bxf6wZhXyA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.165.20.127]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MzCA5-1p0sMM3yb5-00w5ee; Thu, 27 Oct 2022 23:47:46 +0200 In-reply-to: X-Provags-ID: V03:K1:W9+FgZ/lYT/9vQXHSg/8J4c++BckqnG/b7w+UsShK74q5zS1IBM S2erbJQRj/zkK4Ju4MdhWMGF58bwDkBL2rKZw4IMa13RRpmHgeMxR+p60cVi4RS0O65Ph29 PdzbbA09XgM16qa4vx9e+XGlzQVWq+uOwt7J1IHUIh4PYacBC0ClCkobvxRf4LGG57s8yX+ IK3CTglcYkcSg4aP3ehjA== UI-OutboundReport: notjunk:1;M01:P0:iFEeuY5v+Rg=;zmc6CvIU4pq8xeMKCVKsM32lYMO SdZ7Me1cMs+lNqNuCSIXwpmCT73dh4hEz0IPar/IDvpTmKLhnh19CJLj9bK6sXC3PFMnjYFy6 WcGp9N5L8aOViZHNx1FmvaWgdDzNlzuSVLbj7pdNqptR3WtoT7YFTUSNE/g3Lg+nsvh0/xM3Y 61MdHdYCrVzfKP5+pG0um0a6oZZMQxzQGdii2kd9ivAu7I6BjH5LJYwOQPuK3VvGNR4FwyGr9 GqMWIm13vLTWl5dYS8AvHpS7CF5BWYuz0meE1j42zJcpqXrZSFOrln16sdQ6vP7B6UZA3DhNL dF2EMFkvts+wiAmwPC1MntNV7LKvqPOI0y19bKSJI6f7LYvXCYC8N4s+ZO9CzGZak+NyZeue+ PP84x3SILeh5hMtICAE/+0qGwQaXlq5bZuVcTZVyh11Uj9prgnhp9ajmV7qZ0nB7/NRVx4mf9 hZhPcDxqQHfdamf5LgysIEPDNqmzU1kbPTSjoe29eauD6rV/7/C++ePv4niXULx7yN/0iAHjd +wrHenMAGlo6E1geKM0Y478i7iDeHOy5YJw7UcxTpSbFbIncb9jGURepOF8M7iA3xTHGPRiv5 I8pKxzYRGE2UTkdeRuQ5StHWF1Hg/Nf6+ijM2QkUkFji+dN/urlq17ySeDaF4ImUTbKAVyAXw fZgwEHB3uqpGu9TWcaYNDYxl3R+v9CyIRsUN8U9TiRiokcM/M1Yeo1dQtQe9jagRN0yq89P0r OavlcL+699/Ji2LrRBFuwQOnD9cicxp7znR9W3TNDUVBvqdgQZLkLMi1icN8SzeZ77g2lNGS Received-SPF: pass client-ip=217.72.192.78; 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:246373 gmane.emacs.orgmode:150003 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean Louis writes: > * Dr. Arne Babenhauserheide [2022-10-27 14:23]: >>=20 >> Jean Louis writes: >>=20 >> > * 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. Current= ly >> >> 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. >>=20 >> You are mixing up text/plain and text/*. Orgmode is clearly text/* but >> not text/plain. From your link: > > How do I mix it? The paragraph about plain text only applies to text/plain. The following paragraph shows clearly that org-mode is rich-text, because it can be read without specialized program. And it is: I sometimes read org-mode documents with nano. >> 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". > > Org is not just rich text for reason as explained here: > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.5 so I > suggest reading it. This is information that must be processed by an application before it = is viewable or usable by a user" That is very much *not* the case for org-mode documents. You=E2=80=99ll have to quote a specific point you mean, because I do not fi= nd anything that supports your point in there. 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+sFAmNa/IAQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD6zZOD/4484faxoOm08QNKzOQwdBpYq+8INcCJzx3 h/79dPI1f6Oj7a68EX7Qt0DMO5gAA75mzNvqCJ0vDlUn0eAxsgGJXXt817mQGNHV BdrSq6ODh7jEmgNprOqR3eqp7Cf0kUfHRDPCQEPztbrcmW4kpGKZhxrSsf9JqCSM k4pNVgj/v+RtBUAa8/FMkRMVZ7fJtm+AmnLFwULwGaGwBEPi6fHjf8HSIqnmpwBC pV8WiuMccvYGW6D3joeenI957SVXTqGt9hwF4f2dBbPvmzmtE3oKp8WkmXFzVWKK RiD2p9REhChnohF0QUdpHPLPGDVNf/Pq2owZIspQkUBVSUuTGpB9yHSI5j4Q+L2E Nll7iOvv+lmfFBup5Nhzq4ei4PWIyPdBWeRcAsbVSq2ORNWqXwSIHzk+Om6MnBwZ 7/rJXk5PeZNa/voVgjLUDN28xJYpYSTVJXBLco53mlIyDuGSvJWg3vlcSxkcMFhQ ULUYDS/1PCG7Igl/cT5kR5LaSY4pGbwJ2H2dx2/f1EnkYolbhOh2EYjnWUPvl+7e ARkWopr9sEmCMxF3vsTvbW4cTdLJvjnXl6n/nG2DyLtSDi2YvifbayhzZgqTjRKW V3S1SYgSOTReLyvyFDzwEgSg9nd1ffQ/ItQaizmbpUdPfU5/ruTNCyGcvRAuojfW T+lfH6EkFYjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmNa/IEQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSPF+A/4gJ8vETwtoqk24jPV1M88vFqtp I3D7ncvCWjEgNHPTu8OdWb0WdoXnwt76K8LwMKpCeZ3XV+PJJ2wShf5qZujcobb5 IuFYKi8hezQbhzPOTKb6XXj667QQgA8zIidVZbWf87o3tz/Az+qnNDXHrf0qGWjF K7Ddx2elixSPzKx8oA== =6KEC -----END PGP SIGNATURE----- --=-=-=--