From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KDUIE0erzGHwaQEAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 19:39:03 +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 OEByEEerzGHm7gAA9RJhRA (envelope-from ) for ; Wed, 29 Dec 2021 19:39:03 +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 F342A22BF5 for ; Wed, 29 Dec 2021 19:39:02 +0100 (CET) Received: from localhost ([::1]:58624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2dqn-0004Xf-PD for larch@yhetil.org; Wed, 29 Dec 2021 13:39:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2doy-0004XP-Jg for emacs-orgmode@gnu.org; Wed, 29 Dec 2021 13:37:10 -0500 Received: from [2a00:1450:4864:20::12a] (port=36530 helo=mail-lf1-x12a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2dox-0000IG-3z for emacs-orgmode@gnu.org; Wed, 29 Dec 2021 13:37:08 -0500 Received: by mail-lf1-x12a.google.com with SMTP id j11so47972342lfg.3 for ; Wed, 29 Dec 2021 10:37:06 -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:subject :content-language:to:references:in-reply-to :content-transfer-encoding; bh=Sy5EEoRsEPdYZWl7xhRex7FsvpqQY+E4u29eKIzrDtI=; b=imfd93VSg5I7XeSknBo0DPE5e20jOesPVMwT5/bNOb4PDJceDAmfaV/w2EEUZ8sISz KdAnb3aBL3Nsgsc3eqqTTfxQHjN2+OVFgAOLB0UVDSmnp3dP1ELhITstc+TsxElWhzlR fcpEGh+DZu0neLnVklSZ44CQOqQNr3tcTBuNx2yjCD0C9z/OPX/c0r7JnogXX0uzr0y1 43s1wKZiaTHa/4uhUxNOOAW9TzHGCjRaKekfKT8wt/a3xCSNTv0pdXHxlzq2Q3M7mX6J ltIEDgak6g9PfxdzK/UXidpVYWk+2dyYRujLchV6D25KCrdY7F2rYJWcZU6kOMrRw6al PBdA== 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 :subject:content-language:to:references:in-reply-to :content-transfer-encoding; bh=Sy5EEoRsEPdYZWl7xhRex7FsvpqQY+E4u29eKIzrDtI=; b=ECK+MW1rCU/xoTNPNQC8i4QN5pu7Tmodw4Pq5WeAwonMw+EIM0hXZtq78jgCGH7bwC WjDfgpApaK9iud1uDv6GkxeGor8+UAk797xnY+mASjfzwl0TQ3ZnT/q2aPuadZ+vlUnp 5CbXdehQJ5JHBOmJZCFNPB0ykxspr6SdVSVwsZO6l3KmUknS5S/NB9M6xNyxLUrkbjyU 4N25dvXERtGS20dQxW1Etix1QdfX2jLQD1jPl5sQ8PuLNXMf5SXO0WoIobPqs2OfiMzB 4r7wMcDe/jg7lqAIL7VnTqKEhW67tF627VZLwQWtRb4Ep2Vm/ZvAuq/76hhC7FwbdkpX kKYA== X-Gm-Message-State: AOAM531b0JR9D9hF2RO7MNjgyV8qkENeeVH9DnWI7SAorNdI3cOppgnn W9XB1UeFZxnBi3p26ZLlYlM= X-Google-Smtp-Source: ABdhPJxAst8JqHbFd/yNj4ePG7K96V3QKbAsGZ1iJYtSM8UHnADA8VGhGYge7qDGsgciOxm5H5SFIw== X-Received: by 2002:a05:6512:2353:: with SMTP id p19mr19494745lfu.615.1640803025060; Wed, 29 Dec 2021 10:37:05 -0800 (PST) Received: from ?IPV6:2a02:2168:b07b:7500:c45b:bdc5:ec95:137b? ([2a02:2168:b07b:7500:c45b:bdc5:ec95:137b]) by smtp.gmail.com with ESMTPSA id l8sm2269432lfc.275.2021.12.29.10.37.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 10:37:04 -0800 (PST) From: Nikolay Kudryavtsev X-Google-Original-From: Nikolay Kudryavtsev Message-ID: <53a33993-2e62-2600-ee28-7c3d886de678@gmail.com> Date: Wed, 29 Dec 2021 21:37:02 +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 Subject: Re: [PATCH] ob-maxima.el: Fix execution on MS Windows Content-Language: en-US To: Max Nikulin , emacs-orgmode@gnu.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=nikolay.kudryavtsev@gmail.com; helo=mail-lf1-x12a.google.com X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-3.024, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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=1640803143; 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: 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=Sy5EEoRsEPdYZWl7xhRex7FsvpqQY+E4u29eKIzrDtI=; b=ESlRLl6NlgnkBfjJCyCu48Oqp7lRgI61LRU2Bd9mSCX7f7I63AYar4tCWAMyaAZKu1/vq+ 7Dm1ctMzY2C/OLJTmfkqhiKjb9VZk2j4O0UMZJ6Z0yT4IhBxTTPPEiDa6uZLHaPF4lLEwv +Fmta7bdqyAyxn9XYcqTieO0SXqn/Jw9+i1RiVw/3du73zb6wB3aBaAJOsh5hwIY5c2yr7 rHER7ETEiFiO22c7LS46mSWamjdCW5LjLVr9YDCy0S7mdgWlxa4eAXxm297XAhKkE+8wP+ yk0xk8PLa10g7abqOomYWo125qSIFiEKRpe6h/FjBvekSSpXHLQwRDtWYkORwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640803143; a=rsa-sha256; cv=none; b=Mvm9aeiMyWr2WuqbS/WalxCpmT1SogWDYx2rYrRPYGP2aDbzLQXiWBtNegytMYQQscIC5Y wCeO4nYC2gXbEcEvhQTRfV2tbxMHirIZW/9krhvM2c5T0kVLAOZdHorj1WlkBHm4uIgAn+ idD9v66gcqylrMs/4v/1rpNNe0VJ3Ev00G6agBb01kOKTI+nh4AKhIaF1UQ2xXOtXeRlX7 nd5EHKJzZ0JyHQMhiyMHf4sHvHkPA/uG2KtoiCDsG8GDcIerE94Rvtgs6s8sp6pXRhQJKn XZz1XGfOGHEjB5OCdR3g24dLxhrXsIdO0gfhS7nzBn7hUpTO3DBGwAmTzKA6sQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=imfd93VS; 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: -4.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=imfd93VS; 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: F342A22BF5 X-Spam-Score: -4.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: bm4yHAnbmaXW If your temporary-file-directory is something like "/tmp/apostrophe'", it would not work currently either. So apostrophe is a very special case here. As for possible evaluation within the double quotes, while this is theoretically possible, user sort of has to go out of his way to trigger it, so the question is whether we should introduce any platform-specific code to mitigate such an obscure case? Then we are also limited by Maxima itself since it has to be able to read that path too and it's very picky when it comes to file paths.