From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EHIsATc3b2R2kwAASxT56A (envelope-from ) for ; Thu, 25 May 2023 12:23:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gMnOADc3b2SvQAAAauVa8A (envelope-from ) for ; Thu, 25 May 2023 12:23:51 +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 A2D6C11FC5 for ; Thu, 25 May 2023 12:23:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q287X-00069y-JH; Thu, 25 May 2023 06:22:59 -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 1q287V-00069n-TN for emacs-orgmode@gnu.org; Thu, 25 May 2023 06:22:57 -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 1q287U-0007DD-6l for emacs-orgmode@gnu.org; Thu, 25 May 2023 06:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=s1089575; t=1685010173; x=1685614973; i=bvchgvbt@mail.com; bh=wE42razRh/uGECOQNRgukLC4zXgJGqAIcYDE71ZkU1w=; h=X-UI-Sender-Class:From:To:Subject:Date; b=YpMub7JgtN0SBzv6pPHLP6pcHVh9pNiMuOW9Mcq1y/GkYIQwiZutvjnV5OaDDGVtkXI1Ja4 U1RU7GckQugZz7W+JFCkeF5SxIYsjdrAYK/mOs9hc+CR/oFZCxd8iW3Y/nWZ0gmNaGgdi1tlB 65XTc5ZLX4F8q0d1uZUg4RTBZVHL+Ry9elP1KTqDuRSgpkCjk25vBcSVDiXzPoNPzBDrxcVNr OFmbyRKNzomcxuz4uxCvjzZNQgONRteglqo4bq3NwFVMLULyk74kT4i/Du+JskKkFnGOgIWGi qrMXAdVg0I9h8go8pbf2XJ+/JLU1o7M70FM813IWf3DoQsmO+y7w== 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-lxa13.server.lan [10.76.45.14]) (via HTTP); Thu, 25 May 2023 12:22:53 +0200 MIME-Version: 1.0 Message-ID: From: bvchgvbt@mail.com To: orgmode ml Subject: Modifying the parse tree Content-Type: text/plain; charset=UTF-8 Date: Thu, 25 May 2023 12:22:53 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:IrK/8pN/l/aacVVKoajsoOmlFL+cKCHOG4352rEUpUQUMgpw8SjewikztwokCU0FJTI7W w6AW8TjpomsV2Ton6wTsNGMDPBJZtBT+LLtfsA3ONZokI0VT/jWFz1c9UFOLjnGGhAoZHkiSSrOP UMXnhA24VQJ2PvaS0PFkN7mj+yDAksMsZ07czNExD5SiQDnaKJdfBdwWPKpsTggm7CzOe0/k8W5f ezZ2jGT6/8DO26zID1pYrmu30cuA6COBz6pPVKT5bFrH/rOmDXX+sV8pUEC+eaGQ+E/EtrW6YLmE aQ= UI-OutboundReport: notjunk:1;M01:P0:WdWoW8inJTQ=;EG+DDdQjb6ocdS69A9ERxo3Fi3o 7yHjmtPeo47Xo5lRsRMHg975NgPjbvRVf1LSTSy2c6rk5EOKF8Dp5EQlbbddGSFf+yyYgPbqh YVHxgZVaGVN8gFS0y2JBYcJoq4lnW4m5g0NhqpxKkKPMtpNeqQ/XmTttbjJvb+q5gnw3EgYmq cQzNtYH34UZiK3+drQP3rPkgOtIGwOQON0ztLul1qRhRUDWvpmpjuQc5E4wqj5J76TleRs3Bc 6k4bnPwEoeKvLPFmkOYtQbzMK/KDsSHeH8Grm36uZaz50V4lSXUx84zApafJxKwtwItNURsPD ReuB+MD4fwvimhF3TxUuEGCAGsg1i2M5TkhgRE9/zAfWFVW4XkFteH5TRKpaqODxuJ5sbJDIF /phDcqttQCSZHM1anRDp9kkpdvB245i55DLIhOeuZT/Gn4sELtHNgIGlgLD0Tuj4wEcMw1Myb B3BoLwBfYXQLURbQ09KEcLlQcRJSKMT1lV4fM7mRgsyXNLkkY87KDTkJ5mGGWXIS9rlcQlriY 2y5hlvfBLft97YfAGeL4YQfENCT1+WJl99KLAEYf432BQI8IFtct0QDj3nD03NB3pW1ANclah 1mm5xX7HAvKAUkE0CwhnA+gGKf8s2YDwFdhy4OIXFxn3ttIZWIGQ6OO50y95BfHjZmaIL+Sfe s60y/H4kcusRFr7rQDHFApWA6rWmBosJGTjJNWeBSV/vM9jawpxcCwQzTwGsZ/RtmtmF5apEw 1D4UUGPOeTwnM5m3I1v9hKKcO4Rr17Fq+cdxXpwvuZYAhkvJmxp8xoHx/3Zq8ndTCmGWTL65l KPOMHm9D/CYDbtZH59pv8jbw== 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685010230; a=rsa-sha256; cv=none; b=f0CsxlVR3THfpwH4bXSdmqIlXNZqufxYbZmc1O0bDX5AUCQ925o3wyI/spD7Gh/mgPdTnL HTusCxfnDTe5C6wbNNPPak/vQgYGrePZzJBAbeFX3/KGTOn97dR+/Er+7iTu3Pfdhladqx lLTsuKilcOHGWNC0SMj1nYwJ1c7rXQ2Blv02QWXnsNdIjYBS0gb104txx/y6QKM0KtlMxU C+lM61Lv/VP1wSDhovox+tgwUUpJE0771/+xerWurgXc9i+CuQiNaj3xFarZEpZkW9u5aQ Q6oQCy3Sj7L5TbJKpGpjTspwLvFIwqNgC8Bj2P0Swv7SYzzbMqoQ6XE9Fnv6Fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mail.com header.s=s1089575 header.b=YpMub7Jg; 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=1685010230; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wE42razRh/uGECOQNRgukLC4zXgJGqAIcYDE71ZkU1w=; b=RMoYT3jxf2GnxYoSrIQmrkrpz64FvoYPtSHE8WIWw5XHyXn+i4uBpqioGHxHerNBLpw9nk mQpwgS6ZOeKvGFJ55JI7bMMDeHIYNoaA/szbkNeHsEBowbZmINOkaXKUtsNJd/m3c1gjxl 3Zkn/ePW2/dRiRV0QgccMQS3MFABBA5EoJf/1yCCRwto0iLcY6m9YHRCPPhPtrftzlhogb YRLff7oj6f1Y8tbiRGBMh7IJNAB9RXEpias+iZnOx+P0M2SPKvUVaYlcRAJmUZZ4jbnDlB 4Qf79vPmgw1DMrcTRL1OABalqmb44t9bSvlikm1gw+ucfhvPc6rKjP2c6nLZtQ== X-Migadu-Spam-Score: -7.64 X-Spam-Score: -7.64 X-Migadu-Queue-Id: A2D6C11FC5 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mail.com header.s=s1089575 header.b=YpMub7Jg; 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-TUID: AKF8fD6KGGht After calling, say, org-element-adopt-elements, do I (or rather my code) have to do anything to make the modified tree apply to the Org document/ buffer that the tree came from? I can see that the tree is modified but it isn't reflected in the buffer it came from, and furthermore calling org-element-interpret-data on the modified tree at that stage results in an error: "org-element-headline-interpreter: Wrong type argument: wholenump, nil" so I'm guessing that, actually, something is wrong with the tree at that point, which may explain why no changes are available in the buffer if they should just show up automagically.