emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Consecutive plain list items of different types
@ 2023-09-22  0:41 Tom Alexander
  2023-09-22  9:24 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Alexander @ 2023-09-22  0:41 UTC (permalink / raw)
  To: emacs-orgmode

The org-mode documentation[1] states for plain lists that:
> List types are mutually exclusive at the same level of indentation, if both types are present consecutively then they parse as separate lists.

first a minor nit-pick that "both" is probably not the correct word here since there are 3 types of lists, not two (unordered, ordered, and descriptive). I'd go with "multiple" instead IMO.

but more importantly, based on that description I would expect the following test document to parse into three separate plain lists, but it parses as a single plain list with 3 items:

```
1. foo
- bar
- lorem :: ipsum
```

[1] https://orgmode.org/worg/org-syntax.html#Plain_Lists

--
Tom Alexander
pgp: https://fizz.buzz/pgp.asc


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

end of thread, other threads:[~2024-05-03 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22  0:41 Consecutive plain list items of different types Tom Alexander
2023-09-22  9:24 ` Ihor Radchenko
2024-05-03 11:07   ` Ihor Radchenko
2024-05-03 16:39     ` Tom Gillespie

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