emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)?
@ 2011-07-07 16:38 Torsten Anders
  2011-07-07 19:04 ` Nick Dokos
  2011-07-07 19:18 ` Ista Zahn
  0 siblings, 2 replies; 4+ messages in thread
From: Torsten Anders @ 2011-07-07 16:38 UTC (permalink / raw)
  To: emacs-orgmode

Dear Babel developers, 

As you know, whenever I hit C-c C-c in a code block, I get the following question.

	Evaluate this <LANGUAGE> code block on your system? (y or n) 

In the case of "nested" calls (using noweb) there can even be many queries like that before some code is actually executed.

Can this be disabled by setting it to yes by default? I don't do any coding in my blocks that could in any ways adversely affect my system...

I could not find anything related in the documentation, apologies if I missed it.

Best,
Torsten  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)?
  2011-07-07 16:38 Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)? Torsten Anders
@ 2011-07-07 19:04 ` Nick Dokos
  2011-07-07 19:18 ` Ista Zahn
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2011-07-07 19:04 UTC (permalink / raw)
  To: Torsten Anders; +Cc: nicholas.dokos, emacs-orgmode

Torsten Anders <torsten.anders@beds.ac.uk> wrote:

> Dear Babel developers, 
> 
> As you know, whenever I hit C-c C-c in a code block, I get the following question.
> 
> 	Evaluate this <LANGUAGE> code block on your system? (y or n) 
> 
> In the case of "nested" calls (using noweb) there can even be many queries like that before some code is actually executed.
> 
> Can this be disabled by setting it to yes by default? I don't do any coding in my blocks that could in any ways adversely affect my system...
> 
> I could not find anything related in the documentation, apologies if I missed it.
> 
> Best,
> Torsten  

It is documented in the Org manual, sec. 14.5, Evaluating code blocks,
footnote 1, which points you to sec. 15.4, Code evaluation and security
issues.

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)?
  2011-07-07 16:38 Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)? Torsten Anders
  2011-07-07 19:04 ` Nick Dokos
@ 2011-07-07 19:18 ` Ista Zahn
  1 sibling, 0 replies; 4+ messages in thread
From: Ista Zahn @ 2011-07-07 19:18 UTC (permalink / raw)
  To: Torsten Anders; +Cc: emacs-orgmode

It's under Miscellaneous in the manual. See the description of
org-confirm-babel-evaluate at
http://orgmode.org/manual/Code-evaluation-security.html#Code-evaluation-security

Best,
Ista

On Thu, Jul 7, 2011 at 12:38 PM, Torsten Anders
<torsten.anders@beds.ac.uk> wrote:
> Dear Babel developers,
>
> As you know, whenever I hit C-c C-c in a code block, I get the following question.
>
>        Evaluate this <LANGUAGE> code block on your system? (y or n)
>
> In the case of "nested" calls (using noweb) there can even be many queries like that before some code is actually executed.
>
> Can this be disabled by setting it to yes by default? I don't do any coding in my blocks that could in any ways adversely affect my system...
>
> I could not find anything related in the documentation, apologies if I missed it.
>
> Best,
> Torsten
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)?
@ 2011-07-07 21:00 Torsten Anders
  0 siblings, 0 replies; 4+ messages in thread
From: Torsten Anders @ 2011-07-07 21:00 UTC (permalink / raw)
  To: emacs-orgmode

Dear Nick,

> It is documented in the Org manual, sec. 14.5, Evaluating code blocks,
> footnote 1, which points you to sec. 15.4, Code evaluation and security
> issues.

Thanks for your help (and apologies for missing this footnote).

Best,
Torsten

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-07 21:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 16:38 Org-babel: can evaluation confirmation be disabled (e.g., set to always yes)? Torsten Anders
2011-07-07 19:04 ` Nick Dokos
2011-07-07 19:18 ` Ista Zahn
  -- strict thread matches above, loose matches on Subject: below --
2011-07-07 21:00 Torsten Anders

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).