From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MOccDWjHFGOjowAAbAwnHQ (envelope-from ) for ; Sun, 04 Sep 2022 17:42:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CLMKDWjHFGPDhAEA9RJhRA (envelope-from ) for ; Sun, 04 Sep 2022 17:42:32 +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 C206B27529 for ; Sun, 4 Sep 2022 17:42:31 +0200 (CEST) Received: from localhost ([::1]:58200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUrlW-0006nU-2n for larch@yhetil.org; Sun, 04 Sep 2022 11:42:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUrky-0006m0-Dc for emacs-orgmode@gnu.org; Sun, 04 Sep 2022 11:41:56 -0400 Received: from avasout-ptp-003.plus.net ([84.93.230.244]:47569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUrkv-0006kV-Pk for emacs-orgmode@gnu.org; Sun, 04 Sep 2022 11:41:56 -0400 Received: from london.london ([150.143.242.99]) by smtp with ESMTPA id UrhpodxBGLmeEUrhqoNjtc; Sun, 04 Sep 2022 16:38:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019; t=1662305931; bh=QjrEriIMIQ9ME3TLEocRuoc/Aq3cX7boBUMfg1RwzRo=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=V6w79xaUDhRRGsHUyAQpXPcAamwtkofwNwTRNV769fZALE3jNS1f2GNjjFkPkTz8y 7SXD+QRQzngzcvMWpMLulaiK4BoUKG43NhlXYqWqdYcuc6smddUztUssX2GX8D/ZzJ QJUGzuxWbUEK6w4taGDZ1vhM9ut6Ro+JniMsRqKgNbntfuL/EYbo/qRlxI8XOwECfm pQ6b2uZES1URqyL8iPiKuYvq3J/+tj8dVV5dXC2tmKllnBYNzrjH8D0kwFAGmlXsak Y75//2N3hYsdz/od+g4g6zsEGVYyR/EQZfnfQRgkI8zkTLa7oDb43DrWKC3HFzF8Sb AywKCQzwDZOKw== X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.4 cv=M/5elg8s c=1 sm=1 tr=0 ts=6314c68b a=iXkeuCVHAu7IG9cLyGNb1A==:117 a=iXkeuCVHAu7IG9cLyGNb1A==:17 a=pGLkceISAAAA:8 a=EBOSESyhAAAA:8 a=uPZiAMpXAAAA:8 a=mrdIGe9kAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=bAHfVwKlAAAA:8 a=xrAl0tbPj9q7CYD_0YwA:9 a=FsVGsbB-_lsA:10 a=NboqIJlQLJ4A:10 a=yJM6EZoI5SlJf8ks9Ge_:22 a=LsrNOe_UpdewGTRYfn6C:22 a=diwpeB1DDhFXqWA7J4Up:22 a=KxyM1Xthmv57RbWRIpnN:22 a=fjrkRJ71zQ2jzMzczd-K:22 X-AUTH: skimble09@:2500 From: Sharon Kimble To: Ihor Radchenko 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: <87bkrvxnbv.fsf@localhost> (Ihor Radchenko's message of "Sun, 04 Sep 2022 21:48:20 +0800") References: <87tu5nwibx.fsf@skimble09.plus.com> <87edwrxvqf.fsf@localhost> <87tu5n2rry.fsf@skimble09.plus.com> <87bkrvxnbv.fsf@localhost> Date: Sun, 04 Sep 2022 16:38:26 +0100 Message-ID: <87fsh72lql.fsf@skimble09.plus.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfNUhwfMLU3YxX9bWxHPK9+8NnWYQ6wjUtucsKHhM6lbL3bdqXWI6FhqxUubaEkDBvKmlH6yEprhuFOA7z6+IUPrOL+DCS+0Fvy+kTb3huEqibj/3roIc Nt0dhQKce0z0OEsOqaSeBZK2Rs/MEFshXCBI3eWPg6TIOyyIHNF2aQ5nJOvBV4dJb1+cigK645LZY5ZRYd7TYf7IS/GKUqQ2Bl0= Received-SPF: none client-ip=84.93.230.244; envelope-from=boudiccas@skimble09.plus.com; helo=avasout-ptp-003.plus.net X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=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=1662306151; 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=QjrEriIMIQ9ME3TLEocRuoc/Aq3cX7boBUMfg1RwzRo=; b=FnBQpb8P0kxjVtZqXyu3Lv8pLgLtYp5msEg72gb1d7TYeyPIToZURWnECn9HiNVMvGtNLH eDB3URGXpDe39+9Y2nlqfv7uNGIBPqkWmSoUeawrCjHaZlygSF+QRGbmkC1pU7gp7X8k/X 2Tg44IJtvUUmti5rGG8nA5RshCxkgz1Q6+6AEEjhrYRI+yBmnfUcYJw12VMa0D1BLxDx1L qqe6Ilw4dxagSt4xWY/YTqCdiTopJgZrt9orzJq4/3nriG8yy3PGXEQEa8tLbqcT9cNqVp oVgMILzZYkr5EtA+KVs9h3wQdbh9E/SXWSU1ygB07Nz3FSSWrnlj4T4VIcO5rw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662306151; a=rsa-sha256; cv=none; b=hdszqsVztixEHWHwXar8SlVpEjmlWqbPWAdYRTs7vd35MnKkr1X6JP12GHM8jM0XpWZoG0 vDpOmBURnc3DjzQrJiJUdwT9xrH4wP0qBgGzDeXAChIvbtztOpS/JaOpkrIltTUWACZ08m E8WqSyixF2R3HaXE27cpyGJKsyoy79I2BNXF605VCuGxq3oKffEUzVkdVSv1C1+uTYqL0+ qvJQG3BFvHHB28H451ZP+pKZMacBpD4IQgZw6XKaVDvgJ0HG95NPrn6Ae3uHo5SjQ8MO/e FkEMcOz5cPfdYpl/nXxqV+8nVaZDoc2J1GBS9wtQwy9vKKTw9RM/y8794wCxvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=plus.com header.s=042019 header.b=V6w79xaU; dmarc=none; 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: -2.88 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=plus.com header.s=042019 header.b=V6w79xaU; dmarc=none; 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: C206B27529 X-Spam-Score: -2.88 X-Migadu-Scanner: scn1.migadu.com X-TUID: YAYUXF/ch8Az =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Ihor Radchenko writes: > 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.=20 > > 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? I've found this, but I don't know if this is what you're meaning? =3D=3D=3D=20=20=20=20=20=20=20=20 #+BEGIN_SRC emacs-lisp (defun force-backup-of-buffer () (setq buffer-backed-up nil)) (add-hook 'before-save-hook 'force-backup-of-buffer) #+END_SRC [2017-02-07 Tue 05:46] http://stackoverflow.com/questions/6916529/how-can-i-make-emacs-backup-ever= y-time-i-save http://www.tonyballantyne.com/EmacsWritingTips.html =3D=3D=3D=20 If this isn't the cause of the problem, can you give me any hints as to wha= t I should be looking for please? Thanks Sharon. =2D --=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk Debian 11.4, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4=20 =2D----BEGIN PGP SIGNATURE----- iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmMUxnIdHGJvdWRpY2Nh c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1u9rxAAk2QOc9VjGWwAugYU P0/ijtTptWk/Ij8wJdfzB+8Gs3nOtn9d8OsuhCYSjRJToDKxAFtxg079RW0AiJDJ RErThMc9aC8EuEiBpP/0iDeAYOYDDFKFSAx6aS6kUIqQNGeu82/2+13hhM+aMq1f +dQXP+Dc1CXkbotwr9aD4J5SfJnm3yol+1J0h10ayCG4+e6lZHrCv+/ziy2Z9oqq LNAImZMNmm52Hd7pW89g0XfXERVxq8wm3o3mYXMP0W/qiTzG64Muy9EtN5MjG27Y 6Lixdjx3K8oEoC1gRjuKpu9BxfmjmXUqRgwL+7Tary9Fiul0odfykpJDyNGLQPrE qML9YGaFrwrEOJAWE2WpRUFjza38W7tmIiKHOZfwRQGnvpZzuU4910wJff5S+o5l EymGBnkoTHnMYgwH8q+cAGdJ5Sxn0drmuWExPlTrjpdd+KSM8Ni3jKBieDXhbzO4 JsOhjIlVO0H1qFxHGS81v2d5OoDYCYDq58AEwGaE/AfBd6q1sQ2zqY9FxUXpS0fy mRSjjspfdzDjpoHbTO4C7DQl0msTC51OeNsca3gkovlJJ7YNDUYvU/l8NaNOsBLi nKQon2rry0owuM2PLaWg1DGF+HFnmVu7HiIwrhKCENzFWhT9IoSzJ2QBMhMbzFCu EFEhRNQRElfIuYH0FqvFZR1IGgo=3D =3D223J =2D----END PGP SIGNATURE-----