Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2017-09-07 Thread Nicolas Goaziou
Alex Bennée writes: > So more correctly when org-confirm-babel-evaluate is set it breaks due > to info not containing a character position for the TBLFM code. I fixed > this by patching org-babel-check-confirm-evaluate: > > modified lisp/ob-core.el > @@ -242,7 +242,8 @@ should be asked whether

Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2017-09-07 Thread Alex Bennée
Alex Bennée writes: > Nicolas Goaziou writes: > >> Hello, >> >> Alex Bennée writes: >> >>> So calling scramble-string works as expected... >>> >>> #+tblname: reversed-strings >>> | abcde | #ERROR | >>> >>> | flibble | #ERROR | >>> | dibble | #ERROR | >>> | xyzzy | #ERR

Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2017-09-06 Thread Alex Bennée
Nicolas Goaziou writes: > Hello, > > Alex Bennée writes: > >> So calling scramble-string works as expected... >> >> #+tblname: reversed-strings >> | abcde | #ERROR | >> >> | flibble | #ERROR | >> | dibble | #ERROR | >> | xyzzy | #ERROR | >> | another | #ERROR | >> >

Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2017-09-06 Thread Nicolas Goaziou
Hello, Alex Bennée writes: > So calling scramble-string works as expected... > > #+tblname: reversed-strings > | abcde | #ERROR | > > | flibble | #ERROR | > | dibble | #ERROR | > | xyzzy | #ERROR | > | another | #ERROR | > > #+TBLFM: $2='(org-sbe scramble-string

Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2017-09-06 Thread Alex Bennée
Nicolas Goaziou writes: > Hello, > > Frederick Giasson writes: > >> Now, if I put a string in the format column, I al getting the following: >> >> >> >> #+NAME: average-dataset-size >> #+BEGIN_SRC clojure :var f="turtle" :exports none :results value >> (identity f) #+END_SR

Re: [O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2016-06-22 Thread Nicolas Goaziou
Hello, Frederick Giasson writes: > Now, if I put a string in the format column, I al getting the following: > > > > #+NAME: average-dataset-size > #+BEGIN_SRC clojure :var f="turtle" :exports none :results value > (identity f) #+END_SRC > > #+RESULTS: average-dataset-size >

[O] Table (used a "spreadsheet") org-sbe issues when the value is a string

2016-06-22 Thread Frederick Giasson
Hi Everybody, I am experiencing a few issues trying to update a cell value using =org-sbe= when the value of a column is a string. Here is an example that works when the value is a number: #+NAME: average-dataset-size #+BEGIN_SRC clojure :var f="turtle" :exports none :r