[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] asynchronous exporter and babel confirmation
From: |
Achim Gratz |
Subject: |
Re: [O] asynchronous exporter and babel confirmation |
Date: |
Wed, 6 Mar 2013 12:34:05 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Nicolas Goaziou <n.goaziou <at> gmail.com> writes:
> Well, no, but its somewhat difficult to prevent it. Besides security
> considerations, even if we set `org-confirm-babel-evaluate' to nil
> during an asynchronous export, this won't handle the case of the user
> explicitly uses a :query keyword in a source block header.
Right.
> A very ugly hack would be to use:
>
> (defalias 'yes-or-no-p 'ignore)
Ugh. I hope this won't be necessary.
I've recently refactored the evaluation check so it determines first whether the
code-block should be run and only in the affirmative checks if it should query
the user. So it should be much easier now to have another dynamic binding for
preventing the question _and_ not run the block (as if the user had answered
"no", which is the only sensible choice when skipping the query). It already
skips the query when the cached result is not stale (since it doesn't actually
run any code in this case).
Regards,
Achim.
- [O] asynchronous exporter and babel confirmation, Alan Schmitt, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Nicolas Goaziou, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation,
Achim Gratz <=
- Re: [O] asynchronous exporter and babel confirmation, Nicolas Goaziou, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Achim Gratz, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Nicolas Goaziou, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Achim Gratz, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Nicolas Goaziou, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Achim Gratz, 2013/03/06
- Re: [O] asynchronous exporter and babel confirmation, Achim Gratz, 2013/03/09
- Re: [O] asynchronous exporter and babel confirmation, Nicolas Goaziou, 2013/03/09
- Re: [O] asynchronous exporter and babel confirmation, Alan Schmitt, 2013/03/10
- Re: [O] asynchronous exporter and babel confirmation, Alan Schmitt, 2013/03/06