emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom Weissmann <trmsw@yahoo.co.uk>
To: emacs-orgmode@gnu.org
Subject: BUG: plain lists inside drawers with org-cycle-include-plain-lists
Date: Wed, 9 Jan 2008 10:58:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20080109T103531-173@post.gmane.org> (raw)

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?

             reply	other threads:[~2008-01-09 11:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09 10:58 Tom Weissmann [this message]
2008-01-18  8:42 ` BUG: plain lists inside drawers with org-cycle-include-plain-lists Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20080109T103531-173@post.gmane.org \
    --to=trmsw@yahoo.co.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).