From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 62hvOCfBNmIKPQAAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 06:52:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CI1KNCfBNmKwcAEAauVa8A (envelope-from ) for ; Sun, 20 Mar 2022 06:52:39 +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 914FC3283C for ; Sun, 20 Mar 2022 06:52:39 +0100 (CET) Received: from localhost ([::1]:37538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVoUY-0000ig-L5 for larch@yhetil.org; Sun, 20 Mar 2022 01:52:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVoPc-0000gK-RZ for emacs-orgmode@gnu.org; Sun, 20 Mar 2022 01:47:37 -0400 Received: from [2607:f8b0:4864:20::42c] (port=35387 helo=mail-pf1-x42c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVoPZ-0005RA-0q for emacs-orgmode@gnu.org; Sun, 20 Mar 2022 01:47:31 -0400 Received: by mail-pf1-x42c.google.com with SMTP id a5so12957859pfv.2 for ; Sat, 19 Mar 2022 22:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=q2uinIFh2d8AthQI7Ityty4xjTdH3VbyP06l5sGzUew=; b=C1lE03SgpJHmgN88hFKqcg6RwejLMfVz4bSeBUzgJHqCGyfipVCng4Ya0NYgECDVAr lzJEoGDeN6m7apWd3Ek1mSoRwmMsjDERdrSMGcAGqXa3571wrIx2e9wQANLL4pzkUhO8 ZOcrtdbbDQaMs5F1ylmTaeNRywERBX3EAnydZo8ox/Zqt8LP/ofwNYXZiD/Da2YkZsO0 vTUva9aKHkedW1KXVC4R8OWASdKDi44/bQQMhVClB0NnCKVwf2v87fEs+mMP4PxBeUmd C3N8KLW8/s9Hvn3RaIYkBKwG88EPKZjAskxQ5TPxyTfE4iopIjjRyOuKGKok5hxzKehX 1FQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=q2uinIFh2d8AthQI7Ityty4xjTdH3VbyP06l5sGzUew=; b=aAWJMdpGRWXNp72yN/Q9F4l/c/kQ7ycwfryfy7NyXdiLVwt7CX9uaZUenc6DF9O0ct KqLcIqWSMasjqbcaxp4Eh0OuRa7aHKRGH6cUOihDSdhNn6TUcXE3uMWvMbHzUGqb1XsD ht+9EeS4cdilMNko5cV//ggYqFRKyzAXI+3p2n84anmgQbvOQNMgH76vmRtEuFy9+Kwj qs9vHk0vYHdtrPOSb6XuHOCSCiHJuI17Fw4hFdacDG+r0OxpJq7YWuHheaFI/xNdnLQD y4pbld3Qxe2DkCjmipBuerbdlq+nXrPzBclrHQHqErMdjWsN5fXpVETaLs9CAtmcjHyV p5iw== X-Gm-Message-State: AOAM5309DfG3CRut35ZCzv0mTHJUXdRsNmiinLLJqHh33mpSZe5/SUZ3 POGEThEJ8eDFeBgRjUZYl54= X-Google-Smtp-Source: ABdhPJyhr9/q3anvy0pt5S68cJPAi5Lr4fgikvnE4G9WSDmzYXfvaiAkzxQJGpRctib1XX1yWeeWuQ== X-Received: by 2002:aa7:81ca:0:b0:4f6:d297:4213 with SMTP id c10-20020aa781ca000000b004f6d2974213mr17517776pfn.59.1647755247498; Sat, 19 Mar 2022 22:47:27 -0700 (PDT) Received: from localhost ([45.128.72.3]) by smtp.gmail.com with ESMTPSA id f16-20020a056a00239000b004fa7103e13csm7152328pfc.41.2022.03.19.22.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Mar 2022 22:47:26 -0700 (PDT) From: Ihor Radchenko To: Greg Sullivan Subject: Re: Inconsistent handling of multi-line properties In-Reply-To: References: <185742ab-1719-540e-742c-5496ff61731d@hoowl.se> <87sfxj78uj.fsf@localhost> Date: Sun, 20 Mar 2022 13:47:53 +0800 Message-ID: <87r16xdvjq.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42c.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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_ENVFROM_END_DIGIT=0.25, 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: Hanno Perrey , emacs-orgmode 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=1647755559; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=q2uinIFh2d8AthQI7Ityty4xjTdH3VbyP06l5sGzUew=; b=tVq1SGG5mHisycHRwS7+fI/2Avl2MbdziQb2xqFlgConMrY03ijmtSbZR3j6a5TcoYFLxE ZhZ8K8UUEUbjbijnTLQ6YhkMNVZPl5MXrJgJQblv0jzTQpIbErsyP8qjhlJ+HMwuEwZWDw 84XxtZEGBYi9qoBHZEArkV16bWrw8U3GSkfVMt+UaRtwxQ8CfipjvnWYtsVJl9mYLiEXhJ rKUhAA1UAo8YnApHrSDSxjTBohHty+lND1wJ/Ekfql64LmTIOQtiR/6dnY3AsU+CzONU2V Eed1IoGnfQsxBn0/Qhp06Mg3CJO2kANOMzLB9KcZbEfd3rHYmwusEIQFAj3Z5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647755559; a=rsa-sha256; cv=none; b=Zd+h2FoHKtPkSMUCngRl5KooOn7WD7R6b4YwoKzln+DO4hGt8r/mRKnlGHkVwuMr/y5115 J/eOtDP23BuNyrbryChQ+CQGgSCWPdcllPTgE4ROf+2YHD4BSQdgcRLZWMVKAbJtEN2gjl dRIvr4Z5etkLEOj7Y2Cm/aBBTOdCteNcjpQbcXwwXiMjcGjfQ9zxdRrmM3pyhZrap/Nh29 QTDrlD7USzpAp+Kvq3PihGdB8PMEBon42df98Q6cxBzm8GvqNIVwV20LNUD64ndvxE5SsW zZ4tQauDL1iQOkH1j7lZZoXLz0owhacdS5SZsdQ0IKM7t0J76ErP/bMM/09sYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C1lE03Sg; 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: -5.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C1lE03Sg; 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: 914FC3283C X-Spam-Score: -5.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: vwqc1Rds+hNx Greg Sullivan writes: > I would really like the ability to use the ":myProperty+: " to create > multi-line properties for the org-export-taskjuggler exporter. > However, the mentioned patch is quite large and mostly focused on headline > caching, as far as I can tell. > @Ihor or @Hanno, Is there a patch just to get the :myProperty+: syntax to > work properly with org-element-property? That patch has been merged. However, the part about merging :myProperty+: into :myProperty: did not work as well as I thought initially. Now, all the instances of :myProperty+: do get merged and can be accessed via (org-element-property :MYPROPERTY+ element). However, they are not merged into :myProperty: because it would interfere with property inheritance. Merging everything into :MYPROPERTY is possible, but it might break third-party packages that do not expect element properties to be lists (currently, most export backends assume element properties to be strings). I am reluctant to work on this unless Nicolas displays a clear support of such change. An alternative could be modifying org-element-property or org-export-get-node-property to support multiline properties. Meanwhile, export backends might be changed to look into :PROPERTY+ in addition to :PROPERTY. For org-export-taskjuggler, you may implement this feature yourself. Note that org-export-taskjuggler is not a part of Org core. It is in org-contrib and currently not maintained. Best, Ihor