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 8FBWGDLMg2IsWgEAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 18:24:18 +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 0NQzGDLMg2IMzwAAauVa8A (envelope-from ) for ; Tue, 17 May 2022 18:24:18 +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 0E6BF11A15 for ; Tue, 17 May 2022 18:24:18 +0200 (CEST) Received: from localhost ([::1]:57478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqzzd-0004IQ-7M for larch@yhetil.org; Tue, 17 May 2022 12:24:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqjgx-0007mz-Uf for emacs-orgmode@gnu.org; Mon, 16 May 2022 18:59:55 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:38641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqjgw-00032r-Em for emacs-orgmode@gnu.org; Mon, 16 May 2022 18:59:55 -0400 Received: by mail-lf1-x131.google.com with SMTP id d15so28346791lfk.5 for ; Mon, 16 May 2022 15:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=bXCSD+v4EYPJw/K9Pm4MEd7BaBiRmDSYBZ2sX2qLO8E=; b=F7sbgZAD04LL8FBzLAYR09bh39X3XZUNO+AGAawcyf50UwoNevYgDm7OXvUkioDVUy 7r4r8tXi5ZqyhPo2wAhbplsWqCLqpkknNbFD9Hzvr8XJhkaBQJpB3Rcxjtnh4cn7uGBG MEItfCCdqcyFHzVlvnePt1FlZzxmfay+CLPKpg2nIxuvOXzO/Rv4WnNmi85v8WslvuFb k+4hsVUfPExwjsDuCj1fkMdvCGt2AFKkkSKa6iZ0pLOeRTQOrDbsWWKJa6/frbLgAj2W WAtZ4yjVhDN90GU+YLaoYtCIk6b3yJ7pVgDIc3pUUsjJwuyjyeeDbnq9lEAmRH+ELWTm MatQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bXCSD+v4EYPJw/K9Pm4MEd7BaBiRmDSYBZ2sX2qLO8E=; b=rG5ciWshLXVtl6Z6oKknprh7itMkt+rDHh0FjfPPY/JaJ0kOSN8FpM9/Clya/DlmMk r7oBRKXstpcRcpssXd1dv/Af7dwOtfl9Yv3X7K6Or6KJt4VBn3bq7OM0ZCb15wc6O8H4 Sp7eGynkP9UsHnbDW0QgEp31TbuC+brIiGRoaGqJw46cKLaMgFcJNarEZUuQdAVpVMBP /AnqsMqHWax6MVNHYgAZW0/24Zs7/yoEWAzAdFdnYYIbxKThJpFiTITjo7h0Mc4bUb5s HjyiOzHwNjhGlk1906A59W73NWnfaxdonzaEpZgjhoCIuiyVuV+1yA/2v+V6/iwIZnFY oWOQ== X-Gm-Message-State: AOAM5314g7fY48ZvaHlX23bOTJUODFcWAipMw/kT+Y6DkGCmsu7OxGKn xRoWptt1WImcf6YF/FSCs5aqZ8p0SJDOeL227UsmpAMoReo= X-Google-Smtp-Source: ABdhPJx0l47wzpfIQlkvtEzroQEj3PoCzFdXnVdhbGHBCde8xLblMW2gXPo7/caWlWqnB93xSxNoT0TWuJw/foYAvB8= X-Received: by 2002:a05:6512:203b:b0:472:4d8b:b124 with SMTP id s27-20020a056512203b00b004724d8bb124mr14885511lfs.241.1652741990752; Mon, 16 May 2022 15:59:50 -0700 (PDT) MIME-Version: 1.0 From: imymorror wang Date: Tue, 17 May 2022 06:59:39 +0800 Message-ID: Subject: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected" To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000043a63a05df28fb02" Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=jagger.wangzg.2019@gmail.com; helo=mail-lf1-x131.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, HTML_MESSAGE=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-Mailman-Approved-At: Tue, 17 May 2022 12:23:31 -0400 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=1652804658; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bXCSD+v4EYPJw/K9Pm4MEd7BaBiRmDSYBZ2sX2qLO8E=; b=VbT9UbC88aDNWoILwqIt+UXTLUjcT1PQXI6U+gskqOgojQGffO1BEgOKJ1ERws7mdbvAF6 i1avnimEkuHd+0nUo1WnNPn7YoCxqtRt8OILggGzrsmNqYFLi32KGa/AwfF6TH8Abt1/7e npSZizXMpByYt5qlcg616p3IANz3rhqqc+lxVft+eb+zrQPRWjONWVFleGiAUiLEE0sGja cJKKgaAmOWG3cg82fIkwthVpF81XMq4G1XScL8+kN8aMWKOf4ayzOhqQgDKqELOWo2/xd/ 4+C2V5Syt9iCfZBwYn6OKP6VxEtyo3XN6amNDE795kIlimPLZDPVV9vmib18zA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652804658; a=rsa-sha256; cv=none; b=KTEAnLvwFjeRFyC7ZWyeo6xkMYas7MrIPajUstvLI9O9wAHRHF5p6lZuGXcdKpfmZrRKzP yR2POhAM6qhocKw1SbbkKCZblHkU5+IO8tqE4GI2Kf3D+31bkCeWSW/a8Qrllk66upgrI1 I5uQIvDXIQ6VeNelUBq8rvv7NeuJ3rWntyejc3LaRZQHyInebc4Wqm3Tqf7nqs+rr8vFt1 FD2WCQStY5PppnO8Wr+YG4DHrL73yeVktO7/s9PY6K4bfl3gO/0sIhvTqid+VXwpmneUid zWghn0rgR8GRtsIZdeASvl0rOoUeMJHeYqC2JPtCKDHShkRdFyDlXwJSyrFSTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F7sbgZAD; 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.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F7sbgZAD; 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: 0E6BF11A15 X-Spam-Score: -8.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: MzJxSh+yMaDV --00000000000043a63a05df28fb02 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable - desktop environment - GNU Emacs 29.0.50 (build 2, x86_64-apple-darwin20.4.0, NS appkit-2022.44 Version 11.3.1 (Build 20E241)) of 2022-01-08 - Org mode version 9.5.1 - bug description - influence factor - a large org file : 11053 lines=E3=80=821092 headlines=E3=80=82 - (setq org-startup-folded t) - org-indent-mode : (add-hook 'org-mode-hook 'org-indent-mode) - My Observation - if setting org-startup-folded t , open the large org file, emacs get stuck, the mouse can't move=E3=80=82 - if keeping org-startup-folded defaul value=EF=BC=88i.e "showeveryt= hing") , enable org-indent-mode , open the large org file, get a warning: #+begin_quote Warning (org-element-cache): org-element--cache: Unregistered buffer modifications detected. Resetting. If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report). #+end_quote - if keeping org-startup-folded defaul value and disable org-indent-mode , open the large org file, everything works fine --00000000000043a63a05df28fb02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0 - desktop environment
=C2=A0 =C2=A0 - GNU Emacs = 29.0.50 (build 2, x86_64-apple-darwin20.4.0, NS appkit-2022.44 Version 11.3= .1 (Build 20E241)) of 2022-01-08
=C2=A0 =C2=A0 - Org mode version 9.5.1<= br>=C2=A0 - bug description
=C2=A0 =C2=A0 - influence factor
=C2=A0 = =C2=A0 =C2=A0 - a large org file : 11053 lines=E3=80=821092 headlines=E3=80= =82
=C2=A0 =C2=A0 =C2=A0 - (setq org-startup-folded t)
=C2=A0 =C2=A0 = =C2=A0 - org-indent-mode : (add-hook 'org-mode-hook 'org-indent-mod= e)
=C2=A0 =C2=A0 - My Observation
=C2=A0 =C2=A0 =C2=A0 - if setting o= rg-startup-folded t , open the large org file, emacs get stuck, the mouse c= an't move=E3=80=82
=C2=A0 =C2=A0 =C2=A0 - if keeping org-startup-fol= ded defaul value=EF=BC=88i.e =C2=A0"showeverything") , enable org= -indent-mode , open the large org file, get a warning:
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 #+begin_quote
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Warning (org-elemen= t-cache): org-element--cache: Unregistered buffer modifications detected. R= esetting.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 If this warning appears regularly,= please report it to Org mode mailing list (M-x org-submit-bug-report).
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 #+end_quote
=C2=A0 =C2=A0 =C2=A0 - if keepin= g org-startup-folded defaul value and disable org-indent-mode , open the la= rge org file, everything works fine
--00000000000043a63a05df28fb02--