From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AJHpJWykWWGmhwAAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 14:39:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6CmBIWykWWH5AwAA1q6Kng (envelope-from ) for ; Sun, 03 Oct 2021 12:39:08 +0000 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 28D32E0B5 for ; Sun, 3 Oct 2021 14:39:08 +0200 (CEST) Received: from localhost ([::1]:59770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mX0ln-0002m8-Ba for larch@yhetil.org; Sun, 03 Oct 2021 08:39:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX0l7-0002kj-L1 for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 08:38:25 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:36406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mX0l5-0006dZ-4p for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 08:38:25 -0400 Received: by mail-pj1-x1030.google.com with SMTP id qe4-20020a17090b4f8400b0019f663cfcd1so6257349pjb.1 for ; Sun, 03 Oct 2021 05:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=NJA9bkGqMPdcsNwFwjfCpriN3e3ByMTe0U6j7cFWoeg=; b=MFKh949n2GihyU+0VuBPJJg+qvVYTBgoEVK4uJ5Jp9upTcqOKvwNYHemJIg659bqa1 P1PX62WagOc4UI6OnDDDMB+FQvud+YsP1MKtMHJL1vgBmquiU28/a+FuRRYHon33lZhp Gtcs5caJRlDLRwy2a7mTl8Ft5294MRvnnt2GAH3Jta+NczU8dOGYkJ4GCUJ/Km9c6JQI Ykiy6P3TeWQtHW8DMf5EgD0Iet0INoqg9JuYmwKB2c6lX42R8ssX3QTMuDnkOfn3tFhe kAqPOsp8xeA8tf8asMplis7vJs2zR27ojxfD8fe5mwwBrKkqG/Uu9r2JP9Ooxwz+iyIg EFew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=NJA9bkGqMPdcsNwFwjfCpriN3e3ByMTe0U6j7cFWoeg=; b=J7FwfZ8tIkBj+50lWeJSE2Gt0PdBLmVQLqBq7g6wqbVysio5W5MrpSVsKgKJrx7SC1 neMLo9Qga5OdITtPiDVLPQs43tI2QbUStlBpuA/zhUTsnvYC84SQ5O6qFv1Xhkb2H2MV jG7ZeVkntv3zCM+6C1/5SaI/JYUqqOpiNsoBODLsWvLfK8XyGpfTcPCvWO++JZZkTB51 sYUfaaUyN7c3YPBraxshkxdtmgX9OFnALrqo7/ebe9Q+xibf6x/M8pibM//Kh5mLjcuJ YkHHSIawgMCq7xagDUoTWUdPgdN27K0dLFhxj0gp55go1BSP3a1ivO/xY5pvEqPNnxDl E0vw== X-Gm-Message-State: AOAM532APpHHGrtAAFz9iCB0Yu/8X+pN5SkKMhuHTfUkstxdrceLKqJS rdoAgVar0IyYq4RSUcQGS6c0eXq81ZlgE0UV X-Google-Smtp-Source: ABdhPJzO+QFkzyNLLCQmgiHG/30ER0wjHKy3MIa4cndymcwjYdHcdlqATyQ6Y6hazV2ln+GPkhoXkg== X-Received: by 2002:a17:90b:4a51:: with SMTP id lb17mr4165265pjb.41.1633264699865; Sun, 03 Oct 2021 05:38:19 -0700 (PDT) Received: from localhost (61-219-114-7.hinet-ip.hinet.net. [61.219.114.7]) by smtp.gmail.com with ESMTPSA id w128sm4886722pff.48.2021.10.03.05.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 05:38:19 -0700 (PDT) From: Ihor Radchenko To: Kodi Arfer Subject: Re: How is the return value of `org-babel-execute:FOO` interpreted? In-Reply-To: <871r52e1v9.fsf@localhost> References: <801012e5-9500-d5b8-b772-4a2df92f200e@arfer.net> <87bl46e9dp.fsf@localhost> <871r52e1v9.fsf@localhost> Date: Sun, 03 Oct 2021 20:39:37 +0800 Message-ID: <87v92ecmeu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633264748; 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=NJA9bkGqMPdcsNwFwjfCpriN3e3ByMTe0U6j7cFWoeg=; b=YEjCzkeaiWUA+6Di+Munu7Up4wxKPRPsj9UPu0wHyKoq8HsJ6nWEidTlDkNJjQt/XsHfoz 6u3t7JKQANGiynLbZLRv06nFH1JjdroH/hxmVA7QsxrpQiZ26RmfkUY9JUw8mZL0NQQIP1 8KFvgL8vEZGW6IUoPuTQIbdmm5GFHposvkwQxl2WNrM4OEV6B2IVJ92LfJXjOUiuxbO75c z+5STcxOa9TlxOGeUSwJJplvaikhF+gT9HTsay5c+dGFtwGQmAtulYIJprRFqqIi7SSdZv wN4ZjcJ/7p5PFc2CzRHlr+lQRfmvtnLFGQvVwvAQ7Sn0QsqTaHsWXCQn2rZgEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633264748; a=rsa-sha256; cv=none; b=DQhhW/gL/YCwAzc1B89QpoPK/g5SUAcWhH6gexNQJy924XJ1KEHgH4srMPi7/ac7ngu43L O7tArjali1aiqtln8yg6e3bgJ9cFOEDK3mBPcRCstqdazcRQR2+0P4N/3NTCYThx8PbLWI bwZ4rcWTZu4mvN3nsIZqRDOo/CWsRVMva6jJhhUyuzRdCPqIXMjFc4RV3CHDu820eqpkKw uV5IAN5H1cqztBbJCjdCBwd6y+jvy1JIFKfIKVeFNjZ2Gl6mTJctKxOP+R89fuOy+A3KzS svGffbmEN51S3XrLBH4SbKi+0F3tRXt2y03X+fVt5nzWzCy8ik2ddlJ75SX4vA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MFKh949n; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MFKh949n; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 28D32E0B5 X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: cBica+Cycn6r Ihor Radchenko writes: > Kodi Arfer writes: > >>> Are you sure that you have :file parameter in the source block you tried >>> to execute? >> >> Yes, this is my code block: >> >> #+begin_src hy :file g/foo.png >> (plt.scatter [1 2 3] [4 5 -9]) >> #+end_src > > What about > > #+begin_src hy :results file :file g/foo.png > (plt.scatter [1 2 3] [4 5 -9]) > #+end_src > > ? If this code works for you, the problem is the folloing incompatible change in Org 9.3 (see etc/ORG-NEWS file in the repo): * Version 9.3 ** Incompatible changes *** ~:file~ header argument no longer assume "file" ~:results~ The "file" ~:results~ value is now mandatory for a code block returning a link to a file. The ~:file~ or ~:file-ext~ header arguments no longer imply a "file" result is expected. Best, Ihor