From: Kyle Meyer <kyle@kyleam.com>
To: Gt Uit <gt3uit@yandex.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Search for an entry expands parent
Date: Thu, 16 Jul 2020 18:42:29 -0400 [thread overview]
Message-ID: <87ft9rulnu.fsf@kyleam.com> (raw)
In-Reply-To: <7558111594884257@mail.yandex.com>
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)
next prev parent reply other threads:[~2020-07-16 22:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-16 7:32 Search for an entry expands parent Gt Uit
2020-07-16 22:42 ` Kyle Meyer [this message]
2020-07-17 4:55 ` Gt Uit
2020-07-18 8:58 ` Gt Uit
2020-07-18 15:48 ` Kyle Meyer
2020-07-20 7:18 ` Gt Uit
2020-07-20 14:33 ` Nick Dokos
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=87ft9rulnu.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=gt3uit@yandex.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).