From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oIz0AbYe1mUNSAAAqHPOHw:P1 (envelope-from ) for ; Wed, 21 Feb 2024 17:03:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oIz0AbYe1mUNSAAAqHPOHw (envelope-from ) for ; Wed, 21 Feb 2024 17:03:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VCmLjRrk; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708530138; 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=7clfOHPG5ZwczDDQJwtBpjCdMLQHGQgOOo7L2dcUdaE=; b=t+ISzb4N3rrSZWHmh7cGW+AVXmkRrR6qR4YWkLoHcYDrPaI2WVk4/AfTUuwawQK0meLqJE AFmtJtSb/CuidxR+E9I9N6RRAgl4g+3OCECYTD3U+SmyeM94UnNI09oeN8XwfOvGA5bLtv eaXsb0d2qGM+EJbxB6OCTT5R2ycgcjEzFMIKXhBHSXxOI4L2+lXW+Yw8UTM10e7R3bqXWw v0NCqiobABBDreFG3Nwes+4lkJNcJrHADRptTI4lChl/lN7GyQKwdH1otFrhsgmFsVbQT3 UHn+MQXfJ3A2l4jShEOXmiUR5cTRQWhuILnLbBo7rwrFCkEbiVNuRe13kmBETw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VCmLjRrk; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708530138; a=rsa-sha256; cv=none; b=e0hrA2RPzzLkt01r+Q7mJmtQ/W6Rk3mLh2xM5NTF8a4VVU4A3a4ZH9b40JUhMugJVaUigL irYLR1xOrEmPWw47RLRSswjX11Ns67Ym4HckxJ52pBdJcwEXrYp0l/zf9Zv14a94rFp5wj GnFqGbEBzGDFsjKDSHBgSsBj8KG6ZW7qEF2vuV71aNeJPMzRHiPQzthg8c7WBbqU1T/mw9 CGEcW+QN8s2Mm1OsdrmRsa9g9s2pIOKldq4TrUlwXA2COy5jNkobbyRP+8mq1BGasH3Qzl AriNl5dG1pTaj+u6sXX9+UKYsio1pETRSocyjXB8afOeFsZJvXWBEHWBYWzjuA== 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 8E5EC3B8B9 for ; Wed, 21 Feb 2024 16:42:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcoaE-0006t7-Cx; Wed, 21 Feb 2024 10:32:30 -0500 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 1rcoRi-0002ms-VO for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 10:23:44 -0500 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcnji-0003XM-Lz for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 09:38:16 -0500 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2d2505352e6so19166281fa.3 for ; Wed, 21 Feb 2024 06:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708526292; x=1709131092; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=7clfOHPG5ZwczDDQJwtBpjCdMLQHGQgOOo7L2dcUdaE=; b=VCmLjRrkNvHWfZABgJex7TSC7ERB5jD4MLPp0E7SgPUk1IDLD4G/fti+VgUmxYRKoa 26yI71vMmwz9iMu4Yvgtd1NjC6EwSRaiwtkWFk+V8CYiipNcYUELhMRLQkwYhnMBsSte XwFBc+fsupvBsUHA1blxao0C+ZscnYmrBp1WCcN+QsROYx/xw4BgfXo3d5SsENPKkBjk kZ8BQqgUfCGTvDNvHbZw6EphVPM/QzDv7Ui267pLbiGPnk8VNBh/gOTOnyk3uXOdvjpE qEQN5vq/bX5K+317QqnIw4q27BR1+682vPisGjwV+cqAzmHUtI77LXgp7SmFY0Ghl1OT 4ibQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708526292; x=1709131092; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7clfOHPG5ZwczDDQJwtBpjCdMLQHGQgOOo7L2dcUdaE=; b=EIJ6kptHdds+rU5f9fpJ5QI02j0QwpdY7Plhf0+U163pQhyaWXSZ7AWvV0twYt+pwy Z+8CyGzSVdeZuJQbMgXQu04KR60UhLm3hZTCjji2KQ6cBdT+23IX0RHRGOVW72AsPDBP OAN51Mbq6YlvgmjUOEdqH4jFQ0o35swXryT91GFEZ+FQJAeg00pHJMsqF5EXNmFZca3i 1UaIHyYWffCtToiM6+VYUKBYSeglR96Z8ABClmUysSYNeX7C8dzxpV9S8cx2HXc0d9gS 5cWoCO64izCSQQCtF3ROpaiqsLR8425WTwL/XEsLADd5JI4gwj81fg+wICsJjJjsJB7l eZHQ== X-Gm-Message-State: AOJu0YzIEnmHNJJv004j+k/+0vPM+ueWljG5rxipPzx/YMRoFu2pLcOx w7N4n/IsF2mD7MA6FvH4kbKkb6ccn7zwjhG3KMl3ZxQrXUoOikbDIWSGrd/86Ek= X-Google-Smtp-Source: AGHT+IHeCq7BjRejD4EGaSBksnQT1AplDL0NRZD+uvqyfjdjWax3DtpwPOIJ14dn9sK5GNzO7QA7Ig== X-Received: by 2002:a2e:bba3:0:b0:2d2:45ea:da1f with SMTP id y35-20020a2ebba3000000b002d245eada1fmr3309355lje.18.1708526291841; Wed, 21 Feb 2024 06:38:11 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id z3-20020a2e7e03000000b002d0f99a7fc4sm1843898ljc.79.2024.02.21.06.38.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 06:38:11 -0800 (PST) Message-ID: Date: Wed, 21 Feb 2024 21:38:10 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Warn about shell-expansion in the docstring of org-latex-to-html-convert-command Content-Language: en-US, ru-RU To: =?UTF-8?Q?Martin_Edstr=C3=B6m?= Cc: emacs-orgmode@gnu.org References: <87wmr1rc2w.fsf@localhost> From: Max Nikulin Mail-Followup-To: =?UTF-8?Q?Martin_Edstr=C3=B6m?= , emacs-orgmode@gnu.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=manikulin@gmail.com; helo=mail-lj1-x231.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.50 X-Spam-Score: -2.50 X-Migadu-Queue-Id: 8E5EC3B8B9 X-Migadu-Scanner: mx11.migadu.com X-TUID: qwuwNqp/nzyO On 19/02/2024 02:36, Martin Edström wrote: > +Since this is a shell-command, remember to use single-quotes > +around \\='%i\\=', not double-quotes! Else a math fragment such > +as \"$y = 200$\" gets butchered into only \" = 200\"." I am afraid, the code, not the docstring must be fixed. I have not tried it, but I expect an issue with Test \(f' = df/dx\) So `shell-quote-argument' is necessary and quotes around %i must be stripped similar to %s in mailcap entries in `org-open-file'. Notice that dollar-math $x = y$ is not recommended and considered as obsolete syntax. Use \(x = y\) or \[x = y\] (the latter for display math).