From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: [BUG] R src blocks untabify literal constant TABs Date: Tue, 22 Sep 2015 18:32:39 -0700 Message-ID: References: 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]:42073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeYvN-0003EO-0r for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 21:32:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeYvJ-0004Wk-R1 for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 21:32:44 -0400 Received: from iport-acv5-out.ucsd.edu ([132.239.0.10]:38005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeYvJ-0004W9-Ir for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 21:32:41 -0400 In-Reply-To: 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: Grant Rettke Cc: Org-Mode mailing list On Tue, 22 Sep 2015, Charles C. Berry wrote: Just to tie this up, this is an issue with `org-src-preserve-indentation', see (info "(org) Editing source code") for the best documentation. I found the "replace sequences of spaces with tab characters" for nil values confusing. The opposite is happening in this example. Anyway this shows the behavior I expected. I guess that my cry of "BUG!" was unawarranted. --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC R :results raw :wrap "src R -i" res <- paste0("A","\t","B") paste0("nchar(\"",res,"\")") #+END_SRC #+RESULTS: #+BEGIN_src R -i nchar("A B") #+END_src #+RESULTS: : 3 --8<---------------cut here---------------end--------------->8--- Chuck