From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iJbIHVHJPmPO0QAAbAwnHQ (envelope-from ) for ; Thu, 06 Oct 2022 14:25:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OEu0HVHJPmOjXgAAauVa8A (envelope-from ) for ; Thu, 06 Oct 2022 14:25:53 +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 1D11E2DC76 for ; Thu, 6 Oct 2022 14:25:53 +0200 (CEST) Received: from localhost ([::1]:40284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogPwm-00065x-3v for larch@yhetil.org; Thu, 06 Oct 2022 08:25:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogPPI-0004xU-Cm for emacs-orgmode@gnu.org; Thu, 06 Oct 2022 07:51:16 -0400 Received: from [212.243.197.30] (port=38472 helo=mail.hostpark.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogPPB-0002mO-Nt for emacs-orgmode@gnu.org; Thu, 06 Oct 2022 07:51:12 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 7766D165A6 for ; Thu, 6 Oct 2022 13:43:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=sel2011a; t=1665056629; bh=6/dM6RTBv90f9zi Lub6Fvi9p8lnt8iSSoJkBPrwAbWI=; b=Lq6ph21lLNuiuePebOsbahKWjMWpLIP 1wJfVEJOGlC7L4x3MyURNXmoCtjqSBIfEOFw2kd7tfZqKnPdAiaMUK69E6YoDY0o qdZHKN/LxprE+hgBCCeBV0/milx1JN+TprdsjeFfJ7iqpgevpSya09xS12MuUwAW Afqb1wm5OlVA= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id cTvehbyWmJlq for ; Thu, 6 Oct 2022 13:43:49 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 496B1165FF for ; Thu, 6 Oct 2022 13:43:49 +0200 (CEST) From: Jonas Bernoulli To: emacs-orgmode@gnu.org Subject: [PATCH 1/2] Don't print arguments of post-process arguments to stdout Date: Thu, 6 Oct 2022 13:43:45 +0200 Message-Id: <20221006114346.23926-2-jonas@bernoul.li> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221006114346.23926-1-jonas@bernoul.li> References: <20221006114346.23926-1-jonas@bernoul.li> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 212.243.197.30 (deferred) Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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=1665059153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FZvIsorhYp3tTjOODkbYGEyWafibW/ybW0Wm1Ks+FvE=; b=R2haiO7HajNbtahmJBJKqzcXODQMxMykCL7IsJ+TZi/kCqrs/jjcqgQnQK2sxL9qTS1BCS C36KEYkd1WIMG1DreztPbHKVV+rkLepUsIvfZEmuQpwd0RZ2r/21rH+ZqSDtPWpdbqilnz SmGpmzbddb1y8amwj4YmBHrIVnAoNyl+84nmk9tA9YIg6CCHlWGy7xFvv/t2LWRzyis/Fj KAfTD03OpUPhZyeKmNrEnhl9YI7AFXukIk0NDIK7GEo2IGVYLP/TIJuI3mePvAD5Z6nUj1 nFCOqhK6CRWUaBkxJVLP29m8ScK+AM9iGoo6O79rWOqH4F/w3WeEHh39JjonFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665059153; a=rsa-sha256; cv=none; b=p3lTWO9JPI1pk38XGW1GGOQa0/YSpemIYYbxc4T3Dm/bsOzL379LTjXQc4BjpDSXVwcBim osau0ynVn7181dIBhaOav88PNmj4+q00dne89rJ8s/DjEby+RIcBuG7UN3+TvNpd8eMuw7 tdEyyz1KxwdmibPAWOQcL9QZ9LIEy/PDwq0LuI8tTJwgxtBXreo3XobD7RhE1N9O/RlL76 u3dgfiKlJcHVqIASa1Wn/XFTyo8vUu7pk3Bgz8i+AIIE6yaLjLTv98HGTvpJ+3aGvIhWAh OdGE0XldC6nuNV/wOFAoU6Pb3rel57rPZhisc1g3rRa929ko4q/CWxpquXn5hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=Lq6ph21l; dmarc=none; 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: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=Lq6ph21l; dmarc=none; 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: 1D11E2DC76 X-Spam-Score: -2.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: RjxWhAuIokaa It is unclear whether the arguments were printed on purpose. It might be useful to do so at times for debugging purposes, but generally they drown out other messages when a lot of post-processing is being done; making it harder to spot messages of interest that would otherwise allow noticing regressions. This is particularly troublesome when running org-babel-execute-buffer from a Makefile or script. lisp/ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Do not print post-processing argument. --- lisp/ob-emacs-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-emacs-lisp.el b/lisp/ob-emacs-lisp.el index bb311aa44..b8e6ef298 100644 --- a/lisp/ob-emacs-lisp.el +++ b/lisp/ob-emacs-lisp.el @@ -58,7 +58,7 @@ (defun org-babel-expand-body:emacs-lisp (body params) (format "(let (%s)\n%s\n)" (mapconcat (lambda (var) - (format "%S" (print `(,(car var) ',(cdr var))))) + (format "%S" `(,(car var) ',(cdr var)))) vars "\n ") body)))) -- 2.37.3