all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG: plain lists inside drawers with org-cycle-include-plain-lists
@ 2008-01-09 10:58 Tom Weissmann
  2008-01-18  8:42 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Weissmann @ 2008-01-09 10:58 UTC (permalink / raw)
  To: emacs-orgmode

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?

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

end of thread, other threads:[~2008-01-18  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09 10:58 BUG: plain lists inside drawers with org-cycle-include-plain-lists Tom Weissmann
2008-01-18  8:42 ` Carsten Dominik

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.