From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QIrwF42/P2OGVQEAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 07:56:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CMcYGI2/P2MEdgEA9RJhRA (envelope-from ) for ; Fri, 07 Oct 2022 07:56:29 +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 12A031CCBA for ; Fri, 7 Oct 2022 07:56:29 +0200 (CEST) Received: from localhost ([::1]:41624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oggLT-0005rq-Q6 for larch@yhetil.org; Fri, 07 Oct 2022 01:56:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oggK7-0005qj-LB for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 01:55:08 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:53908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oggK5-0003qa-RK for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 01:55:03 -0400 Received: by mail-pj1-x102f.google.com with SMTP id fw14so3564492pjb.3 for ; Thu, 06 Oct 2022 22:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=aG8zDQxKHE4m8G6S4BLBz6hMqx2v2nqdXn5ZknBKX1Y=; b=f86WzFjoTSx+Xh09MMF8BjCbyphiv+XW8HoDvRbaI1StlK4ipvi+cJKYg4Qyep2bMj qr7nzfYdQ107gdZEb5R/cNh6dpIMpq7zYz909PiSiHZ0FM01kDCKT2zf3pRGVlCra+WB 2+lxHOwN4miUpOgZDSH8wz3UhgH8g02fCq3T9+PB+HYCabr0vNocMXwcy/AVHgMAZzy+ 7EN+WVtPfdl4cL3oKX/ZXWP/DxSYcM0pkirIWKfwA4g2swRJ8/Wy9sSh/7LM25unPSoE TVl80vWiGmOfpUoa+KtT8TZNZguerL+J/LdYO4MRTYOaYFKYbHaUoRppXSpCIOuHynDW zRCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=aG8zDQxKHE4m8G6S4BLBz6hMqx2v2nqdXn5ZknBKX1Y=; b=ubw1NOukeMY3HVY1WLxp3hzShDcHC8VRfLXVMKYxzqyFGgKiS380ihOy4uP+EelfPz xP0WlYU3XI3Qq3nH9pLs9v+c0ell0lBhNS3V+82aB9AVy6yXO837Pifo8T72hw9yVm1A 5zbVRxO7Jze3rMMHbllHg6pENR9jX+3EYr0G+kxpZR3GTJeBpZRLF5Xj84cbI3qbjACM Ar3whW04UTfMDTWIZWRQA09F5ke/3a4Mh2e53QNZ8z+oGNMAgeb00Fay+uWWMYvL4jae 5YThafSSD0/DnpyFIftEM/BTNgW9w8ScXbAOaWrvCsAXGTJ9euRPtgacGHT45fu0jpTm A19A== X-Gm-Message-State: ACrzQf19ORt77OD4QjknVKSvndkS4EDs/33aVTB9gGkRu9oYQc5YGrgM eUtL59qdsF04DMIzU+AI3Q+5phS3dSdEoRUy X-Google-Smtp-Source: AMsMyM7ZzrIFJpJZuOm34Qc7HCcwIvX053v4tZkh/yMFi6sesSTp78sxHh/BjRLRsZcvC0B0TW/bow== X-Received: by 2002:a17:90b:1d0e:b0:202:809c:2d70 with SMTP id on14-20020a17090b1d0e00b00202809c2d70mr14203375pjb.14.1665122099741; Thu, 06 Oct 2022 22:54:59 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id r5-20020a632b05000000b00438ce2800e5sm798948pgr.7.2022.10.06.22.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 22:54:59 -0700 (PDT) From: Ihor Radchenko To: Jonas Bernoulli Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH 0/2] Don't print arguments of post-process arguments to stdout In-Reply-To: <20221006114346.23926-1-jonas@bernoul.li> References: <20221006114346.23926-1-jonas@bernoul.li> Date: Fri, 07 Oct 2022 13:55:44 +0800 Message-ID: <87y1tskwin.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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=1665122189; 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=aG8zDQxKHE4m8G6S4BLBz6hMqx2v2nqdXn5ZknBKX1Y=; b=NbdI/5gSbd+HoEANVw+l08R6DIbEqgkYk6Df1FExRa+5OG5uUurOwboK0PNegz7uWK3lwd T1T2lNduklyV9NU38ex75pWQvP78+ehXTC4gMft0RgJVKvpKbiUDKEJtDMgwnuYfCOuh1A Gcq0DzXPvXjLw5ozBBhCWudjkRsB2KTzG095HjxOLeiqaINhhoip4Bo+bZ8OjT2+LUZ+vS CZ2D5LqlHleUYhiY99tUzZM+hq+hd+oh0iMdWKUB3nRszsc2Owox7FL254FZoJQzG2iqzc 29hG5Sme4K56+7fdqCjFqWMhheP2w5AL7z19FdDxtHO6HcItDM43c5Yb7UN2Ag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665122189; a=rsa-sha256; cv=none; b=oh9GJ27W2GF2aoELVbAP6sgYaO7bcY1gOeYVkQSDv9c1aqMke9OTmI+40AoLzActwob/p4 KZKEUFKAIzbmE5I7PRld7fYA37jlseAnC4KYv7ArRTprrHkxk6Qn5vXaXVTUF6ITI7FxB7 1e9GtoxCCVPauFYxllGXKW32i/On3WRkAUkKDAe0Efxy3KxPnfudOids8/Y9U16dWFwjqe ZlB1WB4DtpF3ocgDGPHrQFbKmorD/Txgmu9SS2xlwsUBLSMZsRjMvfwMwRStq/R60VSOdX cW9y5UE6QgXThQZLY3SEJ/3Bm9+87XeTTGilHr2QkmhDeD8GRTjv3oHLIzdddg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f86WzFjo; dmarc=pass (policy=none) header.from=gmail.com; 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: -7.67 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f86WzFjo; dmarc=pass (policy=none) header.from=gmail.com; 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: 12A031CCBA X-Spam-Score: -7.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: xQAJobRVIlur Jonas Bernoulli writes: > I run org-babel-execute-buffer from a Makefile and the output is quite > noisy, forcing me to filter out some output using grep -v so that I am > still able to spot any unexpected output that indicates some issue. > > Now that I have started using post-processing code blocks, the output > has gotten even more noisy and unfortunately filtering out the unwanted > additions is not possible. > > Currently all arguments to post-processing blocks are printed to > stdout. I am not able to filter them out using grep because this > output seems to be split across multiple lines, so a regexp like > "^(" only matches parts of the noise. > > 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 > make things harder, by obscuring output one would want to notice. I suspect that it is remnants of previous code re-factoring in 5e0db0798. The old code used `print' for pretty-printing :results pp. > The second commit addresses a cosmetic, but somewhat related, > annoyance. > > Jonas Bernoulli (2): > Don't print arguments of post-process arguments to stdout > Begin messages about executing code blocks with a capital letter > > lisp/ob-awk.el | 2 +- > lisp/ob-core.el | 2 +- > lisp/ob-emacs-lisp.el | 2 +- > lisp/ob-groovy.el | 2 +- > lisp/ob-maxima.el | 2 +- > lisp/ob-sed.el | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) Applied onto main with amendments to commit messages. Please refer to https://orgmode.org/worg/org-contribute.html#commit-messages in future. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2f4de60980b6b10770696c4ee0b610d0e96ab575 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fc8e375b9bd2685690e6ec9f0cc6ed078a6e938f -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at