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 ms1.migadu.com with LMTPS id eMj+FR05IWaCcwEA62LTzQ:P1 (envelope-from ) for ; Thu, 18 Apr 2024 17:15:41 +0200 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 eMj+FR05IWaCcwEA62LTzQ (envelope-from ) for ; Thu, 18 Apr 2024 17:15:41 +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="OR4NV1/M"; 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=1713453341; a=rsa-sha256; cv=none; b=OBTAQkyvDW4Qn0tNbwalIEVWe1yRJGWJLhwYPC0PtxshAzBjuaSKmpbCbRJET5p1wxmJ2r vZ0QjSLhmo0W0KhcJsISB+F3lmebpKs8s4bdKqOFRyEaVinvmipTh3D1OdHJhTiywSORvK klgon5GPWQ0YNYXj+CAYnpp0qS0U2nr3nXlxYYuUv1lgoZL3oOjMoEup7WE7Y+lEWkxn7O Z+VAQsp78/Isgk3htrSeR11rM0bgBXly+w2kpb1wMU1hjQSj3P+9Y/5ymL6eYAQoRvzbKV 0Iedy5B1GEWoaDV4l2qxtCmckW7VwjLdGDEyUMxr6jIkzHwTJ6MluYmmVJHjKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="OR4NV1/M"; 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=1713453341; 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=poUiR/3hmF3EmcO/ENWQoEzp1f+VvKEPPfqgHBZKexQ=; b=FpO6i9b4dmhHyUyTb3qId2WOqzSI4zM/sWVDOJO1c0nuTEPOlO5MWuuAHCeQqMRPeXBIpG Gd4efO/5XImEytfKZycNX4+aAY13d0c00uR6HXyG0KT4bsF6VxRkBMC8YO2Dy7+VBAi5cS Vxb4F8Ib1mZpgFzqnTxUtJJkZ3CsJZ1Bl9xvZO1YfIYqOpi4Q3bg3XcnYNbLPT5NvdzYqX W4UY26h1ep+lTLFEcTuhl9pTt3qNBt6CgbQ1FAqM/oK81QOpB7rgONjzo3bs0l7MjdmThb AkX/VTnLWwniIdXJHaGZL08msOlnP0vPQXvfnHJzSUzaNWqI0lA1kMh/830lTA== 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 312BA21383 for ; Thu, 18 Apr 2024 17:15:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxTTE-0001OY-Qx; Thu, 18 Apr 2024 11:14:40 -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 1rxTTA-0001Np-UN for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 11:14:36 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxTT9-0003Co-2W for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 11:14:36 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-5176f217b7bso1703714e87.0 for ; Thu, 18 Apr 2024 08:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713453273; x=1714058073; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=poUiR/3hmF3EmcO/ENWQoEzp1f+VvKEPPfqgHBZKexQ=; b=OR4NV1/MP6UkY8LoHVnNOJv8W4vRLJgRQM5AVxllA6uOf1YQoRKL1XpP6PkzGIQB4Z 7MhbKHKOoUHmPBzk0BP8Q0IWp1VYeRSmFe2uiThRs3OewlzmuHrqneCYK+w/VaFa2nWH yW8WsMCEp3VepLocZnu7GhPIlh6PqpY5GG/cVKcvJQjwC3ur/w5tmelQ58kyn+JhWmJT +ewiuhFEdKAL43JLQ8qTdOF/zKziH/il8cRfnmpo+6/QsfFwAeu99dZvvneL0+e/dIWg dw51NuyVDVNrH9yIUSBot799TnR/9PcClSqsDsuHSIBAsqhWfwGEs3VPnCjOuvaD2Uiu /Elg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713453273; x=1714058073; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=poUiR/3hmF3EmcO/ENWQoEzp1f+VvKEPPfqgHBZKexQ=; b=XOVaSnhPxPlEgpVxDm+BzIFdRBw1hUaERV2E2lBQPuFFAbKQk7/zZWsMSn+VUfE4ju MNpMvShX1CSqYI5llks+wDvvQ8CjPmEETBa4uUtnJOrljl8CPzE7CPsUB1AK4RPa7ns5 B1kai73IWVqE+q68FYWKZArQPZk3twut61N1cBvOnl/eMRS+c5Gt5RSvtlhtKQdnytK3 3y4BgKtgT43uKboHE4nSkn7QMrXA7Id8CWTaQ1Cp04WlMEzhDbG4bZEnnGMBs2di+FMx ykX49OHb5gpbPsHDmSdIagFmYWAMGTsmDHb7/ws1iQaOZgz/tjWeTwAze3slHjn/+4hw /Hew== X-Gm-Message-State: AOJu0YxR0ljI8xZBapQMt2eAK0VNeabK4U7E2Kg+ztPlbq6KAZ1WjGbe lv/A5ERgCqFG+xf62y/LOBrGBWgfp6kGEt4qkTKgdyDCvvRZP2zJfoHHCw== X-Google-Smtp-Source: AGHT+IHliMTm2d+QIfE+/icASz+vBM5DyW5yU/A/BfqXvvT94yWXGDcsk2axOMF+1YoGTne8A5asFA== X-Received: by 2002:ac2:55a2:0:b0:516:d09b:cbe4 with SMTP id y2-20020ac255a2000000b00516d09bcbe4mr2437088lfg.53.1713453272244; Thu, 18 Apr 2024 08:14:32 -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 g26-20020a0565123b9a00b0051971b78cf1sm241615lfv.267.2024.04.18.08.14.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Apr 2024 08:14:31 -0700 (PDT) Message-ID: Date: Thu, 18 Apr 2024 22:14:30 +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==?= Cc: emacs-orgmode@gnu.org References: <86wmov4um5.fsf@gmail.com> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: =?UTF-8?B?0JrQvtGA0Y/QutC40L0g0JDRgNGC0ZHQvA==?= , emacs-orgmode@gnu.org In-Reply-To: <86wmov4um5.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::12d; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12d.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-Spam-Score: -5.23 X-Migadu-Queue-Id: 312BA21383 X-Migadu-Spam-Score: -5.23 X-Migadu-Scanner: mx10.migadu.com X-TUID: eVJGn5Kw/CwY On 18/04/2024 03:11, Корякин Артём wrote: > Maybe I could somehow rewrite shell-quote-argument using advices ? > Maybe some more global changes is needed for emacs on windows ? Please, evaluate the following expressions e.g. in the scratch buffer: shell-file-name system-type (w32-shell-dos-semantics) (w32-shell-name) 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.