From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MNESMmVR6mNUjQAAbAwnHQ (envelope-from ) for ; Mon, 13 Feb 2023 16:04:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GMQAMmVR6mOfZgEA9RJhRA (envelope-from ) for ; Mon, 13 Feb 2023 16:04:05 +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 70C4B3178 for ; Mon, 13 Feb 2023 16:04:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRaMD-0001dQ-K9; Mon, 13 Feb 2023 10:03:05 -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 1pRaLn-0001US-EJ for emacs-orgmode@gnu.org; Mon, 13 Feb 2023 10:02:42 -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 1pRaLk-000150-SG for emacs-orgmode@gnu.org; Mon, 13 Feb 2023 10:02:38 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4B6D82401AE for ; Mon, 13 Feb 2023 16:02:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676300554; bh=0LkUHs/o/DJO3q+pumHMnTWv7OG7PR/zZXmNdSlufAA=; h=From:To:Cc:Subject:Date:From; b=R2NYBG9WUV+OR7EXPeY0tOHyK3zRYLV6xJT7UgjK5Zwmuwx3Zm+Ae206vnXeDCPAz R3+JaZmAf8Vj8bZYmokADOcjrcD/D35g3DBFMk8Z3H0OcKhQZ0Tub52p6M80Q0Edqc qn6B9QOl3foYuT2lEFLdXHMI6zYbkQw1qjBGp5oLV7eB+TF4RZeqsqnsSHHC9dCgbl +XCNXl/sDgDvNcFnEf0hxaOnHKCsiuSi2r99U9G6b9V3prGwhG6FoFki2aN9DkE35U 8ZvB4Vg4H/pVXu78Ji+YQUTQ0svSZ2f5NCedn/xUIgVTgewhAJLfxtAtcfGfUBKQwo Jb7dVCuaLsxXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PFnd00bH7z6tnm; Mon, 13 Feb 2023 16:02:27 +0100 (CET) From: Ihor Radchenko To: Laurenz Wiskott Cc: emacs-orgmode@gnu.org Subject: [FR] Use empty ***** heading to indicate folding depth in org-cycle for a subtree (was: new org mode, changed folding behavior could be improved / more consistent) In-Reply-To: References: <874jrwe6lt.fsf@localhost> <874jrvccwo.fsf@localhost> <87357deq91.fsf@localhost> Date: Mon, 13 Feb 2023 15:02:05 +0000 Message-ID: <871qmtip76.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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676300645; a=rsa-sha256; cv=none; b=uZLMydEF4dFo6hwGFx1yV2kf2naHu8lj9BzReTBkivGg45P3wLKNceTMCt0a7GgbUU448P vr8lSvxJuO0BA9vroRAZXSkhdvFXOM51VtPWfN1M9yVeUUSmXYIpF8gENIrTKD0sTgVTgu uhfkIah4+TLeL7WWPf/Esy02972nGWtgN+ZUUVxbKBABpeoHN5NnuMRvWkY+0EpmRiZEMq xSoWG2ogGmemkkUNnUyJDrFUUrLsedHREkPM8dTXtWDuWH1zDvrWHcMPAvZuRj4o+Gf+RF oTjkqZacIIlo0BuyUedeKwLLeyBkf0I+vIsZ9GmRzWfxslPuh6hnLW41LUhm9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=R2NYBG9W; 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=1676300645; 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=cxJrEouz5DtegsLXXY8ZCEAb3YYTH4v+QxJo7B8tnLE=; b=AaCteq4LtZeejV9/SdBa7LFQ5uvAMLfzxECd3hyz8hURj6VvTsVIuPEFAVojLtSHbB+r+4 2kaCzoilFgV7L9ei1zLAUUCNNygX4Q9A32rb9OZ2e3zT2PJdqgIi9jKf8PaZ9/jW5nsmJZ EiNOPeZF2z+TulHhHFmgUqoaGPq+5n8B4uwW9u7T6EJp3s76/NrNFRxWK++9aUhqPdv6Ib /OsWhYuoMegW5alKomhHtUrgpbLNFp7ECqgkvi12T+7focjqIp4E0GmRrBxRR7PfLClNXX KAAzKsjFlskypaLXaRgReP/nOm2LYjTA5cutMgpJ843ff6vCz3pMc8riNbpZiA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=R2NYBG9W; 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: -6.83 X-Spam-Score: -6.83 X-Migadu-Queue-Id: 70C4B3178 X-Migadu-Scanner: scn1.migadu.com X-TUID: v8ZWUd0xU8Nr [ Adding Org ML back to CC ] Please, use reply-all in future when replying to emails in the mailing list. Otherwise, the discussion will not be seen by other Org developers and interested users. Laurenz Wiskott writes: >> #+STARTUP: show3levels > > trick does not seem to work with version 9.5.2 yet. It would also open the whole file. Indeed, I am talking about the latest Org. > But what I want is to TAB on a headline, and it only opens up to some predefined depth. > 'ESC 3 SHIFT-TAB' does the trick for level 3, for instance. With my proposal, using an > initial line with three stars, I currently save the 'ESC 3 SHIFT-'. I know it is > considered unintended behavior. But nobody seems to have complained about this 'bug', > thus I suggest to just leave it in there and recover it also on the global level, where > it currently does not work anymore. But anyhow, if you don't like it, I can also live > with 'ESC 3 SHIFT-TAB' instead of jut 'TAB'. Note that you may achieve what you want in personal config with appropriate `org-cycle-hook'. I am renaming this to feature request. I see not great need to add and _maintain_ this feature, unless more people are interested. The suggested idea, AFAIU, is * Top heading empty heading indicating to what level 'children cycle state is revealing the headings. *** ** Sub 1 *** Sub 1.1 *** Sub 1.1.1 ** Sub 2 If one starts from * Top heading... and it is suggested to display * Top heading empty heading indicating to what level 'children cycle state is revealing the headings. *** ** Sub 1 *** Sub 1.1... ** Sub 2 instead of current behavior with * Top heading empty heading indicating to what level 'children cycle state is revealing the headings. *** ** Sub 1... ** Sub 2 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at