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 QIoNKDiEiGJDjgAAbAwnHQ (envelope-from ) for ; Sat, 21 May 2022 08:18: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 kMcrKDiEiGIUMwAA9RJhRA (envelope-from ) for ; Sat, 21 May 2022 08:18: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 01AD53A413 for ; Sat, 21 May 2022 08:18:31 +0200 (CEST) Received: from localhost ([::1]:56094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsIRa-0007Nk-2q for larch@yhetil.org; Sat, 21 May 2022 02:18:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsGGf-0003dZ-7E for emacs-orgmode@gnu.org; Fri, 20 May 2022 23:59:05 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:45990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsGGd-0001Sg-CL for emacs-orgmode@gnu.org; Fri, 20 May 2022 23:59:04 -0400 Received: by mail-lj1-x236.google.com with SMTP id v9so2238672lja.12 for ; Fri, 20 May 2022 20:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Ou/r17dT0g3yrK2Ggt4lAfvPoZxylyekPWqnLv9hhU=; b=UZEQ6ziEUars5makjghs+4p1Fwy/WwsIx3ez1rzJJQCRpl3tZimvHjNmMaEIpV6V7L 7vTiQvmJYvfGsIahbEnAueD2rYanDwrobJaA7c8TKYtVclRBc4ztq/g9PkZ+9WlyfZrs 0KUTJqVhpzKNH1yCWqsX+e62Tcpvm1pvTJecbyfUVzgyU6Jpun4ATSIuDjlx9gGZTW3n VvUdjX+a/8ALj/PzTvvgHMtLf3aye//BIgZHeBRHL+EwGqlUJOzBXzafj9SB/VlzE9ZU xY37P/5JsotfJwbozIHLDgdxPh9jhXRayfum6FejRajuajyCDMRW1KD5l/qxWpyaAHiW ckyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Ou/r17dT0g3yrK2Ggt4lAfvPoZxylyekPWqnLv9hhU=; b=r3v0c1fUBpb7U8xr18Mj/WkqMnVHMGBWTN89r1OTIiPCfcTQGI1JZ6YGMucnRi8LW1 m87JtiICdcDKpvgLmomJWWtwmxqEIMfAR6G/TeVDTFdez4XSb7cK8IkSTz2BULl+5vjH +e4WRITERVK3sSp83VBLYOlarQMsfLmPsIN7uyNcMT/xJz9k5D/aPAj8NIWAON4A5Fo7 4gbc2iCKxi6dKb314vcLfh5bDSxzSIFKp/Bq2kgDO0vqpnfs8jUGHZ292sMLu6hUBwaV aC13mbZE0yfZsAGb8r+EmJ5VlPj3ExXikkRpjXEwTHyf+Ysticvn6wN0oc4MsYrx1CH5 nFfA== X-Gm-Message-State: AOAM531zqWQOQxvl6XSCRBnSrYqn+NGh1LF6maMnknKz7qQ4fy1dQ9Wt Lc8sIZ/O8ZRSz1hEV+v7jSLunVGTzG/8oF8+5cc= X-Google-Smtp-Source: ABdhPJyRU5LfnMJEiDnlRheafaZzO+XNxNFqNwNbu0D6CWFQOB/nmWCf1TdCvn7dZ5SAgoqqJbuO+uvaOkT8isohiLA= X-Received: by 2002:a05:651c:10bc:b0:253:c952:195d with SMTP id k28-20020a05651c10bc00b00253c952195dmr7235214ljn.424.1653105539408; Fri, 20 May 2022 20:58:59 -0700 (PDT) MIME-Version: 1.0 References: <87y1yzr0wf.fsf@localhost> <87k0ajxuj1.fsf@localhost> <874k1k4p0i.fsf@localhost> <87leuv3bzt.fsf@localhost> In-Reply-To: <87leuv3bzt.fsf@localhost> From: imymorror wang Date: Sat, 21 May 2022 11:58:47 +0800 Message-ID: Subject: Fwd: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected" To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000073e71e05df7da0f5" Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=jagger.wangzg.2019@gmail.com; helo=mail-lj1-x236.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, URI_HEX=0.1 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 May 2022 02:16:24 -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=1653113912; 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=0Ou/r17dT0g3yrK2Ggt4lAfvPoZxylyekPWqnLv9hhU=; b=kK9S1TzCdyqRutJxpOtHg3W5GIUjKxm5oKe+2eidtQTO/+cmaDhjf4WtAGvHh5zhG3cD0V LhvVqUMCoVfgCWRCayFF2jLMjpXUtc3euAaPBnP9/WcwOgC1K2k6jUyXLqKp3eIyOqMK6L wU9Z1SF/oXby0V0VYBEzd1szOEllNqfJfP9gnkOF1Fzq4bagzvLRTmsg6EFgPvhW5Jjl4r mGrPmQzDQ9daDweP9JzFENKIcGN0kyLPPK4Ry/fcUS8KPIQivWFzC4svXrrFQlqcauzlOB LQOk+51YbTu+PQe05kLLDRSfNq4xWdIjD/hd4wqz+KLcdoUKDSKNHdIPuYSG/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653113912; a=rsa-sha256; cv=none; b=u2ltPf52WwxYQ/Vwxgw0fwowssozHFzV4VDrwuuMcdxRkrSLLAJWnwVRjU8peZpyK5OjuP aIsG/WdlMCD73Ws516lF1QmGK23nukUXfAQqTXXC5EQe+Hosm+Ul/tYPVHyO+dCG1rT+kF q24JTB95lUz7NqSm8nt0pU+IhCT6AiH4B+0BLdJYVj3ENWrCJKgzKzdaMYqITKfxvrE6dx W+Wx7ujdGl5/IjV2yOpjoLFcatTTEncc25MYSzm+sNE5558Z6astB9GePhEimkaOKRmD6D ms8hnJ/5i2+WOMSeamLfIHd5Okts2BVLlTB9MjQd6QiNZZv2gUG4pro8EPq11A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UZEQ6ziE; 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: -5.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UZEQ6ziE; 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: 01AD53A413 X-Spam-Score: -5.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9wh/ThGBV8vl --00000000000073e71e05df7da0f5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > Can you share the values of change-major-mode-hook and org-mode-hook? I uploaded all *emacs **current state* in recent e-mail . > Also, do you deliberately drop the CC to emacs-orgmode@gnu.org and prefer the conversation to be not public? sorry. I'm not good at email communication. This is my first attempt to submit a bug report to Emacs. Maybe I could add CC to emacs-orgmode@gnu.or= g on the recent email that shows all my emacs current state info. ---------- Forwarded message --------- =E5=8F=91=E4=BB=B6=E4=BA=BA=EF=BC=9A Ihor Radchenko Date: 2022=E5=B9=B45=E6=9C=8821=E6=97=A5=E5=91=A8=E5=85=AD 09:33 Subject: Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected" To: imymorror wang imymorror wang writes: > sorry . the whole warning text is (twice): > #+begin_quote > Warning (org-element-cache): org-element--cache: Unregistered buffer > modifications detected. Resetting. > If this warning appears regularly, please report the warning text to Org > mode mailing list (M-x org-submit-bug-report). > The buffer is: 20220404203228-2022_04_04_20_29_emacs_outline_emacs.org > Current command: (next-line 14194 14229) > Chars modified: 14194 > Buffer modified: 14229 > Backtrace: > nil Disable showing Disable logging Thanks! It appears that something is editing the buffer either before or after loading Org mode. Can you share the values of change-major-mode-hook and org-mode-hook? Also, do you deliberately drop the CC to emacs-orgmode@gnu.org and prefer the conversation to be not public? Best, Ihor --00000000000073e71e05df7da0f5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Can you share the values of change-major-mode-hook an= d org-mode-hook?
I uploaded all=C2=A0emacs=C2=A0cu= rrent state=C2=A0in=C2=A0recent e-mail .
> Also, do you deliberately drop the CC to=C2=A0emacs-orgmode@gnu.org=C2=A0and pref= er the conversation to be not public?
sorry.=C2=A0I'm not good at email communication. This is my fir= st attempt to submit a bug report to Emacs. Maybe I could add CC to=C2=A0= =C2=A0emacs-orgm= ode@gnu.org=C2=A0on the recent email=C2=A0that shows all my emacs curre= nt state info.

---------- Forwarded message ---------
=E5=8F=91=E4=BB=B6=E4= =BA=BA=EF=BC=9A Ihor Radche= nko <y= antar92@gmail.com>
Date: 2022=E5=B9=B45=E6=9C=8821=E6=97= =A5=E5=91=A8=E5=85=AD 09:33
Subject: Re: [BUG] when open a large org fil= e, emacs get stuck and show a warning "org-element--cache: Unregistere= d buffer modifications detected"
To: imymorror wang <jagger.wangzg.2019@gmail.com>



imymorror wang <jagger.wangzg.2019@gmail.com> writes:

> sorry . the whole warning text is (twice):
> #+begin_quote
> Warning (org-element-cache): org-element--cache: Unregistered buffer > modifications detected. Resetting.
> If this warning appears regularly, please report the warning text to O= rg
> mode mailing list (M-x org-submit-bug-report).
> The buffer is: 20220404203228-202= 2_04_04_20_29_emacs_outline_emacs.org
>=C2=A0 Current command: (next-line 14194 14229)
>=C2=A0 Chars modified: 14194
>=C2=A0 Buffer modified: 14229
>=C2=A0 Backtrace:
> nil Disable showing Disable logging

Thanks!
It appears that something is editing the buffer either before or after
loading Org mode.

Can you share the values of change-major-mode-hook and org-mode-hook?

Also, do you deliberately drop the CC to emacs-orgmode@gnu.org and
prefer the conversation to be not public?

Best,
Ihor
--00000000000073e71e05df7da0f5--