From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Dennis van Dok <dennisvd@nikhef.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: org export of source code indentation issue with 8 spaces
Date: Mon, 6 Jun 2016 09:16:37 -0700 [thread overview]
Message-ID: <alpine.OSX.2.20.1606060911230.614@charles-berrys-macbook.local> (raw)
In-Reply-To: <575575C3.70407@nikhef.nl>
On Mon, 6 Jun 2016, Dennis van Dok wrote:
> Hi,
>
> not sure what is causing this, but whenever I use source blocks
> any indentation beyond 8 spaces seem to go wrong.
>
> The most basic example:
>
> #+BEGIN_SRC sh
> this
> is
> indented
> more and
> more
> #+END_SRC
You want `#+BEGIN_SRC sh -i' to preserve indentation. See:
(info "(org) Literal examples")
HTH,
Chuck
next prev parent reply other threads:[~2016-06-06 16:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 13:08 org export of source code indentation issue with 8 spaces Dennis van Dok
2016-06-06 16:16 ` Charles C. Berry [this message]
2016-06-06 18:04 ` Dennis van Dok
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=alpine.OSX.2.20.1606060911230.614@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=dennisvd@nikhef.nl \
--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).