From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Preservation of white space in babel blocks, exporting to PDF Date: Sun, 02 Feb 2014 09:45:21 +0100 Message-ID: <87vbwxq4wu.fsf@gmail.com> References: <87eh3od13z.fsf@gmail.com> <87y51vhjq6.fsf@gmail.com> <87ppn7hhwt.fsf@gmail.com> <87lhxv7mym.fsf@med.uni-goettingen.de> <87a9ebs0dn.fsf@gmail.com> <87ob2qr32x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9sft-0002UD-DZ for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 03:45:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9sfl-0002n7-07 for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 03:45:09 -0500 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:37756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9sfk-0002mw-Ps for emacs-orgmode@gnu.org; Sun, 02 Feb 2014 03:45:00 -0500 Received: by mail-wg0-f47.google.com with SMTP id m15so10559964wgh.2 for ; Sun, 02 Feb 2014 00:45:00 -0800 (PST) In-Reply-To: (John Hendy's message of "Sat, 1 Feb 2014 19:33:22 -0600") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: Andreas Leha , emacs-orgmode Hello, John Hendy writes: > Thus, I take it that the default org setting is non-nil? Actually this is an Emacs variable, and it is indeed non-nil. > I am a bit frustrated by trying to be as clear as I could about the > situation with reproducible examples, and then finding out the behavior was > apparently obvious, but due to a variable I didn't know existed... The behaviour is not obvious. > I'll try a fresh pull tomorrow as well as looking at indent-tabs-mode. This should hopefully work. It should also work if you don't change this variable but set `org-src-preserve-indentation' to a non-nil value, since I fixed that. Note that you can set this variable on a per-block basis with "-i" flag: #+BEGIN_SRC python -i ... #+END_SRC Regards, -- Nicolas Goaziou