emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Eric Schulte
Subject: Re: [Orgmode] Why are src_perl{} immediately executed?
Date: Sun, 14 Nov 2010 09:03:03 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

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]