From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qA6MJsHWFWNVPAEAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 13:00:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iJ/VJcHWFWP4igAAG6o9tA (envelope-from ) for ; Mon, 05 Sep 2022 13:00:17 +0200 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 26B1E13B4A for ; Mon, 5 Sep 2022 13:00:17 +0200 (CEST) Received: from localhost ([::1]:48784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV9pw-0001Pu-3K for larch@yhetil.org; Mon, 05 Sep 2022 07:00:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV9PT-0000p8-4z for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 06:32:57 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:51179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV9PR-0007M1-DN for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 06:32:54 -0400 Received: by mail-pj1-x102e.google.com with SMTP id fv3so1926882pjb.0 for ; Mon, 05 Sep 2022 03:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=tjUUEN5T69TskJEGGlHphf6xQjgzhz5Ia/ORr+eJVAE=; b=SLkvAwGWw6FbaVjfDjfT7kUqhcgriD9cfeKaZm8UZuY52WabMdseaSN0TY81o/wDrG pKkqaKxaghSgaqlf51g/vO1vKvEoBID2P4YusqVFUsbz0VYDXoz5f1HnjPTbNoHVWKwx zhsGoh6jup6Pkp2aQYichphPgKIC/jiutKQf4HYDN+JASYw8oLF4j3BFWDW9y5XC9GUL 52iaqG8VeegGp9jfMnQ+n7CWmLBXmcHiNOjDHYZaY74/GEQpvm+KxGoonV+M/MCPvkf5 IhiJWG2QNdd1ge5ihQLGz7uApqzBTlsMC6e5NgSUuFErsZcuOqIQUyVHVcXB6yUhEg10 b4nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=tjUUEN5T69TskJEGGlHphf6xQjgzhz5Ia/ORr+eJVAE=; b=mEFCCUxthjF9Qa3dgDdnlOYqMiDHGY0xpxzN6hfs16ud116X74NgZhfG9TANhfgyBy aoI1RgDnSpEuLJL8G7N7o6UF6o7Gf/q9K0Bw3NjYyon4gWAToc0nOO6RbBvp3JrFA0IW KGE3vEjRuuZ8yGu0eIYe+B4SVCk/UGmGFu0DEUZ8bDww6Ipg3c7Swdy0Bae2l3KiUq6g 2moF8cmuOdvfYueZQ0jAt3Sk3sbNIMqGe165dkh2GC75SCU/wbImErazD+z6lRmvydIp 534uOFYF2SCV2TFNTjzKkLBdPyqqnmqU+m45fA7j0BAFrCXIBNNKrUdhQO7FmQV+Co5B /YuQ== X-Gm-Message-State: ACgBeo28c3cQ2yx7soduqly79RC63fkGMHy86BRNN8ojHEipr2shvglJ bekjh3IOaon9jpWBcVAn7NM= X-Google-Smtp-Source: AA6agR59lx6+zEG+IHgoqVycgu5N6WmQcWiAobl7gMxsk8dHOdBe/+fgq0XWXN2aBzz9bCfrCkLGmA== X-Received: by 2002:a17:90a:b007:b0:1f1:d31e:4914 with SMTP id x7-20020a17090ab00700b001f1d31e4914mr19157313pjq.36.1662373971999; Mon, 05 Sep 2022 03:32:51 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id t8-20020a6564c8000000b0042c29d1610dsm6130171pgv.63.2022.09.05.03.32.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 03:32:51 -0700 (PDT) From: Ihor Radchenko To: Bruno Barbier Cc: Felix Freeman , emacs-orgmode@gnu.org Subject: Re: [BUG] ob-shell: cmdline and stdin broken when used with TRAMP In-Reply-To: References: <87k097a6on.fsf@localhost> <87h71nxyej.fsf@localhost> Date: Mon, 05 Sep 2022 18:33:48 +0800 Message-ID: <87mtbew1o3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102e.google.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, 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, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662375617; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tjUUEN5T69TskJEGGlHphf6xQjgzhz5Ia/ORr+eJVAE=; b=SCiC9JmSiqMcdtre/E0EnzIfPQfU1mP/uE2rAazDIyqKN8hgYDY2AuFiFeCDFuxAh0N99K TFD/CxMy46iZjZBSEydMjAaAURmzlXyoaom+cpb6pA1cBaIWofDGKhGPd81VQzhc3OUtnP 8BERAJYvTca4+P/6kAghtO1cJ2PRswGwXPN3nsydDf1FcbupESFtTTUxqi1avnaqQFAW0P jpTIv0mmBM7oCUIswn3G8y4aprRLyYaNU/VpOOyfx75x/HumpBVX7f/GjtuYFi3k3wJHBo 3XIy+tn90CjVKapkUeAuuHtGERSWy994mkw/VlISpHVM0Xm1eGnQHoP4chtp7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662375617; a=rsa-sha256; cv=none; b=fCeht6TNNw86yaXKUnHayIftZByFNAm0tE5BdwQcjzGcl62t69cvgdhMFCAjEqUhj6jTKO vhJ09lvFAz2wt+TFhhRlshUy8YvGxZnBMgtZqX53r2hYRdbtNoR+LBAbVgSf6R1DLIWeSZ L+xcrnnsrR366S2PfuHrvGiI14zfj3+ih04rqm3GPvG2x6OCEPmAn7UrLiOLqQXWJThDUl JhYOjzZkYQVjsCNgx1U1jUxmg2OHVg40yCfBUR1ArnbezTBAY4PdJG+FsVoXHTNlCUMzBu A+4csK/Nq6BTkT/Ly9hkT0h7EeDs32qQmNcCLukCKrpIJjT2IxZ9iCSN/drjWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SLkvAwGW; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SLkvAwGW; dmarc=pass (policy=none) header.from=gmail.com; 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: 26B1E13B4A X-Spam-Score: -3.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: l6gJD0l6ssIl Bruno Barbier writes: > I'm now adding a version of `with-connection-local-variables', in > org-compat.el: that should work for 26. I didn't test it as I currently > don't have an Emacs 26. But I should be able to compile one, if you think > it's needed. > > Thank you for spotting this and pointing me to `with-connection-local-profiles'. > > > Thank you again, Ihor, for the review and the testing. > > Let me know if you see further improvements, LGTM now. Thanks! Applied onto main with minor amendments in formatting. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8151d52574f525fd922aadc43544688004cb7d14 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92