From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iEYpF/JTbGZeXAAAe85BDQ:P1 (envelope-from ) for ; Fri, 14 Jun 2024 14:30:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iEYpF/JTbGZeXAAAe85BDQ (envelope-from ) for ; Fri, 14 Jun 2024 16:30:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718375410; 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; bh=Wkv9VRiNumxaybSHSNcc1TwqgRD54/Pbb+JjHnjx/JM=; b=ruRtlSlYac6Z9z4p6JK10raoPGYGHboLvbnO11cGv+4fWSgIq3QZ7fHPtLGwj1WVKdGYgu GCFV2JsIWo/ZZZdAID/yGxbgOHOBCujYppotJubX/6lEpW8QuvDKRGw+4qwf3oc9mD42us DMDwM7PdlzOEWFfHCTqsT+sABd46ufte+lykF8lrNtQJQnSb5tJjnL37goGhxNl77J0Ddb gklqWNfoUEBJsKLbt1o/lbMfdKrep7QuGtNCDVLUtNYnUEUhiYeaclTIpC0h/SLmgs/uLk uu8qZgJO/7xpBUKvs8LcrnfHHttH8GJSBmtcBLL0M+V+6uvyQUbb1oXc9uoP0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718375410; a=rsa-sha256; cv=none; b=m1UmsH8odsTlwz2qM8i65azK4r0Pvu8WvGAjUqQv09Gg3jsCBSddNEI8cY97jAJ7KeyWj/ LYrQSI8kGO1tWcMDJF4u4eQBa6riIb7xOU+v5m4J+GEZyat+ju2rEnSaywL7tqk5IP3Ixm fZy4940fY+3eOEBB/vSeJvtBwn/NHq7msJaa721nh/0pSsf41SXgLGdgXu/L8lvZakYEkH dCKn35chssJaDqr6w7Q93mWupuqjxsx4E6zzbCdiskz+rSQIdhefWy0JGBPPvjw08X6l9E bSuu/lVTsMK7Mj5vXO02VAB4zEGkEskGkv9ZJzWKg5OwwQ3I7gDwlctUEUemdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (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" 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 0E07FAEF6 for ; Fri, 14 Jun 2024 16:30:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI7vp-0006ll-Ah; Fri, 14 Jun 2024 10:29:33 -0400 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 1sI7vo-0006lY-1c for emacs-orgmode@gnu.org; Fri, 14 Jun 2024 10:29:32 -0400 Received: from us-smtp-delivery-170.mimecast.com ([170.10.129.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI7vm-00066X-CG for emacs-orgmode@gnu.org; Fri, 14 Jun 2024 10:29:31 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2047.outbound.protection.outlook.com [104.47.70.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-27-1RnQqu1lNzyvdo8LhKTBgA-1; Fri, 14 Jun 2024 10:29:26 -0400 X-MC-Unique: 1RnQqu1lNzyvdo8LhKTBgA-1 Received: from DS7PR20MB4671.namprd20.prod.outlook.com (2603:10b6:8:79::16) by MW3PR20MB3321.namprd20.prod.outlook.com (2603:10b6:303:55::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 14:29:23 +0000 Received: from DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::5011:b903:f36c:9905]) by DS7PR20MB4671.namprd20.prod.outlook.com ([fe80::5011:b903:f36c:9905%5]) with mapi id 15.20.7677.021; Fri, 14 Jun 2024 14:29:23 +0000 From: "Cook, Malcolm" To: Ihor Radchenko CC: Org-mode Subject: RE: org-babel-execute-src-block filters characters from :session *shell* output Thread-Topic: org-babel-execute-src-block filters characters from :session *shell* output Thread-Index: AQHavmRKK36TqiDE5kmCSB519dik3bHHUJVQ Date: Fri, 14 Jun 2024 14:29:23 +0000 Message-ID: References: <87ikybk44c.fsf@localhost> In-Reply-To: <87ikybk44c.fsf@localhost> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR20MB4671:EE_|MW3PR20MB3321:EE_ x-ms-office365-filtering-correlation-id: d5e4f799-f471-4c91-e94c-08dc8c7e62f2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230037|366013|376011|1800799021|38070700015 x-microsoft-antispam-message-info: =?us-ascii?Q?w63XONSX1TSWlTTqIORtk4QlJzb/arNV5JbxZuIX7CkvQHjTHTANSaDZ9WS2?= =?us-ascii?Q?UbdOSBut/sKos/YwW55uT06AMLX3f3jh8ZCK3djEG+bPlqSa84Px7nhKTMsY?= =?us-ascii?Q?KkhWXL1Bg5GcYxjFyf8jfzv1ZafzVZkXaFBMwbIYTvN/tRsY1uiDWPT8/KdI?= =?us-ascii?Q?ExB6OxV/oDov/ajPDKwwML/CLwx9w3QfOteh6uV5kolX7MlKnJOHZkFPa2FR?= =?us-ascii?Q?M9AEK5HOqrinSVZDsHaTQWlksXir+WTb4gr7+nHQmAFN1+8/Wv6chnz2hkns?= =?us-ascii?Q?6eBQVjhOpG6BNGa4Am/oBSA5TTZNAb7goH2kSL+bnWv3DWn5D3UKCazdZaYh?= =?us-ascii?Q?YpRNLhlisilrT9EEzbEUore8S7JJuAEe9JYqEvXFy3TrQvJvRf9zeudVahLW?= =?us-ascii?Q?W9vq+tr3u8DRmNZmMbCcOIF58rTEHErZYdfPmxDkTRFgbQZXvQRxqtCU3LTD?= =?us-ascii?Q?NXUzcAsCDDyaTmA+pcJxw8xLXccHd9mrCvWJBDTYbLz2irNlED++w1sUAtYm?= =?us-ascii?Q?0bFjbA92FNP5Ur667IJReT0Badf8tiuolVt6eZXRFN/llpAzE4jqgZVy7uJt?= =?us-ascii?Q?Sf7JdmOdksDgGXcQjbUDLxIcwv9Amv+EvzpvWRkNULbmhLYTQhf7ekGUzC2T?= =?us-ascii?Q?XQk6pwKm13gAJ9hRRcWBk9PJG70UfnEoMhR8mDElp6f7xxzCeXOm4wCl73sa?= =?us-ascii?Q?y4J7513JYYKIR/HkaMfJMav45lKl5qNyrGzQs2/AlDphAjObqd523r2qX9SP?= =?us-ascii?Q?yIe986XyCmxLkqa65mg5VTJ/CagxvtbBmTQsmlG9WMt8Jy3qtPgVPK44kou1?= =?us-ascii?Q?aAj+KYBu8vLCBzjvibhhEMdwOOFBSgUARVkO1c9EYK5Y14BdU+Ldam6zaC6A?= =?us-ascii?Q?5zVdOQLj/h+O7ROFosIZRUNRjD0NxTez7oFanhbLRqv3kGv5opnco2Rn0IpX?= =?us-ascii?Q?w7LC8jRjY3NwzdWXTXM6qzJFJAQZrU7LjdER4k/kkjWt9dtib3Y1mCpU1ffy?= =?us-ascii?Q?/jsdeTLIEBLqbJS6jAiy+oPPKtjBsVGmHiu+uiPYomMJp67zLP2/kCAx/1tw?= =?us-ascii?Q?ltZRJ/xnQOwA4UbmAzExv3FK1m0tms69vlrB5kFEUGvmEgbRkzLepYEzoZCY?= =?us-ascii?Q?GPdzWKiDd8+bvnUzbCLIzNZSmoCQGeQicuMTmJvAdGZW3BcPGnrzsGED6aqR?= =?us-ascii?Q?G+zREpfK/5OSLKak8lRc5X4dzJ1sno4+ddvskdL0Ofpx5+QwMkJDL7RsUzyy?= =?us-ascii?Q?CQ8DqGnbsm8SWBk+boYpve/rcHLVqb2JKguYNRPPOjMWZEQz6i4klOaBsE4P?= =?us-ascii?Q?NMNySsUTIkTcLAeMYl6Mfr6acKgPy7hRERU2PIW+LGxUYdVRJGuNsnDWxQRU?= =?us-ascii?Q?lZZZ3yU=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR20MB4671.namprd20.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(366013)(376011)(1800799021)(38070700015); DIR:OUT; SFP:1102 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5qeBJAYlD/9NXFTAmjXbEznj7kyIEZABIxCWX5C2Gcwz9l3NIr227jLk8vdU?= =?us-ascii?Q?0r/RwFtlTjUrX/WcCiY4+gml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?YbNwLjUbt/grZGG8B7LbCe3mJD7X+PvNQxXIMps9ZDII3o61wfVIeyybGz5P?= =?us-ascii?Q?UBXsyQxcoCsR4xcI4FtrFwRWIOLKGf+JHfIYYbGA1aZYG+agqsT7AI+vGe07?= =?us-ascii?Q?NieY+RhVusntp8ZpSlI/opk7m+f6RlqoytphmaIFfowLZey46DVwNrHCPYbT?= =?us-ascii?Q?p3AL29lN+zYfkSRRmYIhMcGttGiXb5ze9VDQ6OMU1oaBJhJ5gG5GKGPqXSnP?= =?us-ascii?Q?HFwCQ3nDm+HV10Mak5etAMHHBgT8814efeAHNrLW9B+ORYjbCukwZISBakBo?= =?us-ascii?Q?gm0uT31mj3a7EZxw0+OaiSeI88WG4jD8joxpjQKPKYi7RuBv3upRvBSk0lA6?= =?us-ascii?Q?+lOQ9CusPM3aDujjjmIL8RQh0CTkFa2xfrYFF2qJHheIW/juz5kRU3cFL6/1?= =?us-ascii?Q?IIk2r+tzbMO3rFiI8vrXkoJg4UPjuuHfdqrFKf3YppVAlzxnR2x7neCptF09?= =?us-ascii?Q?JyQUQt84GqRb33vUpg/tEa5VMyWhiVIZTyZZ+xEBJwXQAQ6qKN9u7ophleO8?= =?us-ascii?Q?+SabPcoOoexZ2rM1jJkFqxGAW2D2lNegHXfH+omuwpYWi/hrBDid8yCqnJBh?= =?us-ascii?Q?GgmL1xIRNnMZ8JWGGCk=3D?= MIME-Version: 1.0 X-OriginatorOrg: stowers.org X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR20MB4671.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5e4f799-f471-4c91-e94c-08dc8c7e62f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2024 14:29:23.3268 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3ab7a17c-a0ab-4280-b9f3-bb144eebee49 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nZ3cA4AGap/5mEC8JvgksMy6ehzur+1ILrfDL0CcBjb0fLdUhiXoUiWb85DrTZAN X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR20MB3321 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: stowers.org Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.129.170; envelope-from=mec@stowers.org; helo=us-smtp-delivery-170.mimecast.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.25 X-Spam-Score: -3.25 X-Migadu-Queue-Id: 0E07FAEF6 X-Migadu-Scanner: mx11.migadu.com X-TUID: E0wqA8bxPXZF >"Cook, Malcolm" writes: > >> Let me walk you through the issue: >> >> #+begin_src sh >> printf 'a\nb\nc\n>d\n> #+end_src >> >> #+RESULTS: >> : a >> : b >> : c >> : >d >> : > >> Results look as expected. So far so good. >> >> Now create a shell buffer (which will be named "*shell*") >> >> #+begin_src elisp >> (shell) >> #+end_src >> >> and try it again >> >> #+begin_src sh >> printf 'a\nb\nc\n>d\n> #+end_src >> >> #+RESULTS: >> : a >> : b >> : c >> : d >> : > >> Huh? what happened to the ">" before the "d"? > >I cannot reproduce. >May it be that you are setting global :session header argument? Yes, of course, so sorry, there is #+PROPERTY: header-args:sh :session *shell* :results output You should now be able to reproduce. Thanks, please let me know if you have a fix, workaround, or lesson for me. ~Malcolm