From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6BW5NPirMmM9HgAAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 09:53:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SNTwM/irMmOT5AAAG6o9tA (envelope-from ) for ; Tue, 27 Sep 2022 09:53:28 +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 753361304A for ; Tue, 27 Sep 2022 09:53:28 +0200 (CEST) Received: from localhost ([::1]:43730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od5PD-0006oZ-Im for larch@yhetil.org; Tue, 27 Sep 2022 03:53:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od4ac-00031M-JX for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 03:01:10 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]:40518) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od4aY-0005kh-7i for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 03:01:10 -0400 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id A9932C060E; Tue, 27 Sep 2022 09:00:58 +0200 (CEST) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id 5E96EA0119; Tue, 27 Sep 2022 09:00:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id 455B1A039D; Tue, 27 Sep 2022 09:00:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 455B1A039D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1664262054; bh=PCDZafc7feDfwN19WbRSwBaepMYknQU0+HHkF2fiurI=; h=MIME-Version:Message-ID:Date:From:To; b=Wc2BSZm+GJjv6MNIpEQ1yrWWsagsBPCSWpmWO36c/GYG9pZYUhH6q3FHzFrHrwDa0 mpS6mlxm1IVcG3P5i3HukIVjnppbqtfzYXbJJZV3yuoCVZ2bK8Eb0aDGXLzIynXhDn yx49HYEOLt8NR9ajR1jY4xNPMuTwiPoXabDPDH4hgIMyW7af1p/DiCOnVDEQghPTnG 6kngsb6QO3SpdKjfPLWlO5rsWzKfx+DMfXhITFTyLFh2YOhURUd2ARQB1eCqpG6Qu4 PBF8/R104dz27u2bNs8X7ElDWH63DQgZC2UxFr/dyDOALqySprQOmt0AF205LNudhM AFwGinJ7RXmgw== X-Virus-Scanned: amavisd-new at zmtaauth02.partage.renater.fr Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ACtXSvowB-Qt; Tue, 27 Sep 2022 09:00:54 +0200 (CEST) Received: from 130.79.11.251 (unknown [194.254.241.251]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id BA36CA0119; Tue, 27 Sep 2022 09:00:53 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25394.40867.872373.589874@gargle.gargle.HOWL> Date: Tue, 27 Sep 2022 09:00:51 +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: <87leq5pomk.fsf@localhost> References: <25393.61240.135445.401251@gargle.gargle.HOWL> <87leq5pomk.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: gggruggvucftvghtrhhoucdtuddrgedvfedrfeegfedguddukecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepgggtgffkfffhvfevufgjfhforhesthhqredtredtjeenucfhrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrnecuggftrfgrthhtvghrnhepgeehueekveejvefhtdekvedugeeugfekfefhjeejfeevtdfhudffiefgieeihfdtnecukfhppeduleegrddvheegrddvgedurddvhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehuddphhgvlhhopedufedtrdejledruddurddvhedupdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopegrlhgrihhnrdgtohgthhgrrhgusehunhhishhtrhgrrdhfrhdprhgtphhtthhopeihrghnthgrrhelvdesghhmrghilhdrtghomh 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: -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, NICE_REPLY_A=-2.319, 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664265208; 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=PCDZafc7feDfwN19WbRSwBaepMYknQU0+HHkF2fiurI=; b=tr2mmAEjP8U+Us6ZITB7sDusnM6ON8oWcnIC6CoPdCW0GnIxDzHHWg3xfjZyaNdjYA8rZ6 nuUAusP+OyrMDz4CGR6p/0jWsGGnnLhMLEVwhU2quss0Ta2AowsOW8zdyYQQvSUTznC1T7 ywgzWulwZ1KNNhgFxDrU8ZHv+WHyhY5KqhQgA5xKZSEXKEG2E742IagdLvwgiVihUqZnBx Jty9gOI97fQtyLW3T/NGX6meS02zkqemFOXIvolYk2cBR9I8WW3fVBnQSN4zi8iWNzM1bz viDAn38NbP0aRgTPOXHLXLeiO80acTW/O7EU9HsIQrlJgVULva52ouTlTbpE0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664265208; a=rsa-sha256; cv=none; b=LZMzkFjjVu8VqigPDT/C+Pa9q595suTrXL15/UDFLKEGjmKR2b1nDjkDDxGx98g9UjbeU4 N3eQgdzUldBs5hDBynIruIhCLTikUpL/bfYb7v/atCgzHsHOXDqDB4c1o3rK2mq552B4fS 4Y5ZdJILPMWfBongeVDFS6ez0YhYZREHLgIkzWlDs8/i+Q78ArLrmt3/omNi/qFiZsDner gp/RY+vfqCfHvCqtzqDNwLZViflsKRHhJjKyO1p1WggKzPyD/5NTn5gf/abmL5F++jarBu Gsvwamk+r6h4gJWjplLHcHjRPmyLUwb/I7NvGHosxxqePlI29hmtyCebrkD2/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=Wc2BSZm+; 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: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=Wc2BSZm+; 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: 753361304A X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: glywWFDuTFH6 Thanks for answering. Ihor Radchenko writes on Tue 27 Sep 2022 09:55: > Alain.Cochard@unistra.fr writes: >=20 > > Hello. I have the file: > > > > * COMMENT foo > > #+EXPORT=5FFILE=5FNAME: foo.pdf > > #+TITLE: foot > > fofoo > > * bar > > #+EXPORT=5FFILE=5FNAME: bar.pdf > > #+TITLE: bart > > babar >=20 > #+EXPORT=5FFILE=5FNAME is an in-buffer export setting with global ef= fect. > According to 13.2 Export Settings section of the Org manual, >=20 > In-buffer settings may appear anywhere in the file, either di= rectly > or indirectly through a file included using =E2=80=98#+SETUPFILE= : filename or > URL=E2=80=99 syntax. >=20 > Because export settings are global, they have higher priority over t= he > COMMENTed heading. OK, I can understand that but if, as I now see in 13.2, both TITLE and EXPORT=5FFILE=5FNAME are export settings, why does it behaves as I expe= ct for TITLE (the title I get is indeed 'bart') but not for EXPORT=5FFILE=5FNAME=3F > [...] =20 > > By contrast, with this file > >=20 > > # * foo > > # #+EXPORT=5FFILE=5FNAME: foo.pdf > > # #+TITLE: foot > > # fofoo > > * bar > > #+EXPORT=5FFILE=5FNAME: bar.pdf > > #+TITLE: bart > > babar >=20 > This file contains no export settings. I don't understand that: what about the line '#+EXPORT=5FFILE=5FNAME: bar.pdf'=3F=3F > # #+EXPORT=5FFILE=5FNAME: foo.pdf line is not an export setting. It > does not matter that it is a comment, Yes, of course; if it is a comment, it is as if it were not here at all, correct=3F > I think that the manual is not clear enough about applying > in-buffer settings and keywords. We may want to clarify this > detail. How about adding a sentence in 13.6, perhaps in the footnote=3F Something like "Also note that, as mentioned in 13.2, export settings, being global, take precedence over the 'COMMENT' keyword." Finally, I'd appreciate a "SUPERCOMMENT" keyword, which would be equivalent (when exporting) to removing the tree altogether (or, as I understand, prepending '# ' to each line of the tree). --=20 EOST (=C3=89cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=C3=A9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44= =20 F-67084 Strasbourg Cedex, France | [ slot available for rent ]