Gt Uit writes:
I recently upgraded to org mode version 9.3.6 and the following
behavior was introduced: When I search for an entry using C-s, all the
parent entries and sub-entries are expanded and stay expanded.
Find in https://imgur.com/a/vzEU1zp screenshots of the newly
introduced behavior and expected/old behavior.
An image is helpful, and some may follow that link, but it's also useful
to include example Org content and a set of steps to reproduce the
behavior you're describing. Based on that link, something like
--8<---------------cut here---------------start------------->8---
* A
** B
some text
** C
target search
--8<---------------cut here---------------end--------------->8---
And then, with all content folded, 'C-s target'.
With the default settings in Org 9, the result is
* A
** B...
** C
target search
I believe you want the visibility to be like this:
* A...
** C
target search
You can customize this behavior through org-show-context-detail. It
sounds like you'd prefer `minimal':
(setf (alist-get 'isearch org-show-context-detail)
'minimal)
Hello,