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 17:14:40 -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]:49174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeXhv-0005cp-QU for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 20:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeXhq-0001mE-R7 for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 20:14:47 -0400 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:26734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeXhq-0001m6-Hz for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 20:14:42 -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 Sorry, I just walked in the door and didn't put on my thinking cap... On Tue, 22 Sep 2015, Charles C. Berry wrote: > On Tue, 22 Sep 2015, Grant Rettke wrote: > >> On Tue, Sep 22, 2015 at 5:04 PM, Charles C. Berry wrote: >>> >>> ECM follows: >> >> I just ran it and got 10 chars like you expected: I got 10, too. That is the problem. Maybe that is what you meant? What I expected was 3 characters like the first src block gave. The reason the block just below fails is that some un-tab-ing puts spaces where a tab should be. >> >> #+BEGIN_src R >> nchar("A B") >> #+END_src >> >> #+RESULTS: >> : 10 > > 10 is not what I expected. Should be 3 characters. > > Be sure to run the second src block (which creates the third with the three > character string) before running the third. > If you do run the second block, the third block should have A, , and B in the quoted string. It does for me. And then when executed gives the erroneous 10. > But thanks for checking. > > Chuck > > Chuck