From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uNVfMC5I+2P0HwAAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 12:53:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EI4xMC5I+2OaEQAAauVa8A (envelope-from ) for ; Sun, 26 Feb 2023 12:53:18 +0100 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 84DEE37F97 for ; Sun, 26 Feb 2023 12:53:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWFa1-0007b5-2X; Sun, 26 Feb 2023 06:52:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWFZy-0007am-Dg for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 06:52:34 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWFZv-0001m6-Sg for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 06:52:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CFC47240107 for ; Sun, 26 Feb 2023 12:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677412348; bh=nte135FolPMko68rT1HXlL07RzUcv9dluBHqjqSfVrY=; h=From:To:Cc:Subject:Date:From; b=LqDVwFDIH7V0MvhmZ1Fx3i/n4XNDv2BOxY3mgzyUY/S/m303pXjWCGRt++HoW+JPz 0zWMEN7lCarX/64V5TwYEV9xsi3StWCx0vuZqW43RZv2pFzuO36HJAVzvFzt8rIZpx 1OzoTzvc8PUJNcddT5Dp6Jx7w+X/U7ur4/QTmGIcsGLIKzKsNukoGYBNjiOv2dEUUZ dYrHriUyr+dOtxk1meMutidh9h8O+lhtKZGB4ZyUgX9NAARDJebQy8/xeh9+uapVMZ sSzDr/UfjMASxEyzmygZ922MNVZiVsZr3lW7HoNZHCX791dEmT4RlcW8lL6B5wPc6X u5Ow5R+rYKyLw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PPhnk5cmkz9rxb; Sun, 26 Feb 2023 12:52:25 +0100 (CET) From: Ihor Radchenko To: Cassio Koshikumo Cc: emacs-orgmode@gnu.org Subject: Re: Bug or expected behavior? org-sparse-tree visibility toggling In-Reply-To: References: Date: Sun, 26 Feb 2023 11:53:05 +0000 Message-ID: <87v8jozlr2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677412398; a=rsa-sha256; cv=none; b=UZIISbn7e+n1IZ6/0s+TNgiGKeVdO7GsJ5iXQ/BCQjYAND5lQb9KRfejMKL430rx8kJkHE 4YkVKYAe8hjUG6TXvSNsXUe9vNnwQ6oorwV76bUVO6n9plcSXfnipaVMDxv5kY8rexR/4c DK5EuSXbJqKJbqaICUzYkR46rijeJy6jiB3pJ3E3dCxlYgXPEorFxL73hsxvCy4jOWnA/S efonWlxtSOQJMEG4cxPp+xYoRKKhrFvSeet8SDfzCiCz3NBv+qfnyzi+zshAXaC8UCOqTH TZNK1fRtUQlJPMnMhOW1jvOaw1+FnINk4j1FsOE0OoSFDW/zYCq6pnqiQaObGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LqDVwFDI; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677412398; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KTYAyts8eKlje+j/NaaRYld0OwZUaW7xgTNWvwwhgCk=; b=G9m4gSJbA6z2f2mBXlp8inmG7FH+ZpSWTMepr+YmtbAGE3FslYasDBJrxnUQrXi1kT/+gU 9w5HOYPcm8ow/1KLT+3NpzTlUhcyIZDCxPGb1Zzd5HDtQ8WiXdZIQTSWrm+tfhurD310n5 ZUZ7W7M/EHx3WM1R6Pe92uLm5o0qAlMI/Np8NAjFdN0e2WtpqfwzJz0o2GsXTP3MNSZkvQ ZOnQhnw+DdXn8giidAn4fHPDeWAvVfjxu1TiEASOntqjdqU7DaXCQ8O9fnN7LczvZwPXg3 ESMq2JLt19Bz/cE0mLHcFyl5Xoys5rgwm4QJfQoQePjffINTTT+hP84IukbN9g== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.18 X-Spam-Score: -6.18 X-Migadu-Queue-Id: 84DEE37F97 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LqDVwFDI; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: VLZDV17jiPX7 Cassio Koshikumo writes: > Create an .org file with the following contents: > > * First Level > ... > Now, C-c / m (or M-x org-sparse-tree and select m) and Match: tag. > > The resulting sparse tree looks like this: > > * First Level > ** One :tag: > *** Child > ** Four :tag: > > So far, so good. Now, put point on heading One and press TAB. Child is hidden. > > The problem: press TAB again. Now Two and Three are also shown, > effectively breaking the sparse tree filtering. (Actually Five is > shown, too, it seems...) is not affected by sparse tree. Sparse tree just reveals headings that match certain criteria and highlights them. May you describe what you expected to happen? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at