If you set org-cycle-include-plain-lists and then put a plain list inside a
drawer, the drawer stops working:

:FOO:
 - Ingredients
   + Chickpeas
   + Spinach
   + Aubergine
   + Pomegranate dressing
:END:

The error is ":END: line missing".

What happens in this case is that outline-regexp is changed within the dynamic
scope of org-cycle, and that includes org-flag-drawer - which needs to use the
original version of outline-regexp.

Saving outline-regexp and using the orignal version inside org-flag-drawer
partly solves the problem but the :END: tag is treated as the single child of
the last item in the plain list - meaning an extra visibility cycle.

Tom SW

----
Does the name Pavlov ring a bell?



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to