From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +Ac9HWtQ8GbgKQAAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 17:14:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +Ac9HWtQ8GbgKQAAe85BDQ (envelope-from ) for ; Sun, 22 Sep 2024 19:14:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BVGs4r7y; 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=1727025259; 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=N1E2RH7EeQHYC1omo9JbMmpzBDLvZ1BHi0buqzH/VSs=; b=r/nFfXwik/xPqhPLK2D0oYm3qtwYPli//U5lG8i57/cQl75tQxqfz+aT1XGYXhGRFze3Rv oMauPlsa3weBXqtSovEa3tVMnRm4Xs2jYQxvcEAV4oB6HQl8DDB3mbJk9e3/6CNyLWBory RA66/Pg0YmK7qvHkCF8v6BPmoVmJwBLtac6HPcKWwF3pU+aUDyZXLCH1aPmlyipmxyuQvY GkLSoLfh9qMYcJpEZ29PUi20fq/Prm0LRyICFzqXcTvWWvoTz9hvHbEkUcMTvntwF10akC xUk0PlWRu/Tl3W2oKTwozli0qF911cpbl1SxGCw6jXQmWg6AR7TGaCYbXWf2FA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727025259; a=rsa-sha256; cv=none; b=ArICj2DuaS2wEWPT/27s7p6QkeJYHC0mCt0JMmY4by2UEjo690m0NZU7QTv74tKcBwPDHQ KVVh0TkiPmLbljfWvs/KVli14stTVq4+Zd7ofFK6e06iLgacsmU/cko7mTj/0XjBEfrhkp LfW8arGXe6l/sBo+gLaCrySzV+iBI5lZRILvIcTMnGHbGgJ0qwpKhw6zhZi7PO/4jfL28b ukvlLSUQrIPALYOpTysguq25ujgjz3vigDqIqn7H+T6objsr69Q9MH/sPl2AA0Ur0oNGel WAqTGLIobqk4blp+owwRJs+lmo64KiIe5bTOTZ5f1c0OVoKULe6tTUpAM5GiaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BVGs4r7y; 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 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 4458C8328B for ; Sun, 22 Sep 2024 19:14:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssQ9i-0005QW-EW; Sun, 22 Sep 2024 13:13:54 -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 1ssQ9g-0005QA-VX for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 13:13:52 -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 1ssQ9f-0005kM-3e for emacs-orgmode@gnu.org; Sun, 22 Sep 2024 13:13:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CCA34240101 for ; Sun, 22 Sep 2024 19:13:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1727025229; bh=NGKe8NWoFnbx+5LMkKjKQU7Nncz0vCbHTFZtyCJ2ZJg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=BVGs4r7yl9B+C/Y8VzaN7kwySN8cRcpHi5luslEM4Iy3Gtqz7ODLX2BZMvU3LoMyk Fe1C0MpRtLy3qXNxZfCKlJbBoEOeWVNfL2ECGXYAS6GrZGeokah0nYD6tJ3nx2ntAX x/3BxCkK8r3QFJRvQHV8I0fzRveyoQjdkoEBJAI+uAI3sOuSvDnU7jzlBDISQI+G4I YuezypAfT8Yjf+pbkg+EagrYOZhs/R587CGIK1lsyMGnMoS61GJNRcoa7IvTQEwhj5 YVbm/uV5JBi5OR7a9ctbDv70ct1xutag+Tp1v9zukSIH5JXn4XnhlwGer6IXkI5ZCI /IRARg9qf3xjA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XBXld2X1Jz6txF; Sun, 22 Sep 2024 19:13:49 +0200 (CEST) From: Ihor Radchenko To: tomas@tuxteam.de Cc: emacs-orgmode@gnu.org Subject: Re: Differentiating org element properties from built-ins? In-Reply-To: References: Date: Sun, 22 Sep 2024 17:15:25 +0000 Message-ID: <87cykvpq36.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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.76 X-Migadu-Queue-Id: 4458C8328B X-Spam-Score: -8.76 X-TUID: vjmQzFZl3d8P writes: > I do see foo and bar (well, OK, :FOO and :BAR) with their values, but lots > of other (let's call them "built-ins") like :begin and :post-affiliated. > > How do I keep those apart? Or do I have to resort to running regexps through > the buffer? (defun org-element-headline-parser (&optional _ raw-secondary-p) "Parse a headline. Return a new syntax node of `headline' type containing `:raw-value', `:title', `:begin', `:end', `:pre-blank', `:contents-begin' and `:contents-end', `:level', `:priority', `:tags', `:todo-keyword', `:todo-type', `:scheduled', `:deadline', `:closed', `:archivedp', `:commentedp' `:footnote-section-p', `:post-blank' and `:post-affiliated' properties. The plist also contains any property set in the property drawer, with its name in upper cases and colons added at the beginning (e.g., `:CUSTOM_ID'). So, properties from the property drawer are always upcased. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at