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 ms9.migadu.com with LMTPS id EA2eF++XcGRAigAASxT56A (envelope-from ) for ; Fri, 26 May 2023 13:28:47 +0200 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 YGF4Fu+XcGTsJAEAG6o9tA (envelope-from ) for ; Fri, 26 May 2023 13:28:47 +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 0FCA739865 for ; Fri, 26 May 2023 13:28:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2Vbk-0004JU-Rw; Fri, 26 May 2023 07:27:44 -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 1q2Vbe-0004J5-Mo for emacs-orgmode@gnu.org; Fri, 26 May 2023 07:27:43 -0400 Received: from mout.gmx.com ([74.208.4.200]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2Vbd-0003Nd-2t for emacs-orgmode@gnu.org; Fri, 26 May 2023 07:27:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=s1089575; t=1685100453; x=1685705253; i=bvchgvbt@mail.com; bh=dTCRi8QlDDR3A6uWJqRrXs/ZGYxVdGK58X9XakQi0FE=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=R0Xlb0PGfRbJWfQpjsFK4TugLy3ndhXhbNWpcKS1CJeE3cDfU41Mv/BiBou2+28JJlPX6ws kJsHyIIZvlUTtYj9FtWVaax854KXWAqbu7JpH2Ye+nehfEem96XZON79n9BDqh03HqKdm4xEx +1iKSnQFAenBn4zNNVrL9PtIumCTysArhbOH5mVe7RYVbykl46MpQ47lzHYj5byZ0SwFaTs3U 4gufpwTEA+j28lDxp3A+mOsv5IqK9vCmXU7bE9fQ/z3mY4zSNbjsQnP4B3lNrxQ8ycOu/4RlF PfiBgUSyRzLt6qtAwU9rnTHT+eiuQenzFm9qIPsgk+qzk2Eqefow== X-UI-Sender-Class: f2cb72be-343f-493d-8ec3-b1efb8d6185a Received: from [82.13.53.64] ([82.13.53.64]) by web-mail.mail.com (3c-app-mailcom-lxa03.server.lan [10.76.45.4]) (via HTTP); Fri, 26 May 2023 13:27:33 +0200 MIME-Version: 1.0 Message-ID: From: bvchgvbt@mail.com To: orgmode ml Subject: Re: Modifying the parse tree Content-Type: text/plain; charset=UTF-8 Date: Fri, 26 May 2023 13:27:33 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87o7m8wsxa.fsf@localhost> References: <87wn0wwugx.fsf@localhost> <87o7m8wsxa.fsf@localhost> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:FvRF0C57ZvixmquTYlfZUATRg8Fu5oMq3/sQonW9tkxmerVRPerHirIkJxrCdHnl+cwxA WlivyZA9VnY3+wwJvQqG0MbUCyMj5tNoSacDuhQGARwv+SVZGLvRYMRXxyKTURww4xDGRaUWoIIy QL7rg1CWfyJjlcru7ZRuXjvNYiDS0vxLOjAmmqF0ZSKRYLohwbq6a9ZxrZtq7VoOfjBB54VYO2Ol NFjHQ+aDYfx15QPpZm/MBag0Avnjml4x/SZaFZ/9H8LjpZZb2uu3/5f380hckz1pXPAyLe1kScq1 +0= UI-OutboundReport: notjunk:1;M01:P0:bYJwcI4otIk=;2QX9WZitilhQBy4iPdZ6FCbzhL4 jZqHmPyLghMPXXfzYf/NtVTpJgs+BQXgp153k4oPXEKsLdvUW69ldjP9zgrlo9LExlnjViw0o 0vnDvqPa3JpZk+I9cyE3wVzBXjL9O0GKDu9kvo5tP/9yxV/gL1jWUbiBBRmgQGpFJa0UYuhV8 l9cnMFOZoi+UTrcFcEnL3puNgqwoOyPsQVRlB6478ZoTHU5gCLC/A02rLP91yTthomm8vkCc0 naW5Kj4IxTC16OFqT4ReqDN3nLMl+vDs/3egzHpo+bsV1pit5fjhSH7RMntqmSNUjdeIJgYvZ 1bAspWdAKQ8QtZ58RhivHZy3fD9+SJ0Mc/qizkD20TNbasXyq2hHaU3dhWlcz39RD+/x/rG8W AOqzj9S7BEzXsER0Zm999o/z3ZvhenWPljMccGTJcoWqqcN7TvroNf3m7IxxvS5rDDCgZIiOP n8hlfxQEZ+xPsYipOyFCgHULz9csYOKr1SH4vO6sPOuZ7AXqEN2QSjLZ80/aGCj5kBzaK1Wrq /D5oG9m6yWV7krIoMzU0cRiaUkUAjL8cS40UYVtgXRtXgKVtqhu6CBU5xr75YYog7gl12hlr2 YART58FE/PgukKz6SYk8Q9GTbHhLoDvN1uQVVCp7WZPu9Ql54pABZZegv4kCYJpalMiKjAu1+ aXsfvhHAtkmKFj9S5Q5UOOZsAVeSs31oHtNKBD5vJGervCLG0VCHgvcaS66JffQcfPPsoi4Oe wJ6gTrvIGUsQC0M4z3Fb1MD8EqWTzzvg/7exemNtuV824n6EnplGhInonLapkSKXidGYxtRxk Z0M+oXllqqwyf7B8mSBcVoLw== Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=74.208.4.200; envelope-from=bvchgvbt@mail.com; helo=mout.gmx.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685100527; a=rsa-sha256; cv=none; b=lnLUWgjMyV2rUw+lZwT9o0XI5xx3yk+Ay4XopWt2BCBwIQDWQhpOQlgttcfzmfPW2BHMmH gkOGPHXYMowxMgkFDyYu170v24uJslT/FPTgM6kwgFiBp6FnJfsnK/YoZ6P2zAVsI1J1Hj LJcSADslpb09TzGs+ZvIBnABqF1ItQbRuBYWW04gfw1gEacl685nXY6qK59tbuBUHvQYvC k4EjM2QOrl9r54aQcQkBUirDhvSoT870sTROAmEIiR4Isr9waUt7H2q+c9cV136gY/48Tp E1h7z6Q7e90B56VJ8PFAK2icB6xwph/3iJp2Nx5oHprX4wRb920l8BKX3DSYNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mail.com header.s=s1089575 header.b=R0Xlb0PG; dmarc=pass (policy=none) header.from=mail.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685100527; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CSzWQSSLEbUxPu1Mp6Bo6HvYNTL5yjVOokEgeXmFb0A=; b=rWoadm3CSsTS2pRTmnqe5ktRz+M2Igh8TtMURfOOeadgch0ECSXilyveKKW3g2aWfU60ug NgxQSVtW7VH6xaK1+vmpNAvqV6eqEPfz4SV+CpZqyrb/s3U8B+VFUW3FN6bTej7hJHI2u7 Nw+GQfbiGsR0uVtjZDQGKUDccw5OQ8MxkYRR/bRgIPHR+KTeNPJENgKHp8M1Scw9JiB5pr BB4hJBJ7KDj5jc3Zlv9czHkA9JdzWckfbgliC4x9Af9wiwojjxnwiQDSk6A90XE66qrt55 eFfBjy+8iWHxTbQ4ea31a+PR0q3B6i27QP/31qdjyUtCBLyoGAevs+3ZotwJyw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mail.com header.s=s1089575 header.b=R0Xlb0PG; dmarc=pass (policy=none) header.from=mail.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.36 X-Spam-Score: -4.36 X-Migadu-Queue-Id: 0FCA739865 X-TUID: Rfu4mg47ubER > "Ihor Radchenko" wrote: > >> Which implies that you added invalid headline element to the tree. > > > > Hmm. Does > > headline (:title hello :todo-keyword TODO :todo-type todo) > > look valid to you as a minimal TODO-type headline? Created via: > > > > (let ((todo (org-element-create 'headline))) > > (org-element-put-property todo :title todo-title) > > (org-element-put-property todo :todo-keyword "TODO") > > (org-element-put-property todo :todo-type "todo")) > > Yes, it is invalid. You must always have :level. Ah! Thank you! Is there some documentation that explains which properties each element must have in order to be valid, please? For example I'm now trying to create a deadline for the heading, and it's also not working. > You might try https://github.com/ndwarshuis/org-ml, though I plan some > breaking changes affecting org-ml soon. Thanks, I'll look into that. From first glance it looks useful. I'll probaby continue as I am until I get something that works, and then maybe refactor to use org-ml.