emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Babel code indentation problem
Date: Thu, 03 Mar 2016 12:50:44 +0200	[thread overview]
Message-ID: <87h9gnj0mz.fsf@iki.fi> (raw)
In-Reply-To: 8737s7dg1q.fsf@pinto.chemeng.ucl.ac.uk

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Thursday,  3 Mar 2016 at 10:01, Jarmo Hurri wrote:
>
> [...]
>
>> So the problem is not in indentation in Processing mode itself, but the
>> error appears upon return from editing. This suggests that the issue 
>> is in the communication between the editing mode and Org mode. As you
>> can see, I have different indentation settings for C and Processing, so
>> that might be one thing that makes the difference appear.
>
> I think it is because you are using TABs to indent instead of spaces
> and therefore the indentation doesn't look right in the org mode view.
> You can tell emacs to not use tabs to indent and I think this will
> sort your problem out.

Yes! Problem solved with

(setq-default indent-tabs-mode nil)

Thank you very much!

Jarmo

      reply	other threads:[~2016-03-03 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03  8:01 Babel code indentation problem Jarmo Hurri
2016-03-03 10:14 ` Eric S Fraga
2016-03-03 10:50   ` Jarmo Hurri [this message]

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=87h9gnj0mz.fsf@iki.fi \
    --to=jarmo.hurri@iki.fi \
    --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).