From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 GLWcDrZh0GFg+QAAgWs5BA (envelope-from ) for ; Sat, 01 Jan 2022 15:14:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cNczB7Zh0GF4hgEAG6o9tA (envelope-from ) for ; Sat, 01 Jan 2022 15:14:14 +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 8D4901A723 for ; Sat, 1 Jan 2022 15:14:13 +0100 (CET) Received: from localhost ([::1]:34816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3f9A-0005rK-Lm for larch@yhetil.org; Sat, 01 Jan 2022 09:14:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3f8H-0005Ja-Rb for emacs-orgmode@gnu.org; Sat, 01 Jan 2022 09:13:17 -0500 Received: from mail-am6eur05olkn2043.outbound.protection.outlook.com ([40.92.91.43]:26209 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3f8F-0005j1-NN for emacs-orgmode@gnu.org; Sat, 01 Jan 2022 09:13:17 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O6BxnTg/5hwjPAZSk+e3GUN4j7jbaarzzIrLa0mcUXbyaZBZWQ30BGgzOYplidaTsjaig+KnwW06v2QyNukM36oUapjcUkYZaCqYyaIs3j7ImKwO2UuS6Jt3u/83dnPRjy7ZU/8AJ44ge7/KycTAGjwEwvSHrPLenPAfnEFt0kUEj13KJUzU4saH4s89iSlarCSQsXvzgPGHRtwQGlFk/WwJM9/ngSclUpSOojIHkCK0pywnDvKOcbRv0vrnFNTFPqiUBllcy2JeS+aYw9WJPY+v10KgHjdi0Ngy8RIR/Bo7beut0IxLb33nntJYMGY3m4pv5r2uAsk0OFyHof23Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QbpvixSJPgT9y9vIR5wMFDSVPF0O811rZD4w6vs2dAM=; b=HWLgKATvDjt3MGQMmDwSmOvReGDsEW7OyS0XlpEaB18zFWZ1f87BGzyzn/8eFvh90TgxaOymFhod2m4P7kS5K2BmIEhUcxtSgrmeDtBlkstcOF4GBObApwvE1TeTVATc5bcpZioKZ9vDl0IK3jAAgmD0SRf8BgDSTh3UmTvK9RC/Lg8HvvKi0HEtJCXTPkryCEyv3HZVg70bcdeSn93PD4KMSOG/tEdAWLrERXOh8wsQEL3PpctsBHc0xh+rIgW3ZJO1FDs7jrLxrD5SXEwxDkKVcTDG/reQnEtuufvYkbeBo4koN1yTVLWgHmYEp5nnmnmTIuMj/A0f2lJS8IJUCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QbpvixSJPgT9y9vIR5wMFDSVPF0O811rZD4w6vs2dAM=; b=fWZkvD/9akfzMdrf9Yk1Dh4hAFSbiuXk7cm0XTp7nbjq01LWp8lWMYmfFY3eEsQRsEXMqORhqutEs3gpqT9f88Y1WFFyuUPp1aNc+2k8afzTS9cLwPHjoiH+n8PhIajC2KTsBtimq5JiwSIErJ5R+VnboLpXMl6N7ndUVhSB0Y9hDSrw/IbQbCRckpcafKpaSljYMUqE7EPP2i5jOehFdfwgco8nEJUggbpQrk/m+8ZNdofvUxftkg+Kj1hfRneQDt2aqpPbISwJEsVd9KiGL3VUrEDoSQsYT0cn4qkxNMqcvqjye2b7663cPlWVa2onrkTLgZex6EGU6gxhJ1wotA== Received: from PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) by PR2PR08MB4826.eurprd08.prod.outlook.com (2603:10a6:101:24::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.21; Sat, 1 Jan 2022 13:52:42 +0000 Received: from PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::30ca:c8bc:8796:adbd]) by PAXPR08MB6640.eurprd08.prod.outlook.com ([fe80::30ca:c8bc:8796:adbd%4]) with mapi id 15.20.4844.015; Sat, 1 Jan 2022 13:52:42 +0000 References: <87czleyq4h.fsf@gmail.com> <87y240hubk.fsf@gmail.com> User-agent: mu4e 1.7.0; emacs 29.0.50 From: "Christopher M. Miles" To: Jack Kamm Subject: [SOLVED] Re: [BUG] ob-python :results value pp does not working Date: Sat, 01 Jan 2022 21:52:10 +0800 In-reply-to: <87y240hubk.fsf@gmail.com> Message-ID: Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-TMN: [TK/VRVBbVU9rkMWeNlpEpwUhx+DhQ4H0] X-ClientProxiedBy: HK2PR02CA0155.apcprd02.prod.outlook.com (2603:1096:201:1f::15) To PAXPR08MB6640.eurprd08.prod.outlook.com (2603:10a6:102:dd::5) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3714d58-d832-46b5-b9c7-08d9cd2dfb16 X-MS-TrafficTypeDiagnostic: PR2PR08MB4826:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TP5Tbi1navF9tYYa2pGs/YYuF4otEvj13tnL3SZ2qOZCPSQYDwJbNo/oOtm9EuPd539K0fddodd2f5DVtz1flJNXqGvYUkSpRkfSUqf8fGfjj/3Ye2IlbzzTVPUgqgyyberihP0ki8GI7hbiaJoO3xiFrM8buD9D8l9R0+wLlu7cOX4MDv/nkIx3NMlmxLarWSuYzlspLNEmPnxUF1EVSmeUYPOB4DDE62mLgb9OQQOeayQoJctAnKA9EAeUkyV6xfSkenithH9kMEHP9jqIYchpdLNBIYavr557H7BXekfXM7nZIzIpLvvx94OAX5g6vfsKs+fgyTM0YJGK+MnrMP9iLttj331piSNU605DfIsQ6p0LNiezwmKcyTDxmCW7H8/rUcnxY1B7pAlGVLlJngIeLj+ptu1ua4NUnlgEy0UuaHonfBpFqCFGnUxuyYEIFJmnDcu72/c48UYMECcpT4xTkIXDCbnbEt0GeyVyAa4lkt1uyIWUwJq6KCCT6WndmxuTrVB4NKUhNl/sJ/eaInVfL4dQdZZdjYCFzLc8bTXyKOGmV6uQXq7bIsw2ldquBkJ1VwtXYHlqaw0Kk1JEX4uauR5Y7R1JFN/uk6JYIMy16oc9YAcK7Y0+OWBM6GfbEeh5+KIQNbxri+3xW4V483tuXFs7v5uNqCog6cfSxw4= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c2lPZGh6aFNUNHRQdWt4U3EwUjllMTNmejRicHpXUGVqQTduTEcyejdSZjk2?= =?utf-8?B?SDRwbVpQTGROSjNPU1IrczNrL0R4YVczc0ZCSWlhZlhnS09YZkVBNDVXMVhE?= =?utf-8?B?bmdsR2MwTkNONWtpRWRDWU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TmxtUVB0dFRFWFZ6RU5ZampYMy9VWTJDNWU4WEhpYzlNbm9TUllW?= =?utf-8?B?djdnM1piT3lhNFRZMFpXM2hndXJWV1hxSW9XYTBSQmY3ejVNdms0SWpkRE5x?= =?utf-8?B?Ti9QQ3V6ckZPUzFIVisrUTlxL1Q2ZXRUSkNoZzhoNnRTcEd3cjljNWIxYkQ5?= =?utf-8?B?ZXZyR0c4SE1mSGU0Sll3UkNVQ1VJaVFWbUwyKzVRWkRucUc2U01vOCtIYnJN?= =?utf-8?B?aHpBTFhTRUYvMDhvSlRvSkU5bmlYN3dTVTkvL0Ziam9McDZHZz09?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3714d58-d832-46b5-b9c7-08d9cd2dfb16 X-MS-Exchange-CrossTenant-AuthSource: PAXPR08MB6640.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jan 2022 13:52:42.6487 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4826 Received-SPF: pass client-ip=40.92.91.43; envelope-from=stardiviner@outlook.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.3 / 5.0 requ) DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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: , Reply-To: numbchild@gmail.com 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641046453; h=from:from:sender:sender:reply-to: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=QbpvixSJPgT9y9vIR5wMFDSVPF0O811rZD4w6vs2dAM=; b=A35Inlv39GGfI+V7bUe/8sVdx+n1dDjrB59zXHI2rU/5AiaQlRXgKkZCa/llgbteMg3nrd ObOZio1vFHT6EK7diybtUMiXNlQBXd8cG+Y5yvXqrzTKaXLBwyYeIPJQpsGbEomXxo/RfT Sl5u8GD3qSy7DCFNDtObaLRpvbfZqhG2uKQi3l4Y6/yuIbDxmf/7NCQ3HnTGu9+OVHIkBL 31co53Hfxwl+ykjuFEmd+1Fguh7XDpAQe+sEbRw1gqzbM6VWjt5JyaOUTOtvnscVnBVhzD mm9ZSPbZMgnDmZNtBII1ZDjRLw5HT3eIiUr2BdCwXcuJZCrisQacnAo9jKgfwA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1641046453; a=rsa-sha256; cv=pass; b=ZKJo0RIF2TancT9rLoP9Fdx1cisTc1kV7bEVPSffU8/SiC76OZFh5kyoF5VjThZ6Y2WInT pdqr8nXJpxguOId68q1RscO8F7A8r007B1K9c94wdszH0e39+Ptn5okA5AjSfRDZJjp0tX /rc0oWHgfnqC6SWGi0W1WNDfuk7dQQYuOqpUuZ9lP7whm8qRiEQAQfqXSI1SdZ9DKX8uWu BkOmb0IZ5MlnyXlzXNQqm8YT9K3Kmj21li1tn/5IytUxW747JsGLfKY+7xJxD6wV8S5FdY k7nbTQY5Vz8oacMZ3NpBfjK+tE80+ZYhgCorGFLJW3OdoHQh4iLHGVPv7kwMIg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b="fWZkvD/9"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM 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: -6.78 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b="fWZkvD/9"; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM 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: 8D4901A723 X-Spam-Score: -6.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: s4deDNdPOYr8 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jack Kamm writes: > 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 state= ment is > mandatory when using =E2=80=98:results value=E2=80=99. I see, thanks. problem solved. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmHQXJ4ACgkQG13xyVro msP5bAgAkJGlWAEoGs2HtvbjcwCBmEf6ucPvwpmsSaiQzjKkzWeQnzqcHjb8WCoN T2sSg7XmI8DUDtc5bF9XUkUSOs+ZJjvKAjCsJTqdEMvzZcxdaZC8R5NJy6ISHVg7 23lMb4IMDeVH2aCYp2DuPZAxKdbpnewOQPOaXG/zoqVVzE77UkuxTcfTe4HDDxFg F9DMjFfoXMx/VdA+wyjYBkiGXSKuzfxGqF3tun/nO5+63aGybbmlA5cDOO2voC3+ 6xzWliLDoULuvFPxUgu0WGYo398jgb7gMSZB0EkU1tXoqFHayQYMG8CXU8bNj1G/ 28W5uCzL1hWSbFLZEf7C9/S5kj4KkQ== =rC33 -----END PGP SIGNATURE----- --=-=-=--