>> Hi list, >> >> I just noticed a problem that org-mode indentation gets messed up after >> "example" block. Here is ECM: >> >> #+STARTUP: indent >> >> * Level one >> ** Level two >> Indentation is right. >> >> #+BEGIN_EXAMPLE >> * Example at level one >> #+END_EXAMPLE >> >> Indentation is wrong. > The asterisk followed by a space followed by text in your example block > is recognized by org as a headline. So org thinks everything under that > headline is the body of the headline. I knew this is exactly the reason. But the question is shouldn't `org-mode' ignore headlines in example block. I'm not sure whether this is easy or not though. > You can fix this by not letting "* Example at level one" start at the > beginning of the line, but instead indent it by one or more spaces or prefix > it with some other character(s). Smart workaround. Thanks.