emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Linus Arver <linusarver@gmail.com>
To: emacs-orgmode@gnu.org
Subject: including files and org-src-preserve-indentation
Date: Wed, 21 Jan 2015 16:34:50 -0800	[thread overview]
Message-ID: <20150122003449.GA28336@k0> (raw)

Hello list,

I have line like this in my .org file:

#+include: "src/frankenB.hs" :src haskell -n

That file has literal TAB characters in it. I also have

    (setq org-src-preserve-indentation t)

in my .emacs.

When I call org-publish-current-project, the included file's TAB
characters automatically become converted into spaces. Is there an
orgmode way of preventing this auto-conversion?

I'm using orgmode 8.2.10 with emacs 24.4.

Thanks,
-L

             reply	other threads:[~2015-01-22  0:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22  0:34 Linus Arver [this message]
2015-02-08  5:32 ` including files and org-src-preserve-indentation Linus Arver
2015-02-15 17:36   ` Nicolas Goaziou
2015-02-21  3:27     ` Linus Arver
2015-02-21  5:10       ` Linus Arver
2015-03-10  8:35       ` Nicolas Goaziou

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=20150122003449.GA28336@k0 \
    --to=linusarver@gmail.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).