emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Charles Philip Chan <cpchan@bell.net>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: showing orgmode source in orgmode
Date: Fri, 31 Aug 2012 08:08:45 +0200	[thread overview]
Message-ID: <87fw73y4nm.fsf@altern.org> (raw)
In-Reply-To: <BLU0-SMTP441A7041CFC665353F616DBBA60@phx.gbl> (Charles Philip Chan's message of "Fri, 31 Aug 2012 01:59:08 -0400")

Charles Philip Chan <cpchan@bell.net> writes:

> I have cc'ed Bastien.

Org src blocks are special.

Try this at the beginning of a line:

<s TAB org C-n C-c ' [Add some org content] C-c '

You should then have something like

#+BEGIN_SRC org
  ,* A headline
  
  ,blabla
#+END_SRC

The commas is needed to escape this Org source from the 
normal handling of the buffer.

They can also be inserted by just pressing TAB in an Org
src block.

HTH,

-- 
 Bastien

  reply	other threads:[~2012-08-31  6:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31  4:23 showing orgmode source in orgmode Alexandre Russel
2012-08-31  4:39 ` Charles Philip Chan
2012-08-31  4:44   ` Charles Philip Chan
2012-08-31  4:58     ` Alexandre Russel
2012-08-31  5:59       ` Charles Philip Chan
2012-08-31  6:08         ` Bastien [this message]
2012-08-31  6:24           ` Charles Philip Chan
2012-08-31  6:12       ` Jeremiah Dodds

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=87fw73y4nm.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=cpchan@bell.net \
    --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).