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 12:02:48 +0200 Message-ID: <8736stf2k7.fsf@portable.galex-713.eu> References: <87in1pgq9d.fsf@portable.galex-713.eu> <874ld9jbtc.fsf@gmail.com> 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]:60331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFyxC-0003bS-6w for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 06:03:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFyx8-0002j1-Uy for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 06:02:54 -0400 Received: from portable.galex-713.eu ([2a00:5884:8305::1]:54540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gFyx8-0002gB-L7 for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 06:02:50 -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 1gFyx6-0003db-HF for emacs-orgmode@gnu.org; Fri, 26 Oct 2018 12:02:48 +0200 In-Reply-To: <874ld9jbtc.fsf@gmail.com> (Eric S. Fraga's message of "Fri, 26 Oct 2018 10:29:19 +0100") 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 10:29, Eric S Fraga wrote: > 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 =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 > > 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. I was doing from org-mode: I find want to see rest of the buffer while writing (that=E2=80=99s why I=E2=80=99m using org-mode instead of just writ= ing in a plain file), and to have to type that keystrokes, again and again. And anyway there=E2=80=99s org-src-tab-acts-natively for that (though it=E2=80= =99s often unperfect but I=E2=80=99m not complaining until I had the time to figure out why).