[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Why are src_perl{} immediately executed?

From: Dov Grobgeld
Subject: Re: [Orgmode] Why are src_perl{} immediately executed?
Date: Sun, 14 Nov 2010 21:46:22 +0200

Ok. Thanks for clarifying it. The documentation isn't clear on this issue.


On Sun, Nov 14, 2010 at 18:03, Eric Schulte <address@hidden> wrote:
Hi Dov,

That is correct, there is no method of highlighting inline code blocks,
the begin_src constructs are just for evaluation of inline code.

You can customized the `org-babel-default-inline-header-args' to inhibit
the execution of inline code blocks on export.

Best -- Eric

Dov Grobgeld <address@hidden> writes:

> From the documentation I see now difference between inline and multi-line
> behavior. Note that I did not wish to evaluate the code at all but just have
> inline syntax highlighting in my html export. Is src_perl{foo()} for
> evaluation only and not for source highlighting?
> Thanks,
> Dov
> On Sun, Nov 14, 2010 at 04:49, Noorul Islam <address@hidden> wrote:
>> On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld <address@hidden>
>> wrote:
>> > From the documentation it seems like a statement such as src_perl{foo()}
>> are
>> > inline version of the multi line:
>> >
>> > #+src_perl
>> > foo();
>> > #+end_src
>> >
>> > But when exporting the org file to html I get the question "Evaluate this
>> > perl code on your system" for the inline version, but not for the
>> multiline
>> > version. Is this a bug or did I miss something?
>> >
>> You can customize this with the variable org-confirm-babel-evaluate
>> Thanks and Regards
>> Noorul
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

reply via email to

[Prev in Thread] Current Thread [Next in Thread]