emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* plain list fold all top level items?
@ 2023-02-06  2:32 Samuel Wales
  2023-02-06 10:16 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2023-02-06  2:32 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: plain list fold all top level items?
  2023-02-06  2:32 plain list fold all top level items? Samuel Wales
@ 2023-02-06 10:16 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-02-06 10:16 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> - 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.

No, AFAIK.

The only relevant toggle is `org-cycle-include-plain-lists' set to
'integrate. But it is not what you want.


-- 
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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-06 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06  2:32 plain list fold all top level items? Samuel Wales
2023-02-06 10:16 ` Ihor Radchenko

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).