From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eJFeC3Cs8WXIaQEAqHPOHw:P1 (envelope-from ) for ; Wed, 13 Mar 2024 14:38:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eJFeC3Cs8WXIaQEAqHPOHw (envelope-from ) for ; Wed, 13 Mar 2024 14:38:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nJaGENpr; dmarc=pass (policy=none) header.from=posteo.net; 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-Seal: i=1; s=key1; d=yhetil.org; t=1710337094; a=rsa-sha256; cv=none; b=aHJ5Oim1mVUo44CIuUK+V/1xOHlZNhrkHOmyTXZtRaHHOZyTMllHfhujeLZ5gjbq88/0G8 WeUEkUAa+n9FYD0J32/h3dJpXzl2OuVZHyQqWB6GDFtPz4K+rN4S3MvH03EviyItdRwVVs B8NvjIYyHCrwN3xX3w1BkpRb5p2W8/URdzCSMpw+p0g1eUp8JvCsJjlHhGQU9YTdPuK2qs ugQrNXMetHZuraXo52es9gy5nQ/j8/3VdDIiNQwiKRc0GVhMbzkMQolT40+5oPZ+ez2pxF O5n10tvd27bO7KH1TmwuKqcIGYTaYJah4tOPjKp3S5Tkf6LmnfriP2n/ioiZTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nJaGENpr; dmarc=pass (policy=none) header.from=posteo.net; 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=1710337094; 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: 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=AHAw8f0jRQQ/TdtfJTL56/P1OHRHQTlqTZapF79+/2Y=; b=IyEhYr2CnYpAfwiEywaVK3HTGBSaavC50g0urUWi3m7CCFtkMrhzxtCivsKLWrq4KoolXj ufnPAABHSXKNmMsiQ97KhLKq9bblntNHr4cVCj6NUffsXPMl/fwM5M/hpJq7N2zU2PVlKZ RCOcOaO+kdBUnefWV3VM/bI5P+xlnK1SajBBPaKboC9aWTMyhYLsOh1q/WF6LVDMkX3coK k+1/Eil2fni/rE0IvwBJyEqkUR2V8qQArScgTARPCk8gyt2FaPtNaJdIVXcOUPeVht099z G2rYQ2jeh+LL+YA8qxIVjKDrSx1IXVpkKbVtVd4ehfirQRsef8rxXqTKN980zg== 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 8640C696A0 for ; Wed, 13 Mar 2024 14:38:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkOnZ-0002z6-HY; Wed, 13 Mar 2024 09:37:37 -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 1rkOnY-0002yy-6u for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 09:37:36 -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 1rkOnU-0006Vp-B4 for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 09:37:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DEA00240103 for ; Wed, 13 Mar 2024 14:37:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710337049; bh=AHAw8f0jRQQ/TdtfJTL56/P1OHRHQTlqTZapF79+/2Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=nJaGENprf58n8smrp35haLdVKnhIiOaWLfA0KCR/XBk+vnu9k9u4wYtZoWj3jhS5F H0EEvffrcf0SESDbuFSuL0ksXrHNIBN8Xid2AQ74COjNxAl4HNyIpYBNnVrDrqfwo3 sghWbCVmtxfqpYBwk1LpIkfw8AtkkYY3pKbSiCUMmpq3Bru3wiVlbgWk3+o/ZrQGiF qY8mOmBtNjsu46eAA/BHsiqiAmP5y/pqLxD+oTvH0a66578vTyMiMOQyOPuen6gaGA 27DuVIOg5d1S9Gn6JaRPJIHQ0uvbPuoPFXmlpe2FRU3qOcQzBEXwv0aRKId5BdRiga FYUkbXQLnFfZQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tvs550smKz9rxG; Wed, 13 Mar 2024 14:37:28 +0100 (CET) From: Ihor Radchenko To: Antonio Romano Cc: emacs-orgmode@gnu.org Subject: Re: [Question] Learning to use Org Element API setters and how to ignore properties In-Reply-To: <99b3973e68eb96804b7c085fadeb47cd585178d1.camel@pm.me> References: <99b3973e68eb96804b7c085fadeb47cd585178d1.camel@pm.me> Date: Wed, 13 Mar 2024 13:41:41 +0000 Message-ID: <877ci6w8oa.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 0.17 X-Spam-Score: 0.17 X-Migadu-Queue-Id: 8640C696A0 X-TUID: GfvRUbkfnc6z Antonio Romano writes: > There's nothing concrete on my side, but I'd like to try and see if > org-element's AST can fit this kind of merging.=C2=A0However, I've had cl= ose > to no progress in trying to make the setter functions work despite all > the indications on worg and I think I would really benefit to see some > concrete usage examples somewhere. You may study `org-export--install-footnote-definitions', `org-export--remove-uninterpreted-data', `org-export-insert-image-links', `org-latex--wrap-latex-math-block', or `org-extra--merge-sections' from ox-extra (part of org-contrib package). --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at