emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Bausch <DanielBausch@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] Asterisks in source and example blocks interpreted as headings
Date: Wed, 17 Aug 2011 13:05:20 +0200	[thread overview]
Message-ID: <201108171305.20244.DanielBausch@gmx.de> (raw)
In-Reply-To: <87zkj9w6tm.fsf@riotblast.dunsmor.com>

Hi,

AFAIK that is exactly the case, for which the "," rule is for.
Just put a "," in front of the offending line and everything will be fine.
On export the "," is removed.

best regards,
Daniel

Am Dienstag 16 August 2011, 20:27:01 schrieb Jason Dunsmore:
> Hello,
> 
> I noticed that lines with leading asterisks inside of source and example
> blocks are interpreted as headings:
> 
> --8<---------------cut here---------------start------------->8---
> * Heading 1
> 
> #+begin_example
> foo
> * bar
> blah
> #+end_example
> 
> * Heading 2
> --8<---------------cut here---------------end--------------->8---
> 
> If you put the point on "Heading 1" and hit TAB, you'll see the
> following:
> 
> --8<---------------cut here---------------start------------->8---
> * Heading 1...
> * bar
> blah
> #+end_example
> 
> * Heading 2
> --8<---------------cut here---------------end--------------->8---
> 
> I'm using GNU Emacs 23.2.1 and Org-mode version 7.7
> (release_7.7.97.g9d5c5)
> 
> Regards,
> Jason

  parent reply	other threads:[~2011-08-17 11:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 18:27 [bug] Asterisks in source and example blocks interpreted as headings Jason Dunsmore
2011-08-16 19:51 ` Bastien
2011-08-16 20:22   ` Jason Dunsmore
2011-08-25 13:27     ` Bastien
2011-08-25 13:31       ` Carsten Dominik
2011-08-31 19:52       ` Jason Dunsmore
2011-08-17 11:05 ` Daniel Bausch [this message]
2011-08-19 12:19   ` Eric Schulte
2011-08-19 19:53     ` Sebastien Vauban

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=201108171305.20244.DanielBausch@gmx.de \
    --to=danielbausch@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /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).