From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id T2IIAMWWyGD08wAAgWs5BA (envelope-from ) for ; Tue, 15 Jun 2021 14:02:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SGuxNsSWyGD8dgAAB5/wlQ (envelope-from ) for ; Tue, 15 Jun 2021 12:02:12 +0000 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 4ED4F2351C for ; Tue, 15 Jun 2021 14:02:12 +0200 (CEST) Received: from localhost ([::1]:57042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lt7lh-0008PY-Hv for larch@yhetil.org; Tue, 15 Jun 2021 08:02:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lt7l9-0008Oo-SF for emacs-orgmode@gnu.org; Tue, 15 Jun 2021 08:01:35 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:41617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lt7l5-0000pu-Ga for emacs-orgmode@gnu.org; Tue, 15 Jun 2021 08:01:35 -0400 Received: by mail-lj1-x229.google.com with SMTP id z22so24598534ljh.8 for ; Tue, 15 Jun 2021 05:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=QwgufBC1iKlUfT2hwthL/tl/Bjj2yx+0kqnEXnjrIyQ=; b=NCVtxWPlc56/GYhXAg/LZFfyC96OelxgF/Ha3LHU5/cbI0uBdvI6V45/NfAJngaSFa Mf+20TQfUKIg37aKjaZK4t+W4iqxs572as2H6TNO2T/jiftY8xkTYquA+6Rs07NNZ8Lh lhEPTi/PCHbQn+Z/hob3D5XTcJYvDqtGiAkQO1pPwSVkiSdFDk2XtXQKYTeCseQrW0s8 xYrgkvcZ04dgEHapy7DgVdIlAMtPQtEgz4Wu4ls2NmLWUb2SYsgOherAeIWcnot+Unwk 8hFtIXCcpSpS8I7XchzXdesxYgCxpp0m4QYXXCzg5AfSMv7kTTHBNadboafMPoXsMAM7 Kasg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=QwgufBC1iKlUfT2hwthL/tl/Bjj2yx+0kqnEXnjrIyQ=; b=Ao/5/kGG9s3hKc7fW5bDQNIhtIqnaWWmcIiN861KhMbZJP8kGIc7FBw8AnQ0j7j9RI BLGMVbHfrYyYOmVT6+xASaZ/0sK4+iTlp5fru5zLRl+HilfMt9zWnfZ5aMalB7imaByi VNUMpeCBigFkSlnQFvkZJYW/APWaxg7ORsBGb6SbzYy8Nu/cl8Wt7jAqxfEJ9iY2LBHE EDPHCh2DMWixAuzRN1Bwn7c0lAwHiVY/U4+ufd/K4DSZA8CnEHJrnP/EjuBcatInR78e GKonptuHF/Om+CsaPb9mFyOLKTF4xwGqkLOkEoP3xDNO01V+79lMUELqk7po1BJXJgCN yR4g== X-Gm-Message-State: AOAM531TvXZCAsQmseXNOCiNP16iYDRp/01fUfr2XCy4eu9nwJWcYAtL ql5XoDBFyDFXJGy4QX0xCFtk6u3f8tveEQIEdvo0Q6Af2aQ= X-Google-Smtp-Source: ABdhPJwnvnd2evgv7WoWZAnW4FodZ0FWHBRLSjYfYnHk7XEp79C9+qC1Mni1nfWUVll9AbMy1gVTEXC5IMkEsxSHfZs= X-Received: by 2002:a2e:a4c8:: with SMTP id p8mr17932983ljm.410.1623758487727; Tue, 15 Jun 2021 05:01:27 -0700 (PDT) MIME-Version: 1.0 References: <87o8cghzt3.fsf@nicolasgoaziou.fr> <87eed3psns.fsf@nicolasgoaziou.fr> In-Reply-To: <87eed3psns.fsf@nicolasgoaziou.fr> From: Michael Dauer Date: Tue, 15 Jun 2021 14:01:16 +0200 Message-ID: Subject: Re: BUG: export options properties drawer position and planning dates To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000dcb29605c4ccbbb7" Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=mick.dauer@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623758532; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=QwgufBC1iKlUfT2hwthL/tl/Bjj2yx+0kqnEXnjrIyQ=; b=oyjeDRfrkkmVNINVFMmDsRQfRod9GxvOkla1HSz42u5gv/CipS2GvXtsdsWkWz27ErftpB /pAgHcOgmpNbBsQ99wrhdbLWrCS/Z5x+ilebcNn8YWtmG3jM2FXGAKwhQUk/rUgwdtOH4j uE/H1+wQ63ZWGjIUyCKLhhDlDaYhMndExDFnnoAUyQnNvJcVsAez0n6S4gYZ4V5Oy7vxlQ gfCoXX6moeMblh2f8xhXMWt3Ja/uIj9r0419PY7+nUj+GRbmiCzkwjh3gsUV4rOw7fGBf3 ioxhrZaodniUmsE0Ffxs1MOSZ5ppeX9oDa7jVltih6lDbBmaOqPZaTGPvHMeBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623758532; a=rsa-sha256; cv=none; b=fAsG16jP6slAhiE8gVqm/hVr4AOkQb25MBM3Aa1iWeoKGMdceT71w4q9p5h5JQs06c5aU8 dcyILiuhTRGx7ZdqQWTLs2rYWtgoUWZ3+0xJijyrjGN5ICVVqK9PlyBEgRMjp3l2+NlpAQ DPxpmDOQeLa/wU6DKqoM2KJktDoOjBEiYYh3gvPSwzTMn6eZrbWCpTSlZVyQttSvqK4svS BSourpqjRaNxkNIDkyD+PGspTVir5KUTd0Wp3HBu+qLRdeH9JR6qqC1NMYKvB77L9rvQ2F FWz8SrjSvYswdSXp43EOHxuo8dR6L33HAsfP6h7v5NUrODaQQglECb5xI5Ni7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NCVtxWPl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NCVtxWPl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4ED4F2351C X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: fqvajvtiqSkb --000000000000dcb29605c4ccbbb7 Content-Type: text/plain; charset="UTF-8" >>> * TODO export options :PROPERTIES: :EXPORT_OPTIONS: p:nil :END: SCHEDULED: <2021-06-08 Di.> normal text ** TODO l1 :PROPERTIES: :EXPORT_OPTIONS: p:t :END: SCHEDULED: <2021-06-08 Di.> normal text *** TODO l2 SCHEDULED: <2021-06-08 Di.> normal text **** TODO l3 :PROPERTIES: :EXPORT_OPTIONS: p:nil :END: SCHEDULED: <2021-06-08 Di.> normal text ***** TODO l4 SCHEDULED: <2021-06-08 Di.> normal text <<< >>> SCHEDULED: <2021-06-08> normal text TODO l1 ======= SCHEDULED: <2021-06-08> normal text TODO l2 ~~~~~~~ normal text TODO l3 ------- SCHEDULED: <2021-06-08> normal text * TODO l4 normal text <<< Am Di., 15. Juni 2021 um 08:07 Uhr schrieb Nicolas Goaziou < mail@nicolasgoaziou.fr>: > Hello, > > Michael Dauer writes: > > > I would understand that the export would take the export settings of the > > current heading to control the export of the complete subtree. > > That's correct. > > > 1. The much better logic would be that each node determines e.g. the > > with-planning by its own (or inherited) properties. > > This is not how it is implemented. Export options are per export > process, not per node. Besides, the above would not make sense for > one-off items, like title:nil. > > I guess the much better logic would first need to distinguish global > from local export options. But I don't think this is worth the trouble. > > > 2. This actually works when the scheduled date is (incorrectly) placed > > below the drawer. It is not just treated as the first paragraph, but > > omitted when the with-planning property of its node is nil, while normal > > text would be exported. > > Would you mind providing an ECM for it? I'm not sure what example you're > referring to. > > Regards, > -- > Nicolas Goaziou > --000000000000dcb29605c4ccbbb7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>>>
* TODO export options
:PROPERTIES:
= :EXPORT_OPTIONS: p:nil
:END:
SCHEDULED: <2021-06-08 Di.>
nor= mal text
** TODO l1
:PROPERTIES:
:EXPORT_OPTIONS: p:t
:END:
= SCHEDULED: <2021-06-08 Di.>
normal text
*** TODO l2
SCHEDULE= D: <2021-06-08 Di.>
normal text
**** TODO l3
:PROPERTIES::EXPORT_OPTIONS: p:nil
:END:
SCHEDULED: <2021-06-08 Di.>
no= rmal text
***** TODO l4
SCHEDULED: <2021-06-08 Di.>
normal t= ext
<<<

>>>
<= div>SCHEDULED: <2021-06-08>
normal text


TODO l1
=3D= =3D=3D=3D=3D=3D=3D

=C2=A0 SCHEDULED: <2021-06-08>
=C2=A0 no= rmal text


TODO l2
~~~~~~~

=C2=A0 normal text

TODO l3
-------

=C2=A0 SCHEDULED: <2021-06-08>
=C2=A0 = normal text


* TODO l4

=C2=A0 normal text
&l= t;<<

Am Di., 15. Juni 2021 um 08:07=C2=A0Uhr schrieb Nicolas Goa= ziou <mail@nicolasgoaziou.fr>:
Hello,
Michael Dauer <
mick.dauer@gmail.com> writes:

> I would understand that the export would take the export settings of t= he
> current heading to control the export of the complete subtree.

That's correct.

> 1. The much better logic would be that each node determines e.g. the > with-planning by its own (or inherited) properties.

This is not how it is implemented. Export options are per export
process, not per node. Besides, the above would not make sense for
one-off items, like title:nil.

I guess the much better logic would first need to distinguish global
from local export options. But I don't think this is worth the trouble.=

> 2. This actually works when the scheduled date is (incorrectly) placed=
> below the drawer. It is not just treated as the first paragraph, but > omitted when the with-planning property of its node is nil, while norm= al
> text would be exported.

Would you mind providing an ECM for it? I'm not sure what example you&#= 39;re
referring to.

Regards,
--
Nicolas Goaziou
--000000000000dcb29605c4ccbbb7--