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 Subject: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Thu, 27 Oct 2022 23:49:50 +0200 Message-ID: <8735b9orqj.fsf__9812.44912124879$1666907935$gmane$org@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="15787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.9; emacs 28.1 Cc: 58774@debbugs.gnu.org, Max Nikulin , 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:58:47 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 1ooAtj-0003uq-Dy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 23:58:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooAtC-0008QO-KK; Thu, 27 Oct 2022 17:58:14 -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 1ooAt2-0008N9-Lc for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:58:06 -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 1ooAt0-0001Zr-NF for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:58:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooAt0-0004PI-IQ for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:58: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:58: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 Original-Received: via spool by 58774-submit@debbugs.gnu.org id=B58774.166690784216862 (code B ref 58774); Thu, 27 Oct 2022 21:58:02 +0000 Original-Received: (at 58774) by debbugs.gnu.org; 27 Oct 2022 21:57:22 +0000 Original-Received: from localhost ([127.0.0.1]:59562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAsM-0004Nu-3h for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:57:22 -0400 Original-Received: from mout.web.de ([217.72.192.78]:53583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooAsI-0004NZ-PV for 58774@debbugs.gnu.org; Thu, 27 Oct 2022 17:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1666907800; bh=CVbfGBI1wcXWd3B172nuWFSc+dX8a+hX6erZNoL6cqI=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=aJp+p8zlIQvdNnp8lMt5Vg7zLwB/vdK3VsvESR8GdzlcvfKgCXacgAnh1TkyZMuSG NhFXFZAfPRye/H0R1eMU72QGqp2buNlQsgpNNfrzaQgJAFopbzjBRmxUqLQ9uVi6NG VqHWcc2iSu4mWkK8Rf+lMS+59ZSfk+FiI7rUVdArG5Y1tF8QdGYmDCWdTfs/kBiq6z PQBwNfDGbuy3/FZxg9Uc8hJzfEfyW+++BlUhun7p3x+80sbbsI/eEC6mSkadp8YzEl Bi/5S2hZGWHqEJvtep0j4zbayTGiKQQxrTSIbDnwtNsnMRDl4XGpidLzBeUgInMbqj jounTVgXu397A== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from fluss ([84.165.20.127]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MFJnX-1oqae131YH-00FZBc; Thu, 27 Oct 2022 23:56:40 +0200 In-reply-to: X-Provags-ID: V03:K1:3/1JLUhXPqWZx1Mls5doMyFPFbChll3zql2IZfF8+jmzvO3P1mB O98ud5A7KNxI1UGXJZ7TTtECSQ203C/IdjrnEMAY6pyBOoSaZm5OBX7seLEjW9ffwD+T7S5 6QFoB5bKl5rO/oto1kY5ih+iUtNNHQrjoe66hSgqWRnB+WTeSrNE3r9Hs+KYPrKw/Ih3s72 /Us4GoojoUrut7Pk49Vrw== UI-OutboundReport: notjunk:1;M01:P0:sFTPsq/ufAQ=;0PxOrZWbjiFj+qw/U0HI2AwTfDz Hbrmy5JN0UlUTxZsLCZ6xsykArEcRwEpJcEgdLcnkaER8xBL3bqbaj5dn2oXYWokOZbkwuFPa ZUvlCGEopHH8+uj/9+8pBWT8adxJZ3rfyVcmXN7yPkKYhgKVX4ckBruDbL6bMlb/ORWEvqTnX qoU8+l7JObO9g0oFaTh4GTy2f4bHnhptIL3DLJws4WXyqrnmtSY3EBtG76VsNwoboz1MToUmP FYznNkEhMeQ5wtQj5BYtgOC/36vWJbvsg3Nsgz99GzIHlbWBCLBSV47O+IjKh/vO8yd0a9gkd ByKBfcwPFDYeYBJAM13exzZLqjnqTgBWbddGqAvboMKp0cN4TUOXZ40UQZ0J72qmHgmtiSgX+ HFaVc5WtCKXIdKGIkF9gPxojv9+es/jH8e2Hc3Qff97euSAMlffHB6hDug+313JqF0EeJ7zSH 1ZmQI0DqXn8S6WlAokHCBrpA0UfsRDp7P6rBrkfTuLxYzqpfEGKwrsLaEkb9Svhh0ur9419X7 xAv06LUj+wd9zgAcwYVZeFn236RDJ3tZhTyB/f2ucDqeAr6r8mF0c6UraRVbS9Bj7/TqnR9Of Dho45FjiAoQwQQB8rG/57TIIloJBHLYineqtmknqahUNG/LXxs8G7BdAgciFp5POqttUrm457 98AWVqNBqsRgh0Gy1zlT5QbEo2gh82Fv9Xeom8wtTOPtjOmXpsi79SaYipSoLx2gBkPh0uDIJ ydEbmDOt4NNP+pdbYCuAxjeoXn6HEktDtq0WktZZfwp/lBFcyb0wObW6Jo7k0bAw+nsULZdr 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:246374 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean Louis writes: > * Max Nikulin [2022-10-27 18:40]: >> On 27/10/2022 11:55, Jean Louis wrote: >> >=20 >> > 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: >> ... >> > Text Media Types >> > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.1 >>=20 >> I do not see any problem or any difference what MIME type you are going = to >> associate with Org mode. I agree with Arne that text/... type is more >> appropriate for a format readable as text. I do not see any contradictio= ns >> with that RFC. > > You were the one speaking and reporting that Org executes Emacs Lisp. > > And now you imply that it is safe to open it because it is text? =F0=9F= =91=80 > > If Org or any file implies possible execution when loaded, and Org > implies it, it is not any more "text/*" MIME type. Whether or not something *can* be executed is irrelevant for text/* vs. application/*. Relevant is whether something *must* be executed for the document to be usable. > From: > https://datatracker.ietf.org/doc/html/rfc6838#section-4.2.5 > >> 4.2.5. Application Media Types > >> The "application" top-level type is to be used for discrete data that >> do not fit under any of the other type names, and particularly for >> data to be processed by some type of application program. This is >> information that must be processed by an application before it is >> viewable or usable by a user. > > That is exactly the case with Org. Of course, one could minimize org > file to empty string, and say this is Org file and there is no > execution necessary, so it is "text". > > Otherwise information must be processed by application which is > clearly the Org package before it is viewable or usable by a user. #+title: I disagree * Firstoff because this is a valid org-structure. * Second because you can use this. #+begin_src bash echo "even the embedded source here" #+end_src * Test If you could not read the two arguments _without_ first processing this section with org-mode then I am wrong. If so, please tell me /"could not read"/. That said: If you tell me /"could not read"/ I know that you *could* read this section, so you would be wrong. * Conclusion Org mode documents belong into text/* >> Expected uses for the "application" type name include but are not >> limited to file transfer, spreadsheets, presentations, scheduling >> data, and languages for "active" (computational) material. > > =E2=9C=94=EF=B8=8F YES, we have spreadsheets in Org which results may be = viewable only > after computed. application/* and text/* are not distinguished by their domain, but by whether they are readable as plain text. Same for your other points. 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/pUQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD64FGD/wIhCwug0YmFuRsGjA4Rni2BuZLcxzzRist u17jgfFxSY6Q5ULW58MxryCNwgHMw6yIC9gW8HH1+14R62/Rp5UUhHwqovhnJ/F2 BkimZ6RdOsHJJztbv8wRNCX5kK4DDQKDJ0f7P+kf5yZQxOT7Nt84sEOJMKBrDb8p J0T6lSt0H7P7kzHhS6nnT7+lxvrG78ZzC8xzqSLLS1Y6FVfth3+FNctCSo0wfwbD H2dOc55FRDxzBLKw+3JkumZ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