[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Re: [BUG] Unmatched #+end-src
From: |
Eric Schulte |
Subject: |
Re: [O] Re: [BUG] Unmatched #+end-src |
Date: |
Sun, 13 Mar 2011 07:49:36 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>
> The real problem is: how should Org react when parsing syntactically
> erroneous buffers? I concede that freezing Emacs isn't nice, but otoh,
> code can't deal with every possible user error.
>
> So, what is the expected behavior here? Consider orphan #+end_ as
> normal text, throw an error, or both? An answer to this question would
> be more useful than code, honestly.
>
This is just opinion and gut reaction, but my first instinct is to say
that Org just treat an orphan #+end_ as normal text (or technically as
an Org-mode comment).
The same is true for a floating #+begin_src. Until the block is closed,
it is just a comment.
Just opinions, Best -- Eric
Re: [O] [BUG] Unmatched #+end-src, Martyn Jago, 2011/03/12
[O] Re: [BUG] Unmatched #+end-src, Nicolas, 2011/03/23