emacs-orgmode
[Top][All Lists]
Advanced

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

[O] C-c C-c in src block interpret line as table


From: Garreau\, Alexandre
Subject: [O] C-c C-c in src block interpret line as table
Date: Fri, 26 Oct 2018 08:45:34 +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

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.



reply via email to

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