From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YCcEJLF0WGGEJQEAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 17:03:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kM5tH7F0WGEuSAAAbx9fmQ (envelope-from ) for ; Sat, 02 Oct 2021 15:03:13 +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 0ABC72E707 for ; Sat, 2 Oct 2021 17:03:13 +0200 (CEST) Received: from localhost ([::1]:33210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWgXg-0007ht-6I for larch@yhetil.org; Sat, 02 Oct 2021 11:03:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWgVr-0007hU-3B for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 11:01:19 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:37204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWgVn-0004zj-KO for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 11:01:18 -0400 Received: from 194-18-252-127-no2005.tbcn.telia.com ([194.18.252.127] helo=[192.168.23.21]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mWgVm-00065x-0T for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 11:01:14 -0400 From: Hanno Perrey Subject: Inconsistent handling of multi-line properties To: emacs-orgmode Message-ID: <185742ab-1719-540e-742c-5496ff61731d@hoowl.se> Date: Sat, 2 Oct 2021 17:01:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=104.248.1.95; envelope-from=hanno@hoowl.se; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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=1633186993; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=t7aFmfneHqxfAbNl4DmGE1g/ijGrfXZEX5q7cYQhXhM=; b=a5h7jarXA7jyISiTyhxM9a9ifXYTbKZIMI5uiXA6SQdymARdsie6F8wUmSeqEtR8pyaDhJ P732+ivFL3Ij00jSuPt7p8apZkIn0Z7dON68NdL7ibO+StVVBkLLnSAcKsnwMg56UwJBWm MhTDW2fVd8fZ9S/yAzizbQdEggXlA1oKcLMTP24sObG4+urcaKIYpAiY3EKagIIIcmhxdM ynYXtVldV/AV/82/AhZeAPEfnvEwzS2IT88QtXEwoq1E7+YCP9669EOM20OGhwJ0aqA6pQ 8RCPuub1evvJKJmy7mpV8nDmmT4a/bN1w27TYjXzQHor+VeLCC7kXtrTtYAQYw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633186993; a=rsa-sha256; cv=none; b=HXDOzw8eJg65gAEcPTvWKavMhQK9FMqOt+mNy8iVbKgXmXD1Tiya4Iqppf4++977TrdIR1 3wOTLjy8wFApWkc7ae/Cf/RlsF3qHGQN3dk5uJzCorkIAaT05Uj6AcJJfAuLJDHWjw2sFe rdCLgx+Mu/oy0nxtnyux9PcocUnPNp4zm/WWTO9Rx+HiqcgsZ252RfgDOxwBaveFgnIMPw 9yvqZ3QC7bXQtgPMkjKZYdP0Ke4RC/FwPLdxwJRqicayXa/fQoxhGfpsuhLm7D5HM/PHtW QKrur5jdFGLa7XlP+hphy9xeMQ998YP1ueiiHyje2n1jEyAJ7rjKrslsnYGb+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -2.80 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 0ABC72E707 X-Spam-Score: -2.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: ppjYwjSrJj0e 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? * heading with multi-line property :PROPERTIES: :LOCATION: Someplace :LOCATION+: Some Street 5 :LOCATION+: 12345 Small Town :END: #+begin_src emacs-lisp (org-entry-get (point) "LOCATION") #+end_src #+RESULTS: : Someplace Some Street 5 12345 Small Town #+begin_src emacs-lisp (save-excursion (goto-char (point-min)) (org-element-property :LOCATION (org-element-at-point))) #+end_src #+RESULTS: : Someplace #+begin_src emacs-lisp (save-excursion (goto-char (point-min)) (org-element-property :LOCATION+ (org-element-at-point))) #+end_src #+RESULTS: : 12345 Small Town Thanks and cheers, Hanno