From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: Re: Why are src_perl{} immediately executed? Date: Sun, 14 Nov 2010 09:27:07 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0072598890==" Return-path: Received: from [140.186.70.92] (port=52166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHWzY-0007oB-0c for emacs-orgmode@gnu.org; Sun, 14 Nov 2010 02:27:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHWzU-0003rt-A8 for emacs-orgmode@gnu.org; Sun, 14 Nov 2010 02:27:12 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:54194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHWzU-0003rp-5P for emacs-orgmode@gnu.org; Sun, 14 Nov 2010 02:27:08 -0500 Received: by qyk29 with SMTP id 29so1584748qyk.0 for ; Sat, 13 Nov 2010 23:27:07 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noorul Islam Cc: emacs-orgmode@gnu.org --===============0072598890== Content-Type: multipart/alternative; boundary=001636aa2bfc40eaed0494fe4060 --001636aa2bfc40eaed0494fe4060 Content-Type: text/plain; charset=ISO-8859-1 >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 wrote: > On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld > 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 > --001636aa2bfc40eaed0494fe4060 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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


--001636aa2bfc40eaed0494fe4060-- --===============0072598890== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0072598890==--