emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Noorul Islam <noorul@noorul.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Why are src_perl{} immediately executed?
Date: Sun, 14 Nov 2010 09:27:07 +0200	[thread overview]
Message-ID: <AANLkTikaqLtVOnba=WTSainT5JT6ZJE3LFOwO_Yu2f88@mail.gmail.com> (raw)
In-Reply-To: <AANLkTiky2JbdZPW4CLNRgM7Bke50rFhjgF8xTX8V0+qT@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]

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 <noorul@noorul.com> wrote:

> On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld <dov.grobgeld@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
>

[-- Attachment #1.2: Type: text/html, Size: 1434 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-11-14  7:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-13 22:04 Why are src_perl{} immediately executed? Dov Grobgeld
2010-11-14  2:49 ` Noorul Islam
2010-11-14  7:27   ` Dov Grobgeld [this message]
2010-11-14 16:03     ` Eric Schulte
2010-11-14 19:46       ` Dov Grobgeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikaqLtVOnba=WTSainT5JT6ZJE3LFOwO_Yu2f88@mail.gmail.com' \
    --to=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).