From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kKa6NprMJ2XwHwEAauVa8A:P1 (envelope-from ) for ; Thu, 12 Oct 2023 12:38:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKa6NprMJ2XwHwEAauVa8A (envelope-from ) for ; Thu, 12 Oct 2023 12:38:18 +0200 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 6EB5B6E8E0 for ; Thu, 12 Oct 2023 12:38:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NhsMumly; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697107098; 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=HwLwcFUMwFJKJGntErUCOVrXEPG4QSlsyragmPxDRSQ=; b=K5ywqGWGIXSf6MX8GlF0vK0SpycMmzZyamle4cR9Zjl1PktII/uvG7MsMXzo6gaJrxcWFQ cuBU/jldkM1BrDUZ9qvBn6dTn11jntFPTAONa5vpLuFboUidUEp5oqFod/4QbiQ0fA0bfB OJkTvzOTuZacNPYLZLIHgAUEYotQryyuFUp8yXuVvlCVuQJrrklWeaDM+o19dOOdy/dK8B 6qfjHI9t+0mhA1S+H8MLyMpga9D88d4xWk3XyeVP4F8BsuY1VD0qW160npgEbZRZqPGFdd Q+y77pU/ZhCIUMkd4zPh5T7SqlluKrg8yRT3DuU1rqhGlCyNDoi+0sIbOPTHmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697107098; a=rsa-sha256; cv=none; b=DOykRmIB+FDsqDcTuPaGq7yhqQsq2Wkv2OkqHGNXGkiL+PKmoRQwq8BJ0uVPL9OJhUyKY1 BGRY5YYQYxIJwCVz6WO66r4VOgjQvYOjCWTiNTnM5o1uSuQBQqPumKrKgyy9yM+eS3l4XD UujikImuiVT0LOrj74MC40ctWyVYkVup4P+nRcziNNmf5Gq/awCCH5gbLlvv+XODcBC8NG Nq99POcgx61+nhE2yB3HEmBjPzaF5z9LQTUltuwWrYBZki9lxbYcnUatFmkbxTRSNV5FeF cZ3ttuTfnUcDIQGuas8w4+EQGVZlGji7sxo0BoLpHP0/T/6fbf30m+7u4ZXYmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NhsMumly; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqt4K-0005rn-7U; Thu, 12 Oct 2023 06:37:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqt4I-0005rZ-Nx for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 06:37:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqt4G-0001yh-ME for emacs-orgmode@gnu.org; Thu, 12 Oct 2023 06:37:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8018D240103 for ; Thu, 12 Oct 2023 12:37:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697107042; bh=enc0l23hsXw+WVx1X3b+A6P8YJ2P4Ody4+wfoSYunyw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=NhsMumlyFCkvTbj08Ss9DgJ/A8RHhyeRODbstoL4Hk7DJVO7JoDSrusBklCjtSRTK ItxtP6zhoiv5oNKRUyfxQ3QIv73qhxzlEBOi/2jshKOgVRh9xZZ4kkeAX9CUlfCPtS wES/SBUnm9D4ImzPTGRbL3emfW5BNWiPxEubNRJU55dDZxRXxZpj7QgCfTQjabak+A XS7u28jLIonP3lI1Msez9yMmMWdhNj/ccEjY5diYe2sc9tSMM0n+20/jaQOuc4Tp/i lAcnLjDwQXbDKf8+aZvfOrfQA4uouQ/tOGFZx7t689bS+f7kM/4VsOg1PfigaWrN/b 823CC/m8vQUNw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S5mKt07yTz9rxV; Thu, 12 Oct 2023 12:37:21 +0200 (CEST) From: Ihor Radchenko To: Tom Alexander Cc: emacs-orgmode@gnu.org Subject: Re: Document-level properties incorrect and/or missing based on preceding blank lines and/or comments In-Reply-To: <0ec8c4ae-4f5b-4e37-8c5c-f92ef497a461@app.fastmail.com> References: <0ec8c4ae-4f5b-4e37-8c5c-f92ef497a461@app.fastmail.com> Date: Thu, 12 Oct 2023 10:38:59 +0000 Message-ID: <875y3cf7lo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.39 X-Migadu-Queue-Id: 6EB5B6E8E0 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.39 X-TUID: n7l/i7kz1fjf "Tom Alexander" writes: > ### Issue 1 > > Putting a comment before it makes the value for the foo property incorrect (seems to be grabbing an earlier string slice): > .... > ### Issue 2 > > Putting any blank lines before it makes the foo property not appear in org-data at all > ``` > > :PROPERTIES: > :FOO: bar > :END: > ``` Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a52c74e96 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fba3fd56c -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at