From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4O3WGfkuqGP6ywAAbAwnHQ (envelope-from ) for ; Sun, 25 Dec 2022 12:07:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +O7qGfkuqGO/fAAA9RJhRA (envelope-from ) for ; Sun, 25 Dec 2022 12:07:37 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC3D015ECC for ; Sun, 25 Dec 2022 12:07:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9OqI-0001eN-Ge; Sun, 25 Dec 2022 06:06:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9OqA-0001dy-Lq for emacs-orgmode@gnu.org; Sun, 25 Dec 2022 06:06:50 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9Oq8-0001X3-Sk for emacs-orgmode@gnu.org; Sun, 25 Dec 2022 06:06:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AFB2B240303 for ; Sun, 25 Dec 2022 12:06:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671966405; bh=MmnOEdnB6fQsFjHTA+wvYBhO1ngedxM63CNiaP01grw=; h=From:To:Cc:Subject:Date:From; b=DpE4zmtLE7TsFHIilVQk1uLA0Q21NEgTi96eDKobT1Fj6WA46pCwsCIEWTJS0lPCC MzKPraekhQZbbHdq24igiG0o5MVBm7yuUioladiQT6RsrFhM95Ykwu64dttSZz19L0 2qvQpPEcztChjPbBI2jPUipd0WAUB5WEy0glIM3/zScPMMh1lg+yf4HydO9gUzHZ+S r+0CFvRLZy1+ReGceyF3/sb1JrUQvGqli0IG6lfuIjEpdnLmKVnXXUAKqKupKKgp8W z/aGZ2mvGUMgcLeUyjwd40YxIail93PoFoiY5FRf/w/S/ltZrhZDztAOuKr/lC2h3d ffgHNxKCGi/Kw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Nfym46pCTz6tlh; Sun, 25 Dec 2022 12:06:44 +0100 (CET) From: Ihor Radchenko To: Tom Gillespie , Bastien Cc: Kyle Meyer , emacs-orgmode@gnu.org Subject: Re: [PATCH] ob-core: add org-confirm-babel-evaluate-cell custom variable In-Reply-To: References: <87359ld5ye.fsf@kyleam.com> <874ju0j538.fsf@localhost> Date: Sun, 25 Dec 2022 11:06:41 +0000 Message-ID: <87k02fspxa.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671966457; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7q0VSoOaJRahDcSqssTh2yHrmv9BP10rLCwU6TCPmXA=; b=Sro55tYoHhNiJaasAOUXc/0kd9r79xCNZZ3vR4j47ng8C936EtLwsCdBecHHqjTUfydhg1 KbincPqRamsLb5iOZDMlcQNASX3+snfIbLkW4p0EAkoTX+VtvVcMR4+xqDOodEzfy7or7x m3rC0cr64fzMceQ9WLRRbygwABA+QtEXvFNRTelyRK/ioPd7vE9z5vKL3eBOK0ti+Zqimt 8Q7dTIcM5Ldwqpy4AgHe733wo41e1Ob2NR4Vhfs2FG3l/8/I2Yhg9rvz9uPD8xVbkpxl30 VHdietjyual0SbDyLYJOV1+lWToj9/3NKqPrnaG2MIfCL1hIXPSTuAABacOU6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DpE4zmtL; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671966457; a=rsa-sha256; cv=none; b=Dqf8JYS9Q8C1tqUCpmAg5i1umnFzBXBuHUh1vmB7ReQHaEhAG0Xhvtyh+0V0/aQ0cydtbG wkbAWyQjCWDIu5CuJl+P5JIBOMesLLRL5sXaRm9j3TXUjyUXp2dQ4VpHFW0cWE2k+82HLW VvPiRp2wz1Nu2MNpHnNRsQuCLbfk6hwD6LtswsyfrTnAGSc+PZ9zBBDIM5Li3tU/pQI5lZ 5IriVI7FS6M2vIm8MLzPFj0zHNqya5XSodj6AhRy5P507RgBCLuC/ejl/+pyn0apDE2Ao6 WZh4RVAoPQN1Qm4fxKuvpKrRjOFYNCA4OxnqHf0FETBpkJnPVbko2SFBg39GDA== X-Spam-Score: -5.96 X-Migadu-Queue-Id: DC3D015ECC Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DpE4zmtL; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.96 X-TUID: d5cqAriKE7b8 Tom Gillespie writes: > From 4a78e1b5ea98dee569ff690037c661ab5c300194 Mon Sep 17 00:00:00 2001 > From: Tom Gillespie > Date: Sat, 10 Dec 2022 12:11:17 -0800 > Subject: [PATCH 1/2] ob-core: add org-confirm-babel-evaluate-cell custom > variable Bastien, may you please take a look at this discussion? As pointed by this patch, the current behaviour of asking users about code evaluation every single time will increase the odds to set `org-confirm-babel-evaluate' to t and never come back. We may not want to do it. Instead, we may apply this patch, but using an opposite default value of this new variable - do not confirm. The end result after applying will then be the same as in the previous release. Or we may apply this patch + extend the confirmation dialogue to accept "All" answer to confirm execution for the duration of `this-command'. WDYT? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at