From: Ihor Radchenko <yantar92@posteo.net>
To: Joe Gilder <joe@homestudiocorner.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] query-replace breaks org-mode [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]
Date: Wed, 17 Apr 2024 13:35:14 +0000 [thread overview]
Message-ID: <87r0f4az8t.fsf@localhost> (raw)
In-Reply-To: <6E8E77D9-5548-484C-AA2F-AB99D6DF8FD1@homestudiocorner.com>
Joe Gilder <joe@homestudiocorner.com> writes:
> Noticed this a few times. When I run query-replace, it functions as usual. However, when I’m done with the query-replace, it seems to break org-fold. I can’t fold/unfold headings anymore.
>
> I had the same issue the other day with replace-string as well.
>
> Killing buffer and coming back fixes it.
You can set `org-fold-core-style' to 'overlays (early in your config) to
fix this.
Unfortunately, text-property based folding cannot be reliable because
too many parts of Emacs and third-party packages hard-code certain
implementation details.
The default value of `org-fold-core-style' is changed to 'overlays on
main to avoid this and similar problems.
Handled.
--
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>
prev parent reply other threads:[~2024-04-17 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-16 19:16 [BUG] query-replace breaks org-mode [9.6.6 (release_9.6.6 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)] Joe Gilder
2024-04-17 13:35 ` Ihor Radchenko [this message]
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=87r0f4az8t.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=joe@homestudiocorner.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).