emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: plain list fold all top level items?
Date: Sun, 5 Feb 2023 19:32:11 -0700	[thread overview]
Message-ID: <CAJcAo8tzXe1YS2cf70KPH3XeLS2HH2uaJdL-jY10MQSmKAd=1g@mail.gmail.com> (raw)

this is probably staring me in the face but i cannot seem to find in
manual or help a command that will take a list

- one
  - one sub
- two
  - two sub
- three
  - three sub

and fold it into

- one...
- two...
- three...

without changing variables.  or doing a kludge.  does such a command
exist?  i imagine some tab variant on first item.


i could add a top level item x above those items and then do tab on
that x top level item.

- x
  - one
    - one sub

that would work but that would be a kludge in which i have to edit the
original list in order to be able to fold it.

i could maybe set variables to interact with heading folding or so,
but htat would also be a kludge because i like the default.

-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


             reply	other threads:[~2023-02-06  2:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06  2:32 Samuel Wales [this message]
2023-02-06 10:16 ` plain list fold all top level items? 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='CAJcAo8tzXe1YS2cf70KPH3XeLS2HH2uaJdL-jY10MQSmKAd=1g@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 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).