emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] R src blocks untabify literal constant TABs


From: Charles C. Berry
Subject: Re: [O] [BUG] R src blocks untabify literal constant TABs
Date: Tue, 22 Sep 2015 17:14:40 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)


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 <address@hidden> 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, <TAB>, and B in the quoted string. It does for me. And then when executed gives the erroneous 10.

But thanks for checking.

Chuck



Chuck



reply via email to

[Prev in Thread] Current Thread [Next in Thread]