Eric Schulte schulte.e...@gmail.com writes:
Alternately this could be a page on Worg, but I think it is
important enough to be included in the manual.
Agreed. In such cases, Worg can be used as a sand-box for fast
writing and quick review by others. Then when the doc is mature
enough, a
What I'd really like in the org-mode doc somewhere (or on worg?) is the
babel syntax broken out like a traditional programming language, by which I
mean describe the syntax[es] for *defining* a function in one place
(including all the ways to define args and their default values), and
describe the
Hi Gary,
I agree.
Gary Oberbrunner ga...@oberbrunner.com writes:
What I'd really like in the org-mode doc somewhere (or on worg?) is the
babel syntax broken out like a traditional programming language, by which I
mean describe the syntax[es] for *defining* a function in one place
(including
Am 05.04.2013 18:31, schrieb Eric Schulte:
[ ... ]
Yea, this could be a simple note, e.g., the method by which variables
are applied to code blocks are language-specific and determined by the
semantics of the programming language of the code block, see
Hi,
still can't see the purpose of
Hello Eric,
Eric Schulte wrote:
At this point I'm not sure if the documentation or the code should be
amended. I've personally never liked the args-in-block-name syntax, but
I don't recall if we formally decided to abandon it, or if it has simply
been broken in a recent commit.
I am not
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
Hello Eric,
Eric Schulte wrote:
At this point I'm not sure if the documentation or the code should be
amended. I've personally never liked the args-in-block-name syntax, but
I don't recall if we formally decided to abandon it, or if it
Eric,
Eric Schulte wrote:
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
Eric Schulte wrote:
At this point I'm not sure if the documentation or the code should be
amended. I've personally never liked the args-in-block-name syntax, but
I don't recall if we formally decided to abandon
Carsten Dominik carsten.domi...@gmail.com writes:
On 2.4.2013, at 23:54, Eric Schulte schulte.e...@gmail.com wrote:
Gary Oberbrunner ga...@oberbrunner.com writes:
Aha -- you have to use the :var syntax on the begin_src line, not the
params-in-parens syntax on the name line. Your version
Gary Oberbrunner ga...@oberbrunner.com writes:
Aha -- you have to use the :var syntax on the begin_src line, not the
params-in-parens syntax on the name line. Your version works:
#+name: example-block
#+begin_src sh :var input=
echo input is $input
#+end_src
but this doesn't:
Am 02.04.2013 23:54, schrieb Eric Schulte:
Gary Oberbrunner ga...@oberbrunner.com writes:
Aha -- you have to use the :var syntax on the begin_src line, not the
params-in-parens syntax on the name line. Your version works:
#+name: example-block
#+begin_src sh :var input=
echo input is
On 2.4.2013, at 23:54, Eric Schulte schulte.e...@gmail.com wrote:
Gary Oberbrunner ga...@oberbrunner.com writes:
Aha -- you have to use the :var syntax on the begin_src line, not the
params-in-parens syntax on the name line. Your version works:
#+name: example-block
#+begin_src sh :var
It seems like you can define procedures in org-mode and call them from
elsewhere, with args.
But I'm not sure how well-defined that process is; the documentation is not
completely perfect yet I think. Here's one thing I'm trying that seems not
to work.
I define a procedure as a named ref called
Gary Oberbrunner garyo at oberbrunner.com writes:
Is this supposed to work?
-- Gary
I'm not sure how it's /supposed/ to work, either, but this example works for a
sqlite database I've been playing with:
#+NAME: artist
#+BEGIN_SRC sqlite :db the_sound_A-Z.sql :var song_title=
select
Gary Oberbrunner ga...@oberbrunner.com writes:
It seems like you can define procedures in org-mode and call them
from elsewhere, with args.
But I'm not sure how well-defined that process is; the documentation
is not completely perfect yet I think. Here's one thing I'm trying
that seems not
Eric Schulte schulte.e...@gmail.com writes:
Eric Abrahamsen e...@ericabrahamsen.net writes:
Gary Oberbrunner ga...@oberbrunner.com writes:
It seems like you can define procedures in org-mode and call them
from elsewhere, with args.
But I'm not sure how well-defined that process is; the
Aha -- you have to use the :var syntax on the begin_src line, not the
params-in-parens syntax on the name line. Your version works:
#+name: example-block
#+begin_src sh :var input=
echo input is $input
#+end_src
but this doesn't:
#+name: example-block(input=)
#+begin_src sh
echo input is
16 matches
Mail list logo