Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-21 Thread Eric Schulte
Hi András, András Major writes: > Hi Eric, > >> sbe is just an elisp function which is called by the Org-mode >> spreadsheet's function evaluation mechanisms. The spreadsheet does not >> allow for insertion of results into multiple cells and thus neither does >> the use of sbe. > > Hmmm. It ap

Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread Michael Brand
Hi András I am not sure if you really need the data between the sh output and the sbe input as a table. If not, this can be used: #+source: shcode(x = 0) #+begin_src sh echo "$x" #+end_src | 1 | 2 | 3 | #+TBLFM: @1$1..@1$3 = '(sbe "shcode" (x "$#")) Michael 2011/8/19 András Major : > Hi, > >

Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread András Major
Hi Eric, > sbe is just an elisp function which is called by the Org-mode > spreadsheet's function evaluation mechanisms. The spreadsheet does not > allow for insertion of results into multiple cells and thus neither does > the use of sbe. Hmmm. It appears that one can make sbe set multiple cell

Re: [O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread Eric Schulte
András Major writes: > Hi, > > I'd like to use a babel code block to fill a table with values. The > sbe elisp function looks like the right thing for this task, but it > appears that the result of the code block always goes into a single > cell of a table. I can specify ranges of values, but t

[O] Wishlist: allow range of table elements to be filled by sbe

2011-08-19 Thread András Major
Hi, I'd like to use a babel code block to fill a table with values. The sbe elisp function looks like the right thing for this task, but it appears that the result of the code block always goes into a single cell of a table. I can specify ranges of values, but then the entire output is placed in