From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem with quoting in #+BEGIN blocks Date: Tue, 15 Sep 2009 07:37:41 +0100 Message-ID: <33922974-96F0-4B26-8E8D-AD5C335DDEA1@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnTHn-0003bZ-Ki for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 04:21:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnTHi-0003a7-QA for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 04:21:14 -0400 Received: from [199.232.76.173] (port=48342 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnTHi-0003a2-DD for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 04:21:10 -0400 Received: from paard.ic.uva.nl ([145.18.40.182]:40887) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnTHh-0004DI-VT for emacs-orgmode@gnu.org; Tue, 15 Sep 2009 04:21:10 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: roman@geus.ch Cc: emacs-orgmode@gnu.org On Sep 14, 2009, at 8:41 AM, Roman Geus wrote: > Hello > > I'm fairly new to org-mode, and I am surprised about the quoting > behavior in #+BEGIN_EXAMPLE blocks: > > The following org file, results in two level 1 titles (* ASCII report > and * Part 1) when the file is reopened in emacs. > > * ASCII report > #+BEGIN_EXAMPLE > ***************************************************************************** > * Part 1 > ***************************************************************************** > bla, bla, bla > #END_EXAMPLE > > I expected "* Part 1" to be interpreted as ordinary text. Hi Roman, first of all, it is #+END_EXAMPLE, not #END_EXAMPLE For export it then works fine. To avoid the interpretation of "* Part 1" as a headline inside Org-mode, quote it like this: #+BEGIN_EXAMPLE ,***************************************************************************** ,* Part 1 ,***************************************************************************** bla, bla, bla #+END_EXAMPLE If you use "C-c '" to edit snippets like this, the quoting is automatic. HTH - Carsten > > Is this working as intended? > > Thanks and regards, > Roman Geus > > PS: I'm using org-mode 6.30 on GNU emacs 22.2.1 (Linux) > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode