emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: problem with example block and headings
Date: Mon, 12 Oct 2009 16:24:11 +0100	[thread overview]
Message-ID: <87zl7w63fo.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <688BFE44-6F6D-4EE7-8659-D7C3825B5A53@gmail.com>

At Mon, 12 Oct 2009 15:09:31 +0200,
Carsten Dominik wrote:
> 
> Hi Eric,
> 
> please move the cursor into the example block and press "C-c '" (that
> is C-c followed by the single quote.  This will get you into a special
> editing buffer for this snippet.  When you exit by pressing the same
> keys again, you will see what Org does to quote such headlines.
> 
> Also, you might enjoy your example even better if you use
> 
>   #+begin_src org
> 
> instead of
> 
>   #+begin_example
> 
> HTH
> 
> - Carsten

Carsten,

What you suggest is perfectly reasonable in normal circumstances.  My
situation is that I ran into this problem when using org-babel [1],
specifically the sh module.  It generates an example block with the
output verbatim.

I guess the solution is to somehow get the shell command output
converted to not cause the problems...  I'll investigate.  As I said
in my original message, it's not a critical issue!

Thanks,
eric

Footnotes: 
[1]  I wonder whether there should be a separate orb-babel mailing
     list to avoid too much noise in the org-mode list?

  reply	other threads:[~2009-10-12 15:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12 10:46 problem with example block and headings Eric S Fraga
2009-10-12 13:09 ` Carsten Dominik
2009-10-12 15:24   ` Eric S Fraga [this message]
2009-10-12 15:40     ` Giovanni Ridolfi
2009-10-12 17:01       ` Eric Schulte
2009-10-13  7:57         ` New guidelines for posting about org-babel (was problem with example block and headings) Carsten Dominik
2009-10-12 16:20   ` [patch] Re: problem with example block and headings Dan Davison

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=87zl7w63fo.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=carsten.dominik@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --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).