From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qJYEK6puv2CZwQAAgWs5BA (envelope-from ) for ; Tue, 08 Jun 2021 15:20:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iPNEJqpuv2ClJwAA1q6Kng (envelope-from ) for ; Tue, 08 Jun 2021 13:20:42 +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 310231811C for ; Tue, 8 Jun 2021 15:20:42 +0200 (CEST) Received: from localhost ([::1]:58438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqbep-0006Vk-Lf for larch@yhetil.org; Tue, 08 Jun 2021 09:20:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqbc8-0001jA-9n for emacs-orgmode@gnu.org; Tue, 08 Jun 2021 09:17:52 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:40470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqbc1-0002ZJ-W2 for emacs-orgmode@gnu.org; Tue, 08 Jun 2021 09:17:52 -0400 Received: by mail-lf1-x12e.google.com with SMTP id w33so32064715lfu.7 for ; Tue, 08 Jun 2021 06:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=TC5fiQuTpeTiOkhE7BgQr6UEOtpbhrZndmMA3uYdQpY=; b=lyemcfXunv+/P/YpByU8nSkbPbaY8pkwXpansGQJGza8uDzZBPMy06QisnoL3Ma5GL NmQTsl+9VH+spVGnAryJybehHnxIdnj7y1gcgozDPLsp6HtyVkqGrPQLYkKRM3medsTW aw1/WptPYnXOhHeKRuOQUcSBBYkEpkr+ZaeMp/+YI4/4E3fWtjcobVDbV3ee4HkthG5u fm7q8qgKN1T02Xlq/2uhkSjYagT6ZhQPrw0/UwSeQ2YX93LDHsLhlZtV+r5HviBeJsME eAyGNQ4TBHLKn1qV+e19ASlcYor1O39SOKARzH3hgtBtoh+/zLSJjQ88351EjmOqZfaG KK6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TC5fiQuTpeTiOkhE7BgQr6UEOtpbhrZndmMA3uYdQpY=; b=eKQoVFtes6U8qtNd2aNRyE1dFxK8XxO7SCCLN8k0BtdUJVix7GukcWo+wTXziqnus7 fgbD5Fq4MKnP0nufPeZwij/eQjyZV0vpLoh71SD5/clyahDbuLc6kNec50kUcwXOdjXW lk/iarGWkbGfrHJXhcQmJhwPPBR4PGovUxE0CEJp9cwty7EvOqPhrIj7FRrJWL54XJYU i+QcKEUu+QTgPDfLx5gkh9fJkJG79LNPjCtpRW6X5zZuN3725R6XJWCvJ/iJXH6EIuEm R1z7SUjv2jEA1TkRqh1uSt16hXSsTg0qpFaO5fsPToX+X0abdZ3vodR5nVyt9vr2YXZY RY1w== X-Gm-Message-State: AOAM531LtfIWqrVp61FYOU0ZMQsppWA56Ahij4qMlbYxMSXD+dVN62x5 zdzBSty2hA9GYRQILA+JJkwq0ro3B7WPfsxh23Y1+CTvXMNuAA== X-Google-Smtp-Source: ABdhPJyd7OinBOJSTD3OhIgzdZkAEGiZ5JP/+xA220ZMTh+7RUqikeTo85VhtpVuoHPGIyW7bXCbYl8beUFQ+7DXsEc= X-Received: by 2002:ac2:4474:: with SMTP id y20mr14566997lfl.621.1623158261896; Tue, 08 Jun 2021 06:17:41 -0700 (PDT) MIME-Version: 1.0 From: Michael Dauer Date: Tue, 8 Jun 2021 15:17:31 +0200 Message-ID: Subject: BUG: export options properties drawer position and planning dates To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000009d6e4f05c440fb5f" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=mick.dauer@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_40=-0.001, 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=1623158442; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TC5fiQuTpeTiOkhE7BgQr6UEOtpbhrZndmMA3uYdQpY=; b=sHtO6u428WYrPtgn+/t0O74L8O4ZuECKAVdjtDSMVZW9eBkCQoMWyNEw8rxNPAph9+szwA UjU3AY/vWFo3gQwoqwcCXrfwD/GoERo4G5MU0QEpJc/dP36R34jVNzKVcrBwdDocNhTR+Y H9o9DeDXaWWYfMmvpZ2blX2Z4cNaXTR4ARioaJpUP6KQhTPA9r45Gb+csfsNUQ6hXbzBxK anzaP5cdEwDj26XYc/gc40ca9H5/Ljnx6Loukb//16LcwfltKGIBSCbMa/hIXf0jLA4A7r 5onXtiZw4HNC9P+FsawgsNfHH0gonTpn8SsVGgdHolE/7ajABTK+SMjVQ6cP9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623158442; a=rsa-sha256; cv=none; b=KWZZ9QDyCVRPD/TU9Wb8EHRzBWmpz4l4K5uladK8At1thOzQxCU/49RQ1QKzJyb592wFpB TLA3LK9rhOY5wg3LZZvzqItQ8mDr8126nKTA03sawp3dX1t2E3OxRoJskOy5RlPj44G1wX eh2u8zTOrCB6pO9WZmHk68BRWUp5J6zcHKO7Ug0jxbNrR6CJu+UCUbAG4aEW07Q7KlCIFa SsJtw9+X1UjXE24C0ub14JVThk4pFM4mm+6UPL9fUSZZq9uFeEZWltTWhcDuWXP/iXwIAM 23edh5fGOQtSfM6hlAWgYJmkAN7xwZRcjpSI+vpxUGzISfhGKK4C7iURxiOOUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=lyemcfXu; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=lyemcfXu; 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: 310231811C X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: T4zGJ4gU7GIg --0000000000009d6e4f05c440fb5f Content-Type: text/plain; charset="UTF-8" Hi, There seems to be a bug in Org mode version 9.4.6 (9.4.6-gcf30f7: EXPORT_OPTIONS (at least p for with-planning) is only respected if there is no planning date placed above the properties drawer. >>> * TODO export options :PROPERTIES: :EXPORT_OPTIONS: p:nil :END: SCHEDULED: <2021-06-08 Di.> ** TODO l1 :PROPERTIES: :EXPORT_OPTIONS: p:t :END: SCHEDULED: <2021-06-08 Di.> *** TODO l2 SCHEDULED: <2021-06-08 Di.> **** TODO l3 :PROPERTIES: :EXPORT_OPTIONS: p:nil :END: SCHEDULED: <2021-06-08 Di.> ***** TODO l4 SCHEDULED: <2021-06-08 Di.> <<< produces the somehow expected behavior: >>> SCHEDULED: <2021-06-08> TODO l1 ======= SCHEDULED: <2021-06-08> TODO l2 ~~~~~~~ TODO l3 ------- SCHEDULED: <2021-06-08> * TODO l4 <<< But it is syntactically incorrect since the planning dates have to be the first line below the heading. For the following syntactically correct snippet the export_options are ignored: >>> * TODO export options SCHEDULED: <2021-06-08 Di.> :PROPERTIES: :EXPORT_OPTIONS: p:nil :END: ** TODO l1 SCHEDULED: <2021-06-08 Di.> :PROPERTIES: :EXPORT_OPTIONS: p:t :END: *** TODO l2 SCHEDULED: <2021-06-08 Di.> **** TODO l3 SCHEDULED: <2021-06-08 Di.> :PROPERTIES: :EXPORT_OPTIONS: p:nil :END: ***** TODO l4 SCHEDULED: <2021-06-08 Di.> <<< >>> TODO l1 ======= TODO l2 ~~~~~~~ TODO l3 ------- * TODO l4 <<< Same behavior I see with HTML export. --0000000000009d6e4f05c440fb5f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

There seems to be a bug in=C2=A0Org= mode version 9.4.6 (9.4.6-gcf30f7: EXPORT_OPTIONS (at least p for with-pla= nning) is only respected if there is no planning date placed above the prop= erties drawer.

>>>
* TODO expor= t options
:PROPERTIES:
:EXPORT_OPTIONS: p:nil
:END:
SCHEDULED: = <2021-06-08 Di.>
** TODO l1
:PROPERTIES:
:EXPORT_OPTIONS: p:= t
:END:
SCHEDULED: <2021-06-08 Di.>
*** TODO l2
SCHEDULED= : <2021-06-08 Di.>
**** TODO l3
:PROPERTIES:
:EXPORT_OPTIONS= : p:nil
:END:
SCHEDULED: <2021-06-08 Di.>
***** TODO l4
S= CHEDULED: <2021-06-08 Di.>
<<<

<= /div>
produces the somehow expected behavior:
>>>
SCHEDULED: <2021-06-08>


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

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


TODO l2
~~= ~~~~~

TODO l3
-------

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


* TODO l4
<<<

B= ut it is syntactically incorrect since the planning dates have to be the fi= rst line below the heading. For the following syntactically correct snippet= the export_options are ignored:
>>>
* TODO ex= port options
SCHEDULED: <2021-06-08 Di.>
:PROPERTIES:
:EXPOR= T_OPTIONS: p:nil
:END:
** TODO l1
SCHEDULED: <2021-06-08 Di.>= ;
:PROPERTIES:
:EXPORT_OPTIONS: p:t
:END:
*** TODO l2
SCHEDU= LED: <2021-06-08 Di.>
**** TODO l3
SCHEDULED: <2021-06-08 Di= .>
:PROPERTIES:
:EXPORT_OPTIONS: p:nil
:END:
***** TODO l4SCHEDULED: <2021-06-08 Di.>
<<<
>>>
TODO l1
=3D=3D=3D=3D=3D=3D=3D
TODO l2
~~~~~~~

TODO l3
-------

* TODO l4
<<<

Same behavior I see with HTML expor= t.


--0000000000009d6e4f05c440fb5f--