From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id bH0LGclGi2GtGQEAgWs5BA (envelope-from ) for ; Wed, 10 Nov 2021 05:12:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gJYgFMlGi2GBOAAAbx9fmQ (envelope-from ) for ; Wed, 10 Nov 2021 04:12:57 +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 0337C2BC1E for ; Wed, 10 Nov 2021 05:12:57 +0100 (CET) Received: from localhost ([::1]:55334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkeyl-0008Dl-F3 for larch@yhetil.org; Tue, 09 Nov 2021 23:12:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkeyN-0008Db-Gw for emacs-orgmode@gnu.org; Tue, 09 Nov 2021 23:12:31 -0500 Received: from [2607:f8b0:4864:20::52c] (port=34459 helo=mail-pg1-x52c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkeyL-0008OT-Vo for emacs-orgmode@gnu.org; Tue, 09 Nov 2021 23:12:31 -0500 Received: by mail-pg1-x52c.google.com with SMTP id 200so1073356pga.1 for ; Tue, 09 Nov 2021 20:12:29 -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=A+U0GhyQFbNLoCLe5tRFqP0X1ldSc2Pyl72OZLcUhm8=; b=Q6SVFGRNvqzKjnv5v8QXoSEiKqgAdJsgsIzIxqs47TERgpxoBPs3X0taU1yKYBQvRv dYPS/2M61Jk2tl23v6V9n1NnH7ZFjKGpQmZKf2MxJAZqaqeEi6uY6k8awZzT354XcMMg DyB7fHWavTg4iuO5wzKh8/bvaUTKcSyFYu2hlI3NKYHV4gJ3YBbD1gG1H6vazVj9HdFx HiCdfKYbbcxh5msMad14PT1JklloKvUqhGayCs+fD28eTeP2WGPIDC/LNCl80etoEOzh L+aDB7GIyxlTUOltBxGkd8MXEeDKZ96WwcNQYoxIRQIQ+RixrpQmQFUbcwKcM+3UPVB8 beug== 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=A+U0GhyQFbNLoCLe5tRFqP0X1ldSc2Pyl72OZLcUhm8=; b=GVSGGEe5O6VG35SSDFqscMKy4Q1ZaHWD8N3DhcdyTpeX0DzAZr9zYFXaxBB71vFIou QMSILuw8aChS/wVNx5LkKQ0x/2Pm+8joGd3kgUFRK5KFnm94xEB1MEIqnjef1aJfcVqo w7Q/V4iQwYsZhcziazuVSe2aSxvMBofGHcBYeOYyLaZpW+Acnem/a5TM+ySGqT7svm4/ z6CfksesBFktMOD/LSI7iETEZZRy1VAj7EpOPnTev2oQFh+6f6z8jRWAM2NH2KOwD39s JhSqYKdLDiUzrConiU5OVHtuTMPNbBwfuXEa+qHit6NOSTZHRiiMLrJBNiCb10H2Ui3a lqtg== X-Gm-Message-State: AOAM5314+E7+nXo9oYl/njOBzw2TruLiQIaNK3P9Csnk6mOOh+Kr4Yqh zHFvm1Dtr7nDomIo1SewSdM= X-Google-Smtp-Source: ABdhPJx3NzWMKY+mY8vfRNSx56vUdll3P6eND67QX0zY604YIET7GXQ6GDsbzOXONEG71FzpCoxtLw== X-Received: by 2002:a63:81c8:: with SMTP id t191mr10018121pgd.192.1636517548736; Tue, 09 Nov 2021 20:12:28 -0800 (PST) Received: from localhost ([103.125.234.210]) by smtp.gmail.com with ESMTPSA id l11sm22177770pfu.129.2021.11.09.20.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Nov 2021 20:12:28 -0800 (PST) From: Ihor Radchenko To: Kaushal Modi Subject: Re: babel output seems to drop anything before % (in session) In-Reply-To: References: <87h7jhus7k.fsf@spx.local.example> <87wnsc2gp2.fsf@localhost> <5780a7fb-17b5-6bde-f3a1-ef741af57734@nicksavage.ca> Date: Wed, 10 Nov 2021 12:13:55 +0800 Message-ID: <875yt0myv0.fsf@localhost> 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::52c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, PDS_HP_HELO_NORDNS=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: Nick Savage , "Emanuel Berg via General discussions about Org-mode." 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=1636517577; 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=A+U0GhyQFbNLoCLe5tRFqP0X1ldSc2Pyl72OZLcUhm8=; b=hbnRW+m/1MpDQhxd3auMhpAwU44ENDTjpEyf1rX/OksbAw7jFEnhTKimA/K2r7ba7p9bJv MjJfztYWZsF6AW/Xh8MKrLAxqBW6W+O42rlRPBgEWaF12DfXGVZCz2sSxZBSFvX+7fYr/9 XNp2Yww49i9rgKz+LeR3e2HWhEAdFRHgE8mHG2KDGOEsKFaMBzrgUEKcw3FpMHXWToOsiZ qVXRBA0OClgdvmsaiNCWpv61sbZWT7zdM86SJdNUteQwABamdmhrVurjVHbnPX/BPpQjHh 7eCGdXQ0MqLL8qIIw8Okru+zDttzWDb93tSkJkcyayeEiTKUIYMwTYgdgYBf8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636517577; a=rsa-sha256; cv=none; b=eVta9Qt0EMKAGMPQM2eS6wKnBs47XsjbbHNBelsAXw6Kj5t7n0kiMWqKHYXMz/WxzDgCfC +xvuDnW2BLONPrkMsVMEC1l7IBujaDIOfWhN+KAKfgyMBT97bILortmbMwUltsy6sMwW5u +c3G8ywS8gOP+ZKaGMX8v1+W3/Fm99CAxJrwFwF42l8Td3yV6kIvQqduNVIEVFI1HRvX8G iQw4cd9ZipnJsO+As485DSCOeCdH/wGcDs6ipCLrHJEgrDwfn4Mi4lX1b/5k3lxUq1YgEN oB1IieMSXeL3phwK+YMDWQTIEbJTzeGhBW0fKtPy3wnvxDOETuO+nj+FjiEzLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q6SVFGRN; 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: -3.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q6SVFGRN; 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: 0337C2BC1E X-Spam-Score: -3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: dRQ454uiCUB1 Kaushal Modi writes: > Hello all, > > I am following up on this issue with ob-shell and sessions. > > I had posted the recipe to reproduce the issue few months back, and it > still applies; ref: > https://list.orgmode.org/CAFyQvY2AeToQc2G=3De+DE4VOTeTFbkvisENipYpW1Y-feu= 1ov1g@mail.gmail.com/ FYI, I attempted to fix this several times, but the underlying code is not trivial. Hopefully someone=E2=84=A2 more familiar with comint can make a working patch. If you encounter this issue frequently, you may be the most motivated person here to spend time studying the code. Ideas how to approach the problem would be appreciated. Best, Ihor