From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cBTrDU3O/l7oGAAA0tVLHw (envelope-from ) for ; Fri, 03 Jul 2020 06:21:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KJTGCU3O/l5FCQAAB5/wlQ (envelope-from ) for ; Fri, 03 Jul 2020 06:21:01 +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 63BBE940701 for ; Fri, 3 Jul 2020 06:20:59 +0000 (UTC) Received: from localhost ([::1]:43982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrF4D-0000LQ-4G for larch@yhetil.org; Fri, 03 Jul 2020 02:20:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrF3n-0000Gk-Q4 for emacs-orgmode@gnu.org; Fri, 03 Jul 2020 02:20:31 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:52107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrF3l-0008KC-C1 for emacs-orgmode@gnu.org; Fri, 03 Jul 2020 02:20:31 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 296EE769A2; Fri, 3 Jul 2020 02:20:26 -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=mzeCnxsMCX+8wRpqZOjkRJCUbxI=; b=gNAOJS G46LaOUeinRtR9k7UNTz6vXaZSen3qK5SsXk5X1NqxgiBWmZBtVFQxB7Ju/YaLn2 ltK8GECet0H8BhO6pINk0TRcYGDxN6UQz7phiT3CEyWp/wZ2O5sBPHrQNcpnVzYQ ng5DmikPMuQElDIKNUBYYUWh+oynKo6htRAwQ= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 21158769A1; Fri, 3 Jul 2020 02:20:26 -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=xwwuXn6ccr3nRptl6oIm7z9k0K4ie57wvW0ls/Vt00k=; b=Xkjh9+to0KRziSYRLFu+fdSDej7W217p4u2JToBmCtW1+YeUGEA5E30XGt1DdW7Sfe1vvM9lxXRwdcAUHqGs1qGmFHFuqxGGQ9ISGTzWcYfCzbYPQviiGr+L7aQeApf8beIWYwH2OBuSJa1wKGVH1vVPjy3y28tS6La3gm9N7jo= 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-smtp1.pobox.com (Postfix) with ESMTPSA id 929A6769A0; Fri, 3 Jul 2020 02:20:25 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Ismael Bouya Subject: Re: Bug in filtered version In-Reply-To: <20200701122344.5gxiylhao7dxdld4@dilion> References: <20200701122344.5gxiylhao7dxdld4@dilion> Date: Fri, 03 Jul 2020 02:20:24 -0400 Message-ID: <87fta9ce6v.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 486A27E6-BCF5-11EA-B8C2-C28CBED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/03 02:20:26 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=_AUTOLEARN 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=gNAOJS G; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=Xkjh9+to; 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: O0XRcLwaWFM4 Ismael Bouya writes: > I would like to report a bug in filtered mode for org-mode. Take this > given file as example: > ----------- > * Some heading 1 > ** Some header to remove :sometag: > ** Some header to keep :othertag: > ----------- > > (note that last two headers are *at the same level*) > > Now filter with `C-c / m sometag`. It will show only "Some header to > remove". However, if you remove that heading (with C-k) it will also > remove the next one, which is a quite surprising behavior. > Is there a way to avoid getting bitten by this? Setting org-ctrl-k-protect-subtree should catch this. You might also be interested in configuring org-show-context-detail, in particular the value for tags-tree.