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 2JOcFaOlhmN/sQAAbAwnHQ (envelope-from ) for ; Wed, 30 Nov 2022 01:36:51 +0100 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 EHVvFaOlhmNoyQAAauVa8A (envelope-from ) for ; Wed, 30 Nov 2022 01:36:51 +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 2D87310FC for ; Wed, 30 Nov 2022 01:36:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0B59-0006xy-Ia; Tue, 29 Nov 2022 19:36:11 -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 1p0B57-0006xa-H4 for emacs-orgmode@gnu.org; Tue, 29 Nov 2022 19:36:09 -0500 Received: from mr85p00im-zteg06011601.me.com ([17.58.23.186]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0B55-0001JS-QY for emacs-orgmode@gnu.org; Tue, 29 Nov 2022 19:36:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1669768566; bh=Ch/nvCGhiftXndYypTKbf4HG1qb8bKuUINMGgDh0dtc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=F25lXQKhS17VYAKLxK1+WAoRru2VUU06Ie+3DgH9gA+ZlsnZOpqo+UxBjuMS+muGG NhLNnQbNHbFGn6niPBy+6dNxkV38V1X2rWXT+Nqs/qhAYyJmnOjVf7nnAO+uX+hO4M k9V0JX1VXg6Ibjn9v08/omhPbaCgk0gFR5k/2ZaJKv0lq6/MZ9yTlDC6gvaTtDEF3N y5cfSw3ZUU2GUrRlTvfYDcgt7SawuAzqRYubNpXSfbeWezyaM8s2Fro7NYyrXOiGol l433N5+rDO3d8sVvh0KwNeqys80/GKsXZhFs100l2/GaZ8VmmEugOvlPxkzTqdeGU+ aj1Erv8wxVJcw== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06011601.me.com (Postfix) with ESMTPSA id 8737E180CC7; Wed, 30 Nov 2022 00:36:05 +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: References: <875yf3bx7z.fsf@localhost> <87wn7ilatq.fsf@localhost> Date: Wed, 30 Nov 2022 01:36:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Proofpoint-ORIG-GUID: KM_XQjDP0MfN1MlqbOOu6bVb9OE5au__ X-Proofpoint-GUID: KM_XQjDP0MfN1MlqbOOu6bVb9OE5au__ 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.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 mlxscore=0 adultscore=0 clxscore=1015 spamscore=0 malwarescore=0 mlxlogscore=826 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2211300002 Received-SPF: pass client-ip=17.58.23.186; envelope-from=salutis@me.com; helo=mr85p00im-zteg06011601.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, 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=1669768611; 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=Ch/nvCGhiftXndYypTKbf4HG1qb8bKuUINMGgDh0dtc=; b=DHz3+q6Et5aGYXV95kTWzNK+rrRS56rsG/NtZGXudgi7aSq31nEVO+pqOJCydhPnXyagQ7 R14KTfT/lnGDywEKSEZ/wU1fkSa/hjdl61eeUYCFnmyoZG60qkVVIdADWd8SD3ga1JN6QJ QSqOVU4yzbfKnX9PcIbpyry41WBHWWNB0sOEsz5oGTkz5xjzVWul++2k2+J54UlYpy/ITQ GrL++L7CZU+uFdSCNAJ0a7/b4/VobvjZpefwlV20h0gQF6ZANr1NZMTNBWo990/YbsRVuS WdNsHRKxOaRFsNHjElSBuZiBN4Ywz7Y7+fPw2uJaqgBBth/c+oWxjt5oWWJhgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669768611; a=rsa-sha256; cv=none; b=MD07H/ooDnU0bsfyvMwX77Zu9P2JEpHFtl9YRqnZiWbaiLMo3dOrST/R8nlUlhqnCmlqMa GxCGg+oKC9JJCXuUHYCZw/ykVlVg/ijTvufLsKC7h/p3rBq1D9WgFKMAHiLH1iOoYGDV4F RZd9T80s3Y4FuzhoCLRp7LB8cAoBFkC1fcfK6ZBQj39UKQjssrk/4SN1Tmj8wOXcKMqd8y HgI7mTN43+n9OcImEYwODaoYkN/9H7s1O0/HKS7W53IKpRph0lgdWYpqMLt3l+DrZ7dKkz Araitz8bVICYFY5KXvYXczcqT7oHTE9luPVWH4dupECsRHXnJOFNy0+ytP2GUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=F25lXQKh; 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=F25lXQKh; 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: 2D87310FC X-Spam-Score: -4.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: WtbJ28aY37OT --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rudolf Adamkovi=C4=8D writes: > Agreed. Please, see the updated patch. Oops, I dropped an important word in the commit message. Please see the third version of patch below. Rudy --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-ob-core-Remove-the-confusing-result-silenced-message.patch >From c3896ead3e46d705bc4fbee143df87016fe70389 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 "result 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 --=-=-=--