If I run certain functions like isearch-forward
(with C-s) in an org-mode buffer, all content become temporarily visible. When I end the search, headings automagically collapse the way they were before I searched. Nice.
But if I run something like query-replace
(with M-%), trees stay collapsed. The point essentially hidden inside them. I am asked to confirm a change that I can't see. That's not good at all!
Surely functions like query-replace
should behave more like isearch-forward
does. I swear I found a simple solution to this at some point. (A variable with a smart
setting, I thought?) But I seem to have lost track of it. Please help me.