emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "Christopher M. Miles" <numbchild@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend
Date: Thu, 28 Oct 2021 22:40:22 +0800	[thread overview]
Message-ID: <87y26d6wmh.fsf@localhost> (raw)
In-Reply-To: <DB9PR08MB66336CDF0F43DE3DB1D08649A3869@DB9PR08MB6633.eurprd08.prod.outlook.com>

"Christopher M. Miles" <numbchild@gmail.com> writes:

> Thanks for quick patch, I'm on the latest main. and I pulled your patch. Now it's not infinite
> looping, but still takes about 3.5 seconds. So I take another profiler profiling again.

Fixed (hopefully) on main via 1b2d06880. Please, restart emacs after
loading the latest Org (or call M-: (org-persist-gc) before testing.

A bug introduced in 5ca866d08 caused cache index corruption.
org-persist-gc should fix the corrupted index.

Best,
Ihor


  reply	other threads:[~2021-10-28 14:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-28 11:28 [BUG] kill-buffer invoked org-persistent-write-all-buffer caused Emacs long suspend Christopher M. Miles
2021-10-28 11:42 ` Ihor Radchenko
2021-10-28 13:58   ` Christopher M. Miles
2021-10-28 14:40     ` Ihor Radchenko [this message]
2021-10-28 15:57       ` [SOLVED] " Christopher M. Miles

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=87y26d6wmh.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.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).