From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YI/PIvEkbGYQZwEAe85BDQ:P1 (envelope-from ) for ; Fri, 14 Jun 2024 11:09:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YI/PIvEkbGYQZwEAe85BDQ (envelope-from ) for ; Fri, 14 Jun 2024 13:09:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Opt3QB9f; 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=1718363377; 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=YU71t7eVBrczHSSs4YXBHZhlyY3nRW0fl0ca2HeMTyY=; b=ZViC10ity3j61jM/Ec5pXG6sy0Qmr9sRX0aMw6dfFFTqZzRhbRa1P78vezkD7Q/2BqHIvv 1dJLIMlMBuyPCKuTQ7SSh/mJhuh77W+iQtB7yuITYzMd6EGd3mjyHXQ095Nbh8YI5E23WB gOH++6gzsXBqdQ5XC5dIpClFzToiu9U+R9LbsdyJtKmMHoBX0BwRrYtuVpojNo516SWyTE xAO9hOCHFWzqQJ3+IWspuAfLYJ/5BhwyxyH8lRJKCUZihoNdyFiOUqYbk1Sp7jpqX24tJJ 2gwb11ET0s0USpopi78c5C3DD846YLsDTxR8BNnaygVPNUfwuNMmuLERn5Ac+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718363377; a=rsa-sha256; cv=none; b=qIENkYxncef33BYf1a5bk82uPrXaHbYHeKpuT4AFQ8A4zHzBrzefEW4KmF2bsOXsExs+HI zF/muElrOLvo+KMhMpX1VaYg4r5lexSFAuTe8bdBfAFnulxOHO+agfYJWsxEC1/5M/Cj9c AhvDJQ0AIV+rdNc6PmxcaWAmxUFv3h+Pb98Vk2RKF7ikuXhgOV2dranbMkPwrXc1vTht3a gUp6eXeta69KPGhpFhxvZB+7KM2PiAWzxofVhGxuvd+g9K79W5Ebj/eFdYEXaTcFdU0JP7 tE/9NCczmtgj7Dx8XpM9kHKBLZuvdV0i8gJbMwykwKuUed/kF0mge1eKjxypZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Opt3QB9f; 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 6FFE665D37 for ; Fri, 14 Jun 2024 13:09:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI4F9-00048O-VB; Fri, 14 Jun 2024 06:33:15 -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 1sI4F8-00046V-8w for emacs-orgmode@gnu.org; Fri, 14 Jun 2024 06:33:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI4F6-0002Hx-BL for emacs-orgmode@gnu.org; Fri, 14 Jun 2024 06:33:14 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 27806240028 for ; Fri, 14 Jun 2024 12:33:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718361190; bh=YU71t7eVBrczHSSs4YXBHZhlyY3nRW0fl0ca2HeMTyY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=Opt3QB9fXI/q2IziGv8XEE33tn/iykZnyBYsyyDWStmsg7E+u7P2lXbO9EWpU4skM H7zGWocG8XwUQCgvUgNjpspCA6KBxf86dye2PyybjL5YfI08U0goMvQzSmwAP6CLSe Dq59gJCpPYGrZ8tTqXFH9VuPdB/1HKvuucp9lyD4DZYuAgyMd/q2dQ8M0y4dyVcuGT hCdmQ1+Fhx+yFlsZsu5oHFKRYPF26aAcNlxSn4prxZnUqHuAemsR0WW6QIMSv1Rakl qiRykJP4fPhRLvPGO0G0Jh9/SHQWhx9s/LaGo7dq/65teQxVjNYPaJtoPlB6PffM4v 0CZ0hK0ZiaF5Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W0wbT43GJz9rxP; Fri, 14 Jun 2024 12:33:09 +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: References: Date: Fri, 14 Jun 2024 10:34:51 +0000 Message-ID: <87cyojolro.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.65; envelope-from=yantar92@posteo.net; helo=mout01.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-Spam-Score: -6.56 X-Spam-Score: -6.56 X-Migadu-Queue-Id: 6FFE665D37 X-Migadu-Scanner: mx11.migadu.com X-TUID: NcP99HBsyVkr martyhiatt@riseup.net writes: > i'm encountering an error repeatedly in my work. (i know elisp but not or= g well, i also don't know how to report bugs, so apologies if i'm doing it = wrong. > > how i encounter it: > > - working in an org file, i call clone-indirect-buffer-other-window. > - i narrow parent buffer to a subtree, and cloned buffer i open in anothe= r frame > - in cloned buffer, i move some headings or list items around, and at som= e point the org parsing breaks. so eg if i move a heading, it doesn't corre= ctly calculate the end of the subtree but moves part of the next subtree wi= th it (it splits it in the middle for example). > > - i get an warning like so: > > #+begin_example > =E2=9B=94 Warning (org-element): org-element--cache: Added org-data paren= t to > non-headline element... I have addressed some edge cases with indirect buffers on Org 9.7. When you finish with urgent work, may your please try upgrading? > ... > i'm currently not able to upgrade to next org version as i don't want my = config to break while working on this project. Meanwhile, you can set `org-element-use-cache' to nil. This will disable the cache and get rid of the error for the time being. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at