From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AHi1HQlUTWOsLgEAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 15:09:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2DC7HQlUTWPHCgAA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 15:09:29 +0200 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 3A7981E26A for ; Mon, 17 Oct 2022 15:09:29 +0200 (CEST) Received: from localhost ([::1]:34068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okPrz-0006VS-R7 for larch@yhetil.org; Mon, 17 Oct 2022 09:09:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okPpY-0006T5-QX for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 09:06:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okPpV-0007PO-I5 for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 09:06:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 34841240105 for ; Mon, 17 Oct 2022 15:06:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666011995; bh=Ba9vXZMG0uPnEAg8pxESYRS6ZGSaQQc+qhPRjAAYbSY=; h=From:To:Cc:Subject:Date:From; b=NHyU4QfzK0OwkqGqboOL2/SgA1YF5lHi/nXjFVNRCdyotiFBK5rt2mxn8pn2PMToG aGWBOf5hjGPOx8C4RDU58dcw/xr7F5Q5lx4+NZLHyTQyAp7ko5o3E22env9SISF4xq UpkNnVZuBSo3HdDxUZ5eBVgK51CGI3HPK8EFmev8MR4H4XKq+BDDqOgk8GCdPEVOP4 twuKNnekNo1cRcKh5ONgCk6CWfGY1KCJKFZZQpHzMG0GlspdPksgz1BSyQ0bd4+SoK +sqiaiWTLSNlO4/HtHb4EjPEkBRHz4pb9ry2ReNZL0jumGD6g5rmzbXmHj2ea4yzxj 2ZAcHYzgvZ0/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mrch74XDpz9rxQ; Mon, 17 Oct 2022 15:06:31 +0200 (CEST) From: Ihor Radchenko To: k_foreign@outlook.com Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-fold-hide-entry hide the first subtree under a heading if the heading has no content [9.5.5 (9.5.5-gcb1359 @ /home/user/meow-emacs/straight/build/org/)] In-Reply-To: References: Date: Mon, 17 Oct 2022 13:07:19 +0000 Message-ID: <87bkqappiw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666012169; 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=WwLO3mjUb92l5NY/hVr0xd3tAazeH/X+XGlGhs1z6rw=; b=CyMf48zL7rhIfIx3Spb6lGaXCzrGukinF9xd1geSD8inLVfJ4L5ndEywpWzFdZcCDkq/MH ir3hU0uNnUN54Z/TlKnhmn+YpcBEh16o1WNiytetz/NApNFPGA5eXy/MR4AUnl7+SZf1+N MpstYtCz5vQdAjR+qOlWq1WoU8OKZfpekbBW+AjCGITbz0jtVjyY9YECeMpCEncXwYsYrM sxqHinWaL6W9FemKZs/jfI6zxZDhlLsUxaRyPk0wfA13+kGDX0aLSly2sESi/d2i7BWzKI f3frFCtEapEnc3FbHP/4TYhE2Ho0KSBvy3Zys+8nPKK0kIolxzfDxAlTiLT4FQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666012169; a=rsa-sha256; cv=none; b=jx1atAtiUe0k+VIi8zjF6jKFEwOBGlNIIn7B/pZGPM4GCL3QF0RxGlVWtFargeZ+HKDYtE REHgQR+Wbvgo3Ci67UKnT+ESyvDpCbfMLxjfJlyksoBRTO4lG1HOfoIOUHJlmhZAjvh7gc yKEbykGFYJFTk/hy5KmNkLfPlZDksO0u/eyDa/wY0yKW5YbzXmCTfRpBholmxEmMoFvJYi IS0ZNuEaCeaajiwjZqgKlEzfiwIEFPSg9khYTI2hRy733bXh7XHxzJTX9BlDFyD+I8NATs pZKAqjWz7GkdUe1+hrS+esmITOXNUbh5mDRHbVb+VDRgSY9KGzlH/Izzf+kyGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NHyU4Qfz; 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-Migadu-Spam-Score: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NHyU4Qfz; 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-Migadu-Queue-Id: 3A7981E26A X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: UbARRK0SLqm9 k_foreign@outlook.com writes: > Hello everyone, I found if you org-fold-hide-entry on a heading without > content but with subtrees, the first subtree will be folded, for > example (>|< meas cursor): > > * H>| ** subheading1 > ** subheading2 > > if you press TAB on the above text, it will be: > > * H>| ** subheading2 Thanks for reporting! Fixed on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4b9aef20d8d7f2d2ce2457b7844effbf1223a35a -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at