[O] How to pass parameters to org-sbe function?

2015-10-09 Thread Kalev Takkis
Hi list, I'm trying to use org-sbe to execute another source block but I cannot figure out how to provide required parameters. My source block takes one parameter in form of list of lists. When I compose the list in place like this (org-sbe testblock (params (list (list \"somevar\" \"somevalue\")

[O] Babel, shell variable expansion in noweb function call

2015-09-06 Thread Kalev Takkis
Hi list, I'm struggling with the following example and failing get it to work: #+begin_src bash :results value code :noweb yes p1="/foo/bar" p2="/foo/baz/foo" rpath=<> #+end_src If the parameters are given as values such as path1="/foo/bar", the function works as expected, from

[O] Babel, var vrom property drawer in function call?

2015-09-03 Thread Kalev Takkis
Hi list, Is there a way to use variables defined as :var: in :PROPERTIES: drawer in function call? Such as ** Some heading :PROPERTIES: :var: par1="smth" :END: #+call: some-function(parameter=par1) Better yet, is there a way to have the function itself to figure out which prop

Re: [O] org-capture target files

2012-09-23 Thread Kalev Takkis
On Sun, Sep 23, 2012 at 1:11 PM, Bastien wrote: > Hi Kalev, > > Kalev Takkis writes: > > > Is it possible to take a note in org-capture and to specify one or > > several files to put the message into only after the note is written? > > You can refile a note from t

[O] org-capture target files

2012-09-15 Thread Kalev Takkis
Hi all, Is it possible to take a note in org-capture and to specify one or several files to put the message into only after the note is written? The workflow I have in mind is first pressing C-c c to take a note; selecting the type of note I'd like to take; typing the message, pasting a link etc.,