From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: [PATCH] Add :eval only-manual to babel blocks Date: Wed, 16 Oct 2019 08:05:01 +0200 Message-ID: <87h849b4z6.fsf@gmail.com> References: <87v9srdcqe.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53118) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKcQj-0000Yu-Ma for emacs-orgmode@gnu.org; Wed, 16 Oct 2019 02:05:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKcQi-0003II-OD for emacs-orgmode@gnu.org; Wed, 16 Oct 2019 02:05:05 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:39053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKcQi-0003Hk-IA for emacs-orgmode@gnu.org; Wed, 16 Oct 2019 02:05:04 -0400 Received: by mail-wm1-x344.google.com with SMTP id v17so1310673wml.4 for ; Tue, 15 Oct 2019 23:05:04 -0700 (PDT) Received: from geus3064linuxwsm ([152.115.61.162]) by smtp.gmail.com with ESMTPSA id i1sm3491306wmb.19.2019.10.15.23.05.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Oct 2019 23:05:02 -0700 (PDT) In-reply-to: <87v9srdcqe.fsf@gmail.com> 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" To: Org Mailing List On 2019-10-14 at 09:10 +02, Ken Mankoff wrote... > With this patch and ":eval only-manual" in a babel header, > > Org evaluates the source code if it is run via ~org-ctrl-c-ctrl-c~ > (e.g. =C-c C-c= in the babel block), but not if run via the > ~org-babel-execute-buffer~ function. Hmm. So it turns out (I think) this patch isn't necessary. The behavior I wanted and thought I implemented is actually the default behavior! I think the behavior is undefined for :eval not equal to "yes", "no", or "query", but the current undefined implementation does what I want. -k.