Within an entry of the outline tree, hand-formatted lists can provide additional structure. They also provide a way to create lists of checkboxes (see Checkboxes). Org supports editing such lists, and the HTML exporter (see Exporting) parses and formats them.
Org knows ordered lists, unordered lists, and description lists.
Items belonging to the same list must have the same indentation on the first
line. In particular, if an ordered list reaches number ‘10.’, then the
2–digit numbers must be written left-aligned with the other numbers in the
list. Indentation also determines the end of a list item. It ends before
the next line that is indented like the bullet/number, or less. Empty lines
are part of the previous item, so you can have several paragraphs in one
item. If you would like an empty line to terminate all currently open plain
lists, configure the variable org-empty-line-terminates-plain-lists.
Here is an example:
** Lord of the Rings
My favorite scenes are (in this order)
1. The attack of the Rohirrim
2. Eowyns fight with the witch king
+ this was already my favorite scene in the book
+ I really like Miranda Otto.
3. Peter Jackson being shot by Legolas
- on DVD only
He makes a really funny face when it happens.
But in the end, not individual scenes matter but the film as a whole.
Important actors in this film are:
- Elijah Wood :: He plays the Frodo
- Sean Austin :: He plays the Sam, Frodos friend. I still remember
him very well from his role as Mikey Walsh a in the Goonies.
Org supports these lists by tuning filling and wrapping commands to deal with them correctly2, and by exporting them properly (see Exporting).
The following commands act on items when the cursor is in the first line of an item (the line with the bullet or number).
org-cycle-include-plain-lists. The level of an item is then
given by the indentation of the bullet/number. Items are always
subordinate to real headlines, however; the hierarchies remain
completely separated.
If org-cycle-include-plain-lists has not been set, <TAB>
fixes the indentation of the current line in a heuristic way.
[1] When using ‘*’ as a bullet, lines must be indented or they will be seen as top-level headlines. Also, when you are hiding leading stars to get a clean outline view, plain list items starting with a star are visually indistinguishable from true headlines. In short: even though ‘*’ is supported, it may be better to not use it for plain list items.
[2] Org only changes the filling
settings for Emacs. For XEmacs, you should use Kyle E. Jones'
filladapt.el. To turn this on, put into .emacs:
(require 'filladapt)
[3] If you do not want the line to be split, customize the variable
org-M-RET-may-split-line.