From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wEA7MvL+WmNDGgAAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 23:58:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wNGRMfL+WmOyRAEAG6o9tA (envelope-from ) for ; Thu, 27 Oct 2022 23:58:10 +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 6FB39148EA for ; Thu, 27 Oct 2022 23:58:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooAsT-000858-IR; Thu, 27 Oct 2022 17:57:29 -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 1ooAsO-00084v-Ck for emacs-orgmode@gnu.org; Thu, 27 Oct 2022 17:57:24 -0400 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 1ooAsM-0001VF-F3 for emacs-orgmode@gnu.org; Thu, 27 Oct 2022 17:57:24 -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 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 References: <86bkq0qf8p.fsf@protected.rcdrun.com> User-agent: mu4e 1.8.9; emacs 28.1 From: "Dr. Arne Babenhauserheide" To: Jean Louis Cc: Max Nikulin , 58774@debbugs.gnu.org, emacs-orgmode@gnu.org Subject: Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Thu, 27 Oct 2022 23:49:50 +0200 In-reply-to: Message-ID: <8735b9orqj.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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+nsULZdrM I9ImdT3Nz2yRwrgDHXEbX5Q+EEvnWezKphvA1mEY0lyoCiLalS2/3A2TURx8FKSWfckQeKdTg knf5rhhC8PBGeeuC/TmV7pi2Q0aF9oN+ovhUTBoswz986cm4shuk924QIiEuCGLPiryOFdV4R cr5Eh7sD3Al6oDfwR1KzQj/G00E= 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: 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=1666907890; 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=buq5flmK236J6qld8fyHayGRUDuQjYLoy+TACy0OkbM=; b=f2SPAXc0U8wi2M89hMeP6SKOVvY0iG+vXldAJY2QIoSNnPyQimgzKOpKkPA0Ohn7cKvgKt HsmuYE7QAX3ABlOMZ1GfaB37oxAInX78nI26Gh8aKWF+KyoXOydOBje+NmFnp2KDT9yUvb cMpJ+flJXGB+NGT/kQ8yeSzOoh/rBj/nFPUjUiebmCKG9wvx68if9wi+nutDTUm2f+NPgd +jXTOU20YO0K7O6ops4ZguuBG5ykYiHGqmV65tjGwe3GwHPsPudeShV6rHkPYwjxMo1KL+ Ry7ybUmROsvvY3aI9Z1DQY9ypNsvEhkOz91xzQ2o1vq/TbdOMHJahKVAtOOGeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666907890; a=rsa-sha256; cv=none; b=JK6mRuNjbDNwhTIDm6UeRhOV6I4stMLVBMtrCeMXBkkd6uO8XtupjQlumRLYcNl++I/YYx 5aItQrIt9PK11TyUHqOd22nP2LD6CrfNnEpOoCFOUCIKj/rwo6WwWpXE8B7nmwRk9nXvqf JrhYIorPgTDLyZ0kYmXO9eU5Hg22LoGTLVcyhXw9Yjt09M/vUMPKZHYhREq4YqhEguqFJg YSCAN+Yp+UPNLhX6sKwA69Hr3OyFP2YeXkfsmU28+WBoUWHKNJ2+zyzb+SAiCtad+Ve5/L 4JJluajcZH+CqHfaxZj3I2jhV5nw+82+CJBecMITRcyAk3/0mVBeit+sIbRu4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=aJp+p8zl; 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: -8.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=s29768273 header.b=aJp+p8zl; 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: 6FB39148EA X-Spam-Score: -8.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4K7BvsGF43T7 --=-=-= 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 BkimZ6RdOsHJJztbv8w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