From: Ihor Radchenko <yantar92@posteo.net>
To: Laurenz Wiskott <laurenz.wiskott@rub.de>
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)
Date: Mon, 13 Feb 2023 15:02:05 +0000 [thread overview]
Message-ID: <871qmtip76.fsf@localhost> (raw)
In-Reply-To: <Y+i5i7oQ8BdSfBmk@curry>
[ 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 <laurenz.wiskott@rub.de> 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 <displayed on cycle>
*** Sub 1.1 <also displayed, as indicated by first ***>
*** Sub 1.1.1 <not displayed>
** Sub 2 <displayed>
If one starts from
* Top heading...
and <TAB>
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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-02-13 15:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 20:08 new org mode, changed folding behavior could be improved / more consistent Laurenz Wiskott
2023-02-06 20:44 ` Laurenz Wiskott
2023-02-08 11:31 ` Ihor Radchenko
[not found] ` <Y+OR/4eRUdrSJQ6P@curry>
[not found] ` <874jrvccwo.fsf@localhost>
[not found] ` <Y+USPxfpI4FXeNuX@curry>
2023-02-10 11:03 ` Ihor Radchenko
[not found] ` <Y+i5i7oQ8BdSfBmk@curry>
2023-02-13 15:02 ` Ihor Radchenko [this message]
2023-03-29 13:00 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qmtip76.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=laurenz.wiskott@rub.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).