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 ms0.migadu.com with LMTPS id KDMfKysyHWIJpAAAgWs5BA (envelope-from ) for ; Mon, 28 Feb 2022 21:35:55 +0100 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 ADAaJCsyHWK6yAAAG6o9tA (envelope-from ) for ; Mon, 28 Feb 2022 21:35:55 +0100 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 48BAC147F1 for ; Mon, 28 Feb 2022 21:35:55 +0100 (CET) Received: from localhost ([::1]:57150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOmkM-0007S9-0b for larch@yhetil.org; Mon, 28 Feb 2022 15:35:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOmjM-0007Rx-6r for emacs-orgmode@gnu.org; Mon, 28 Feb 2022 15:34:52 -0500 Received: from [2607:f8b0:4864:20::b32] (port=33695 helo=mail-yb1-xb32.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOmjK-0006hh-Kp for emacs-orgmode@gnu.org; Mon, 28 Feb 2022 15:34:51 -0500 Received: by mail-yb1-xb32.google.com with SMTP id j2so23086916ybu.0 for ; Mon, 28 Feb 2022 12:34:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=UF+QoLe1N8MOLjwvVrXlhTmVuJOo1VrDNn8Wh0sKAJk=; b=nGFaYfSb4Oq2pfqXE2XM8I4zz2Jul8jfEihJxyeDrYs63/6uZrft296ZR29GnjOUl1 k4BUyKYvo7d0CHtdrOzmjvm6patsyI9d2coFUzKqu5SaUPYZ5s5SzjFHeJxIV1LLXGuP lrcOcyhJlCf+k/eTxvttatGQ8ybA2dKYpqGUKOtgz+lvuFQ2eDGGEdZ0JDs2E0OEpJ8V NV1akGIk9bVslqax8HvQZAPEMMQ/f36ioTlS9NgMPCDlgwIL2j6bW2pMqj8HwQWHFrv2 ifd8LJxLYZLON/NWy7jnLfX7aEu1W09XsFmEW/lx7dtHp/l1qtaHWcviHucGpNaBh0AC WCVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=UF+QoLe1N8MOLjwvVrXlhTmVuJOo1VrDNn8Wh0sKAJk=; b=qm3Mb7b+UjAq37ORYzD7N3FwJ1A3JbRQ/SAbxxM+1xmVjyHC2yN1lGLTaP+3NAsQON VPgzccD8ch0kyVt+iMSQU7+eiRYEIg1vkUop4JjOIqQDafLol2tMXmLo5VbbLRxbJdEB GKDkCdTSbRQnhQxneElwEfGKa64CKcNgMAGoMcHXLMOipoI7cgoCT7qUIxk+5X3CXf1Q 8TWlWWAsJs5E+P5hkKj/f98HrMs8bpVzV5IAbhLpVGKWcaGfgHmaso9DS3lPWG3qzQAq 9dgQGOQAz86UuB1hp5YUZ8VmzqPWMQKSoQHGT8cyg62p6Bvdk32JudDmF025SUoVn0o6 aYJg== X-Gm-Message-State: AOAM532ezpV7cQHypX5TRSQP9U0EaKvtcWsBfj4TgscrC96S3fvesmLC TZDZs1rWdrJZWYu9SutENDXA9vKtbVoGJZiR4EL4v+rhjII= X-Google-Smtp-Source: ABdhPJx+SqazcKOccTJOlDHNYd2YEyGPIRNVrCZ7Ro2KmwJYmUIjUQFeNpmrpWQfopCgkEVRbeYuqyaSRfb/sAvutVw= X-Received: by 2002:a25:a004:0:b0:621:fda3:4512 with SMTP id x4-20020a25a004000000b00621fda34512mr21755988ybh.226.1646080488246; Mon, 28 Feb 2022 12:34:48 -0800 (PST) MIME-Version: 1.0 References: <185742ab-1719-540e-742c-5496ff61731d@hoowl.se> In-Reply-To: <185742ab-1719-540e-742c-5496ff61731d@hoowl.se> From: Kaushal Modi Date: Mon, 28 Feb 2022 15:34:12 -0500 Message-ID: Subject: Re: Inconsistent handling of multi-line properties To: Hanno Perrey Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b32 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=kaushal.modi@gmail.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: emacs-orgmode 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=1646080555; 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: 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=UF+QoLe1N8MOLjwvVrXlhTmVuJOo1VrDNn8Wh0sKAJk=; b=l1eWZzumswxi9yAqP8L1rljdVHN8juOvqQJ/SNHdU2GgWXv0iaZLRz4ejToF2ToZxrbFag TKS6gxmfE2OnR+KMG6a07COz8BX8X1mEl62EgQ7c9xOE9d/AbSiG1XJRZjRIk3RhE2kasd xlEdkQWVybYBNCZ+7xHP+1P06llNRyDRgHG/y2bQGoN0ITylGD4l4/JkziIMlVGA7EtZ3E EBpPAuDQT/TStuqAKVWRrQJiO+m+tYsw8sxUd+/dm2UCxEXgVQea64JHH1VollLLvxcK5m iLzytXUhZ7U+vKGlg2TsrvZOOwnlIyhRADbLZruf+YP1WjhS8tFGFnBrSsnj6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646080555; a=rsa-sha256; cv=none; b=AVcBx4Pit4wUe/OAsNCyRHg9h4ivzWlD0i6DdYpbOqyFRcxqkym7+UVwlv/ICeCSmpmqm3 wc7NdJaC6xJ2xyDsdrFqiRU03vHwKfrWtk7j2c9a1VWSjDFAHxi5na6ohuIQ2GojKxyp6+ hFYkPJN3puQsExwW/rlz4dZZAaJj6hn2W6tk7BuE7cd4mL61h422WHOWD2yp0vouNu0mFW SiPo7toJVreVNCvu40F4xq7lDNAXCQX4AAUL/y4K6DakRnpkaO1WOZ3TDNjshSGs8Zfejr lYjBM0zupzXh9DJD6WX35gwtvw54TifByiqK1UdWCC2awhDkzACRPz6LsmK4uQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nGFaYfSb; dmarc=pass (policy=none) header.from=gmail.com; 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.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nGFaYfSb; dmarc=pass (policy=none) header.from=gmail.com; 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: 48BAC147F1 X-Spam-Score: -4.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: letx0MIAX42c On Sat, Oct 2, 2021 at 11:03 AM Hanno Perrey wrote: > > Hej, > > I have noticed that properties that stretch over multiple lines using > the :value+: syntax are ignored by org-element-property and therefore > also by e.g. org-export-get-node-property when exporting to ics via > ox-icalendar.el (see example below). I was wondering now whether this is > intentional and to be expected or a bug? I use the :value+: syntax for the subtree properties regularly. For exports, though, you need to prefix the properties with EXPORT_. See the (org) Export Settings node in Org manual. > When exporting sub-trees, special node properties can override the above keywords. These properties have an =E2=80=98EXPORT_=E2=80=99 prefix.= For example, =E2=80=98DATE=E2=80=99 becomes, =E2=80=98EXPORT_DATE=E2=80=99 when= used for a specific sub-tree. Except for =E2=80=98SETUPFILE=E2=80=99, all other keywords liste= d above have an =E2=80=98EXPORT_=E2=80=99 equivalent. Here's one of the pathogenic test cases of ox-hugo: =3D=3D=3D=3D=3D ** Custom front matter in multiple lines :PROPERTIES: :EXPORT_FILE_NAME: custom-front-matter-multiple-lines :EXPORT_DATE: 2017-07-24 :EXPORT_HUGO_CUSTOM_FRONT_MATTER: :foo bar :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :baz zoo :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :alpha 1 :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :beta "two words" :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :gamma 10 :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :empty_string "" :END: =3D=3D=3D=3D=3D All the HUGO_CUSTOM_FRONT_MATTER properties get collected as expected. Here's another example: =3D=3D=3D=3D=3D #+author: #+options: toc:nil * Heading :PROPERTIES: :EXPORT_AUTHOR: abc def :EXPORT_AUTHOR+: ghi jkl :EXPORT_AUTHOR+: kmo pqr :END: =3D=3D=3D=3D=3D C-c C-e C-s t A exports to: =3D=3D=3D=3D=3D _________________________ HEADING abc def ghi jkl kmo pqr _________________________ =3D=3D=3D=3D=3D