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 EDecKwskgGNbkQAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 03:10:19 +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 SCKXKwskgGMObQAA9RJhRA (envelope-from ) for ; Fri, 25 Nov 2022 03:10:19 +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 664391419E for ; Fri, 25 Nov 2022 03:10:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyOAC-0003KV-Bc; Thu, 24 Nov 2022 21:10:00 -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 1oyOAB-0003KN-8m for emacs-orgmode@gnu.org; Thu, 24 Nov 2022 21:09:59 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyOA1-0000av-IA for emacs-orgmode@gnu.org; Thu, 24 Nov 2022 21:09:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A00A5240101 for ; Fri, 25 Nov 2022 03:09:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669342187; bh=mS4p6NOZPDXUZ6En2OdVrbBeW7I8UpI2A1eiPTzioPY=; h=From:To:Cc:Subject:Date:From; b=RRNk+GYIxcAnhXjMtjk1XtDfnBFsdrepNWhcADMjbp3tNzdBfr6z7P56jCzYUBexK VhL7kqc+0nsFlq8llgxIFVWimQd4W/d6wKN3PMN2b9ZFjsGYHXtiBpJU+IKfx0Qem/ zt665fB1//LnWIE4eDL4gjx5KutXfadvHUgNdvHcjQVgXPO3cY4Yhsu/yRR83AOiJ7 btSNuGzKm+Knq1ZV5I8pf3N1SLJr/iRFyIDN5L/QNclwjWq0a6wa4k300Jv4jTdSaL Wf8QpnDHD4XkJ5lfEHLw3a8CTjNvcu3Ytnh8akvf0efTBvJwVxjGhukwg0OAod/JcF PPPpEkwdB0r1A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NJJGH718Dz9rxL; Fri, 25 Nov 2022 03:09:43 +0100 (CET) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: Fix the confusing "result silenced" message In-Reply-To: References: Date: Fri, 25 Nov 2022 02:10:24 +0000 Message-ID: <875yf3bx7z.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, 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=1669342219; 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: 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=1TxIbodYMV0RFWev4TbreUnp9Aq1P3qUHXMrHgU4lvs=; b=Ku3Wx6PG1Tkny145MP9SZ2SACqYqwPNy9DtiuItZJI92p3SBHgUBSRGDSx4TLdX0JFMm4l Jj9Yx7JCKpQv95GhUcRWpsJUTo02FV0FvNf6SB/KtkRvhLqAvthoZGHiNg1mB/UYWppED8 7M12rxjDwMobmjmREM+DJM8bGTUi+s95mekbpufKW/wQFiKiuUAGXhzP8H3Mvl490EVScQ 4bsB/TIm12WgX5blDh56mCJ+a8eYro/sJReteeH7t50i0+Uq6B47KW16t4GqzSGnBB6BEA Wqw4rVvBGhux5Rj5xOBzyOiokRAq4lR/Dw4fTvGf1mdr1Di2zC/Ry3frEIOr+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669342219; a=rsa-sha256; cv=none; b=YCXyxgHsVa6qMsC8H2ecfZjl5NeHx0qAKbAZqSTDm5XpdPFXuR7OYAnqUHbEAb/73gGLy3 xGvRuUwuxk1Mp1B/OhsXip6qv93/8kSHIvYt4Rhl21fAnwTCIAxIXfzLHdwd7MPwWKnkVD MZvW8Z0XF6W349lqzLQu93sJiN3S5JxVOXQrUl1tWHGUOFx7UbGtWvzji1R9hQOByxNLpV 00w4aS0bbfXWzIXwbkvh51+aBvTcaass/uNnTk79qPi8A41H4NCWpddbPZQTQx00CkEJEC 34FCgSNZraZ9HiOHjXCQHfBVOnoP4uz/GE3GMYCoOOqKVN0NWdlu4YwnD1Tkrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RRNk+GYI; 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: -6.30 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RRNk+GYI; 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: 664391419E X-Spam-Score: -6.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: VmHGdUqzY9iL Rudolf Adamkovi=C4=8D writes: > Hello smart folks! > > With Org Babel, the user can make the results silent, or *silence* them, > with the `:results silent' header argument. However, Org says "result > silenced" after executing source blocks with the `:results none' header > argument. Every time I see that message, I have a "Wait, what?" moment. > The patch attached below fixes this incredibly confusing message. > ... > (if (member "none" result-params) > - (message "result silenced") > + (message "Result discarded") :results none are not discarded. Just not inserted and not displayed. Otherwise, they can still be used, for example, during noweb expansion. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at