From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 ACU2MSqHIWZB4QAAe85BDQ:P1 (envelope-from ) for ; Thu, 18 Apr 2024 22:48:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ACU2MSqHIWZB4QAAe85BDQ (envelope-from ) for ; Thu, 18 Apr 2024 22:48:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="Mx7N/vnK"; dmarc=pass (policy=none) header.from=gmail.com; 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=1713473322; a=rsa-sha256; cv=none; b=hpdu6eh4gY98jqg+cwFksbjpEkgkdENwZ3QDAYw60MFENm/Mt5nXjO6+Vf8dFB0lhrsN8P cqN+zEqAL+DD9WbLktnJoRag4AHjMiURTRcqD9tdYbH5gu9zgcSn9pejm2HyeOz5ktn5qX 3S04RIAgX1KQrw20mErYzASMR0aV3L4iQqZAtexdaHS2++7aMWDTYAMCurzlZIqEYrTG1i QGh5oiN6zuAMEohkCLM4nP1H/bqYDUuoQMkf+9D2YeH54hOCWQwhgi1fbL7c788/y9RHjw R6hVTthGlHN805wGqNDibw+I67p4207KqdLMjmMVOO3IU0hpOb47izBQNGUYkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="Mx7N/vnK"; dmarc=pass (policy=none) header.from=gmail.com; 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=1713473322; 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=2/qUZ+KGiPALEmjILmcaIIwZAyKWgO75LF99LyNczt4=; b=KCsFbT+AV+W4G+TWOV8RVazd48qUKzHREBBKbJ1GY1T7/pmtYKBvHF2TdkspcWWXxKDPqR GIyLoZtwdOaoMrpnvzCi/zaeQmd+i6F97O4jzVxyMfdkfhGFP3TBGneQiM0XtyVln86eB0 jOnsIQrB3gx3M2xpa+4RDZ6CfSZkydbpWy0xgJAgMeljbmmAmyXTC0W2dx356SxJdg/gH/ MojL+4J6m7PyWaSH8NK3qyFdFOlzEdC0LxxvWOcv3k+YrvalAWQ2UehmCk+dVybjGUGsO0 1xiZL2uguD/aiLoc+z5CU2M54BUR3fljkcwHpt2ceVsoXC5v9iqych6Dz9/Agw== 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 862897E805 for ; Thu, 18 Apr 2024 22:48:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxYfX-0006vv-Sx; Thu, 18 Apr 2024 16:47:43 -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 1rxYfW-0006rj-Mz for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 16:47:42 -0400 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxYfU-0004cs-Uy for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 16:47:42 -0400 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a526d0b2349so151544466b.3 for ; Thu, 18 Apr 2024 13:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713473259; x=1714078059; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=2/qUZ+KGiPALEmjILmcaIIwZAyKWgO75LF99LyNczt4=; b=Mx7N/vnKWWG1+bHhx4+DCi3hcl24aw8j/vtN8E1dx+if2xHgx9v1umbYIZYKcgYMRo eCoUey+rGdrSAYqN81FkPKoHAUMoKAiY5NpLidDiX6jrok6b1wS/5uEvYhGf/N6ebfiZ 65H7X0WIP0A0ge9zWqDhmjvAvREWdglSufBaCoEnlnWOBw4bwA1a9cxdC5uXKf0tD7OH L75sf/nY0fH8mwPKS+PNMNsvzMTiiHCP1CSuaoJbFl/kRDtA03ODXUACHxTpFuEH3FaJ kDi6MbMILmNiBQhA/vE5JVi++sKRDGzoIb+D/4YiCU9U/9Y5WJAu+wsPYKJDheO1Y3PC Doiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713473259; x=1714078059; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2/qUZ+KGiPALEmjILmcaIIwZAyKWgO75LF99LyNczt4=; b=QQnrHbO+AhQzywCvK3rSu/J9dqG6uBHVfxq1LIXtTpfCa/qr46teNCvZDhAZCo9VaO oL4KnHYwIQ973zffKeCN8A+I/EcPfbakp7CRvfHmXB0taLmpUSPmlrADXCiG1YLB2QY5 7J9nQWCOQchp6Rtophshv54QpyceeNIlPQJtZ1IHXMgCI0jkyjDuCAlZdh701JVZTFFY Xtt5Jq3z7rGGV6FtSclxCSxsdIqrsylwbpK2r/IcOjJZEExb8XnVJKPNHPdHZcMc3xET qdIxOijgiCyPPSpZKAUnpgM2BVAf/xMEe0dgwlwUJJqc65XlIBKsmmWd/DYXPBnTRAXG zlDg== X-Gm-Message-State: AOJu0Yz3jxNVdd//77rXVGNduCPju4H7urxLUS+qtP4pa7t4UFJk7r8N EbCj8uxyS/F5rP6K0gjbsZyEGwxFYlNHmt9iKsKWuIpBxhFhoxUW X-Google-Smtp-Source: AGHT+IFZTYHaGbJEoI4ZDTfbrWTSQvYmXhj0PUx3hpAS9GGOsWs8rYDmKQQlTDQGg8iHjrfrzrqb0A== X-Received: by 2002:a17:907:788a:b0:a51:a027:4172 with SMTP id ku10-20020a170907788a00b00a51a0274172mr121495ejc.29.1713473258915; Thu, 18 Apr 2024 13:47:38 -0700 (PDT) Received: from Kanamori ([46.53.253.63]) by smtp.gmail.com with ESMTPSA id q26-20020a1709066b1a00b00a53c746b499sm1326528ejr.137.2024.04.18.13.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 13:47:38 -0700 (PDT) From: =?utf-8?B?0JrQvtGA0Y/QutC40L0g0JDRgNGC0ZHQvA==?= To: Karthik Chikmagalur , visuweshm@gmail.com Cc: emacs-orgmode@gnu.org, orgmode@tec.tecosaur.net Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: <87v84f8ivb.fsf@gmail.com> (Karthik Chikmagalur's message of "Wed, 17 Apr 2024 20:11:52 -0700") References: <86wmov4um5.fsf@gmail.com> <87v84f8ivb.fsf@gmail.com> Date: Thu, 18 Apr 2024 23:47:08 +0300 Message-ID: <868r1aflf7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=karakin2000@gmail.com; helo=mail-ej1-x62f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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-Spam-Score: -6.88 X-Migadu-Queue-Id: 862897E805 X-Migadu-Spam-Score: -6.88 X-Migadu-Scanner: mx10.migadu.com X-TUID: FDC9YIPnVyXE Karthik Chikmagalur writes: > As a temporary measure, could you try replacing calls to > shell-quote-argument with identity in the following two functions? > > org-latex-preview--tex-compile-async > org-latex-preview--image-extract-async I did[1] exactly this. It works, but only if I eval it manually after loading emacs, even if I will load it using (org-babel-load-file) from init before. But I think it is enough for today and for workaround type of temporary solution. I might need an advice where to go next to solve problem with (shell-quote-argment) i.e. to which mailing lists I should subscribe to work on patch and send it one day. I think I will also try to remove part of my config where I will change default shell and see if running with default configuration brings any changes, because comment on this function in subr.el says that it may missbehave with unusual shells. Also, my idea to set emacs shell-file-name to busybox sh didn't worked out, but I wasn't sure about it anyway. Thanks a lot for the patience. [1]: https://github.com/artsi0m/emacs-organizer/blob/1a1463da6e54b29af071b721e992295a9d24dec9/org-latex-preview-workaround.org