From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GAZDOqyVIWaA3gAAe85BDQ:P1 (envelope-from ) for ; Thu, 18 Apr 2024 23:50:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GAZDOqyVIWaA3gAAe85BDQ (envelope-from ) for ; Thu, 18 Apr 2024 23:50:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UcBoY2EI; 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=1713477036; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=quUs6pU1BSK7u2d7AW76v4NktKsFjavItpXo2Vn6JFQ=; b=BHmIztOL8LRsgOwgb9Km1l0zs2l5OV+YG5C6fEQZTEBdtWBWwOVfnuVWhe/s7jJ6nzMsWK y1KYAlcJRU50PDMggois/PHM0HY8TdQyj4V3ljpUVgDHiPfxXetqSS1NhAa88VLcspL1Hw OZc0DxhLChNQ6dC3ivCegKCZ/TSRHrq8MsITBeQFiS1TNjaTUk3S9Savm3HmmulZX2XVHW gYxY2x0jy8pRZAtLJgZ+tPd6ty1MNtTn3xwCX0ywZ5UAT2gGq9gHAj85dWaZnkwYTJG0gK 8w/QGFNE9b7RjeCiW+2PPTslx0kpVVq97Q5M7pYf2PEnxyhXjKJssinA1jpyww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713477036; a=rsa-sha256; cv=none; b=SNWpiV0HyQX+dVGhgWe09/JpfzgIZnXp93ljrVY4RJeGxoac5vssRWmgjtOTcK9C2/AypE 5qkRQlgQju2DyQ8srgCF4RtzQbyP0wQwcF1z1VCU310qvqnRMDulejooDq6ynBI7Tp2Rnp l3VzUPI9uJqPUthEWYDefd6tCRPtoXWvKCorFNjD4C+vvZzxyPM+yzxFTiBkadS/0e2uML Pkd05iV6RmPAs89ePsa3TsXBhQKkL07emO7Gn2hDTL/wu78LbfC6Wtp51yqxlpELv8wmP8 9t4GXUzjEn4bygiwfH1NEOB1C2k1NFagWMAbKir4AcCZN9IuUO76moA7tmXxAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UcBoY2EI; 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 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 847EB3AB4B for ; Thu, 18 Apr 2024 23:50:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxZdf-0005KC-An; Thu, 18 Apr 2024 17:49:51 -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 1rxZdd-0005Jm-2d for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 17:49:49 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxZdb-0006CK-3d for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 17:49:48 -0400 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2db9b517b8fso11583381fa.0 for ; Thu, 18 Apr 2024 14:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713476985; x=1714081785; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=quUs6pU1BSK7u2d7AW76v4NktKsFjavItpXo2Vn6JFQ=; b=UcBoY2EIoJMSNdr3V1SbnZqvT1KPQJuZGqgNLIhPIVNSVdeFKkjtXm/tnJoMvipvgB iWZbRHppJ/sOvgraiClwWVJOdbCH2U7v0gEC0F2QskCvYqvlLX6zf796e1XR+ojCVNu5 WdvXs1TgjA8GRLDG/Cd1kgTv7FpCPv4Rn/SlkniEuSsMPNC/de02oQych6ovXIEwPuCH fD1I3/2vo+iQKoTJ4Q9dibjMxVHEacXPc7TWAlD9lYhBXWqnZRJ7yrSVdf/fr+LLV43z 10KP724hRcY5yK7G+5DnSwApSSK3xUJBuWoHyZa/GaVVUyk+fHJO2s6wPBdnM4fiZnMR UR+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713476985; x=1714081785; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=quUs6pU1BSK7u2d7AW76v4NktKsFjavItpXo2Vn6JFQ=; b=EDV2SdUaBsdL9rn239o5dJ+CxzbYaLxJZKc8mYzIPbvX8L+RJZ50dxTmxU/uZMAMNM 4RbfQv9RHM5ztiDyxK7wVliDbdtV+3xgRUqwTVVXI5e7U8Hnm9n+6mb2s5pJC2YPcKh/ VVscUx1/wLUdVZSsnoo0Ane0YsoeOk/mNxBKGbu9LlQ9fmT/1+wAsyxoSQz+cLen1bPB QqZ1e1Dt+crdt0CRQmuFQmkpo46gFV1thcEV+MJ6K08RyqXlrrjAhQF5mUlMD3S+xwMC NrId2yo1ln8JnyNQMCqDPCZ1RtTHHVoz8J+rf5HF9rK/OTqEmuT9IH1bb0Tu+h9qrSKm mnAA== X-Gm-Message-State: AOJu0YxAppTUm9qO+ttMYGe9QlHFBbYveXAoi8EMfWCCDk9wfuYz7BD6 lKuguReUrfMQcbcpY3UNpCHzyWnS3D+MS4JWxja1AZxBFZ6wNNl3rLz6omoanIQ= X-Google-Smtp-Source: AGHT+IGMJ4xYXf26s38te11ozQf2KhdyeSpk5qUxYoCqpS+IaeD+QZjhC+MtU2Sj+KzU/4BE621Aag== X-Received: by 2002:a2e:9d90:0:b0:2dc:ba07:740e with SMTP id c16-20020a2e9d90000000b002dcba07740emr135828ljj.8.1713476984322; Thu, 18 Apr 2024 14:49:44 -0700 (PDT) Received: from Kanamori ([46.53.253.63]) by smtp.gmail.com with ESMTPSA id u20-20020aa7d994000000b005700fa834acsm1347145eds.45.2024.04.18.14.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 14:49:43 -0700 (PDT) From: =?utf-8?B?0JrQvtGA0Y/QutC40L0g0JDRgNGC0ZHQvA==?= To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system Date: Fri, 19 Apr 2024 00:49:43 +0300 Message-ID: <86sezibatk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=karakin2000@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 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, URIBL_SBL_A=0.1 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: -5.19 X-Spam-Score: -5.19 X-Migadu-Queue-Id: 847EB3AB4B X-Migadu-Scanner: mx13.migadu.com X-TUID: IhnBrNl+jzDr Max Nikulin writes: > Please, evaluate the following expressions e.g. in the scratch buffer: > > shell-file-name ; "pwsh.exe" > system-type ; windows-nt > (w32-shell-dos-semantics) ; nil > (w32-shell-name) ; "pwsh.exe" For clarification: I specifically configured[1] MS pwsh as default shell for emacs when I was trying to get org-fc working[2]. I get some progress back then, but in the end I just installed busybox using scoop[3] and removed shell-quote-argument from org-fc functions[4]. > On Windows `shell-quote-argument' should use an escaping strategy > quite different from POSIX systems. Disclaimer: I do not have a > Windows box, so it is unlikely that I could help with further > steps. Perhaps other functions should be used to deal with file names. > Windows box I need this laptop to run windows, because pirated CAD programms that I need for studying would run only on Windows. I also use emacs for studying and I plan to eventually switch to KiCAD and freecad on the free operating system. > Perhaps other functions should be used to deal with file names. I will try to replace two functions that Karthik mentioned org-latex-preview--tex-compile-async org-latex-preview--image-extract-async with their corresponding versions without shell-quote-argument. But you also gave me another idea: I could try to set default shell for emacs to sh that comes from installed busybox package. If there is an issue with shell-quote-argument behaving on windows like on POSIX system, than it might be logical to try to launch these commands using POSIX shell. [1]:https://github.com/artsi0m/emacs-organizer/tree/1e1bac13b0f845cb622db08759b9e14fe35fcae7?tab=readme-ov-file#set-powershell-to-default-shell-on-windows [2]: https://todo.sr.ht/~l3kn/org-fc/43#event-334320 [3]: https://scoop.sh [4]: https://github.com/artsi0m/emacs-organizer/tree/1e1bac13b0f845cb622db08759b9e14fe35fcae7?tab=readme-ov-file#org-fc-awkfind-on-windows Sorry for resending this message again. I forgot to add CC to mailing list. I don't know how to do this automatically from gnus unfortunately.