emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roman Geus <roman.geus@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with quoting in #+BEGIN blocks
Date: Wed, 16 Sep 2009 15:59:31 +0200	[thread overview]
Message-ID: <c197eafe0909160659p69b8fbfbh3a59a5228f5ef9a1@mail.gmail.com> (raw)
In-Reply-To: <33922974-96F0-4B26-8E8D-AD5C335DDEA1@gmail.com>

Hi Carsten

Thanks for your helpful comments. It works fine now.

Regards,
Roman

On Tue, Sep 15, 2009 at 8:37 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> 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
>
>

      reply	other threads:[~2009-09-16 13:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-14  7:41 Problem with quoting in #+BEGIN blocks Roman Geus
2009-09-15  6:37 ` Carsten Dominik
2009-09-16 13:59   ` Roman Geus [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=c197eafe0909160659p69b8fbfbh3a59a5228f5ef9a1@mail.gmail.com \
    --to=roman.geus@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=roman@geus.ch \
    /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).