Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-02-01 Thread Achim Gratz
Bastien writes: > #+begin_tblfm > ... > ... > #+end_tblfm That has other problems I think. The idea is that the formulas are out of sight until you need them and so that block would need to be special w.r.t. visibility. Although if the #+TBLFM: content can be hidden by default, as Carsten hinte

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-02-01 Thread Eric S Fraga
Bastien writes: > Hi all, > > I wrote a new tutorial on using Emacs lisp for Org spreadsheet formulas: > http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html > > Enjoy, Excellent tutorial! Very helpful. Thanks. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.9

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-02-01 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Nicolas Goaziou writes: >> I don't see what is clumsy with affiliated keywords. > > Well, you write the arguments before starting the source block, getting > everything wardbacks (and I don't think that's easier to parse, but you > would know better(*)). I think yo

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Bastien
Hi Carsten, Carsten Dominik writes: > Bastien already mentions that you can use C-c ' to edit the formulas. > What is less well known is that if you press TAB in one of those formulas > in the formula editor, the list form is pretty-printed - this goes a long > way for readability and editabili

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Bastien
Achim Gratz writes: > But I'm just as > concerned about the look of that line when browsing the document and the > pretty-printing for edit doesn't help with that. What about #+begin_tblfm ... ... #+end_tblfm ? -- Bastien

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Carsten Dominik
On 1.2.2012, at 07:37, Achim Gratz wrote: > Carsten Dominik writes: >> Bastien already mentions that you can use C-c ' to edit the formulas. >> What is less well known is that if you press TAB in one of those formulas >> in the formula editor, the list form is pretty-printed - this goes a long

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Carsten Dominik writes: > Bastien already mentions that you can use C-c ' to edit the formulas. > What is less well known is that if you press TAB in one of those formulas > in the formula editor, the list form is pretty-printed - this goes a long > way for readability and editability. Indeed I

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Nicolas Goaziou writes: > I don't see what is clumsy with affiliated keywords. Well, you write the arguments before starting the source block, getting everything wardbacks (and I don't think that's easier to parse, but you would know better(*)). Then there is the verbosity of the headers themsel

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Jude DaShiell
If multiple #+TBLFM: lines do ever get into legal org-mode syntax I think it will be a good idea to put an integer number inside the #+TBLFM: label so that org-mode can know in what order to use each of those lines. On Tue, 31 Jan 2012, Nicolas Goaziou wrote: > Hello, > > Achim Gratz writes:

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Carsten Dominik
On 31.1.2012, at 19:33, Achim Gratz wrote: > Bastien writes: > >> http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html > > Great. > > Now, I've long wished that instead of cramming these increasingly long > formulas into that single #+TBLFM line one could have a :TBLFM: dr

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Nicolas Goaziou
Achim Gratz writes: I don't see what is clumsy with affiliated keywords. > #+BEGIN_SRC emacs_lisp > :+HEADERS: > :var data1=1 > :var data2=2 > :END: > (message "data1:%S, data2:%S" data1 data2) > #END_SRC Src-blocks are elements. As such, they can't contain drawers. Though, drawers can co

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Nicolas Goaziou writes: > Multiple #+tblfm: lines would certainly be useful, as there already is > multiple #+header: lines. I still think that the syntax for these is unnecessarily clumsy. > Though, a table and a drawer are different elements. Affiliated keywords > shouldn't be separated from t

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Now, I've long wished that instead of cramming these increasingly long > formulas into that single #+TBLFM line one could have a :TBLFM: drawer > and put it there on multiple lines and perhaps even with comments. How > awesome would that be? :-) Multiple #+tblfm:

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Bastien writes: > http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html Great. Now, I've long wished that instead of cramming these increasingly long formulas into that single #+TBLFM line one could have a :TBLFM: drawer and put it there on multiple lines and perhaps even wit

[O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Bastien
Hi all, I wrote a new tutorial on using Emacs lisp for Org spreadsheet formulas: http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html Enjoy, -- Bastien