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 IKgfIr+khmNmGQAAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 01:33:03 +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 IFUYIr+khmOQHQEA9RJhRA (envelope-from ) for ; Wed, 30 Nov 2022 01:33:03 +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 47A3A42700 for ; Wed, 30 Nov 2022 01:33:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0B18-0004le-F2; Tue, 29 Nov 2022 19:32:02 -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 1p0B17-0004lO-Is for emacs-orgmode@gnu.org; Tue, 29 Nov 2022 19:32:01 -0500 Received: from mr85p00im-ztdg06011901.me.com ([17.58.23.198]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0B16-0000hN-5c for emacs-orgmode@gnu.org; Tue, 29 Nov 2022 19:32:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1669768318; bh=Mew0mWz6oVKmGYhTY1QEZhE1guoguHn3eH0coSZws70=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=SV2p4dUHsKA0wOYpXzhxTy/tk6UAOkW2AX0B/EbGUYp6f8dxlQDM4MrEsERUR9O/3 uWv48JAt4cB1sN+imkT+OTgVcpbZ1a0NqkTwiXU4WsdnNR7+leIucF0cqt39Ou2jac 6CNeG4cAWTDAMZH+LqLHj6BQV1vt8tPkK4TA5ZMR0fLEAqdlz70X+JM8lTgEhgjCkc l9oCNikMy7DdPapqeDbcCjSSizu5Uph+AJgwLdnh6WEhX7P3QT9We0MPCJAJhK+MjR EuCUmhlH67VciXX/gQfmAtcUiNgiEUXtcNZS8PiW7R6RXMKxg3CEaOQmlkno2UPhqF 0sLUCv3pfA7kw== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011901.me.com (Postfix) with ESMTPSA id CF312900900; Wed, 30 Nov 2022 00:31:57 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Fix the confusing "result silenced" message In-Reply-To: <87wn7ilatq.fsf@localhost> References: <875yf3bx7z.fsf@localhost> <87wn7ilatq.fsf@localhost> Date: Wed, 30 Nov 2022 01:31:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Proofpoint-ORIG-GUID: ihcTyFHZUGJx_iXVzpOt2IrAo4yQ3gjZ X-Proofpoint-GUID: ihcTyFHZUGJx_iXVzpOt2IrAo4yQ3gjZ X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 suspectscore=0 phishscore=0 malwarescore=0 mlxlogscore=893 mlxscore=0 spamscore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2211300001 Received-SPF: pass client-ip=17.58.23.198; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669768383; 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=Mew0mWz6oVKmGYhTY1QEZhE1guoguHn3eH0coSZws70=; b=PUtFMlFlz8DF2Ab9lPrnApieFlNHxGn+ND/PGNiLnicPN2lb+QIoTUXjtyrsItHUsu/xVf 8ugSaHBCWYk9FikymQVE3wQVvsDmHFKbdkxWzQ7abDKgdO3j/w8kJX2NJnWt1JLuVJiFrN 2ZnB7CCETwQLYAcw/WIOHUR2aKXdylz6JxhcZ4yDX0rDTFUkkKeAIrxJ1hSbwuck+01Ph3 WSXMV66Rv3s/kx8TiEG2XfwgroYPMarAwsA/hmqtt9zYLxoLU66vJlz//7AKPfquwWgovG 5STvW0e4qbA1d8VNmkSWdncVzbn2a6ITdtB3BQm9PhapICG2kN0jtMNoW20hGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669768383; a=rsa-sha256; cv=none; b=OaVy2U+AiENxqHUJRJJYzRIAF5tDv22Dm27+DfGkEja07x9Y+glhn+I4+N5Zd6N1viTPaF YfBXEhC9yWAK9ItlVGBjBDxKPreLyjbRVsjVboyRhoLF5ENocrWvs8kGM5FYAcZqA6dtBB FA0ylflBhfCTaRO8aslAUcXK4NOT1URN79Q1pJhK1EMBpJhauQTXam56C428UIwOUhHM/V ioglujBNLIeWcPuhsrzqFWy13ahdVOYC7DNhIuQAiuW4Vhh9kx4GDnU5e9XPVEms+cosQs YwMBsThT8/b3r1c8ty5OTi5PGfwQHPRF1cV4Y+S73oPj1ANohxzbEzrvl0Ee5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=SV2p4dUH; dmarc=pass (policy=quarantine) header.from=me.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: -4.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=SV2p4dUH; dmarc=pass (policy=quarantine) header.from=me.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: 47A3A42700 X-Spam-Score: -4.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: Qxu5YZM6lEKI --=-=-= Content-Type: text/plain Ihor Radchenko writes: > Hmm. Maybe not displaying message at all? Agreed. Please, see the updated patch. Rudy --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-ob-core-Remove-the-confusing-result-silenced-message.patch >From 0c04ca6dec740a5aba7d1934a4d59578ea98ed4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Thu, 24 Nov 2022 22:10:29 +0100 Subject: [PATCH] ob-core: Remove the confusing "result silenced" message * lisp/ob-core.el (org-babel-execute-src-block): Do not say "silenced" after executing the source blocks with `:results none' to avoid confusion with `:results silent'. --- lisp/ob-core.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 5f679a5e9..7abe62022 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -849,8 +849,7 @@ guess will be made." (setq result (org-babel-ref-resolve post)) (when file (setq result-params (remove "file" result-params)))))) - (if (member "none" result-params) - (message "result silenced") + (unless (member "none" result-params) (org-babel-insert-result result result-params info new-hash lang (time-subtract (current-time) exec-start-time)))) -- 2.38.1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 "Programming reliably -- must be an activity of an undeniably mathematical nature [=E2=80=A6] You see, mathematics is about thinking, and doing mathematics is always trying to think as well as possible." -- Edsger W. Dijkstra, 1981 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia --=-=-=--