emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Cody Goodman <codygman.consulting@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org mode notes collapse parser brittle
Date: Fri, 10 Nov 2017 21:03:09 +0000	[thread overview]
Message-ID: <CAFyQvY3=N5S_+yLbzxqwsbZDxaZoVXKHgoot=bxchV3M-g6u3A@mail.gmail.com> (raw)
In-Reply-To: <CADq_+R3Pz_rWowZ941QoQ3_HxO6F4r1DVgW896BsiovcuiU3RQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

On Fri, Nov 10, 2017 at 3:44 PM Cody Goodman <codygman.consulting@gmail.com>
wrote:

> Does anyone else use notes extensively with src blocks and results
> drawers? It seems that the regex to parse src blocks and collapse them
> breaks on drawer :END: markers and possibly other things.
>
> Here's an image of the error: https://i.imgur.com/dqDsO5g.png
>

I don't use LOGBOOK, but I was able to confirm this problem based on your
example.

But then I looked in the manual, and in (org) Drawers node, it's mentioned:

> Sometimes you want to keep information associated with an entry, but you
> normally don’t want to see it.  For this, Org mode has _drawers_.  They
> can contain anything but a headline and another drawer.

*They can contain anything but a headline and another drawer.*

So I guess you have hit a limitation.

-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1538 bytes --]

      reply	other threads:[~2017-11-10 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-10 20:43 Org mode notes collapse parser brittle Cody Goodman
2017-11-10 21:03 ` Kaushal Modi [this message]

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='CAFyQvY3=N5S_+yLbzxqwsbZDxaZoVXKHgoot=bxchV3M-g6u3A@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=codygman.consulting@gmail.com \
    --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).