From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 MAbxDwnLwWY5bgEAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Aug 2024 10:20:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MAbxDwnLwWY5bgEAqHPOHw (envelope-from ) for ; Sun, 18 Aug 2024 12:20:57 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Cw+qNvEd; 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=1723976457; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6oWhCRUiAKSQbfohrChW/p8+VmFtSDaYRsoW4Vsfwc0=; b=KvY8mkVLtijHrQwmusa8sW2pHgc/s196dczTTY5Srh7rNqFHo9nzydIc5Vh9jk73ibVRuV coS+oZ3pPVTajgEevVCPBWUT30Mby7FO+hsGe1JGWdD/5ZRJOU/zbEzqbsnep+ys33ya4I WL/Y1wdAUbSZQMRbXdG7OjibFOnYt+xR6a3KHWjdAnb6Cj3eFbXI3sEpAGueyr4yAU2qbT O5SSZn6vZgL3Io4ILFZNah4a7V+Zt1usaCfg1yuNnT9i9bdShUK4LhJjExe3RtfZSs9xfg tfvEmeVCgDDnM0fex36s60jDQMfdH5eYL1DYRgPiCjTccc26ie8OBJzWV0LPng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723976457; a=rsa-sha256; cv=none; b=Zc4XTMj1445mv0ztJJdKxU1mlbS9JUd6ei3B9rIXxcy7vTOemSo6tS1SlT3TlOlwaGvpAE 9A8HILEM8We7hVrPRZw/AhO3lOLl1WA/KQepFoLMq4/bufqySb3MOIMCkOUce+PaeWOTIo GVKao2jTmrw18+8euM5HQJLp4rsuZ9J3IOUKez1uAbjDkVKO9HFaGSkS6L0dThifWVhj4A 3iuVV15CLNNQJF/lATpr9/7zjUUAkruTYk10RhaJLWt2zSnF5rUUR/kHP+hSyLOpWLu24P YjLgbOJCaJ8g7aYQrE8MsafTtz44cz/obQq1RpNlxndaykbrjg2WgPV2CDpB5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Cw+qNvEd; 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" 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 A97F81DF55 for ; Sun, 18 Aug 2024 12:20:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfd0o-0005cY-5D; Sun, 18 Aug 2024 06:19:50 -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 1sfd0n-0005cI-01 for emacs-orgmode@gnu.org; Sun, 18 Aug 2024 06:19:49 -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 1sfd0k-00070A-Pa for emacs-orgmode@gnu.org; Sun, 18 Aug 2024 06:19:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 987A6240103 for ; Sun, 18 Aug 2024 12:19:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723976384; bh=LbLdlCk05tF//7S7Gl1BaayzBIKbQFZ3pEd88GP5MRI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Cw+qNvEdVzPPVF4qk2uA1xoxiNhQP/CTZR/pVUWeSwFu28HPJVKkyH1Wxxw+NVeHR n2ZQLpnYTSErAfLomTOO0uoV5FschZkpJ19pV1CouRKs/dOiItMyUnyihZ3Ir9sfWu N0blZeQD9auEZOQ4DldIeCJTkKt5JpEXxgZLLCEVrigB/gEa8vjtdSlvpzrZQ1NR49 Wg/misL9JiRF0B9el409Wxb58XZmZzkmoJSc0FU/yRDNrWOTfZLj/IrXmAdsHgiGPF fj2hTkdnSGbThiwGuuLv/XW5uDawgIPXLTIL0usfAqsbow5JeroBu/4bROUi2UnW92 UBWy8r+0Uaccw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WmsCy4RFyz6twd; Sun, 18 Aug 2024 12:19:42 +0200 (CEST) From: Ihor Radchenko To: martyhiatt@riseup.net Cc: emacs-orgmode@gnu.org Subject: Re: org-element--cache: Added org-data parent to non-headline element In-Reply-To: <2336cde7-a7c8-439a-b41b-88aa21bd2d10@riseup.net> 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> <2336cde7-a7c8-439a-b41b-88aa21bd2d10@riseup.net> Date: Sun, 18 Aug 2024 10:20:47 +0000 Message-ID: <87y14uyvwg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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_H3=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-Queue-Id: A97F81DF55 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.69 X-Spam-Score: -9.69 X-TUID: /D9kSuKxVKm8 martyhiatt@riseup.net writes: > 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? > ... > 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. In other words, I am asking for the steps you listed, but in more details: 1. I need the config file you used 2. I need your lorem ipsum org file 3. I need to know what to do step by step, starting from emacs -Q, in order to see the problem you are seeing. This includes more details on what i need to do when inside the Org file: > - working in an org file, i call clone-indirect-buffer-other-window. This is clear > - i narrow parent buffer to a subtree, and cloned buffer i open in another frame which subtree? what do you mean by parent buffer? do you narrow the same subtrees? open which buffer in another frame and using which command? > - in cloned buffer, i move some headings or list items around, and at some point the org parsing breaks. so eg > if i move a heading, it doesn't correctly calculate the end of the subtree but moves part of the next subtree > with it (it splits it in the middle for example). which headings? which lists? which commands do you use to move them? So, the same you already shared, but with more details. Thanks in advance! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at