emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: William Denton <wtd@pobox.com>
Cc: imymorror wang <jagger.wangzg.2019@gmail.com>,  emacs-orgmode@gnu.org
Subject: Re: [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected"
Date: Wed, 18 May 2022 11:14:12 +0800	[thread overview]
Message-ID: <87v8u3r0qj.fsf@localhost> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2205171229090.24124@shell3.miskatonic.org>

William Denton <wtd@pobox.com> writes:

> I'm also having problems like this with large files.  I haven't been able to 
> narrow it down but I'll try what you say about org-startup-folded.
>
> Do you also have a problem where sometimes TAB or SHIFT-TAB on a heading has no 
> effect?  Some Org files seem to get broken after editing them for a while, and 
> some folding no longer works (that is, some headings stay closed, while others 
> can be cycled), and the only way to fix it is to reload.
>
> I'll turn on debugging and see what that says.

Before you try anything weird, can you do the following:
(1) Update Org to the latest version and make sure that M-x org-version
    reports Org 9.5.3
(2) Remove org-persist-directory
(3) Try to see if the error persists

Best,
Ihor


  reply	other threads:[~2022-05-18  3:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-16 22:59 [BUG] when open a large org file, emacs get stuck and show a warning "org-element--cache: Unregistered buffer modifications detected" imymorror wang
2022-05-17 16:38 ` William Denton
2022-05-18  3:14   ` Ihor Radchenko [this message]
2022-05-18  3:10 ` Ihor Radchenko
     [not found]   ` <CAGVe721ckg9U=NSy87TigYQ6SQcKd6zwg4h30LgmqDb6m-uWog@mail.gmail.com>
2022-05-18  5:46     ` Ihor Radchenko
2022-05-19  9:58       ` imymorror wang
2022-05-20  7:55         ` Ihor Radchenko
     [not found]           ` <CAGVe723h4bBCZsH95=JpQ3gjxGKfT8R0whU6=QvBGybR+Bb7Hw@mail.gmail.com>
     [not found]             ` <87leuv3bzt.fsf@localhost>
2022-05-21  3:58               ` Fwd: " imymorror wang
2022-05-21  4:11                 ` imymorror wang
2022-05-21  4:38                 ` Fwd: " Ihor Radchenko
2022-05-21  7:09                   ` imymorror wang
2022-05-21  7:26                   ` imymorror wang
2022-05-21  7:49                     ` Ihor Radchenko
2022-07-18  0:20                       ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8u3r0qj.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jagger.wangzg.2019@gmail.com \
    --cc=wtd@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).