From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GM1nK1wDa2aV1wAAe85BDQ:P1 (envelope-from ) for ; Thu, 13 Jun 2024 14:34:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GM1nK1wDa2aV1wAAe85BDQ (envelope-from ) for ; Thu, 13 Jun 2024 16:34:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718289244; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=cWJp+Ew3d6MJlqwbKCkC5KlXPrJezLfa6LrOLpUmmSk=; b=qMdBcwgKkRzOWH1g4XLKaFzDPBUMIP9/tF+G8wQVlCglyjcUf5XGJW/hiQVNGTV9lxZPKA rKhTAPMykYcCX1/mBbOU5YfAHW+kKLR9tOj5OeF2zA2tk8Lkb8DeSRkmPXKf3rFLBlZMXF 5SNdNy862V8557XmVkFfc+5eIZo0GPz6+uGq7XsyS7LuWEC5m1p9Lf0Kea9Z4EjqemGuAD 63Sor347fU87upsVvCcAua1rNuRVzoVmGX3qMgXUOSoNnihtV4VUlLwAIQ4D9yTtAeGfOB njj4zfMkw25EMFVCu9rlbHwHYGqUHu+90UjD1kmLcuynf0olUDNsMlC57Z1G8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=stowers.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718289244; a=rsa-sha256; cv=none; b=lChYicRdW+E+ZU+zdU6pks7SZ5gN52fBfOJEUdmIf8tOWmsLHdo92ANk6UnWo3JQVWwKW0 tKu1wNU27YH+hY3+YRqrtTU+lpVBNPv4YLfL6RRuen/TA1JiS6r0dJS3DgjliKO6JOB/Qu /WuywopCN5oNFoKsTmVY2gkDc7hoAGP9Au/4wYoWNxXDJ8FmplwhLoeG9A67cOuDXLmDPa xFo1aQky7yNdBoHyGD+ly4r2hOvRciQeFRZ3s69foNDleQ8JcHzn97IFw+IWSE8vLEPl8+ NwXw7uOmWZe+Jj0j54Y7uU03UMuxUwiA6bvN+8xlj65WBT4Y8emEtOeAS8fcGQ== 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 457656CF2E for ; Thu, 13 Jun 2024 16:34:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHlVg-0002R8-7Q; Thu, 13 Jun 2024 10:33:04 -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 1sHlVb-0002Oh-L1 for emacs-orgmode@gnu.org; Thu, 13 Jun 2024 10:33:00 -0400 Received: from us-smtp-delivery-170.mimecast.com ([170.10.133.170]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHlVY-0006Rl-TA for emacs-orgmode@gnu.org; Thu, 13 Jun 2024 10:32:59 -0400 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-610-qGLeOx8DPZa91R3tgfCRgQ-1; Thu, 13 Jun 2024 10:32:50 -0400 X-MC-Unique: qGLeOx8DPZa91R3tgfCRgQ-1 Received: from DS7PR20MB4671.namprd20.prod.outlook.com (2603:10b6:8:79::16) by DM6PR20MB3297.namprd20.prod.outlook.com (2603:10b6:5:28f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.37; Thu, 13 Jun 2024 14:32:47 +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; Thu, 13 Jun 2024 14:32:47 +0000 From: "Cook, Malcolm" To: Org-mode Subject: 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: Adq9nfxKwDYBl2/KSnSlIzcUe4jS5g== Date: Thu, 13 Jun 2024 14:32:47 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR20MB4671:EE_|DM6PR20MB3297:EE_ x-ms-office365-filtering-correlation-id: 005d8714-618d-4072-b523-08dc8bb5b1f2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230035|1800799019|366011|376009|38070700013 x-microsoft-antispam-message-info: =?us-ascii?Q?6wF9CJ3jdqJVenC2fYQ17QIk+d/AY1V+OuJJ9HnlLT/DMvvArjSHSRJA5m4x?= =?us-ascii?Q?HLCDUHYfiFb7JSXI9jfiRfyaWbjbnaAINNKxv6heIUJLC2ncTx8PMw8eNr9i?= =?us-ascii?Q?t/1vUNcmGq+u/CoL5VRfUd3KcChfevM9iX85UZp1s83cFuSQqjL1w3P3itd1?= =?us-ascii?Q?K9UXUDD1FJjEVr+mbc238AF9DprUXCjPhVTOyzJQa+h7mMtCnRCd8RuLGwfF?= =?us-ascii?Q?H3VWK7dOa5vdj+e0RQwS3wkO5YhA9UsEYIRYstiKedD+g1q3U5rk4U9Oy2jx?= =?us-ascii?Q?OKJz+g+jk1P7yokd3Gl5Wk8jtg7jq3wazV959BqaQTHBfUKuJD0TfD2Sx907?= =?us-ascii?Q?VPulewFmBhYH7GtJSjXanxAfKVrm3kDq/mCgzfaE10JGY2vBLMkiUwzD184f?= =?us-ascii?Q?7S1rNXBz0Lrl8ewfvG8M0dxJnnFC+nOKFpHddlPmrZx0JVwR+TwnUGo9U+xC?= =?us-ascii?Q?uoviUG3WPeQ5kcU0vdxAvXqNpm1mYXIK5s+WkOOnmlKbqklLRu6IbdgedJHT?= =?us-ascii?Q?2PD5TG/iYeGf4aCGGKxHKQ43yXmknFnJNQzpEe9Z/ThF5Jy6VQNYcw0CvVcz?= =?us-ascii?Q?RF4DxsXiZaoZmlwD1u0/XHvJp3pBsnKTXcFjwv4r7txeVdSl34Ygc6hmLyD+?= =?us-ascii?Q?qVSa0pEIL+1CiXrHeSNrqkz/lknOuo0lJbUtbbJJhhBfGD9ihIshR/U14QNu?= =?us-ascii?Q?jr0SejA8g+midatVy2Z8akapuexFFa9EGoXs9ksZGRJK18AZ2GNx1S0bHKvK?= =?us-ascii?Q?Uy00jyQnIK/HGLgPJSN/JyFtfbHaQ7PC98R+8iHH6j29Mf5M1Angiz8PtEjG?= =?us-ascii?Q?MZ6I3r6iVOXfaBTpAFXQrKMHu89DYSFspC8pSxOXOOlib3T7Wq/d0hIYH3Yh?= =?us-ascii?Q?fCv2JW3+UxeH2lxE3mEr+ukXphg8k+nqXRKnWgPBst8wt4cMsOVDy5jJzTns?= =?us-ascii?Q?ahdWs7cQUI9aGvrR/icNUt/P4COHcRutB9L0D1Dj2HH1PzowGuKu3XnDN2bb?= =?us-ascii?Q?5EhfQcwQwieD9jvYo+VjpXPnC91ewNay4N5nBGLx+YYbs0v8Pmhy+GQIdYuq?= =?us-ascii?Q?DYKFzfOEdeLVR+AYsG2zch6Llgs1/zd+Cq6HRJPohRbrY7plMsocNfyDRUsB?= =?us-ascii?Q?UOrvOd7a1U3bQJSpIeT8Hp7DAigUWfi5CY+mL91juNfzCgJeSeXDtRxdERSr?= =?us-ascii?Q?NX00hjD7Yy7HGJxzZH7mip2di5tjldcSxn9Uh0WXwdvKh9StZhkS8hCuiChs?= =?us-ascii?Q?apkv5MPqR1PeWxJ2k0uQny3QutrgKrsp3Vcn7Q9IuS8dcS1QAdkI5wJ+xti2?= =?us-ascii?Q?9Tjq2Neew/T5NBsUaBkGCAOp?= 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:(13230035)(1800799019)(366011)(376009)(38070700013); DIR:OUT; SFP:1102 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?rYVprWs7IQdbnyC5dHhE2rJ2YbW0vnHePUEbcGhh/EUaZUbLVYZpq2LFeNxv?= =?us-ascii?Q?QqEbLplQE5fqP5lrg4Vk6cMmBxJyIMzBuwPvDY2oNxPfANErbCtTF/tQ8jqo?= =?us-ascii?Q?fkR/KEwF34LCrPuycwBJpaylAzjghOjohIXXkkA/+bgQJKRuS16CGAD1o/Ho?= =?us-ascii?Q?V8dywhNbuu2rTQtHrwxY0zP7Mr99etiTQEJEGT5oJrAs03PlF3fyWxsuyNUG?= =?us-ascii?Q?DbYaDWgPg13EKe/m0PL6Ymk2usoyYA1FGJgH/aP9KBaO4Bekz8DIsZmoX2Di?= =?us-ascii?Q?Rut+2a86VPzwxeUqvNm3atfvoFdICN1bw4vX3u12l+eHKxLia+3hmDvz3+FK?= =?us-ascii?Q?3928RNQFL/1PBHsbozZlZ5MDe/esDI2iuIkHc6uSwD9owDFl99Rs3bD7JYTn?= =?us-ascii?Q?Le39c7ABJALuRsmC9DghogmR/3/yMym9XH32UShIlcdnvYiVoGWAc8hYTpTz?= =?us-ascii?Q?s9Df/7P1SrAZXu2A0qUYPZwza5QS50TZvNN9Zu3Vl85c/sCkn4F7pV7QSrja?= =?us-ascii?Q?0IJryYKD61e+8dGU6BfhvG/bb3abLvUQ6hLt7S/gD24hUkQ7DEXAbKL0EI0N?= =?us-ascii?Q?mMyAteznfPWacongu+yhfPAJwO/0JmnApLBz7/kmEArs2MDDmJ03ov47miHS?= =?us-ascii?Q?h63xjfXov6L6gG+msSweyU/iOUh74c51npS0qRlPXLd/Ift8sD0vYh3ZJoZ+?= =?us-ascii?Q?RJ0bVo07ni2hO9SdnwTihF7sJyhaaB7ul5lmsNf0dLPOZWNL3GUouoNPxKBp?= =?us-ascii?Q?F61nrMb/R+6is9smdWcgVYX1n/ts1bSG8Xpv+D144p6Z2jbhoC2o44LeemKg?= =?us-ascii?Q?XhxTq1Coxl1cpQSUXmKUsgYa263ibP12Ph4EZ0wOcj47ospzJv/H3cVfRi6B?= =?us-ascii?Q?bvkVjDgxMN7F9cLqaGII3WQExVrSHT35QlhlZczohb9RZL32t0VYvzebFeZM?= =?us-ascii?Q?OpaWouC4pTvcQl1MgTYnhdD2i7SjCUXqOp92zEqZCS/6WcX6L4kt7S+6Cxee?= =?us-ascii?Q?BdftlruTDD7hroJ5qBcknvwDyBa9laBIQ3i7//Dgxrp6EeyP19HnO0Sn+the?= =?us-ascii?Q?wJ07w1j7yPf+PEh7QWxCSrWm/bvZS8b45B9/9xJRY6Rxf+dCHUgQtFjVefWe?= =?us-ascii?Q?107/A7oj4TV0HAkyeoPCRkul1z83k3Tzw79aKwO98BUihkdjeoW0XrZooqzY?= =?us-ascii?Q?qvlEJhFmyJe1+XUl0Wk/MBDwvembvX9SgtudlUzb7wBNBUG8PIMlk0J4OSAU?= =?us-ascii?Q?Wg34OHbbc3Z1mjzSDn9C1laCZXWb/bC6wxClRzPHIb747y/LsRCVzOxmD2Ma?= =?us-ascii?Q?J9ra0Ru3VqEB9zFW78hN5pAuYqpznhdVr98TSlUmnW71vJM/BpxS11ne4OF9?= =?us-ascii?Q?Ogm6WK9brgwcuLXzwYY5X2ep9IBlzcgw2nRKNHVPnhslMrA8X32Qi7zN1ztr?= =?us-ascii?Q?dNGki53KooI0pQmckbpS46jM4DB9PLHjA27+rV+jXG02bxcmv7CF9xoKKCRR?= =?us-ascii?Q?qZiEOaJn53Vh+rlmtTPU1USRedbWCk7MlgpnwQctqw58wkzMrDK1CKhSesq3?= =?us-ascii?Q?wu3XAaPMEVdq80hmA3Q=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: 005d8714-618d-4072-b523-08dc8bb5b1f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2024 14:32:47.0276 (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: /PhaRwOnx1ZLIZpcWEKu6FjfVBLT9w3nQwWPWxhx1hL9adrHt4hQo0kmuFXtn/CU X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR20MB3297 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.133.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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -1.35 X-Migadu-Queue-Id: 457656CF2E X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -1.35 X-TUID: qiKiwNiX5ceb Hi, While using: =09Org mode version 9.7.3 (9.7.3-2f1844 @ /home/mec/.dotfiles/emacs/.emacs.= d/elpa/org-9.7.3/) =09GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo Let me walk you through the issue: #+begin_src sh printf 'a\nb\nc\n>d\nd : d\n" before the "d"? Let's try it again. First kill the *shell* buffer: #+begin_src elisp (let ((kill-buffer-query-functions nil)) (kill-buffer "*shell*")) #+end_src #+RESULTS: : t and try it again: #+begin_src sh printf 'a\nb\nc\n>d\nd : " is back! What is going on. I'm pretty sure that `org-babel-comint--prompt-filter` is implicated which = has had some recent changes (https://list.orgmode.org/87ttmn9fg0.fsf@localh= ost/T/) related to prompt filtering. Any workarounds / patches most welcome! Thanks! ~ Malcolm