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 CLS0Am/pu2KqegEAbAwnHQ (envelope-from ) for ; Wed, 29 Jun 2022 07:55:59 +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 3nycAm/pu2LmqwAA9RJhRA (envelope-from ) for ; Wed, 29 Jun 2022 07:55:59 +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 B9F403B47B for ; Wed, 29 Jun 2022 07:55:58 +0200 (CEST) Received: from localhost ([::1]:60078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6Qg8-0005G5-UV for larch@yhetil.org; Wed, 29 Jun 2022 01:55:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6QfY-0005FT-TJ for emacs-orgmode@gnu.org; Wed, 29 Jun 2022 01:55:20 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:44627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6QfX-0008F4-1I for emacs-orgmode@gnu.org; Wed, 29 Jun 2022 01:55:20 -0400 Received: by mail-pj1-x1036.google.com with SMTP id n16-20020a17090ade9000b001ed15b37424so14952245pjv.3 for ; Tue, 28 Jun 2022 22:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=5N1ugxQW9P+G1oU+Lb4XGHKp7UOdjO6yo66rGJSMcF4=; b=BgQ2tsX9RL9OGbuFgiL893lDZ/SAJ95UnZdapYRgvrMp5ZaN8sz5VUFFMUVyqx3K+F VVYTsxu0IlzDpFOrUXu0rNgsu5m3/4dfIX0MQviLLnXAsp8jpfhPxpr/FYTriGLssD+N Q9qsed5P7hKPHghwhGwllliPgDIg+MxyjISU7JGFs6+JbAfv/BL76JKEySbSnFTeUvyZ FuGDbO6hw9jcuLekwiGoXa/QFGN7PAhwynchPCuSGLdD8YVV8WvLb2C/lrYpnICLn1eU KlteD/1kiuP/3BU4mEB+OnW/pb0CX1q+hNO0jXTlVc/w6M1kw94f91P77ILvmdKHEMhY n1ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=5N1ugxQW9P+G1oU+Lb4XGHKp7UOdjO6yo66rGJSMcF4=; b=oGrRZzh8Slly1Yb/dSyGXZ0/6MYRCbve0a7GOoxBXwb44rnbCDUvQ2cte0kNgQQpQN gf69js3+0MkJMustEHwkUFHOl/kjnWuWBOR3ngMu8IHkpz/ZAfelIcxY0BXl8nK74oxp VSTzvL5oRV8knr5l8W6iaRlkS9l13VPj9dh3FcyCuVGWitxwLyyibzEUG7HpoeXAS1CY WljvypYlRL/KsATEocad6WE4xORH7WQMaP8hKuOgy/7ACKY9LjCG6VsWo3otHnEgArEu jLzVL4xvBLi3NwIMlrM5HqCpX+3GoVPqmBhOqrzmo8A09BeZp19ibrexvTvP7mXQnXW2 CRHA== X-Gm-Message-State: AJIora9JqzoiDUC8MX9y2tw24oB/O0KA3gYhrw83uRwIuxM8megJwQfV 4+VsW2Cy762qmfP9OCEIwPk= X-Google-Smtp-Source: AGRyM1uEimWYCkzky8kOPEQ+01J/mW7O5Klo/HmSC54RIi3vwwVR8IkQRJCKc9tgFWZpkdaRFZrQkQ== X-Received: by 2002:a17:90b:4a0c:b0:1ec:d90c:601d with SMTP id kk12-20020a17090b4a0c00b001ecd90c601dmr2001936pjb.154.1656482117587; Tue, 28 Jun 2022 22:55:17 -0700 (PDT) Received: from localhost ([155.94.207.39]) by smtp.gmail.com with ESMTPSA id 123-20020a621481000000b00527bb6fff6csm3220125pfu.119.2022.06.28.22.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 22:55:16 -0700 (PDT) From: Ihor Radchenko To: Daniel Ortmann Cc: Org-mode Subject: Re: [External] : Re: how to investigate? org-element-cache Unregistered buffer modifications detected In-Reply-To: <2d1acb04-2e8d-cf3f-67e5-bc4108b268e5@oracle.com> References: <53bc902c-96e7-4eff-f5d4-e21c5e4142be@oracle.com> <87mtdwkyyd.fsf@localhost> <2d1acb04-2e8d-cf3f-67e5-bc4108b268e5@oracle.com> Date: Wed, 29 Jun 2022 13:56:23 +0800 Message-ID: <87bkucko6w.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.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=1656482158; 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=5N1ugxQW9P+G1oU+Lb4XGHKp7UOdjO6yo66rGJSMcF4=; b=Xur4NPXFGpGhAt5bhYLzCMzNGekInaMtVVRuYYybo9aA7gAhQf2D5fKwRwHIdY5MOa/Fsm OmEQLOTRHQXQkp3tP06Lc2U58m3pNVMIJk6AlyxzI4Tz0vwf4PzHbKjhNvt1oyJYnuNxkN rD0+wqcQkOaDfBhd/CX8xduy5dN1qkXwQtsrr5c0Wr7Vt9vL5PRg49Hx/93wmoxJT5ppch k7ATQdAdswwC8eIXcOUvSzQQt2psVs2LUabepi5bd1NJk8kXL8I00i8/xHq0JbqTRiMKkx 6hBY0HNdFZkWg3Lt98eOIJlSv1caojD7BL1rv/g12KFNeGBNqcvcS5HX4VaNWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656482158; a=rsa-sha256; cv=none; b=fjhpKUUUNZCNedbyUgV6rvZIA6E6HHAgYgAz8kSY3TmrGOzHomv2zBxe0ycP7jXjOA1Nj4 ccVbjZhRUu7r4kFB2FgyWWiKHIRAnSvUTbpZraZ8LvgJo/3yRQQ1nJZGBVUWFmJ//aF/k1 ZCjxwOB8CNIkPapFXu+2OYWSQp/YDm+DY4rvyY6keNnif/HL2NjuaNBaDw6mQzqa3otGwf DrosxWlOvxc8amX/9z/gMFk2tD6MAekFGV9Mr0LziutbyBvOyiw0bn/Fd4QpsU14jPrZOc BlHPVvfksMuyiCxP0T+8f92CKORfFYVzsZgLsxORib5UBV6UFKZtOBg+icK3aA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BgQ2tsX9; 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: -3.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BgQ2tsX9; 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: B9F403B47B X-Spam-Score: -3.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: S32KFVxIqBhl Daniel Ortmann writes: > ... I rebuild at least once per day. > My current org-mode version is: > Org mode version 9.5.4 (release_9.5.4-596-gaa5bc2 @ > /home/dortmann/src/git-org-mode/lisp/) > > A bit more information may help? > > * 1.2MB org-mode file > * received a stubborn parse error after today's build; could not load > my org file; the file location looked fine > * partitioned the large file into smaller files > * ... was able to load each of those smaller files > * afterwards, without any changes, I was able to load the full file > without the 'parse error' That was related to another bug that was introduced in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Df77800c68= b69f770886b9c103a101550ec530896 and then fixed in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Dd788fe992= 72d3563ff88e872bf337b8c198c7c7d I now pushed another change that will prevent loading the broken persisted cache. > * ... but once again received that org-element-cache warning > * Now, after a fresh pull of code and a rebuild, NONE of the errors or > warnings occur. > > Everything is clean now. > > Could loading those smaller files have cleaned or updated the cache?=C2= =A0 Or=20 > was it your code updates? Every time you get parser error, the cache should be cleared. So, you likely did clear the cache somewhere in the process. In any case, https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Deb796ae43= 26faf246b1b1a382a0a6a372f28c9e4 should fix most of the "unregistered buffer modifications" warnings. It will only show up in really serious cases. Best, Ihor