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 ms13.migadu.com with LMTPS id aAE8HuiMwGYMBwAAqHPOHw:P1 (envelope-from ) for ; Sat, 17 Aug 2024 11:43:36 +0000 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 aAE8HuiMwGYMBwAAqHPOHw (envelope-from ) for ; Sat, 17 Aug 2024 13:43:36 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=qF5+BGnx; 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=riseup.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723895016; 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=oPjjat4Fw43S73GUwOZQxqzcLCTth6dMr09DxiDMkGU=; b=EF1qXUbuNM/l/8Gx8iiYhyDWxaWJ/96cdeKjEFCKRq1YyPJJkApO2GYwyEfTp4ES5kGmPv 5VX7bQuEXGptDsaFV7q3pcnqo/xJdkAWA1uAxyZSNEVqrsnPmvn0sSk1OCjpodNRngIA48 UwTl7Glq0Jo5G00g3rrCFCsT/A/Aawtqe8pm/3hXUHWN4exeufnDzc9bGTK59IECw9Uzcc vbh3Q0EphLHHEQacYkOQZiOy7e18e67B+ORilb7ahoR+UNgPWGmyLndlgR1fUFy6FR8oUX XHydf2/adz5jVck4JSIkMeSJgjKzkDwFkhaCmLBS/15zEGeZrxFBB1uTrjTmqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=qF5+BGnx; 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=riseup.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723895016; a=rsa-sha256; cv=none; b=J0VeTl0aBcvRjg/a0QlnM91DXVimZCJFYK6DqWJNGBtFmBkvkX6jnAM6SufSOCLdHcD3xo GCR0UjPGmquSZsH5zlqrcQvcCUS16PbNhdwb61TlmtkexHEA1Y0y19CE6ZSecvnNRrlopN r+L/O4dJQAk36GO2EtyI8QLDo+53EZfgTdBza0E4BD1/8cCNyK4EwMOT7MPISP3Ut2AuNw OJVwJ6Y12OQyQFv/a6fmUqMu4bXE0af5+vx29oHLdB1+4Po9vFPNzCyAJNvL0pZc1y7Hcc wwWMJIJs3o3ktBszEfpyTeOnwZ6R765fxTvvCptdbeWfr/ETTUGZdJA+s3Eb3w== 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 7DC566EB20 for ; Sat, 17 Aug 2024 13:43:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfHpn-00034n-MI; Sat, 17 Aug 2024 07:43:03 -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 1sfHph-000347-AW for emacs-orgmode@gnu.org; Sat, 17 Aug 2024 07:42:59 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfHpd-0005qc-2R for emacs-orgmode@gnu.org; Sat, 17 Aug 2024 07:42:55 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4WmH6M4Td4zDqLB; Sat, 17 Aug 2024 11:42:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1723894971; bh=O6B5vl+z0Vl8dDUkPkWAyLQejy18yZdu9al7Uf17DUI=; h=Date:Subject:To:References:Cc:From:In-Reply-To:From; b=qF5+BGnxhcAWzK1UBqFV2iBwWqvRbqWRqLvQ8EokYe1/dldcU7mREFdQt82WEghmd 78BnSNaFKxp1yyTLBzsk4C76seTc4/b8hMVAuJoO8tP53+vuY8Ty52T3nrlSGy5Rgn W+me1d2bI0HbIUI2qLB7pUipUpDNCMQN22+GSoR0= X-Riseup-User-ID: 891F57ADE0F0D9B140DB66CF36F6A0375110D2B137EA8DFD7498465A9FC05817 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4WmH6L6Lm9zJrQk; Sat, 17 Aug 2024 11:42:50 +0000 (UTC) Message-ID: Date: Sat, 17 Aug 2024 13:42:50 +0200 MIME-Version: 1.0 Subject: Re: org-element--cache: Added org-data parent to non-headline element Content-Language: en-US To: Ihor Radchenko References: <87cyojolro.fsf@localhost> <700d853d-ad47-4fd7-ac5e-954c2b278e71@riseup.net> <87frsca2bo.fsf@localhost> <877cdk6pa3.fsf@localhost> <24256d3a-1e07-498e-8dec-05a15ed1ae2c@riseup.net> <87wmlk57s3.fsf@localhost> <784368c8-379a-445b-af15-8cb28bfd89a8@riseup.net> <87ttgo55b0.fsf@localhost> <87zfpbfzj0.fsf@localhost> Cc: emacs-orgmode@gnu.org From: martyhiatt@riseup.net In-Reply-To: <87zfpbfzj0.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=martyhiatt@riseup.net; helo=mx1.riseup.net 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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 X-Spam-Score: -9.51 X-Migadu-Queue-Id: 7DC566EB20 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.51 X-TUID: ArzHLfkLmKue On 8/17/24 08:12, Ihor Radchenko wrote: > Ihor Radchenko writes: > >>> i had another go: >>> >>> - i made a purely lorem ipsum org file (can share if needed) >>> - loaded a minimal emacs config (the one i use for testing/debugging mastodon.el, can share) >>> - loaded a really minimal org config (can share if needed) >>> - loaded the org file >>> - repeated the already mentioned steps, triggering the error. >>> >>> with this test file, when the error is triggered, the way the file breaks is that a second-level TODO heading is split after the first star, becoming a top-level heading with a single star on a previous line (often, not sure if always, i think other breakages happen also, with my original file other breakages happened). >> >> A full reproducer I can follow from emacs -Q (or make repro) would be very nice. > > May I know if you had a time to look into creating a reproducer? > Hi Ihor, i don't know what that is, nor how to do that, and i don't know org's codebase at all. I'm not a professional programmer. I thought if I reproduced it with a lorem ipsum file and minimal config it would be reproducible outside my own setup. M