From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GMcIO9SvNmNJCQEAbAwnHQ (envelope-from ) for ; Fri, 30 Sep 2022 10:59:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OKQMOtSvNmMrqgAAG6o9tA (envelope-from ) for ; Fri, 30 Sep 2022 10:59:00 +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 828D63F2C2 for ; Fri, 30 Sep 2022 10:59:00 +0200 (CEST) Received: from localhost ([::1]:39870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeBrH-000198-Aa for larch@yhetil.org; Fri, 30 Sep 2022 04:58:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeBqA-00018p-Qz for emacs-orgmode@gnu.org; Fri, 30 Sep 2022 04:57:51 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]:56428) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeBq7-0001R2-VQ for emacs-orgmode@gnu.org; Fri, 30 Sep 2022 04:57:50 -0400 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id AB8DEC001F; Fri, 30 Sep 2022 10:57:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 003541C01A6; Fri, 30 Sep 2022 10:57:13 +0200 (CEST) Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Mo3z3YokY3dv; Fri, 30 Sep 2022 10:57:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id B63C41C0274; Fri, 30 Sep 2022 10:57:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr B63C41C0274 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1664528233; bh=0eim1RyOYWVTjPJCBNHYRiErQfMntoJbOZtyQsLe6IQ=; h=MIME-Version:Message-ID:Date:From:To; b=L6PZuL0syz0tji/LiN90Tob2VI9oO7gAxmqaLMRJ8SN9e0eNjr8pD7l3wX+Nvj+0o WaBef4P8uIYH8nafmyW2HincQMiliF+JZySSPrOrPVnUosn5oaqzdDEzKDz5INnneg fsg1loyG9tpXnHMkui+Y1kT0EJc83qa5H9oPwl9L4XF8h7WMYqIz6psGaag1P+D9es 0ciX5zG/J6+LldnEQLiJvSIMfNKJvgy3fdR6LYS2ipsF9xkNsTBatkTjQOQtlt758i w8aK8lVJEaLgQxKx5F0892g9L36vIqaCVmfA5Eoimy1bM7rGCl7V3vb8o0TQETyvbj 2wyCJP3dnn3YQ== X-Virus-Scanned: amavisd-new at zmtaauth04.partage.renater.fr Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1_ByTL7_aiTF; Fri, 30 Sep 2022 10:57:13 +0200 (CEST) Received: from 130.79.11.24 (unknown [194.254.241.249]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id 7E3C81C018D; Fri, 30 Sep 2022 10:57:13 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25398.44905.256243.690039@gargle.gargle.HOWL> Date: Fri, 30 Sep 2022 10:57:13 +0200 From: Alain.Cochard@unistra.fr To: Ihor Radchenko Cc: Alain.Cochard@unistra.fr, emacs-orgmode@gnu.org Subject: Re: Confused about what the COMMENT keyword means In-Reply-To: <87o7v1nu2e.fsf@localhost> References: <25393.61240.135445.401251@gargle.gargle.HOWL> <87leq5pomk.fsf@localhost> <25394.40867.872373.589874@gargle.gargle.HOWL> <87o7v1nu2e.fsf@localhost> X-Mailer: VM 8.2.0b under 28.1 (x86_64-pc-linux-gnu) X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehvddgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertddunecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpedtvefftdeuhfeifeevgeejhffffffftdduvdegfeduudfghfetgfeuffdvhfffgeenucfkphepudelgedrvdehgedrvdeguddrvdegleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvgeelpdhhvghlohepudeftddrjeelrdduuddrvdegpdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdprhgtphhtthhopeihrghnthgrrhelvdesghhmrghilhdrtghomh Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 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, NICE_REPLY_A=-4.099, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, 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: , Reply-To: alain.cochard@unistra.fr Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1664528340; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0eim1RyOYWVTjPJCBNHYRiErQfMntoJbOZtyQsLe6IQ=; b=QM45Shya5pNvXGtJ/HEamtZWi+fChtl3L+AlECfPX8tp1Khr3xh6+C4v+mbAklUaXwULtF S+yFfyq1Ic8zHv9931aKUZEXROh8aqDmMd21HjBWYq4AcAyI+y1e9y9MoaVUXswCipcJ24 xdWQH/rNkvf4zH43LbCJHLh2BKRflFvah1zDAkKDazZ0Xr+K25lSH8lJJtq29Q7uJD5QzY 8T7WppUWJk/CZwtVxqLpoEA6aOh8UAOaQd2YCCDetYEbTrMdw8E+J5+ieSeM/zmkl9Lwuk hj90MeS5w6p7GEx9nGHiCxfpPxvHtazkmbmcLZmvMSfacIqDEXgDIift6c0AKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664528340; a=rsa-sha256; cv=none; b=HhhD8dbmdE4Qg9T0rllmLyiKbjHFWP5aPoxydGXfk/XnmF2cwffr1hmkuyx1lNFiYFW2p1 ySU1Kx56X/776+9rQl424roDexz9k2uTiCIRENh+eE5hbVr3b1zEeM+gAcfsv7MNWk720y tqldKQNw+5oDz6LY77evjLmg+MLpaPCSY1yb/SU8XTX3wMuD6fd3okBloBj1nBCe/kSv7V lCIHUaKsHm9lQH9Yp3pvdMbhkuGMxfzX1IA131dUu/REW1wRUNieP4lbHlilILCxgEzRtK xQyM/uayaF4x9Dn99wrPki7iy1F9FhACfAYDARbxlKMk4KhxolSIqWGZegoaWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=L6PZuL0s; dmarc=none; 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: -6.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=L6PZuL0s; dmarc=none; 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: 828D63F2C2 X-Spam-Score: -6.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: Z4LTlVxhZdLx Ihor Radchenko writes on Tue 27 Sep 2022 15:40: > However `org-export-as' is generally called inside > `org-export-to-file' and `org-export-to-file' needs to know which > file to export to in advance; before the buffer is stripped of > commented trees. That's why there is the observed inconsistency > between EXPORT=5FFILE=5FNAME and TITLE settings. > [...] =20 > If you have something like >=20 > * COMMENT heading > #+KEYWORD: value >=20 > Org does look inside: > (heading (:commentedp t) (keyword)) >=20 > Then, such keyword can contribute to calculation of buffer > settings. It is only `org-export-as' that makes special > arrangement and physically removes COMMENTed subtrees before > exporting the buffer. >=20 > Hope it is now more clear. Yes, thanks a lot, much clearer. I can only hope that the "observed inconsistency" related to EXPORT=5FFILE=5FNAME can be resolved. I still feel that section 13.6 of the manual can only been interpreted as: COMMENTing a tree is equivalent to commenting the tree. I update my suggestion of addendum to the footnote: Note that the subtree is still parsed and '#+KEYWORD: value' pairs can contribute to calculation of buffer settings, in particular '#+EXPORT=5FFILE=5FNAME: value'. Incidentally, could you provide another example of a buffer setting that would be taken into account even in a COMMENTed subtree=3F (I tried a few without success.) Regards --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]