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 ms5.migadu.com with LMTPS id OKHuCvesFGNgeAAAbAwnHQ (envelope-from ) for ; Sun, 04 Sep 2022 15:49:43 +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 KJnUCvesFGNVQgEAauVa8A (envelope-from ) for ; Sun, 04 Sep 2022 15:49:43 +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 D66762CC71 for ; Sun, 4 Sep 2022 15:49:42 +0200 (CEST) Received: from localhost ([::1]:44382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUq0L-0006Io-WA for larch@yhetil.org; Sun, 04 Sep 2022 09:49:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUpyS-0006Ft-Dd for emacs-orgmode@gnu.org; Sun, 04 Sep 2022 09:47:44 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:33487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUpyQ-0008CZ-P8 for emacs-orgmode@gnu.org; Sun, 04 Sep 2022 09:47:44 -0400 Received: by mail-pf1-x436.google.com with SMTP id y29so6388377pfq.0 for ; Sun, 04 Sep 2022 06:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=Jc3kNBE97x9ofs21FfhQCLh2v7h//vYySb3ZegWh7M8=; b=ordRygoXbuuOchPaArzTni7a0zd0XFz1pmV9gIRXguqxyG0moP27+OX9QrerM/PA0n pYVbu7eguFcUn3FRkcnmfTU9eEXHor9dJkphcRw/y0j0dspaaB1ZIFp+sRwwvr+iRWLN 9D0LDDqfuJL9AZcyNGNaYXrhSc/1cvfPZkC+feX9UEOXHTlFb7O/j7ZepA6fcnSWPIeT 6flQ7YrmLNccO7TGaVX1RoplUZS9YKSXf0h381oOKtmFwV5aZr/LbOzBPfeo06BKiim8 N8Ao/0XUJlvVVKiCrnkHhjUUxzWF9xeqBkq/FoQdOHJO1LJfML2v0sposrSPDImbIN7M VLzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=Jc3kNBE97x9ofs21FfhQCLh2v7h//vYySb3ZegWh7M8=; b=ww8WUWGc7BLuPVx5UTtCS1IOfSSg1JB6lebNEcR0E9oI+7FIGHBA4nY9wXeuyQOkZx LOJe0ZLVoinaChH+v5hhEHcX4SgEvHx//QpCG3JyZwviLH2Oq/PjixFK5Qgn9f/YtFCk TbjwNwbIgEfFE1JLYuuO1vy4dMbLVl9c/w9n6HXHGqRiLSeZR5Obf/tD6i2ydC30Y6Am 3noaqg1b2WWSM+OVXAoU6BRH0eX8KC5HYIz5unxCI4RICqW2unwOZ3VYbvCG7ZNESWGA F6+nnWnx1VcklyIkLwi1TfQ8qWt4yNX8auui4n1bbFef4eXm3IaN2uYqHShXlczchziY R7LA== X-Gm-Message-State: ACgBeo2XVL/ST6QvLzXMIPH8ilmtV2bBH7dXEltfTyXsUOjxJM56lraA jiZrtiUN3fyuKAGc1qJf+YhSB/RILzrP7Q== X-Google-Smtp-Source: AA6agR4il59xjkkvGaU02BcloUa+2VNxQBvS99otwNZispe/pcPT8AlchJwPO7yk8//pzz/m32nkpw== X-Received: by 2002:a65:6052:0:b0:429:9cea:dcd8 with SMTP id a18-20020a656052000000b004299ceadcd8mr36858109pgp.461.1662299259843; Sun, 04 Sep 2022 06:47:39 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id ik20-20020a170902ab1400b001769e7062c0sm1452363plb.249.2022.09.04.06.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Sep 2022 06:47:39 -0700 (PDT) From: Ihor Radchenko To: Sharon Kimble Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)] In-Reply-To: <87tu5n2rry.fsf@skimble09.plus.com> References: <87tu5nwibx.fsf@skimble09.plus.com> <87edwrxvqf.fsf@localhost> <87tu5n2rry.fsf@skimble09.plus.com> Date: Sun, 04 Sep 2022 21:48:20 +0800 Message-ID: <87bkrvxnbv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=yantar92@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662299382; 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=Jc3kNBE97x9ofs21FfhQCLh2v7h//vYySb3ZegWh7M8=; b=ZvqofESx3Wd7apvMftNfHHSGyY9oE4iJmg4xLJs5Oq4Q4MAc4YnZgNrPu7wMpKlbNhPhaH h8WT0vd1UDF8qh3WJ406Se05LTZCENVwUoqIaXIoOPJ5jJAK8fUNngL/0A3LQvnrGTRnTQ A/arX5ZRsJaBjk8xAx3aZXMyJ82uLKHCJ3BtoU6LIGh37P2tIivqBxh4lYhxyAZ4N3stGk qeWXln9WpvanwvxCRbgImkv7FDLmy/vxekz698S5bKF33av/cSZbMQIdMyKjN7O63XHTkf A5s2eFQrUKrz6oMyd/NJKcNRkbFxgBk3wgDyb1/k9emPHCtqPp8R8LUz6Drmuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662299382; a=rsa-sha256; cv=none; b=bEg0w7hS5H5K46CCbPbsb34TrPkUpqPoTEJIWgEc+RXp/lmOCTwPao5mUNJGgR+C2fWdBU km4f0ZOhJWuX+2ylQgjfm3zxbqdd72hJZgKy65XYX9HcWlQl8/tpswGnuCECHUkHEEVIlj cSAh/hCLVj8wZGThqJ6lsk/32uLO2ESVpMi7OrdSQR7GGar+l12U2795+5RV3wUG5OZiCp +8/ZQXTkbsg5jSlSXsUVx8oMVnAq8d4IeZRxc58YdLmjmTI1kSgjnvbMxCUiUMPzeLtTjT T5r84AwMs0xPQsRXLHv67PoHa082nE7o5ojxVsP2iqRyPGKpaKIPLwGkV9NfZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ordRygoX; dmarc=pass (policy=none) header.from=gmail.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-Migadu-Spam-Score: -8.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ordRygoX; dmarc=pass (policy=none) header.from=gmail.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-Migadu-Queue-Id: D66762CC71 X-Spam-Score: -8.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: utAKFXmlNRPd Sharon Kimble writes: >> Could you please add >> >> (setq org-element--cache-self-verify 'backtrace >> org-element--cache-self-verify-frequency 1.0) >> >> to your config and then try to reproduce the issue. >> Then, report the backtrace. > > As follows but rather long I'm afraid. Thanks! It is supposed to be that long. >From the logs, I can see that you have some kind of hook that is running before saving(?) buffer. That hook is doing something under (with-silent-modifications ...) and hence Org caching code is missing some buffer modifications. Can you please check if you are using some third-party package that are modifying the buffer on save? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92