From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UAQcEizPYmPOtwAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 21:12:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sJYBEizPYmNtagAAauVa8A (envelope-from ) for ; Wed, 02 Nov 2022 21:12:28 +0100 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 E91DD1A9C3 for ; Wed, 2 Nov 2022 21:12:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqK5H-0002sA-NF; Wed, 02 Nov 2022 16:11:35 -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 1oqK5F-0002rS-FV for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 16:11:33 -0400 Received: from mail-yt3can01on2113.outbound.protection.outlook.com ([40.107.115.113] helo=CAN01-YT3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqK5D-0007Ro-Mb for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 16:11:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M5rCsq9hQ3P8eiCwUNxtM7i006WY1EdO9XQ/mtdbJ5Eh50CI4loSfI1I37SarGl7wc6UV/qGTu5dJAAUX80vfHHr01wGnlaLN0bLzeGpuCOb7CvZMoNJhSQVH/sWaJidaUVIcAS3zgLb5Thkf2I520g+gVsfx/syLJ1P1uPWLEvDXx9+hJ4a3poPvHxkrbNXsMTGTva8SnPI81/TSAcPYuAs+vMItklD6YHJ6Wkhk9N9RKFu8Vlf8vAHEc2o7ipurUF+ClnhfT8pNNJZ8RWHmrlM8GGFVtn8bOX1hUZW2sKDtYOGI7YP41Yf4RaA9X+HqsSwhn3hh9gXvstphJ3x/Q== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+XNjIHvdpN81xxU1rxjSk7flDHu4QAlc+oEuj9RLv1w=; b=RhPMHGerKweBHj70E174ciLwuZId679bg1Ne/5qgP03NonBWM3Yki1Q4Jx8C1oMmRvi9+qTMbaj69WXqOPZTojztsoLXwQYb95W1MCl4rIAUDgvFPRBdGfqs4V4ZoxoxetN8s31cb9XlkJYhnDm7P/UZRu7JIxfPL71jVkUKFkvP3ZgQ5qoRp7XkylOnkaoiRG/xH03LTolcOuHsfx3M58AiYoU+R/nI96bBogTy9hBkDRk4IEZvv4rF8lOpfH9dQ6Rcxu67nzGiz88+m5UesIRfhqEncW74LMIsgOrYrVk2LQvg7SHYuawnakEtaLb68eCbBrd9Ge/Cx+Opf19jsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+XNjIHvdpN81xxU1rxjSk7flDHu4QAlc+oEuj9RLv1w=; b=KPoOiO8r1EZIB9zsK/x3l5jZ4oDZYXVZBjeDQc5dpW+RJp4xLWSGOjHSNBlapdNRRxiUow3vCnZi+PRDA6Mj3SZ7oUt8HJXauvVv1YPx3OVIK3VooaweJqyWbYJT0ZpvDURe7tbU8C0UM4sHYX7qbJalpI+RUoBD4tvTq7Dtbfg= Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:90::5) by YT3PR01MB8322.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:9b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Wed, 2 Nov 2022 20:11:26 +0000 Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::820b:f1d7:ddad:27ad]) by YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::820b:f1d7:ddad:27ad%6]) with mapi id 15.20.5791.022; Wed, 2 Nov 2022 20:11:26 +0000 From: Leo Butler To: Max Nikulin CC: "emacs-orgmode@gnu.org" Subject: Re: Maxima code blocks does not work in windows revisited Thread-Topic: Maxima code blocks does not work in windows revisited Thread-Index: AQHY7s5Os+qscVA2vUquCNRWX7Mpuw== Date: Wed, 2 Nov 2022 20:11:26 +0000 Message-ID: <875yfxm80h.fsf@t14.reltub.ca> References: <8ae50265-2a3a-b1cc-de80-11fd7d8d4a8a@electrum-bikes.pl> <87leovm77b.fsf@localhost> <7d4bfdf1-b210-c90c-9448-703939764fe0@electrum-bikes.pl> <87sfj2kln2.fsf@localhost> In-Reply-To: (Max Nikulin's message of "Wed, 2 Nov 2022 22:17:07 +0700") Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YT3PR01MB9964:EE_|YT3PR01MB8322:EE_ x-ms-office365-filtering-correlation-id: c06033eb-9ebc-4b24-79d4-08dabd0e6c2b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O/Mez4McpAxh3CWnymXFnfN8FnrokT9OLONkEem9NQjN48THoPxo3YP8c2qZgycj1YV/Nif0ElBKklUdLQe35aCS5l3R/j8XPOArM6hc6pH+QxpFZMcdikTRo+req2fuIDYKDsQqWYwSVsMjxAZg933pESH7PqztyLOR2oatKCi5Ttzf/6GTL2yJZs+NqyjBnxVe5LWvgqV9v1DE5248i3eNNhg4tGDwiPulKiAAAGFOXIASOHBjBXck79NCVTDgJigKHbQcjIBnF3FaDOd/L2CWDoeFCZW0n1KOiIUhNEk/+OqyBjT5AuDkHfcKX4ie3X8zMo0D7cKoIhqcIFtkM9umWMyGn62ltsQIYFvGcqfBCBbmVgRxH5MN3TYp7zdJ7gPZ7oZ/PQ67rdHIEYUmf359mYko8eN2Xlv1OEcIJ1LW1r4FDky22ipG+zSwkdKWE9UPJ0aQv/SRD71Ad3y8/X+ZMADPh5GT9YNk2nZmPyAU6AU9Y1ovodsZe1H+ws40mYO5pfFYA4mm5bH0Yp+mfw843aBR8PJ115hmWR6FhYeIvoZxR+Lc2tJnrhkBhBT9sIJBjoIA0PDw1tfUm4uR6KE41iDclMZDswmbhqk2d0+45Bo+Lr18zhpRXRGAu6FMr74qmKPrb7m1KoBwTk53zXrE68u03UmSXhs1je3ltwrwOKUPbxpbuARgpNe2gk6hKKZy9m+pYtnCXiFPGCW3nmN+AHKvL0ElDargn1SYU0wxGsyzJvduV3Bjby+pDjrPy6h3eBWvbKi2KM4NoOAn1ispyM6+mdjBAGI4N15BrYE= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(346002)(376002)(366004)(396003)(136003)(451199015)(38070700005)(41320700001)(38100700002)(122000001)(86362001)(786003)(6916009)(966005)(478600001)(316002)(71200400001)(6486002)(5660300002)(8936002)(76116006)(2906002)(4326008)(66946007)(8676002)(66476007)(66556008)(64756008)(66446008)(6506007)(41300700001)(83380400001)(9686003)(26005)(6512007)(53546011)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?o+vxgdh8VabRhBr2/i1O7PKdtxqL2+wCFiwzBEai5+2YBKN9RSAjTcKQT0?= =?iso-8859-1?Q?pWUkd0g6WG8JMCK2ILGt30oAGrutOYWfqyeDsujucK7Pw3AiHZDx2KEapu?= =?iso-8859-1?Q?DeubempoCwARhdLyqilZ265OM0GFYI7QPPuIVLb6kA164oQw5JOGycK9ZN?= =?iso-8859-1?Q?bUkoaeKaVjIXRxKnAISc3ap28+pZflRP18rVSJErjaL5RjzrMxdeeejPjn?= =?iso-8859-1?Q?BZg1fiwBWB2gB51i+PnkqHceOuqiuvOPGLNrebAq0ofN9J1juxAzLZgoXO?= =?iso-8859-1?Q?p2QMty0+TECZTLVGyU6MxUhghQ1tn2hkP2ygtnUgAoMnzu3RnQ3CSrVjLk?= =?iso-8859-1?Q?/32wlBbyGvJqvn8OMd7Cfrvd9A0GSweFcsDYluEXpf0F6o4SOSf5hKrXeS?= =?iso-8859-1?Q?RjEkCSyJVIJEd9ujuRH5fyCBmyS/30+5aB7zabJi4nYCs7U8Kw1Y29PAPC?= =?iso-8859-1?Q?mkX8OfbTUW2THHOb1YESlX+bfirUUGG7KJ9ivC4W49tPFvaH12R6LIGKGp?= =?iso-8859-1?Q?jCpSM+F41F1BXQ9h0wtxejFl+X4iJRjzAAMMU0StnKo0yW58Zg4AralkVe?= =?iso-8859-1?Q?N54TS/WXKLCBbNOOQdoc8083324G97JtgpUsV4HNX3JwIV0DbLXRsGpdW1?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bhD7NJMbSHC5NHhhdvXhzkzgaalCN?= =?iso-8859-1?Q?ISJM+JkRSmXYB0LPGU7VuEmFu6fNEsEyU6ZdSQFLED8vXEwqq9xC6w0nzh?= =?iso-8859-1?Q?/oCdhsuYxWxAKayR5X73XIThfNe1gRfM/kIMVMdbNJvo18RdUZRXovUA?= =?iso-8859-1?Q?=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: c06033eb-9ebc-4b24-79d4-08dabd0e6c2b X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2022 20:11:26.8014 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fXaUMse2Zvb644Pf7SttYBomVU6MgfQu3ah6Jn5oko64bFLXfvhgxdiG6zEPk2YiM1ViczQUg9Rg14LB4fAlvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3PR01MB8322 Received-SPF: pass client-ip=40.107.115.113; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-YT3-obe.outbound.protection.outlook.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667419948; 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=+XNjIHvdpN81xxU1rxjSk7flDHu4QAlc+oEuj9RLv1w=; b=AyU2xWviW5/uTWYWlYbzaQ4TnA2MXzIDmW0j9v9ehUJJMpMfghgMtPoP/Md7Wlk/UelEop bLBKfNCEjDXEji0Jfxd/yoqCWD/dgoO/sVAsae/Mbp/z6a/U1MPPmWWGYmkCkx58y7aCpl BF8tEACvy25/9meEq50V+Ck8AsJ2ZaA1N/sDOo60RuDeN5JrfcYym3MaeEzAXqi2Quytur mNibBmsRGQ0YkzDv2WelgzTN8C2AYDJ1q/e2XeMmQYyIlfZcw4uLsMiBt+S19K1mHmZsKS TBWLuEZIBCYpVnDUZeVLde15ZW2y12VzmSK6WY1UgbHp3GwjysmPkGs3FcBCUA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1667419948; a=rsa-sha256; cv=pass; b=cNkosKRSpl6HFeJDBDiJuWKT/v/RHJEBTsshKIPS/I36sNWqVO2c8GuZxRLSBMWi9rjuCx eBJ1zktDfvmsegN/4FnDD0kRiltZvaeOnkIKi50Zh59VASXD+rBTxNqbQsjYhOlVAZYXRL Rl2rY0DbG3jcdPBUB61ymaSJVjPA+oVRXHXDhhKF34H9pLuGTKB609WqtxO2P4mfeQ2fzP rXwWCtkmnZMqE8twmpZQAGhowxD4oAsb2hD0Wy3MuJCLUMy4J8PPiaJ63SrEqkkIZoxvsw 5lNpePqhbCBGTRD6uTFj9wxKRdu2LYYNMNCG79cr/O2E3FwVd4VxNahtKjbQrA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=umanitoba.onmicrosoft.com header.s=selector2-umanitoba-onmicrosoft-com header.b=KPoOiO8r; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=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" X-Migadu-Spam-Score: -5.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umanitoba.onmicrosoft.com header.s=selector2-umanitoba-onmicrosoft-com header.b=KPoOiO8r; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=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" X-Migadu-Queue-Id: E91DD1A9C3 X-Spam-Score: -5.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: OxUsNDdrZ3nZ On Wed, Nov 02 2022, Max Nikulin wrote: > On 02/11/2022 11:47, Ihor Radchenko wrote: >>>> (for reference, this email is a followup of >>>> https://orgmode.org/list/CA+ikm3wqA33xP4c3pVV+F2a-gn0dbEzsdx6Vf2cRd+37= +u6pBA@mail.gmail.com) > > Ihor, you recently applied an alternative patch to Org main > branch. Emacs tree still has ob-maxima.el with single quotes around > batchload. > > Nikolay Kudryavtsev. Re: [PATCH] ob-maxima.el: Fix execution on MS > Windows. Thu, 30 Dec 2021 23:54:10 +0300.=20 > https://list.orgmode.org/8cd49b4c-9342-a77f-d665-402c41432b57@gmail.com > >> diff --git a/lisp/ob-maxima.el b/lisp/ob-maxima.el >> index dba12d7b6..52423db18 100644 >> --- a/lisp/ob-maxima.el >> +++ b/lisp/ob-maxima.el >> @@ -84,7 +84,7 @@ (defun org-babel-execute:maxima (body params) >> (cmd (format "%s --very-quiet -r %s$ %s" >> org-babel-maxima-command >> (shell-quote-argument >> - (format "batchload(%S)" in-file)) >> + (format "\"batchload(\\\"%S\\\")\"" in-fi= le)) > > Notice that code in the message you cited has "%s" and does not have > `shell-quote-argument'. Extra quotes may discard effect of existing=20 > double pass escaping. Yes, OP should try this solution first. If it fails, then there is some problem in `shell-quote-argument' that needs to be fixed. My 2c. Leo=