From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YG+3Gfri/GN0TAEAbAwnHQ (envelope-from ) for ; Mon, 27 Feb 2023 18:06:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6GumGfri/GMLZwEA9RJhRA (envelope-from ) for ; Mon, 27 Feb 2023 18:06:02 +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 39B893C95E for ; Mon, 27 Feb 2023 18:06:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWgw4-0001D7-Sl; Mon, 27 Feb 2023 12:05:13 -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 1pWgvw-00014a-Lz for emacs-orgmode@gnu.org; Mon, 27 Feb 2023 12:05:05 -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 1pWgvs-0003N3-VI for emacs-orgmode@gnu.org; Mon, 27 Feb 2023 12:05:04 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1BB85240130 for ; Mon, 27 Feb 2023 18:04:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677517495; bh=5IYfDmfMyjTRobZ0VQBeC33VYCTe7addiOtP3xd0Xos=; h=From:To:Cc:Subject:Date:From; b=Bze3DYHWXrosx3+/kf/bqF7q0hDhzRf2s6Vdfbrs1NT5jJ02z/Pz0CLcOuEaUbhYG A0ukOT7Ul0uKxaXjMojtd0XOVuLP0wwzgqmDDaq3f1n7h4EKL9XKfC6cL4BIB/2ChN ns4e8B1qx9mIW5zz/vZdyZomiMvT2cWIy/E37VGTp80k9NVOCa6F+DXmcWUUs8hPox ptihhsSEw2cgQTYpdvD5c7MPHkMyNAXIB8wnqkkuP0V9iHNcq6NGLErIJmjJZ1ywFt +Ck2RxFpMkjl+jhPoiI9sX4wySxY8G318u0FIooQx+ITFSeDPpSDGy0ZwAolzjoedZ 0BKHGfnXZ0GqA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PQRgn46HFz9rxL; Mon, 27 Feb 2023 18:04:53 +0100 (CET) From: Ihor Radchenko To: Dan Drake Cc: emacs-orgmode@gnu.org Subject: Re: inconsistency with :eval yes in orgmode.org and gnu.org manuals for org 9.6, 9.5? In-Reply-To: References: Date: Mon, 27 Feb 2023 17:05:32 +0000 Message-ID: <878rgjyr6r.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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=ham 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-Seal: i=1; s=key1; d=yhetil.org; t=1677517561; a=rsa-sha256; cv=none; b=CamVq9T1SQtBJlNAkozUlQ0frglhy4TiX49z2lN/rxBQHKpvc6a86t7bV/CaQM0GDnR4jA NhUwUKP8sqyjYj21QcFOdP0DvHJ8GcAcpAntoCTAibKnhHl42+7wCN1y1QHK9HhxKPSOcC O+VsasBaYhnnx8NWbmMyfWBTm8sAFBQOnM9OeqHoemY2aJ3HLjOwvwY0/ZHdoOe6hbLDF5 2VLgmqW0vWqRdVY4bdWrhYure0sv3L83yXwvSR01dtELpjyRzhwhkHiaq2TSG0kwYUcdzG 4wTx5K9zvjWqqNh/4fjOOj16f8PkeKSqfMPbFYklnpp4SDzu8WtCYfrofeHVnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Bze3DYHW; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677517561; 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=wM3iwL8xHaoNsuctly1aAhrd4rqiZSaILsVp1xbFwgQ=; b=ji+8JtmJqOQSVMIPIBrDNn4wEu77n96DFhpTE/oLcB/aCEYc+ZpptBcU1DFOXvcWzPB6KG 5CvO52EdYumpYmKl4fAjyGqBckoFqJqmUyXQ9ZmlxO8QAR6Pp/UJMPEc26k1WGxDtkpG4c 7llDWU0Pl36otqo2pMrsaxTXPNBQcN0WVWl5pfsVgAh328u9jpRKqsiPHWBnYJ0gF5eZh/ gywG3iNJlFISn1dEv6oeCoLlEqiULzfOu3D1JyHSge4FhFFVsxil+nMfivTETip4WaXfw0 JV1W58d8kgHF9LIZ0xEbI+SSaskrJ8Ecbmq3Ohec03PiOWUS+MlX6vjkcMij/g== X-Spam-Score: -4.41 X-Migadu-Queue-Id: 39B893C95E X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Bze3DYHW; 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-TUID: KdHdB7mJf06E --=-=-= Content-Type: text/plain Dan Drake writes: > It seems like ":eval yes" was removed some time ago -- see > https://emacs.stackexchange.com/a/3570/19526. > > Did that get re-added? It seems like it was replaced by the > org-confirm-babel-evaluate mechanism -- > https://www.gnu.org/savannah-checkouts/gnu/emacs/manual/html_node/org/Code-Evaluation-Security.html. It did not really get removed. But its meaning indeed changed slightly, despite what the current manual says. :eval yes evaluates the code blocks, but not unconditionally. It still obeys org-confirm-babel-evaluate. Does the attached patch clarify the situation? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-org-manual-Clarify-that-eval-yes-obeys-org-confirm-b.patch >From 3867672d6b38b3c0ccba0b5da8e4a3adb7f111b1 Mon Sep 17 00:00:00 2001 Message-Id: <3867672d6b38b3c0ccba0b5da8e4a3adb7f111b1.1677517512.git.yantar92@posteo.net> From: Ihor Radchenko Date: Mon, 27 Feb 2023 20:02:50 +0300 Subject: [PATCH] org-manual: Clarify that :eval yes obeys `org-confirm-babel-evaluate' * doc/org-manual.org (Limit code block evaluation): Clarify :eval yes value. Reported-by: Dan Drake Link: https://orgmode.org/list/CAKqbAeFRGDzQQQkXHKvDPtgM7NYybWgxpJj3yoRKnuD2bSwyVw@mail.gmail.com --- doc/org-manual.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 6a625b42a..1c97d6aa8 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -18123,7 +18123,8 @@ *** Limit code block evaluation - =yes= :: - Org always evaluates the source code without asking permission. + Org evaluates the source code, possibly asking permission according + to ~org-confirm-babel-evaluate~. - =never= or =no= :: -- 2.39.1 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--