[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
heading structure ramblie
From: |
Samuel Wales |
Subject: |
heading structure ramblie |
Date: |
Tue, 19 Mar 2024 00:02:00 -0700 |
this is open ended. i'd probably be happy with simple
solution but want to explore the space.
i sometimes need to know when a folded heading has children,
and also possibly go to them. maybe it swallowed a heading
without my intention. creating new headings with c-c *
seems to create children, when i want a sibling. (so maybe i need a command like c-c * that creates a sibling. but i also want to show and navigate heading structure.)
i'd also like to know without linting the whole file if
anything is awry locally, such as twice or more indented
(*******) or half-indented (****), when org-odd-levels-only
t.
it is too cumbersome to go to the parent and expand all with
TAB and navigate headings.
this could be solved by showing a view similar to canonical
visibility, but only headings perhaps as an org-cycle state.
i THINK this is supposed to be possible with c-u:
2. CONTENTS: Show all headlines of all levels, but no body text.
i probably need to upgrade, but in org 9.6.7, it folds and
mangles the whole buffer.
or perhaps i can run org-fold-show-set-visibility as a
special command. this view would show the heading structure
without anything else. maybe it's there, but i couldn't
find such a view in org-fold-show-context-detail.
if this view is indeed present in c-u m-x org-cycle, then perhaps for consistency it is or should be also usable in org-fold-show-set-visibility.
org-cycle uses org-cycle-content, but that folds the whole
buffer in my version of org.
perhaps i would bind a command to run (org-fold-show-context-detail 'headings-canonical) or something like that.
but maybe we can get more fancy, by running a command that
will overlay org-ellipsis with the number of direct children.
or perhaps simpler, is there a command that will go to the
next heading even if it is invisible, and unfold? there
seems to be no org-next-heading, but there is one for
visible headings.
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com
- heading structure ramblie,
Samuel Wales <=