emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jason Dunsmore <emacs-orgmode@dunsmor.com>
To: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: [bug] Asterisks in source and example blocks interpreted as headings
Date: Tue, 16 Aug 2011 13:27:01 -0500	[thread overview]
Message-ID: <87zkj9w6tm.fsf@riotblast.dunsmor.com> (raw)

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

             reply	other threads:[~2011-08-16 18:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 18:27 Jason Dunsmore [this message]
2011-08-16 19:51 ` [bug] Asterisks in source and example blocks interpreted as headings 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
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=87zkj9w6tm.fsf@riotblast.dunsmor.com \
    --to=emacs-orgmode@dunsmor.com \
    --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).