From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: asynchronous exporter and babel confirmation Date: Wed, 06 Mar 2013 11:10:36 +0100 Message-ID: <87fw082603.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDBJC-0006pL-T1 for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 05:10:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDBJB-0006fv-CI for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 05:10:50 -0500 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:38992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDBJB-0006fd-6g for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 05:10:49 -0500 Received: by mail-we0-f173.google.com with SMTP id r5so7484033wey.4 for ; Wed, 06 Mar 2013 02:10:47 -0800 (PST) In-Reply-To: (Alan Schmitt's message of "Wed, 06 Mar 2013 10:30:08 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: Org-mode List , Eric Schulte Hello, Alan Schmitt writes: > Is the asynchronous exporter supposed to work when a request to evaluate > a code block needs to be answered? 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. A very ugly hack would be to use: (defalias 'yes-or-no-p 'ignore) Eric, what do you think? Regards, -- Nicolas Goaziou