emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Garreau, Alexandre" <galex-713@galex-713.eu>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: C-c C-c in src block interpret line as table
Date: Fri, 26 Oct 2018 11:34:04 +0200	[thread overview]
Message-ID: <87va5pf3w3.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87in1pgq9d.fsf@portable.galex-713.eu> (Alexandre Garreau's message of "Fri, 26 Oct 2018 08:45:34 +0200")

Hello,

"Garreau, Alexandre" <galex-713@galex-713.eu> 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.

Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2018-10-26  9:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26  6:45 C-c C-c in src block interpret line as table Garreau, Alexandre
2018-10-26  9:29 ` Eric S Fraga
2018-10-26 10:02   ` Garreau, Alexandre
2018-10-26  9:34 ` Nicolas Goaziou [this message]
2018-10-26  9:58   ` Garreau, Alexandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87va5pf3w3.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=galex-713@galex-713.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).