From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MC7wFfzVIWZ5YgAAe85BDQ:P1 (envelope-from ) for ; Fri, 19 Apr 2024 04:25:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MC7wFfzVIWZ5YgAAe85BDQ (envelope-from ) for ; Fri, 19 Apr 2024 04:25:00 +0200 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=XsaxfFh3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713493500; 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=dCc+1ro/5wna5jFLNFnwmECd2bcRhTKOZbsMCGUQro4=; b=CJpfr0OifWkMWE03osf4Fz51yAD5endnYVt4HaNN3H69hAv8Dm8JDXIm73fo/72cOeFJTg q6buqrojLlQLpSdPUk4sbulvpg2y/ISDwLZQbF7O74l2syhmzTeaK0uXrwu8jnoQ5Mflm+ jOuie7Vl4t1yqri45O4+jnIlIZ0/dhPLtU/iDablVGYNRAud1uABUuZ21jq6BLfeTAOTHE /lbObR6aOpMW3CIzlaIu32esYIpaFRVjffOXvGHu1gQdyIOekUa0AruJ2E5qy1Cqv1EcHh JPaHxZMEkVyCcyNl7xlTHdaynO3sa/gL7kfcdDf9Mc3e83pHdqg134aJAbv+pQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=XsaxfFh3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713493500; a=rsa-sha256; cv=none; b=ezxeG6JUm4AcHNZOFybsvCSYpM+BFNg2OwigVBneEZJSESIO1h9++9weJOqupnUSp41xU8 clZDqqgfArZ8FCo2ltjh9OOkV8M8nO4Ju73eUypbe252WiYsjEBT5TTu8fVN4kJXgvw7AS 9vnv2XemMFaMoutAUYssoiMRWEQ/XYj3RsjCgBLmfCrmvxujXDlQrHi/TkoqRs+Phnn45f l8h1TsdpCa0xR6ZPffyGkyIQxqFhSnKKWw5xiUJhsjdkiw8azoCJK7mdQHX85VX5oloDuv 9mDD13ApQKylOEtWeQsif7yzdq1unB0kxIhEHYJOUpd5Az8rKvIxyzxbGwvd3g== 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 2BB6164436 for ; Fri, 19 Apr 2024 04:25:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxdv7-00040t-R3; Thu, 18 Apr 2024 22:24:09 -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 1rxdv3-00040Y-NI for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 22:24:07 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxduz-0007sJ-DP for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 22:24:03 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2d8a24f8a3cso18262271fa.1 for ; Thu, 18 Apr 2024 19:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713493439; x=1714098239; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=dCc+1ro/5wna5jFLNFnwmECd2bcRhTKOZbsMCGUQro4=; b=XsaxfFh39mKvGa2LbLWAIKEezPRMKMEGhUevLksJUQGlNt6aJm9ncD82sVcYQVyKq0 R8Ujx+Xd21LKwsdnI+PXZfQFx99dDBCBkM6D6FGdhLxGeEjp4m6K6aQ+HblcqCiCWDI0 Z9yMduH9RoTtGH7iqt3abQFlJhaTGNzhgmbuc2vsjOwh/qaWOtXlblqiiigIEfpq/QiB uZsm94uknOFFdGWWO8mmGJz9z4p8bxK+CITanoq+BB44Bi45D3enKINGGJvFQV1k+ESR L8W6u9v0g9KThBtYpkJpYhRw+WzBYxnYTJUbooQ0Eq6Fgex/1B3iKGTGOudjbBM1eQMn wa4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713493439; x=1714098239; h=content-transfer-encoding:in-reply-to:mail-followup-to:from:cc :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dCc+1ro/5wna5jFLNFnwmECd2bcRhTKOZbsMCGUQro4=; b=LxOfseAhshst3TcuEJ8cq+HcUVids14pw3+6V1LVDoxxOYr6xuWki2J3JF3ve4IlUU 6/Hbgniudq37S+5VWMuE0arsBd8xtO3RXsw1zfQL6bWqTYPATg/f7RkM4e8hYNfGwIig ktgHXGEOjok0SKokg2AR/5kOjxRSAtkziEeoimKR7xuoe3y3mFC8/Hf+iYeSKBFj+F71 fU7BsHyBvP9bqqgJZ2hGPlxX6a0HCxPqE+5kAx3q6v5QW8XT4Cceryw4cBffTKYFNUJ0 Hnvlzgnz02eFtz9WWkBBnfYK1xO6ub95/l009mEWfSuEPZw3DQ28KePH/v62fUijlSd6 1oFA== X-Gm-Message-State: AOJu0Yyua6uu9cfs8t5mRA1O0czJHctazF1XzKOkQKdspj7Jo5EHbOAO mRyH4CzLS217ZhBQeNpkUdBELZXqmMcqa5x2aKTo/LAP4+8a/OBG X-Google-Smtp-Source: AGHT+IGdvS6FoS8BXcYVjkF2LqW3eItrZzErGwfnwEhFLRkIa/Q4veCamBBybkAvyULMc8LEJ+b0EA== X-Received: by 2002:a2e:880d:0:b0:2d8:7bbf:fd01 with SMTP id x13-20020a2e880d000000b002d87bbffd01mr354080ljh.15.1713493438420; Thu, 18 Apr 2024 19:23:58 -0700 (PDT) Received: from [192.168.0.102] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id a26-20020a2eb17a000000b002d6b678ae61sm400777ljm.70.2024.04.18.19.23.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Apr 2024 19:23:58 -0700 (PDT) Message-ID: <19b258eb-41eb-484d-b784-0c203776e46a@gmail.com> Date: Fri, 19 Apr 2024 09:23:57 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system To: =?UTF-8?B?0JrQvtGA0Y/QutC40L0g0JDRgNGC0ZHQvA==?= References: <86wmov4um5.fsf@gmail.com> <86edb2ft89.fsf@gmail.com> Content-Language: en-US, ru-RU Cc: Org Mode List From: Max Nikulin Mail-Followup-To: =?UTF-8?B?0JrQvtGA0Y/QutC40L0g0JDRgNGC0ZHQvA==?= , Org Mode List In-Reply-To: <86edb2ft89.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=manikulin@gmail.com; helo=mail-lj1-x230.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 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.75 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -3.75 X-Migadu-Queue-Id: 2BB6164436 X-TUID: V9ADF7OsRF43 On 19/04/2024 00:58, Корякин Артём wrote: >> shell-file-name > ; "pwsh.exe" >> system-type > ; windows-nt >> (w32-shell-dos-semantics) > ; nil I have no idea what style of escaping is expected by pwsh.exe. If it is the same as for cmd.exe then I would try to add it to `w32-system-shells' and would file a bug report against emacs with links to docs. However pwsh.exe as a shell may require dedicated support in Emacs (it it does not lead to other issues). See emacs sources for details. > and removed shell-quote-argument from org-fc functions[4]. It is no go. Improper escaping leads to vulnerabilities like https://security-tracker.debian.org/tracker/CVE-2023-28617 "org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters." > Sorry for resending this message again. > I forgot to add CC to mailing list. I you dropped my address in the second copy I would not receive a duplicate. > I don't know how to do this automatically from gnus unfortunately. I am not a Gnus user. Perhaps it has reply to list and reply to all actions. Unfortunately the message composed in gmail lacks In-Reply-To and Reference headers, and it causes broken thread.