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 6KD/IQOvz2K2PwAAbAwnHQ (envelope-from ) for ; Thu, 14 Jul 2022 07:52:03 +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 GJbBIQOvz2L51gAAauVa8A (envelope-from ) for ; Thu, 14 Jul 2022 07:52:03 +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 DD8192C98A for ; Thu, 14 Jul 2022 07:52:02 +0200 (CEST) Received: from localhost ([::1]:35740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBrlY-0006wY-U3 for larch@yhetil.org; Thu, 14 Jul 2022 01:52:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBrgs-0006tn-Nx for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 01:47:14 -0400 Received: from mr85p00im-ztdg06021701.me.com ([17.58.23.196]:53704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBrgr-0006B3-92 for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 01:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1657777626; bh=kfouT49b9tsPW9P4GD4WJusMhk/fGkjsX/ZzHaHFLEc=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FuwbnByDEhAJS2LSrz1ghxZDVQOUvGsOG/rZVtWE89fsGUJMXqWdsDBMNTeNkfS0o EoUjGHaDS0U5LyScokw97PXDPfBog1LZACsBxI//i4LAns6AoS0RFX/jkqF2Rhf2kc GXBtCSgNJA3Vi9+FzDsgd5O3APRSFOhQIFVFAui22iBhL756jGhyHgMZrBZ0Eealy6 +RCh3A6Se+GKmhAOOoc8TMRU67GO2IoE+qdjtb7wsfB+8ruN0VXpCZk8h3spaqN50x omhvmrs7VVX/LWaUOR1DghcxqwWroE1bKenVK4CTkKHgL1v7JOcy9xTqPWvo9uNOMe iCYIDnxC+VNUg== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06021701.me.com (Postfix) with ESMTPSA id 9E05A9A02E5; Thu, 14 Jul 2022 05:47:05 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: "Fraga, Eric" , "Alain.Cochard@unistra.fr" Cc: Org Mode List Subject: Re: Confused about source code blocks evaluation when exporting In-Reply-To: <87o7xuh19q.fsf@ucl.ac.uk> References: <25293.28342.763993.795868@gargle.gargle.HOWL> <87o7xuh19q.fsf@ucl.ac.uk> Date: Thu, 14 Jul 2022 07:47:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: GQXuKahlZlTqpQRo-JT_9Qd3dxVHSDzs X-Proofpoint-GUID: GQXuKahlZlTqpQRo-JT_9Qd3dxVHSDzs 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 spamscore=0 adultscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1011 malwarescore=0 bulkscore=0 mlxlogscore=956 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2207140023 Received-SPF: pass client-ip=17.58.23.196; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06021701.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, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657777923; 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=kfouT49b9tsPW9P4GD4WJusMhk/fGkjsX/ZzHaHFLEc=; b=OMRxaAuDCkLgU+hyyqTo62KrzcqMhi78HdxLyBaOAWaoNRa1xfX8LjRqZz0vtlxtk0jfge m+V7mkYxFTRwBpxu85n7QEVe7ghY1UrZLWkBDWBbcwFIrKbZMmrduEYpWp0sgSG7bA8j2d 96zhxJf5EeunRWyN3MfTNtBwInqj7HlJO2vkHgKD45FJOI2aJpCRJWqCDSTNBEbQNHHPh5 PPdRNYXAjg5GNvHPQQ2SIBq6+HC8qxGSsgA+YszBK4ft2LhzZd12y5Fd2L7xgCP2+GPa69 9KMaryVFST2qnXBZMQDleJlG9VLkPcQPA0Md0WXUdYj4iTfpOGAXC+UTaWFQ4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657777923; a=rsa-sha256; cv=none; b=jDhpfAyHh6Lbr7DbklVn7iILQ7T9V8Qjw0ZMRjSElWESZesC/dV5q2MQmQcwysIIZBy1Kx YfvQF2nISwGjd6y4ODSmsaGOXLCS6QZUw38W1DrLythjeaqp+I8ePTTZLlJ50Z07I9K3Mw 6bu1jU9eXqG97oaYNGCsMdISVShQ3GNhIyOr0zkJ6+3dcmezl6EV7aioNUQ6ddRSbg30xI mXrP25XZZCg+jmMzBSIiJVrfED5cLp780Y9XyRl8+YsJ4jAW+sBIWKFbdf3/q9zMmxZorR 1LVAOf/EhFqxw+Cwo8xnTvRapFGTypR6jLqraGDROYpquwSK6nSprLzXX8CX9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=FuwbnByD; 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.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=FuwbnByD; 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: DD8192C98A X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5wg4jaq0nubv "Fraga, Eric" writes: > By default, the results of a src block evaluation is the value of the > src block which is typically the value returned by the last statement. The value of the last expression, not the last statement. Rudy --=20 "Strange as it may sound, the power of mathematics rests on its evasion of all unnecessary thought and on its wonderful saving of mental operations." -- Ernst Mach, 1838-1916 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia