From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4IUWLoRc0mWRVwEA62LTzQ:P1 (envelope-from ) for ; Sun, 18 Feb 2024 20:37:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4IUWLoRc0mWRVwEA62LTzQ (envelope-from ) for ; Sun, 18 Feb 2024 20:37:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SW1xEHV1; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708285060; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=d9bn9FEkeZj2mfwlgYz0ymIDnz5CiR+5pN21pbw2YEA=; b=GJAsEFVoB6qls85d5FnaYNGfpD8ursoh7CS/vR+npRVjYK8Nb4kak9/fTBT0ngk5f3mUU3 yOc50oirl9Wt2TOHhZY+rM+6i57ut1t+XtCLvEDcy9rfI4naFoXfyhFDiJOwKbygiuPRey /7hOHvR++dlHRCZvg37+iXSkLnBnhonVNwF2ZTAy90lH/Z5xyZSnr4BhuVseQjDsUa2n0Q +dFWt6Cn56wtFWj5DXm0eLT9YJzI3xMXpgL2fpoyjEiYeX46+MVZ2IxZ98/VJO735NreEV B0oJwVvflFL8FFZm3U0gp+bwHraPW3U/rnjZJCGwUFPjKRwoLSw9xf9GEaYYAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SW1xEHV1; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708285060; a=rsa-sha256; cv=none; b=EDGvyAHckzZF9+b71759+cZAfBKvnvGVpWOljimBK80svWZVP0b+xGxDgu0KRVCfBh0/eY KattOn3pcJQ0yzyLVQzatlF6dM5ptr16ApNQtN3ge8tufztfnuQAwrFIjNma+yjPJVVJ7j D1895+/MMi8pczcnKbASlt0vkTw7EFElY6w+dkS/JxrIuLeweCgr5BCH5GfZvUdUdXn1Cn 6v4SA/Z2ic3FHZvM6344nRJO0qCl4TrmQ6qpeRofzvznMryGVR29uaaC8WaV49x/HdMhqG i5/T8VQipR3qqs3XP0s5U24tYMwWb+blHF3s/XsS1OGYFjqCxi8rBMn+Fo9L3A== 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 5A93721705 for ; Sun, 18 Feb 2024 20:37:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbmyB-0004yY-O6; Sun, 18 Feb 2024 14:37:00 -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 1rbmy9-0004xY-Kn for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 14:36:57 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbmy7-00081w-Ly for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 14:36:57 -0500 Received: by mail-wr1-x444.google.com with SMTP id ffacd0b85a97d-33d4f40617bso147094f8f.0 for ; Sun, 18 Feb 2024 11:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708285013; x=1708889813; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=d9bn9FEkeZj2mfwlgYz0ymIDnz5CiR+5pN21pbw2YEA=; b=SW1xEHV1+y5mXgjWHJHUME4XSUlKlg0fHzA9ociT7u91SaOXl6psSBRulOReexzAdd ZL+H7Aij1udwb5iv/p5Zkqh9VoBT6KQ8PQz6rwQ/OCzhDqQGjuz4rj9Km6F2K3HjMYW7 LHgv4xN0qkKMUwZ1c+UqSQe2y9Q0S01yeRnsIcY5xzCOPLTpojMnpkmo45zlZ46Gg/eq kSEyqYnbjPClJwPcl8Q5M0Nv7i8CcX3FKrIgHWl3Me30W7zX3qoYaPivRRQUqUtgIFZl RvAauHxTFMelowl7SnDqbrSmb1sm4JHD5zxYciCsJj/ltZSHLR6U2vdd70qI2n1IKNPk i98Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708285013; x=1708889813; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=d9bn9FEkeZj2mfwlgYz0ymIDnz5CiR+5pN21pbw2YEA=; b=qZz4UMZQBZGNIhoRednYQA7Ww9D6Xi+lQDNfr7/NZDRARtW5GgZurMkKkr/JEBdmTq Us6Wns4TT7phFezxv4QdSEgDuzaOvbHooeJqA52NS61WQ72UPRwjDk2JtGZuJXpmUat1 curbQlnWymSYWJZMDQg3mwJw9ljs3yTrpQ/ZP2App+JUMpaE3gLG80ENJuZ9h3z+CVyg +uQWJSyIwBMpfsYW4HibJ0z/P92PVKpxh8ClzrMzsq8ngwrwYq1CXZ7SXUO+GhhDoYai ZeA1pHueNEjIevnF1X5BfEoeiKRH4EHoO/eY1Nv2pFSPBsErzYEhhJ6kzubceGW+OAKm U1iw== X-Gm-Message-State: AOJu0Yzz69xEAd80LeKN9ZKrsamvmeixCl0sD5ALr0LnQnT6ELBeg3Ji +x+Y1sW4qulcR2pMr+iUna1kTRm3KiKmXAr2FpQ2n1t6kvIOc3PsRw2wsRKpV/h2042O1z0sr+U SQBGG7xRU9tuFuBuOFNuH1XfQDd9l3qVlMQkDjmiF X-Google-Smtp-Source: AGHT+IEv/y1lAt7imjFtMIuILeB2j83GDS4nXDDavGir5vxHYQNbcOZikvSMOPu6tAwuAHfUpDoBIHeDPR0vCFJnAFo= X-Received: by 2002:a5d:5443:0:b0:33d:1a0b:3a04 with SMTP id w3-20020a5d5443000000b0033d1a0b3a04mr4916479wrv.63.1708285013458; Sun, 18 Feb 2024 11:36:53 -0800 (PST) MIME-Version: 1.0 References: <87wmr1rc2w.fsf@localhost> In-Reply-To: From: =?UTF-8?Q?Martin_Edstr=C3=B6m?= Date: Sun, 18 Feb 2024 20:36:42 +0100 Message-ID: Subject: Re: Warn about shell-expansion in the docstring of org-latex-to-html-convert-command To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="00000000000067253d0611ad19d3" Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=meedstrom91@gmail.com; helo=mail-wr1-x444.google.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, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: 5A93721705 X-TUID: SM7oKfOmLMKF --00000000000067253d0611ad19d3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Here you go! Tests passed (14 SKIPPED), compiled fine. I've made no prior contributions and this changes 5 lines. I'm ok if you want to rephrase it in any way. Martin On Sun, 18 Feb 2024 at 19:56, Martin Edstr=C3=B6m w= rote: > > I will try to do a patch, thanks for the link. Stay tuned. > > On Sun, Feb 18, 2024 at 15:06 Ihor Radchenko wrote: >> >> Martin Edstr=C3=B6m writes: >> >> > I've just been struggling with my custom setting for >> > `org-latex-to-html-convert-command` outputting many math snippets >> > wrong. The fault was mine: I didn't correctly shell-quote the input. >> > I propose to add a warning in the docstring, because many people will >> > trip the same problem. >> >> > The thing is that double-quotes don't work in shell commands. I had >> > \"%i\", but it should've been '%i': >> >> Would you be interested to submit a patch? >> See https://orgmode.org/worg/org-contribute.html#first-patch >> >> -- >> Ihor Radchenko // yantar92, >> Org mode contributor, >> Learn more about Org mode at . >> Support Org development at , >> or support my work at --00000000000067253d0611ad19d3 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-lisp-org.el-Enhance-a-docstring.patch" Content-Disposition: attachment; filename="0001-lisp-org.el-Enhance-a-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