On Friday, 26 Oct 2018 at 08:45, Garreau, Alexandre wrote:
> 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

This may be a bug but how were you editing this code?  From org mode or
by editing the src block using C-c ' (org-edit-special)?  Code blocks
should generally be edited using the special edit mode which knows about
the language.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.11-620-ga548e4

Reply via email to