From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iGnAKrXtz2EReQEAgWs5BA (envelope-from ) for ; Sat, 01 Jan 2022 06:59:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aNAcKLXtz2H9AgAA9RJhRA (envelope-from ) for ; Sat, 01 Jan 2022 06:59:17 +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 6A8CF10F52 for ; Sat, 1 Jan 2022 06:59:17 +0100 (CET) Received: from localhost ([::1]:54972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3XQC-0005jf-3v for larch@yhetil.org; Sat, 01 Jan 2022 00:59:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3XOU-0005hN-4a for emacs-orgmode@gnu.org; Sat, 01 Jan 2022 00:57:32 -0500 Received: from [2607:f8b0:4864:20::62c] (port=35577 helo=mail-pl1-x62c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3XOP-0008Cz-CE for emacs-orgmode@gnu.org; Sat, 01 Jan 2022 00:57:28 -0500 Received: by mail-pl1-x62c.google.com with SMTP id n16so21438019plc.2 for ; Fri, 31 Dec 2021 21:57:22 -0800 (PST) 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:content-transfer-encoding; bh=Adce74MJleexQufJPCGavaWC3w5QtAjImT0U7tcXc30=; b=YQPI/iFWlmlRY/CYxmYBN9TVjC7RWs7ErjEaeoB7gk+LRjP7no6iy/YrN8e1zhaXVv w4sfpFdrVlN7cMc26N/ri8luJqz2cqnyzg13l1AIo4ihithdvTDg6WoAVZpIiOhav7a9 bMkDB+jh+KT56efKnqIxa0GQFXcx1eBSs44EOHGFMWxbIlcxcfOFAFxp6XkSTGamzJXu Eok27qKee8qdnKKkwf7ro8zBdJpL2y1zzIA18/TVhw1xiYxDNaO20i4hyUh+oUYuwJkx SU8VIJdt19TdCsiAoz+gEoxOfAfDtD7vwSZTD/GhDL1WKtQDlCOglOIkwAtd5v+ddjbK zrvw== 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:content-transfer-encoding; bh=Adce74MJleexQufJPCGavaWC3w5QtAjImT0U7tcXc30=; b=WvAGEdxBJHC6FASLSE2wfJkXYRaQ/e5yJ68vsuDIoHK8asXmuSAFQtyxZNo/WuhZOs QIZ3Xl0CYhQoDV+hJb9lOHeAThyvCGJsNTajKriVd/vR7XKgJN3L0LBCJF3vmtZzTkwf LCU63w58uIbx0sAJFdBx8eUOSA9g4PoDXqcw/sg7+S0rfNasl92evqCr9nbZVB3nb37P Z7OP8elNsIkH4zcloQPvjaO1EiEdyE0u7ewnBkviQIBbHxyR/2pqpqTetQDIy95uWjQH 4UPrZfJCvdGjgwb64cyeA3nKETffI+GDWo7miFwy/KnoqA/4qfokhKVFdw0QwdS2yW6s OwlQ== X-Gm-Message-State: AOAM53306mPIZ2WCOglEkSFvjUbwhaocZdVGNBw6BZkeRBYPjebB2Ysu nCh6CPz8PiH7Cin3iZSOx0w= X-Google-Smtp-Source: ABdhPJwwhE+jxjIcLlsqFx9WTYECwBUslGftEq/iK5/r+ajPht2gf2wxImDKRITda1N+SHLBtcSZlg== X-Received: by 2002:a17:90a:ead6:: with SMTP id ev22mr31633926pjb.83.1641016641551; Fri, 31 Dec 2021 21:57:21 -0800 (PST) Received: from localhost (157-131-79-88.fiber.dynamic.sonic.net. [157.131.79.88]) by smtp.gmail.com with ESMTPSA id s24sm30648007pfm.100.2021.12.31.21.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Dec 2021 21:57:20 -0800 (PST) From: Jack Kamm To: "Christopher M. Miles" Subject: Re: [BUG] ob-python :results value pp does not working In-Reply-To: References: <87czleyq4h.fsf@gmail.com> Date: Fri, 31 Dec 2021 21:57:19 -0800 Message-ID: <87y240hubk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=jackkamm@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) 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_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1641016757; 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=Adce74MJleexQufJPCGavaWC3w5QtAjImT0U7tcXc30=; b=Kbyex9urufvqcqVR06sISWmaVVgS6ZIN1GQm+0HtQmRsUSrPcSYlK7s7+/gF6m8a2Noj1Y H/weLAsluQwsHm3arVVuLzGpeHHB+lKOe+BVrRIOzMdMo2K/GMU+6mvEMGFsmcbAVyNDGh 4Agt2E1z7Zb5m+cggyKf2UumbnE58x5UJL/+PqRgrBiETQIZwXlZJLEIKjv330ss5lJrmK WPvjakFJHmUy6Iqi4gb/9H5ooGKwtAPaIjpXQc2c/nSQkxvUvjT5heLbt/kv7y7VseLTDA +UKaL8qhDl7lb7XE0p543gRLqN3yvBeUiZfQzALB5r0Kaw15W5q42/icu3vLVA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641016757; a=rsa-sha256; cv=none; b=BWuivW/hcCwc7INBWNIjkZwpi0MAevYcwWUnr6VIQJgtOBK/0uak9U4iB4OcvWnr+POwj7 ZWwmUusUeVzmOAfAR5HURSOZST/sj/IY5QGTg1NfGe6G45uLOe+dZncdq0YVoXqAkO3/dO 6niwicCxC+fahs0AatMS9yKMkyoGqM4ZlupQOFBlosucJLqattc3x1f0+piPVSc5H8kFCm dUXRZ8/qMKN3TowHVv1/tyRNhDhq1LhbKFBzRiN91vaAFl/DaGutttnOSROuwtfyrqKUPn DfJwViIPJj41BJExmCnfdjeTlgcyinkLtkqrh0I2JMzD1TXECRWpbXMe4a+LQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="YQPI/iFW"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="YQPI/iFW"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6A8CF10F52 X-Spam-Score: -1.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: VKSV0KihA8US Hi Christopher, > This might need to mentioned in Org manual and in ob-python.el source > code with comment. WDYT? The main documentation for this is in the Worg page for ob-python, in particular see the section "Return values": https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-python.html I think that is the appropriate place to put this sort of documentation (i.e. usage of specific babel languages). However, the clarity of this documentation could be improved; contributions on that would be very welcome. In addition, this is also mentioned in the Org manual on return values in Org babel, "Results of Evaluation": For languages like Python, an explicit =E2=80=98return=E2=80=99 stateme= nt is mandatory when using =E2=80=98:results value=E2=80=99.