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 QJI2GoiQiGKJOgEAbAwnHQ (envelope-from ) for ; Sat, 21 May 2022 09:11:04 +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 WOxQGoiQiGLOcAEA9RJhRA (envelope-from ) for ; Sat, 21 May 2022 09:11:04 +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 E5F9C3ADB8 for ; Sat, 21 May 2022 09:11:03 +0200 (CEST) Received: from localhost ([::1]:42180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsJGQ-0003kg-Ia for larch@yhetil.org; Sat, 21 May 2022 03:11:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsJFJ-0003kT-7L for emacs-orgmode@gnu.org; Sat, 21 May 2022 03:09:53 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:33741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsJFH-0000In-Bd for emacs-orgmode@gnu.org; Sat, 21 May 2022 03:09:52 -0400 Received: by mail-lf1-x12f.google.com with SMTP id bu29so17746033lfb.0 for ; Sat, 21 May 2022 00:09:50 -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=j5C42deisgAOJbwLy/0s6xxx9zIZN+CW52U+c+MFX+0=; b=Nro/nwnxMJYZcC2xkWCP/UN+00q3eRvCK4LiX3TaWMH2F2TSWoqcEjLCdnim+K4HNZ ukxPD+HPzskSbojRAcERo0jG8QZlMbt5U/MeOCecGAye/URwsTNPDgv2inS6meVuzJQj 0afc+uHvxkJCREREKzNAvzxJsHc46cnAKQhRVpd78az7qps9LyRyzQkLUqdO/O+27tul j/v33pz6Qb+IpBoepGTXjDuAM0BKZ9zDMJsVWz6bc075Y9NF0Swvaxm8+ijn72Uq39Au Q/2Jjlqtx/8HO1Rf8iItKt4UB55ToeVSUJN0c35R/qV5Pw0pcn/HP6UtUc5zjlVkOLr0 XHdw== 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=j5C42deisgAOJbwLy/0s6xxx9zIZN+CW52U+c+MFX+0=; b=ys5Y1s/F+oONNcp22rO/0CHSeRa1U0Ne6mEW7BI6nWlDVSI11w7UbM7VBlwhthenY9 cfOhS+WrnStDNYpgcpi8NJwtRqLM8x+mm4wNAZ2A3nz9gBPqEP3yyyQh9PFqo+WCjRU8 vEEUj5E7W6m2CCEJBREKPaL4J8pOaVoyC1XNcriHX9sAXz65BJBvULRf0+MXeW4oDvBk gc1WaC2KE58ptIE0lAfArUCBLDSAS3tdwpt6+Tx9+dWwVsA/yx/rYK6XBDLB4iJ1/do3 uhbxcNoBPVsTL5FAcptnShH5no1EfxXqfUqWZ1jIwcXW4wPR6Mz3suhMM+TeAme2tYKZ 0d0w== X-Gm-Message-State: AOAM533ZSYBfm22sh3eGxYSnmMQYlb4v0za0/440fcv3IHlCRa9/Ad4v JH8DgLwjPorW9tF372PQixhYRW+Llvia01mcG3I= X-Google-Smtp-Source: ABdhPJxA5v6piHaUCz1mITBaxYP04SCYh2YCjqcxF6TYvaR5yAiIWdECQoPKueulBsDEbezN5/cOPi2TQeWxUY8Z4iM= X-Received: by 2002:a05:6512:6cd:b0:477:c615:f36e with SMTP id u13-20020a05651206cd00b00477c615f36emr9075470lff.197.1653116989402; Sat, 21 May 2022 00:09:49 -0700 (PDT) MIME-Version: 1.0 References: <87y1yzr0wf.fsf@localhost> <87k0ajxuj1.fsf@localhost> <874k1k4p0i.fsf@localhost> <87leuv3bzt.fsf@localhost> <87fsl333gm.fsf@localhost> In-Reply-To: <87fsl333gm.fsf@localhost> From: imymorror wang Date: Sat, 21 May 2022 15:09:37 +0800 Message-ID: Subject: Re: 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="000000000000ecf15c05df804a21" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=jagger.wangzg.2019@gmail.com; helo=mail-lf1-x12f.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-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=1653117064; 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=j5C42deisgAOJbwLy/0s6xxx9zIZN+CW52U+c+MFX+0=; b=eBZRRYeF5qlIcktoGwvOlEjhPGSmbNykk/nfB1r8UMUCW6N4BET5mTQjYt2LL6fX8MgAFi IVw9L+eIHyJ4C50+6yawyxC84gIEVPK0alEQff5jETqaPjbKO0s46UtiI/QVoMBKTJ8c3J hUoCx+9qdHkoMZ76TI8ZZCOOgCo66poDEum1PS+tcjzQHn1GrJ88yDuqzi15G0GEEpxaAL tlVekn9pxAZlSGr5B11F3EUP/hCZOtURfnhTEybkUkGnyfY2BujXds9nQUcrTBgZLcskIL wOQPp6Z5FFIUijmSSqaIiZuiSi3xCC1JyVQB9lCkUWgDUUdLn2K29fEBt0K5kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653117064; a=rsa-sha256; cv=none; b=unO4ikwrqCfOrA5in35zTqz+2TSdpWvIFvUaJdcNrU3M5VKmWXrFKSKUrWfV0S15rcUhZA qDn/fqI9X8sHsXgIcJFlT+nqwkLvvYbN9wmkbUbfx7kyg3YJmkrD73yu21oMh1OB7eLeFw hl6wtKrhQM3aqcgmrZyggu8zOJHmS9wtbf/5a0rOcKulLsVq6+LPgZDxPS4lS+KDHZdwf6 LnZUYR7vkd8XF7ikB8EjhAQjaSHxydsBW45WMc9sfQPC1jaunDAfHYZEa6OQt1raYVPfVS UbDSLeWDvCBUWu/5jPofx45+bXcYZ6zBKxjyUK0zb5X59m4SWf0yaQ5f4CyFOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Nro/nwnx"; 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.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Nro/nwnx"; 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: E5F9C3ADB8 X-Spam-Score: -8.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: F4UeJt1x/aIR --000000000000ecf15c05df804a21 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >Can you try to reproduce the problem starting from clean Emacs state >(emacs -Q)? See https://orgmode.org/manual/Feedback.html thank you for reminding me to use this method. I found out why. package *valign-mode*(https://github.com/casouri/valign) causes the problem: (add-hook 'org-mode-hook #'valign-mode) If I don't add-hook for valign-mode, everything works fine. Ihor Radchenko =E4=BA=8E2022=E5=B9=B45=E6=9C=8821=E6= =97=A5=E5=91=A8=E5=85=AD 12:37=E5=86=99=E9=81=93=EF=BC=9A > imymorror wang writes: > > >> Can you share the values of change-major-mode-hook and org-mode-hook? > > I uploaded all *emacs **current state* in recent e-mail . > > Sorry, I missed that. Unfortunately I do not see anything suspicious > there. > > Now, it is confusing. I am unable to reproduce the warning on my side > even with org-fragtog and valign installed. > > Can you try to reproduce the problem starting from clean Emacs state > (emacs -Q)? See https://orgmode.org/manual/Feedback.html > > >> 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.org on > > the recent email that shows all my emacs current state info. > > Just use "Reply All" in future. > > Best, > Ihor > --000000000000ecf15c05df804a21 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>Can you try to reproduce the problem starting from cle= an Emacs state
>(emacs -Q)? See=C2=A0https://orgmode.o= rg/manual/Feedback.html
thank you for reminding me to use this meth= od.


I found out why. package valign-mode(https://github.com/casouri/valign) causes the problem= :
(add-hook 'org-mode-hook=
 #'valign-mode)
If I don't add-hook for valign-mode, e= verything works fine.

Ihor Radchenko <yantar92@gmail.com> =E4=BA=8E2022=E5=B9=B45=E6=9C=8821=E6= =97=A5=E5=91=A8=E5=85=AD 12:37=E5=86=99=E9=81=93=EF=BC=9A
imymorror wang <jagger.wangzg.2019@gmai= l.com> writes:

>> Can you share the values of change-major-mode-hook and org-mode-ho= ok?
> I uploaded all *emacs **current state* in recent e-mail .

Sorry, I missed that. Unfortunately I do not see anything suspicious
there.

Now, it is confusing. I am unable to reproduce the warning on my side
even with org-fragtog and valign installed.

Can you try to reproduce the problem starting from clean Emacs state
(emacs -Q)? See https://orgmode.org/manual/Feedback.html=

>> 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 attem= pt to
> submit a bug report to Emacs. Maybe I could add CC to=C2=A0 emacs-orgmode@gnu.org = on
> the recent email that shows all my emacs current state info.

Just use "Reply All" in future.

Best,
Ihor
--000000000000ecf15c05df804a21--