Re: [Orgmode] Why are src_perl{} immediately executed?
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 dov.grobg...@gmail.com 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 noo...@noorul.com wrote: On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com 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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Why are src_perl{} immediately executed?
Ok. Thanks for clarifying it. The documentation isn't clear on this issue. Regards, Dov On Sun, Nov 14, 2010 at 18:03, Eric Schulte schulte.e...@gmail.com 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 dov.grobg...@gmail.com 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 noo...@noorul.com wrote: On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com 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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Why are src_perl{} immediately executed?
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? Thanks! Dov ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Why are src_perl{} immediately executed?
On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com 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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Why are src_perl{} immediately executed?
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 noo...@noorul.com wrote: On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com 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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode