[O] [PATCH] ob-core.el: Fix org-babel--string-to-number

2018-10-11 Thread qijian gong
Hello, I've write a patch (see attachment) to fix the `org-babel--string-to-number` function. In my opinion, if people write the data in the form `0001`, it means that he wants to treat it as a string: > #+name: TBL > | id | name | age | > |--||-| > | 0001 |

Re: [O] [PATCH] ob-python: Insert necessary blank line when sending code to interpreter

2018-04-03 Thread qijian gong
C Nicolas Goaziou <m...@nicolasgoaziou.fr>于2018年4月3日 周二上午2:56写道: > Hello, > > qijian gong <gongqij...@gmail.com> writes: > > > I've written this patch to fix the syntax error alarm caused by > evaluating > > the following code block: > > >

[O] [PATCH] ob-python: Insert necessary blank line when sending code to interpreter

2018-04-01 Thread qijian gong
Hello, I've written this patch to fix the syntax error alarm caused by evaluating the following code block: #+BEGIN_SRC python :session if True: 1 2 #+END_SRC In *Python* buffer: #+BEGIN_QUOTE if True: Python 3.6.1 (default, Apr 8 2017, 19:21:02) [GCC 4.2.1 Compatible Apple LLVM 8.0.0