From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: org export of source code indentation issue with 8 spaces Date: Mon, 6 Jun 2016 09:16:37 -0700 Message-ID: References: <575575C3.70407@nikhef.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9xCm-0003Sk-Ho for emacs-orgmode@gnu.org; Mon, 06 Jun 2016 12:16:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9xCi-0006RF-84 for emacs-orgmode@gnu.org; Mon, 06 Jun 2016 12:16:44 -0400 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:10961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9xCh-0006Qe-WF for emacs-orgmode@gnu.org; Mon, 06 Jun 2016 12:16:40 -0400 In-Reply-To: <575575C3.70407@nikhef.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Dennis van Dok Cc: emacs-orgmode@gnu.org 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