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 4K1XKZ4cTWOm9wAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 11:13:02 +0200 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 UAxhKZ4cTWPeawEA9RJhRA (envelope-from ) for ; Mon, 17 Oct 2022 11:13:02 +0200 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 3E7143E6C4 for ; Mon, 17 Oct 2022 11:13:02 +0200 (CEST) Received: from localhost ([::1]:48316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okMBA-0000SW-Vc for larch@yhetil.org; Mon, 17 Oct 2022 05:13:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okM7t-0000Op-5a for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 05:09:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okM7r-00008a-GV for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 05:09:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6A756240027 for ; Mon, 17 Oct 2022 11:09:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665997772; bh=31nDqcL9Uv75v8Rm+Y4LS2WkC8EhEf7v/fNBvvxA9pE=; h=From:To:Cc:Subject:Date:From; b=NS6HOV/FN9ZHhdm8JOZwCx3LZWy/zEIVUPwp5lZswVwWSmO2zH+AG0/rU+M/4wPWH 3UB8Cury0slamvYNGgFkFOaUsPD7NkyrDBWIlIlv8NajQ9qtphGQEw5TMkXeUWkzHV qyNmkORlLM7MocrQSge9QGJiyIiGvxTxWnnn7NVi6OE+52xqBtFZNtcxl7El1biclI BfaarNtrZRAkxfildxmz+JXn0MQ9CoDoY9PKnedVIi9oZTI0QA/by9YHwc++CLqT/n 0L6jievEuWkIQ1iTRD0Jd90awC5W1XUTwsBLWmY/6X75qaIMjUf45llnjkXf0HQvBs 5qXOGfra3k/Fg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MrWQc683Hz6tn7; Mon, 17 Oct 2022 11:09:28 +0200 (CEST) From: Ihor Radchenko To: Ferdinand Pieper Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Add light argument to org-babel-lob-get-info In-Reply-To: <877d109d3k.fsf@ims.uni-hannover.de> References: <877d109d3k.fsf@ims.uni-hannover.de> Date: Mon, 17 Oct 2022 09:10:15 +0000 Message-ID: <87bkqaizns.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665997982; 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=c2tbQcMA2kCA+MKQIptbzvqbVVMafH/v2lekzjXyBKk=; b=qOs6Zqo+B8sQQyw8J7DQtIpqQmJnZGfX70eJ96IRbg7oXIQt5IMKOUszkqrFm4J4MV9uoU qu6Ep0Gf2o1Tg1BAFlmzcMO1U/hqQhuyHstj7Iv9JMn3YFkDSJhzHlDQHiFEVirFlh3QFK xBMz47mSLOOB55MZoyFCdtNTUO5KbVwYxoWomGdyJd562Vgir6MXxHc1RX4C6gjfAVu+2S S+8GTEkWLmvU+ktSrp9MZHoF7NF/c6XY3uB8T2deUd3i581SReDvGwElnc1raAaswYBh9B L5UJBGrloJbu0ZZTvWiD1AfywpdBcQWaqrqvFiKvXRak+KE1ZrIACyJOxoKN0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665997982; a=rsa-sha256; cv=none; b=L5Rkim/HtDAxE5pmHE41vYtLArB7vEjFaAaDX9qfCdbUIqyrkE43O5gfs3V5Cu4L69HtsR LtdOsIwMqbk6GvO95jGfm0SNrsBMdx4FHg79e4IXpgLwVjT6RJqAmW74A7IqewRA+eEeD0 M5iqUCyQLX7+bWUWuOfdjAYMe9TRPxVKPTJB9TRro482ezpNhXRYfQZVwMt2ZVuvzcEJwq J2v9w+Pp7/5nqNnvNY23RjKRBlKLYt0GRNDS/ql4bnV5ZM42Kg+9+KAXSyjdUBM6WM640+ Fj6NL+DvMX4l9VM/YJb39KJwEl+8s6janKZ7rEF4GsFcTtJCYwrANQGaP1U+8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="NS6HOV/F"; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="NS6HOV/F"; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 3E7143E6C4 X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9BHBMTm+VL0q Ferdinand Pieper writes: > Similar to ~org-babel-get-src-block-info~ it is sometimes useful to disable evaluation of lisp parameters when getting the info of a lob call. This patch adds an argument for that. > > Better name for the argument could be ~no-eval~, but I decided to stick with the naming in ~org-babel-get-src-block-info~. To be completely consistent with ~org-babel-get-src-block-info~ the argument order could be swapped, but this would break existing function calls. > > What do you think? I see no problem with this addition. I'd prefer to change LIGHT to NO-EVAL, including in org-babel-get-src-block-info. Changing argument name in function does not affect its caller in any way. Just need to update the function body and docstring carefully. NO-EVAL is already used by org-babel-parse-header-arguments and org-babel-params-from-properties. May I know if you are proposing this for a specific purpose? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at