From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: heading structure ramblie
Date: Tue, 19 Mar 2024 00:02:00 -0700 [thread overview]
Message-ID: <CAJcAo8v9rXTDY1KDJTjdi1ktA62HUp96oinkSHN8EdX3GYOW0g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2047 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2317 bytes --]
next reply other threads:[~2024-03-19 7:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 7:02 Samuel Wales [this message]
2024-03-20 13:04 ` heading structure ramblie 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJcAo8v9rXTDY1KDJTjdi1ktA62HUp96oinkSHN8EdX3GYOW0g@mail.gmail.com \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.