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 CJ7HN+iMwGYmvAAAe85BDQ:P1 (envelope-from ) for ; Sat, 17 Aug 2024 11:43:37 +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 CJ7HN+iMwGYmvAAAe85BDQ (envelope-from ) for ; Sat, 17 Aug 2024 13:43:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=Gb4D9RXy; dmarc=pass (policy=none) header.from=riseup.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=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=SHsrR34SZxukGR3C1KBovSZh3BNfdf99dWsgwOMTIVwJPUf3FdTkGExBxercnazasmapCl Z7aUCNoW7IyEwiBqT0Mr93rU1QknPH4u4IoNSDUQYfKT/2jogOq0l1GcZadRPYTM56Bl4p zhsv6SrAorg7JqAEUoJtaNTsou1gmYuyCxcJr2og84e4VGukt9AEwWrqer08/3LzFJr2LU BIIMyP6BVe/aLtzGRE6xqimjMywa8WfkKCuCC3VbEGfcul7ztapX2y+AP1EVcEQQqP5Jdf a44tJrCHKT/PbKDD16Udimcgg5OrdaRhOmiuLmYPDebGNK7IVfNKCLQrP6+v3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723895016; a=rsa-sha256; cv=none; b=onRjcrb1jdz+abma1NH9faKGYHkx4OgvbViJjVolCXSMgUKnFZGTRHoZoCUm7lWv/7dQjp 1xnId+HuSryQIa8GcVTUZNpRSrD+MRSoZ9+hXjA6of00akZCDxeZppK/uw/B521CwBrC78 YzYFRTsOVBo4Ee7SNlp0u70foSVBli3/2VxofhJUUQQCx3fQQQ5TUdaI3DKb4J8suey5Ys y93OxX1szMuUCXPZJW+FLMsKaC2lsPHXJ+gp89NGcLb5dAJhqZ6q8cKR9ig8S20S8HKbn3 Dw+kgN0FujBqm103bOaHY/CYeC80ygd70KI7a4s/3nM4Rwmik013qp6lJ+Iw8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=Gb4D9RXy; dmarc=pass (policy=none) header.from=riseup.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" 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 9167211DD3 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 1sfHpG-00030A-8L; Sat, 17 Aug 2024 07:42:30 -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 1sfHpC-0002zp-DP for emacs-orgmode@gnu.org; Sat, 17 Aug 2024 07:42:27 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfHp9-0005oO-Vu for emacs-orgmode@gnu.org; Sat, 17 Aug 2024 07:42:25 -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 mx0.riseup.net (Postfix) with ESMTPS id 4WmH5m5XQ4z9wP3; Sat, 17 Aug 2024 11:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1723894940; bh=O6B5vl+z0Vl8dDUkPkWAyLQejy18yZdu9al7Uf17DUI=; h=Date:Subject:To:References:Cc:From:In-Reply-To:From; b=Gb4D9RXyeVFJKpbyqQSw9DiR0DoUhLsLzsQgP6/P6MacjJxsVihPb2UkQAKrY/e+S UnhhtJ+LbaiRklQteZQA+4HMn1a4jFdL0ooJPLqKRtGJUVkhV31lYPQmaaysgXzGb4 UcMUvV3J1dbGtuKP2ktythv938hTsuHxmbZ46yxU= X-Riseup-User-ID: A875441379375A3EAF40C5FDF892FAD92D13DE02AFF6DB0F662D9B7563255EF1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4WmH5l6hDTzJrQk; Sat, 17 Aug 2024 11:42:19 +0000 (UTC) Message-ID: <2336cde7-a7c8-439a-b41b-88aa21bd2d10@riseup.net> Date: Sat, 17 Aug 2024 13:42:16 +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.6; envelope-from=martyhiatt@riseup.net; helo=mx0.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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9167211DD3 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.51 X-Spam-Score: -9.51 X-TUID: 0xvQIZpQptlj 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