From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] ob-core: do not ask for confirmation if cached value is current Date: Wed, 27 Feb 2013 09:46:23 +0100 Message-ID: <87liaauotc.fsf@bzg.ath.cx> References: <87mwuqvmyz.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAceg-0006AT-MT for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 03:46:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAcef-0004Zz-Av for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 03:46:26 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:37346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAcef-0004Zm-4g for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 03:46:25 -0500 Received: by mail-we0-f179.google.com with SMTP id p43so249150wea.10 for ; Wed, 27 Feb 2013 00:46:24 -0800 (PST) In-Reply-To: <87mwuqvmyz.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 26 Feb 2013 21:28:36 +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: Achim Gratz Cc: emacs-orgmode@gnu.org Hi Achim, Achim Gratz writes: > Babel asks for confirmation to evaluate a source block even when it is > going to use the cached value. This patch skips the superfluous > confirmation in that case (no evaluation takes place, the cached value > is used). thanks for the patch. I applied it but renamed cache? and cache-current? to cache-p and cache-current-p. Let's avoid the ? character in variables and functions, as this character is not self-inserted when in the prompt of C-h v and C-h f, you have to use C-q ? to insert it. -- Bastien