From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] R src blocks untabify literal constant TABs Date: Sun, 11 Oct 2015 10:04:53 +0200 Message-ID: <87wpuxp4r7.fsf@nicolasgoaziou.fr> References: <87r3low81u.fsf@nicolasgoaziou.fr> <87vbaijve9.fsf@nicolasgoaziou.fr> <87io6hie0z.fsf@nicolasgoaziou.fr> <87ziztpa09.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlBb6-0002Ch-RX for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 04:03:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlBb6-0004KO-1M for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 04:03:12 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:38873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlBb5-0004JF-Rt for emacs-orgmode@gnu.org; Sun, 11 Oct 2015 04:03:11 -0400 In-Reply-To: (Charles C. Berry's message of "Thu, 8 Oct 2015 10:51:20 -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: "Charles C. Berry" Cc: Org-Mode mailing list "Charles C. Berry" writes: >>> Apart from that, the documentation needs to reverse this in 14.2: >>> >>> "may replace sequences of spaces with tab characters" >>> >>> as it is spaces that replace tab characters. >> >> OK. So with the new behaviour, this is the only necessary change to >> documentation? > > Yes. Actually, I think neither is true because `indent-line-to' inserts tab characters if indentation goes past `tab-width' and `indent-tabs-mode' is non-nil. What about the following: =E2=80=98org-src-preserve-indentation=E2=80=99 By default, the value is = =E2=80=98nil=E2=80=99, which means that code blocks evaluated during export or tangled are indented according to context, possibly altering leading sequences of spaces and tab characters in the process. When non-nil, indentation is relative to left column, and therefore, not modified during export or tangling. This variable is especially useful for tangling languages such as Python, in which whitespace indentation in the output is critical. Regards,