[Orgmode] suggestion/feature-request for dynamic blocks

2010-09-15 Thread Inquisitive Scientist
Dear Experts, I'd like to make a suggestion/feature-request for people who write dynamic blocks (which are very cool): 1. It would be really handy to have a parameter of the form :tname which puts a #+TBLNAME: into the top of the table created by a dynamic block. This makes the dynamic table e

Re: [Orgmode] questions about table mode and spreadsheets

2010-09-15 Thread Inquisitive Scientist
| a| 1 | 3 | 4 | | > | | b| 2 | 2 | 5 | | > | | c| 3 | 1 | 6 | | > #+TBLFM: $6='(vsumif '@1$6 '(@1$...@1$5) '($3..$5));L > > Again, replace `foo' in @1$6 with `bar' to get totals for bar. > &g

[Orgmode] questions about table mode and spreadsheets

2010-09-06 Thread Inquisitive Scientist
Dear Experts, I am becoming very fond of the table/spreadsheet in org-mode and trying to use it more extensively. I have tried digging through the docs but am still having trouble with some things: 1. Is there a way to dynamically add a new row to a table using a table formula? For example, a v

[Orgmode] Re: how do you extract schedule duration in column-view

2010-08-12 Thread Inquisitive Scientist
n what org-mode function to use to get the duration of a scheduled time? On Thu, Aug 12, 2010 at 12:04 PM, Inquisitive Scientist < inquisitive.scient...@gmail.com> wrote: > Dear Experts, > > How do I make it so that column-view shows the duration of a scheduled > task? I now tha

[Orgmode] how do you extract schedule duration in column-view

2010-08-12 Thread Inquisitive Scientist
Dear Experts, How do I make it so that column-view shows the duration of a scheduled task? I now that if I do something like * my top node :PROPERTIES: :COLUMNS: %40ITEM %%10SCHEDULED :END: and then create a dynamic-block I can get a table to show the scheduled time, but what do I do

[Orgmode] debugging sbe calls

2010-08-05 Thread Inquisitive Scientist
Dear Experts, I *love* org-babel. In trying to switch a bunch of things to using it, I have run into the problem that if I get the syntax slightly wrong, either nothing happens (no output) or I just get something like "ERROR". Is there a way to understand what is causing the error? So far, I have

[Orgmode] How do you use call and lob in org-babel?

2010-08-05 Thread Inquisitive Scientist
Dear Experts, I am confused about how to use lob and call in org-babel. First I define a simple function like square: #+srcname: square(x) #+begin_src python return x*x #+end_src A line like : #+lob: square(x=2) does not seem to produce any result either in the buffer or on export: #+lob: square(

[Orgmode] question about chaining function calls in org-babel

2010-08-04 Thread Inquisitive Scientist
Dear Experts, I think org-babel is awesome but I'm having some trouble chaining together multiple function calls. Specifically, I would like to do something like the following #+tblname: fancier | mean | || | #ERROR | #+TBLFM: @2$1='(sbe "python-mean" (x (sbe "tbl-example-data" (seed 4)

[Orgmode] how to combine times in clocktable

2010-08-04 Thread Inquisitive Scientist
Dear Experts, Is there a way to combine times for lines in the clocktable? For example, I'd like to have everything with a tag of say FOO combined into one entry. So if I spend 1 hour on a node called X with tag FOO and 2 hours on a node Y with tag FOO and 3 hours on a node Z with no tags, I'd lik

[Orgmode] bug in dynamic block for clock table using :tags

2010-08-04 Thread Inquisitive Scientist
Dear Experts, There seems to be a bug in the tags feature for clock tables. When I try to generate a dynamic block for a clock-table in the following example file it goes into an infinite loop. *** 2010-08-04 Wednesday This illustrates a bug in org-clock.el. When you Do C-c C-x C-r using org-mod