From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kRbbNfjXEF+GKgAA0tVLHw (envelope-from ) for ; Thu, 16 Jul 2020 22:43:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WFFIMfjXEF+mPgAAbx9fmQ (envelope-from ) for ; Thu, 16 Jul 2020 22:43:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 060AF940418 for ; Thu, 16 Jul 2020 22:43:03 +0000 (UTC) Received: from localhost ([::1]:47798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwCak-0008FS-Q6 for larch@yhetil.org; Thu, 16 Jul 2020 18:43:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwCaK-0008F8-Bg for emacs-orgmode@gnu.org; Thu, 16 Jul 2020 18:42:36 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:53717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwCaH-0003zT-PH for emacs-orgmode@gnu.org; Thu, 16 Jul 2020 18:42:35 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id BF1DD630BE; Thu, 16 Jul 2020 18:42:30 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=NQbJ5C9i+bZbzWGhkSokxSEdfLY=; b=H2meOs yAFE44Z982m//ytx63yYWW8tbS8SZTeL6OcPmG1rQOjwnY0ESiN1qWBD3VN0RT6v iKhQmkk/cCVPQvKqomcWSNHpn7+Zh8eT9gT2EBfuPzilihEwgif3E7jhb4tS4iBc XaJInWgYn8f4iVIhBJCDhWQOe94UNip7eQN0Y= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id B6103630BD; Thu, 16 Jul 2020 18:42:30 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=TuSjmNYVM1/AsIrNQNlRUgd34GQYMZwMrczAG1cOcGg=; b=LQ49ak+bdo9iiFb62wFGoBIHMLCZFNoy2FIppvvHitw8ErkwNN5JcNvD7p5WMBExV592ZFbxzRT5+G27FM4rRl4CjlfZ5As9U6RpAhUe4j8JeVlWAWgQB3hl36GTVqpKYs6TZ6o01e4RR/sqqSlvyIeMYRdqRMNRiAb/dQ1EHIY= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 37BED630BA; Thu, 16 Jul 2020 18:42:30 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Gt Uit Subject: Re: Search for an entry expands parent In-Reply-To: <7558111594884257@mail.yandex.com> References: <7558111594884257@mail.yandex.com> Date: Thu, 16 Jul 2020 18:42:29 -0400 Message-ID: <87ft9rulnu.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: A19A4DB2-C7B5-11EA-B232-2F5D23BA3BAF-24757444!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=kyle@kyleam.com; helo=pb-smtp2.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/16 18:42:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=H2meOs y; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=LQ49ak+b; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: NHpuRjjcK+IZ 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)