From: Ihor Radchenko <yantar92@posteo.net>
To: Visuwesh <visuweshm@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fold-core--fix-folded-region slows down typing [9.6.6 (release_9.6.6 @ /home/viz/lib/ports/emacs/lisp/org/)]
Date: Fri, 09 Jun 2023 15:02:16 +0000 [thread overview]
Message-ID: <874jngvfuv.fsf@localhost> (raw)
In-Reply-To: <875y7wbyde.fsf@gmail.com>
Visuwesh <visuweshm@gmail.com> writes:
> In a largeish buffer, org-fold-core--fix-folded-region significantly
> slows down typing to a point where I have to wait a few milliseconds to
> see the characters typed. With emacs -Q, the slow down isn't as bad as
> with my full configuration but it is still noticeable. Setting
> `org-fold-core--ignore-modifications' to t makes the lag go away.
Well. This can happen when you have a huge number of text properties in
your buffer. It is caused by details of how Emacs stores and searches
text properties.
You can try to set `org-fold-core-style' to overlays. Or you can try to
disable flyspell. Or you can try to disable org-num that adds up to text
properties.
Canceled.
Not much can be done on Org side.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-06-09 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 12:42 [BUG] org-fold-core--fix-folded-region slows down typing [9.6.6 (release_9.6.6 @ /home/viz/lib/ports/emacs/lisp/org/)] Visuwesh
2023-06-09 15:02 ` Ihor Radchenko [this message]
2023-06-09 15:58 ` Visuwesh
2023-06-10 9:49 ` 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=874jngvfuv.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=visuweshm@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).