Re: [O] using org-babel-trim in org-sbe?

2014-04-18 Thread Alan Schmitt
On 2014-04-18 15:17, Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> #+TBLFM: $2='(org-sbe spending (c (concat "\"" $1 "\"")))::$3='(org-sbe >> spending (c (concat "\"" (org-babel-trim $1) "\""))) > > You need to swap "concat" and "org-babel-trim" like this: > >> #+TBLFM: $2='(org-sbe

Re: [O] using org-babel-trim in org-sbe?

2014-04-18 Thread Bastien
Hi Alan, Alan Schmitt writes: > #+TBLFM: $2='(org-sbe spending (c (concat "\"" $1 "\"")))::$3='(org-sbe > spending (c (concat "\"" (org-babel-trim $1) "\""))) You need to swap "concat" and "org-babel-trim" like this: > #+TBLFM: $2='(org-sbe spending (c (concat "\"" $1 "\"")))::$3='(org-sbe >

[O] using org-babel-trim in org-sbe?

2014-04-03 Thread Alan Schmitt
Hello, I noticed a call to org-sbe failed because there were some extra spaces present in one argument. I tried to clean them up before calling the code block, but instead I'm getting literally what I'm writing. Here is an example: --8<---cut here---start->8---