From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aA1NBpXOyGExGAAAgWs5BA (envelope-from ) for ; Sun, 26 Dec 2021 21:20:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qNWrA5XOyGEAtQAA9RJhRA (envelope-from ) for ; Sun, 26 Dec 2021 21:20:37 +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 9A4CD2597C for ; Sun, 26 Dec 2021 21:20:36 +0100 (CET) Received: from localhost ([::1]:39540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1a0R-0007Dp-Or for larch@yhetil.org; Sun, 26 Dec 2021 15:20:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1Zyd-0007DR-Nq for emacs-orgmode@gnu.org; Sun, 26 Dec 2021 15:18:43 -0500 Received: from [2a00:1450:4864:20::133] (port=36787 helo=mail-lf1-x133.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1Zyc-0007Np-2i for emacs-orgmode@gnu.org; Sun, 26 Dec 2021 15:18:43 -0500 Received: by mail-lf1-x133.google.com with SMTP id j11so29004071lfg.3 for ; Sun, 26 Dec 2021 12:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:date:mime-version:user-agent:content-language:to :subject; bh=TenU2Q1L1w9lwGmqAPkx+O8j2sXUNDLKj7uDabhOx/8=; b=P8y23cO8LImLs6EU62gxpZ/eroYtqGm3qiisqFc2+15/kwj+tVZb6WIYpYfkqeaM0B sHzQaAp+NyM05zox9V2lVlA04ANJvIvVBIREo4PMNzHVVfdsp8zrp1LoIgay5avnfHQs CmQCPW0F7A1KsSzWAxoBlhAaarkrfAtJey2TV0HTdEI27/Q1u3NbqsUHF8JX7Uj9OqMW 5sUhNwxgl750uYg4Bv2gNzwJUR36AnjV1cdSSUofh3sBPpww1lbslByTumWJ1HUhseqe c3YRR3x3jiep82n/quaeIuqkEuXDBZnAm5m5IutwtmBAydhpnXfQg8L1NMVgMjyj2Kab X3Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:date:mime-version:user-agent :content-language:to:subject; bh=TenU2Q1L1w9lwGmqAPkx+O8j2sXUNDLKj7uDabhOx/8=; b=tk3vLpLklKB2cg7ag4ItrbCDp69qoc5Yd7CE9Clgr8wmmzJnwbU2Clk00hKa5y/+jw a4uSG1zW7Ct+R+pzthWHx8LTxOBNFA5G+Sy40xdSo0f9qbLNChA9tgHWS1treRl5/Qkq 00hWjUjqSS1d44NJ3+Z2iBSIl9e1YLhv0k9pk/DNE93g0sKa67AhETQ2QCQ4+Crus9rp iW6E2ti36tnLQk16MBhpLpG3T+NOjckruq++6wAlLsKFmdkR9QcryNGmrWnAaBfTu+gP endk6au2fV0OoFP0C+P4Q/HaXd8UPPn1CPCLGWh4kyymE0Sh3cylH//IkCArMNNcxpW0 YveQ== X-Gm-Message-State: AOAM5314vtqpnF8fEIliS2+au2Tt+VTAGPDiyIl+kZRPZk+vKGCr9x6B jfftM6xed8nmbHd4u9jyf1wybh54NSM= X-Google-Smtp-Source: ABdhPJw7pM3UvYZbROvPBSEs6X8cGgGo/77lo0Yl3mLgi+JyPZyl4iouQYktEYGIGlW//05INA5Qow== X-Received: by 2002:ac2:5ca4:: with SMTP id e4mr13375256lfq.263.1640549919211; Sun, 26 Dec 2021 12:18:39 -0800 (PST) Received: from ?IPV6:2a02:2168:b115:9d00:9f98:6372:73db:f09d? ([2a02:2168:b115:9d00:9f98:6372:73db:f09d]) by smtp.gmail.com with ESMTPSA id v125sm1453029lfa.109.2021.12.26.12.18.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Dec 2021 12:18:36 -0800 (PST) From: Nikolay Kudryavtsev X-Google-Original-From: Nikolay Kudryavtsev Content-Type: multipart/mixed; boundary="------------l90M253O557NdelvoSN394nm" Message-ID: Date: Sun, 26 Dec 2021 23:18:36 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US To: emacs-orgmode Subject: [PATCH] ob-maxima.el: Fix execution on MS Windows X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::133 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=nikolay.kudryavtsev@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_FROM=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640550036; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TenU2Q1L1w9lwGmqAPkx+O8j2sXUNDLKj7uDabhOx/8=; b=UMUBIb/HSXlkTh6C9a5Aesg/TYFJ66MpNo8jWQtIaGTssNx48QfDzK7wyPNbkPm3p1l/Q8 /6jESJkb5qvQ7jTOn5XpmpTe0R8CIwjBvaX24s5BHdlMmO22/9MPF6wlalKMr2UcInQc8H Q4uMyl64D3GPCXwbDsK3yTghe2ykDkKLYltT7gXbxn1ioLtxLz25ltIIlnrDg2IS4Pyls8 YUUQisYBRjGyNK02NA9xenMmYnwFuQqOgNsGJpCu3uYLbbpnlyKUwAkMvMzyy2sjqTuux5 qCYQ3nQvUIT7q9iz+q9vhR+0Zoda0Av6mt8TZYVIu8eXs6jKMqyZoeUQFjehVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640550036; a=rsa-sha256; cv=none; b=scmNke+80k7fIFYdlpKxSShuPyQE2RRJImbbXUb+mqYQilXnOHbLQ+C4MYIju4brZAJKUU sa1i1a1ZdXPyU+2RdBYc+WwM3KM6PNY0V7Y9Suod1TslzQ/R7t4GQUgYq5UJ019Bs+O/cf KSaXQPl8dzj4ldDFjvUUyNsJNxrqrlanexbM9tYVWuWN18n0mqip1NMAp19ub5EzFwygO1 ohElmZS4XjY89hp8bNn/YCQrr1d1rKeTa5VCEJlK7sXPjH41i1VtUsCkxvgSKEU69r8wP0 LbeGl1DAmoBexIGtMAm4QY/ekcoYyEHP9kwbswLK+Bb3HC4xM++oeU2wmi9SvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=P8y23cO8; 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.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=P8y23cO8; 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: 9A4CD2597C X-Spam-Score: -3.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: QpE5rBd2s49e This is a multi-part message in MIME format. --------------l90M253O557NdelvoSN394nm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello. I've been playing around with Maxima from time to time. Ob-maxima currently does not work on Windows due to it using single quotes in the Maxima invocation and those not being supported by Windows CMD. After some testing I've found an invocation that seems to work fine on both Windows and Linux. I don't think this patch can cause any real issue, since the string in those quotes is just the temp file path. --------------l90M253O557NdelvoSN394nm Content-Type: text/plain; charset=UTF-8; name="0001-ob-maxima.el-Fix-execution-on-MS-Windows.patch" Content-Disposition: attachment; filename="0001-ob-maxima.el-Fix-execution-on-MS-Windows.patch" Content-Transfer-Encoding: base64 RnJvbSBiMDIwNmQxNGRmODk0N2M4MzFlNTZlZWYyMWZiZDM4Y2E4OGMxZmQ1IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBOaWtvbGF5IEt1ZHJ5YXZ0c2V2IDxuaWtvbGF5Lmt1 ZHJ5YXZ0c2V2QGdtYWlsLmNvbT4KRGF0ZTogU3VuLCAyNiBEZWMgMjAyMSAyMjo0NzoxOSAr MDMwMApTdWJqZWN0OiBbUEFUQ0hdIG9iLW1heGltYS5lbDogRml4IGV4ZWN1dGlvbiBvbiBN UyBXaW5kb3dzC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