From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Garreau\, Alexandre" Subject: Re: C-c C-c in src block interpret line as table Date: Fri, 26 Oct 2018 11:58:57 +0200 Message-ID: <877ei5f2qm.fsf@portable.galex-713.eu> References: <87in1pgq9d.fsf@portable.galex-713.eu> <87va5pf3w3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFytR-0000ay-HU for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 05:59:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFytQ-00008F-H6 for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 05:59:01 -0400 Received: from portable.galex-713.eu ([2a00:5884:8305::1]:54492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFytQ-000066-8w for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 05:59:00 -0400 Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gFytN-0003dB-GZ for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 11:58:57 +0200 In-Reply-To: <87va5pf3w3.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 26 Oct 2018 11:34:04 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list On 2018/10/26 at 11:34, Nicolas Goaziou wrote: > "Garreau, Alexandre" writes: > >> I tried to eval the following block, and my point was on the last line, >> of course, but since it begins with a =E2=80=9C|=E2=80=9D, it was interp= reted 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=E2=80=99s not even inside= a >> comment! >> >> #+BEGIN_SRC ocaml :results verbatim >> let rec premiers =3D=20 >> function [] -> [] >> | (a,b) :: q -> a :: premiers q ;; | >> #+END_SRC >> >> Note the remaining =E2=80=9C|=E2=80=9D at the end of the last line was a= dded 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 ^^'