From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug report: Heading in example considered as true heading Date: Tue, 06 Aug 2013 15:34:04 +0200 Message-ID: <871u67aqpf.fsf@gmail.com> References: <87siyn81uj.fsf@konixwork.incubateur.ens-lyon.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6hOj-0004ip-9O for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 09:34:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6hOa-0000rv-QG for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 09:34:01 -0400 Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:45651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6hOa-0000rk-KK for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 09:33:52 -0400 Received: by mail-wg0-f53.google.com with SMTP id c11so373100wgh.32 for ; Tue, 06 Aug 2013 06:33:51 -0700 (PDT) In-Reply-To: <87siyn81uj.fsf@konixwork.incubateur.ens-lyon.fr> (Samuel Loury's message of "Tue, 06 Aug 2013 14:01:40 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Loury Cc: OrgMode ML Hello, Samuel Loury writes: > I realized recently the following behavior, running on org version 8.0.3 > got from commit d7e884d86c8560477ca1e69fb8423db6770981ac (git sha). > > Use the following org sample: > > -----------Beginning > * test1 > #+BEGIN_EXAMPLE > * stuff > #+END_EXAMPLE > * test2 > -----------End Headlines have precedence over blocks. Therefore "* stuff" is really a headline in your example. If you want to start a line with a star within an example block, escape it with a comma. See section 11.3 in manual for more information. Regards, -- Nicolas Goaziou