From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org not preserving Python indent levels on LaTex export due to tabs Date: Sun, 16 Feb 2014 11:11:28 +0100 Message-ID: <8761ofs6y7.fsf@gmail.com> References: <874n4iq7hk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEygt-0006Id-4Q for emacs-orgmode@gnu.org; Sun, 16 Feb 2014 05:11:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEygk-00053c-NT for emacs-orgmode@gnu.org; Sun, 16 Feb 2014 05:11:15 -0500 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:42797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEygk-00053R-GZ for emacs-orgmode@gnu.org; Sun, 16 Feb 2014 05:11:06 -0500 Received: by mail-we0-f170.google.com with SMTP id w62so9928625wes.29 for ; Sun, 16 Feb 2014 02:11:05 -0800 (PST) In-Reply-To: (Samuel Wales's message of "Thu, 13 Feb 2014 17:32:58 -0700") 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: Samuel Wales Cc: James Ryland Miller , emacs-orgmode@gnu.org Hello, Samuel Wales writes: > i can't seem to find the -i flag in the manual. perhaps i used the > wrong search term? i looked in literal examples and in working with > source code. i am using maint. Indeed. It doesn't appear in the manual. I don't use it. Maybe Someone using it can provide a patch for it. > also: > > - is there another flag to set org-src-preserve-indentation to nil? > - will -i still work if org-src.preserve-indentation is t? No. > i'd be happy with a fixed 2-space indentation, but that is not > possible in current org. i find org-src-preserve-indentation to cause > more issues than it improves, so i am going to transition to it being > t, which feels safer even though it is not the default and does not > have the 2 spaces. FWIW, I'm happy with `org-src-preserve-indentation' set to nil. Anyway, if you think `org-src-preserve-indentation' needs improvement, please provide a description (or ECM) of what you expect it to do. Regards, -- Nicolas Goaziou