From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2n++ExpfNmEK6QAAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 20:34:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GAbODhpfNmHZfQAAB5/wlQ (envelope-from ) for ; Mon, 06 Sep 2021 18:34:02 +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 5835D163D1 for ; Mon, 6 Sep 2021 20:34:01 +0200 (CEST) Received: from localhost ([::1]:56144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNJRP-0003PQ-Ef for larch@yhetil.org; Mon, 06 Sep 2021 14:33:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNJQP-0003PA-FW for emacs-orgmode@gnu.org; Mon, 06 Sep 2021 14:32:57 -0400 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:37134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNJQM-0004Sf-Gi for emacs-orgmode@gnu.org; Mon, 06 Sep 2021 14:32:56 -0400 Received: from pps.filterd (m0173174.ppops.net [127.0.0.1]) by mx0b-00395d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 186IWpCD007283; Mon, 6 Sep 2021 11:32:51 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsd.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=campus; bh=MKv5enlLmWZgQ0Ko/7WGSyaKbXinpAw+0nv105EhTeI=; b=tZ3Ca3rgQJk0WvHmIvUPq7KZhQJL6UIzjEUT22RBmfB5wtI09Ry0KNKwhQnKHRQXOhyD hiNDvcyiKo+JtsFjGztRqlzateKvc7UdVhrWWdJ0VrmCk5Fn+QhRmIY8zuuO1ffgGTTg sXPVuP1TktSBlPc6pe6WqVIvavkEIOBAgRHUk8S9Z7HFy4Ikzrwy36Qeu8N5Oc4CRRBv tQgAdSHXCCqRBn6nd4BidS874u3jrfktZSbuylMUx2P2Ds+7AClg/Dgivm4nPPe5L3Gs jnwiOcuZt2n+lCATEJW5CA3rMfKGcsQmCn8TN/M78uMkcHIfnBvRaLaOd6zTf2K4FE4A 5g== Received: from secdlpezp04.ucsd.edu ([40.112.251.180]) by mx0b-00395d01.pphosted.com with ESMTP id 3awn8ur788-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Sep 2021 11:32:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E8nHSJeRGZFjl82f2Xn2msLIgfueQwjZoVzdzMQceJK4OFNmXdph1ZDjEmv8uepP8HEI1CcrtbtqL5uClWNvfPYDdsU7kCe54D9dvomn44qIQUBCvvY2/BX6GU6eEj6LJaBQu/E9YzHsdnTjGgWoZ9g66qcElbiOPpoy1TZQ5cEjPigiU7Uc6iegEW8WYyWPx6qrbYM6dFVemZRbbPCqvUIjyEWsFJi3rUQWC/yq4pZK1tGJqdByeneC9qN6+R8XgIb6tjAWocjeFXg6vGGkfxbh3BgKP1VfO2TiyKJy8uZGQufOItO7DMBKWYFDjoykB2qGuOtlRgbeveKjjIHYyQ== 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; bh=MKv5enlLmWZgQ0Ko/7WGSyaKbXinpAw+0nv105EhTeI=; b=IbbDDp8r4fQaWj8hFaIKB5UJF2IiYdLdz3bxGnwwZJoVloShlFy+jDSZVsYZPkpLydOIjbyKylCCzi0E91r5iY7Dt2RBNkhYVzGbjmo/WAxGEPWrpw6H1k2BA2ePNGDeLDy2Pk/pmPnPVuyz3/Pqg9G0tmVErFDhNzOvz8TkAqhybJOk9u5Y+G+GiIXAdq2rKl9T6YWdPd2jWV7UvOZgJ3m0AWg1M1KU13FZynOazeYlLwkytF3jUNR/ga3loG4vsxUlsx2JQNTe1noABZStuSHRg5v8IGREUl/pCwUDGY4vKmNCZ/it6h+X7fQ59RRhjZOpLXotvfhvvubYLY4/8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=health.ucsd.edu; dmarc=pass action=none header.from=health.ucsd.edu; dkim=pass header.d=health.ucsd.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsdhs.onmicrosoft.com; s=selector2-ucsdhs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MKv5enlLmWZgQ0Ko/7WGSyaKbXinpAw+0nv105EhTeI=; b=FuVAx0B2IHfF6fqWlFE+ceIq59ouVj6/WLv8YcOKJT69VOLz8D1WuiAG2QJQeS8ydy84EzeqgVKmklVoYeADqM3pFXixY9UTpTQTkUMTTja9xN1fbmZdw9Ng8UoHHuSuoKz/5N86O2we83g8JAFwOgQgSqQyVaJZjJtCysaqSDg= To: Dominik Schrempf Subject: Re: Org babel source blocks ignore buffer-local variables Thread-Topic: Org babel source blocks ignore buffer-local variables Thread-Index: AQHXobBXfAsuN1A6L0Sx0NhWw9DQN6uWtfuAgACh0AA= Date: Mon, 6 Sep 2021 18:32:47 +0000 Message-ID: <6EF6CA3E-7E16-42E6-9E38-86BDEC95F881@health.ucsd.edu> References: <87fsukms4z.fsf@gmail.com> <676F013F-AC22-4853-9E13-C91B92C3B59A@health.ucsd.edu> <87lf4ajd7u.fsf@gmail.com> In-Reply-To: <87lf4ajd7u.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 16a74f5d-89c6-4642-7741-08d97164b9db x-ms-traffictypediagnostic: BY5PR19MB3937: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /m1iWKZqSbL91maVEQ9I9aN554jFJ4JAtGrjC3xYBn/4e99rq+rxdudh8yVzfwDbq0SVlfLXMU3R7wkUTta8xlveMNwqmeuN+NCHLLKKJWYNS0ied+nX8pAJcGXMPujIPcYxIc9QDS7nD2a5tz3I7en8bKCiYg29iTcRwqJTaWEomtivjVQfYvTrtmadHuHr4ObB0xMffFyAky1+zXbs+1xaGnfv97h1OfXIUzC4YF2p3j/gZwIGGC+PhCj3g408jjPn6DAg1ov5yrrukMpVHHy17wUHdzYel3/CnE+5J48a4tQSSn6jfkGkUu+kOVtdE9XPawXX+TDv7rTv/lF7eRXxUNActDV1Zpd5m4+joMFb9QQt/z/tM5c2uOadnuHBv2Y4/OUWXHK29MkOFPecPA5durN57tMC2BY3LUDvBzzZMmFnTJFq4y5ePDcOC2grWE5g07RnurkP5m4ODJRixMZC7825Bpoq2QSyPqj8Oxa3GeJzzS8K9bgrbWYaS7W/uDESMT5TKhZtt6vBypeyBLxbUazBybvy75SMX8mHpw4g+xLjzsPlieFQNoDJk4ASk4AdQwbLiuBLTZxFI3oWslbF57bF/OgK+5Q14RTkmTO1B2I134P1Fldi9N5kCXsfWhFva/V+LvjKUFneuChwGw1k4YoM/i22n7b9q+0xA5Vs07T1pXUpfybHA3s0T8ct90XrOnLmDcVAQHLlHwkG6/FjTGZkmX/TdTEatY5Pq4r/TGxUsyGKFXbxAJuR4jvx x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR19MB2581.namprd19.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(396003)(39850400004)(366004)(136003)(38100700002)(6486002)(6916009)(38070700005)(122000001)(6512007)(66946007)(478600001)(76116006)(33656002)(66446008)(64756008)(66556008)(66476007)(75432002)(71200400001)(186003)(4744005)(2616005)(5660300002)(316002)(53546011)(6506007)(8676002)(86362001)(83380400001)(8936002)(4326008)(2906002)(45980500001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?M0p7fMPWkEHz79TRIXWSXsAhtfmQyrHfZbe6OCW8Z8Xuug5mSjBdczWvLwa9?= =?us-ascii?Q?guUSUg5FQ0BEP0Csj2VkOCfSiQ75YqPjf0P2xmub4kbI1mHVNTxi934QioZW?= =?us-ascii?Q?9fdWHF/BFMM4Sdenw56GGI2xMoPxwWFRICWBEnX2FoAfXW0etEXsZFdI6wGx?= =?us-ascii?Q?YvngRQw2Vucs2jQUe1yvXRhVOFjETHckCgjzIRirC1tFdhfVM0E6mBW1oDTZ?= =?us-ascii?Q?xLWSYbK6HFefR/JrKk/Lhsp+ZgABLEx8CSKV8qgG96nZ8cTAx4QjTsiqk/bN?= =?us-ascii?Q?sGbjoEHUEd0yr5G2r+wEXQPTQ/WzGG79O/zPyz7KSUd/mDN253lxZK0JFA/i?= =?us-ascii?Q?3x6Tr2l4iwzgA0RcSUx1jTSukW1VGuBEgQHxw+IbP8ODaVRJmXLijbtNDljA?= =?us-ascii?Q?UFE/owYzxM/ho6/SNIz2TWNPyRwLEV4OHMAfuVmNtZni+RJDf/bfoWWx+KB5?= =?us-ascii?Q?S0rcKHvLz9zW6ZmU9gaKvf0ySAhhZ5I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?8nflC44svYh136V7hXvbGyXQKyYz?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <7C1D50B76A657743B3EEBD35B213F060@namprd19.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: health.ucsd.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR19MB2581.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16a74f5d-89c6-4642-7741-08d97164b9db X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2021 18:32:47.7352 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e470d736-e7f7-41a8-8eab-dad544b2b579 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kAEIS0v6v1Vj7vzJ6/oNpxo1vSCpWmDctp2Wo7qTcZZpJQsei4NvHRXoMYZqGVfzoK6Gd0nBWYicRK/WhH2dAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR19MB3937 X-Proofpoint-GUID: kZ66Oyy5upPJLD7G2oEx4mN1HeiVz76f X-Proofpoint-ORIG-GUID: kZ66Oyy5upPJLD7G2oEx4mN1HeiVz76f X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-06_08:2021-09-03, 2021-09-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=670 mlxscore=0 impostorscore=0 suspectscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2108310000 definitions=main-2109060118 Received-SPF: pass client-ip=148.163.137.170; envelope-from=ccberry@health.ucsd.edu; helo=mx0b-00395d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" Reply-to: "Berry, Charles" From: "Berry, Charles" via "General discussions about Org-mode." X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630953241; 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: 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=MKv5enlLmWZgQ0Ko/7WGSyaKbXinpAw+0nv105EhTeI=; b=oameGE61QNrMR5AEh/LfGXlUgtxcIPDyTbTPLPJt7ryuSvJmu1Y6YH7do3CZ75o76x8x3D 7sk7ZX2A/MOv30gEsqjl2ZtnMlMPj5FrjPnAqJQFUQAd0L7m2n3r40UU0OLQCe+OAhmpfy ICf3Ds0undKOqHGupL+SeMea7z90/vkCSWh//3mcHzacY/R/cb9u3OJd5xyHu7+3kMrvA0 yrlgVBKafyJRVo6qzDG1Dh62LavmT6XnW/98dAGaZuXqPseTz93RFe2mzCVCcoEv0g2Fq5 Cd4Em/qBo5aQcngeAMDPPtVdj/yHFCc+Q/5hTfaF/cxttIepKQjyY/O1GtNEMw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630953241; a=rsa-sha256; cv=fail; b=dAbGInaH7IWOkHdx3AVzuhcvxcC7ayHtNBf388MoGllNGS9ooij2KJBiCUaC/iHuynpfYW DZTYrMGKY6iOpjux4Sy64x0JOCiMo4aP2DFTzh0psvxe6IwvXkXM3aiGuCu0c8i9lPvnLc LdFU6s9sYGuTosge5y2XiXObHCIHi4LFjqLRcS02GmDmS8xNRCgAazSKsPjNmJeIiyOalF KChR+uTgL+ZJHNPmvrLPJzD8WGYBNKSm7AojwuWxKw8dvnwuniNAUDzMMuwnX6wyu/UoBj mMt7AuRFrjXhUw3KdHQHG3RUd1avbRUcFnFHFaVMtwKckYQ2WujkVBJ/79eDRA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=tZ3Ca3rg; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=FuVAx0B2; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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: -0.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ucsd.edu header.s=campus header.b=tZ3Ca3rg; dkim=fail ("headers rsa verify failed") header.d=ucsdhs.onmicrosoft.com header.s=selector2-ucsdhs-onmicrosoft-com header.b=FuVAx0B2; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; 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: 5835D163D1 X-Spam-Score: -0.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: +F/4LhsWwakk > On Sep 6, 2021, at 1:53 AM, Dominik Schrempf = wrote: >=20 > Thank you, this solution works. May I ask about the reasons of such a > distinction? [i.e. between exec-path and (getenv "PATH")] Well, this is how `shell' and `shell-command-on-region' both do it, and the= y seem to be the underlying engines. So you might ask elsewhere why it is = so. There are probably a lot of circumstances in which the distinction makes se= nse in babel shell blocks.=20 You would not want to use exec-path if your src block was being executed re= motely, for example. I think different shells can sensibly use different PATH defaults, so that = might be another circumstance in which the default to exec-path could trip = you up. HTH, Chuck