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 13:52:13 +0100 Message-ID: <87r4jszo5e.fsf@gmail.com> References: <87fw082603.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDDpc-0003Td-9p for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 07:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDDpZ-0006Zb-O0 for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 07:52:28 -0500 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:42986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDDpZ-0006ZR-Hd for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 07:52:25 -0500 Received: by mail-we0-f172.google.com with SMTP id d46so3771840wer.17 for ; Wed, 06 Mar 2013 04:52:24 -0800 (PST) In-Reply-To: (Achim Gratz's message of "Wed, 6 Mar 2013 12:34:05 +0000 (UTC)") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Hello, Achim Gratz writes: >> A very ugly hack would be to use: >> >> (defalias 'yes-or-no-p 'ignore) > > Ugh. I hope this won't be necessary. I hope too. > 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). >From the export framework POV, this variable should be set to an appropriate value (i.e. so no question is asked) from `org-export-async-start'. I can take care of it once the new variable is defined (maybe in ob-exp.el?). Regards, -- Nicolas Goaziou