[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] C-c C-c in src block interpret line as table
From: |
Garreau\, Alexandre |
Subject: |
Re: [O] C-c C-c in src block interpret line as table |
Date: |
Fri, 26 Oct 2018 11:58:57 +0200 |
User-agent: |
Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian |
On 2018/10/26 at 11:34, Nicolas Goaziou wrote:
> "Garreau, Alexandre" <address@hidden> writes:
>
>> I tried to eval the following block, and my point was on the last line,
>> of course, but since it begins with a “|”, it was interpreted as a
>> table, and block was not evaled: I believe this is a bug. Why would a
>> org table be inside a non-org source block? it’s not even inside a
>> comment!
>>
>> #+BEGIN_SRC ocaml :results verbatim
>> let rec premiers =
>> function [] -> []
>> | (a,b) :: q -> a :: premiers q ;; |
>> #+END_SRC
>>
>> Note the remaining “|” at the end of the last line was added by org, not
>> me, not part of source code.
>
> I cannot reproduce it.
Never mind! orgtbl-mode was activated in org-mode, since org-mode is
based on text-mode and I was wanting it for all text-mode-based modes.
It seems to, in fact, not to very be integrated with org-mode, otherwise
it should have behaved like normal org tables (that is, not inside
source blocks).
Sorry for wasted time ^^'