Eric Schulte 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 patch against the manu
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 o
Hi Gary,
I agree.
Gary Oberbrunner 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 all the ways to d
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
Eric,
Eric Schulte wrote:
> "Sebastien Vauban" 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 it, or if
"Sebastien Vauban" 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 has simply
>
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.
>>
Carsten Dominik writes:
> On 2.4.2013, at 23:54, Eric Schulte wrote:
>
>> Gary Oberbrunner 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 :
On 2.4.2013, at 23:54, Eric Schulte wrote:
> Gary Oberbrunner 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 $in
Am 02.04.2013 23:54, schrieb Eric Schulte:
Gary Oberbrunner 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
Gary Oberbrunner 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:
>
> #+name: examp
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 "inpu
Eric Schulte writes:
> Eric Abrahamsen writes:
>
>> Gary Oberbrunner 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 thi
Gary Oberbrunner 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 to work.
>
> I d
Gary Oberbrunner 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 artist fr
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 call
16 matches
Mail list logo