From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eMVEAHJRUmSPOwEASxT56A (envelope-from ) for ; Wed, 03 May 2023 14:20:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YNcYAHJRUmSXtwAAauVa8A (envelope-from ) for ; Wed, 03 May 2023 14:20:02 +0200 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 896298A19 for ; Wed, 3 May 2023 14:20:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puBSM-0007v8-6P; Wed, 03 May 2023 08:19:38 -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 1ptouz-0003uR-E3 for emacs-orgmode@gnu.org; Tue, 02 May 2023 08:15:41 -0400 Received: from mail-40135.protonmail.ch ([185.70.40.135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptouv-0003HM-NI for emacs-orgmode@gnu.org; Tue, 02 May 2023 08:15:41 -0400 Date: Tue, 02 May 2023 12:15:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683029723; x=1683288923; bh=HSvK+gG1Djg4PHyebUh9YABIcDSaYLjxZ6VlnZZB0OU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Ge4FiHIl/xUoFDzfzut8ASW3cjEsaA0eMgMQcE/o2JnlBBBMmGu12FAN+7sSLFhXX Dy1o975F6EXiha1X5Se49BAS8Eca1EFbMpmFcCP9E9VbKCqrr1bbe3tck83lOQMynu BWBAe1hr4JYnkFI3WhDr0BF0RWlksjFbi0FrgnJUFDxCyq0+mwXmWHYnkwo5yQEwPw g0kC3qrdV06cfFvTUephhC51cn6ZBlrOuOBRXyP6Dn7LlXVrWZhn3MxVrEiXZ1aOzX 3m5kxJg5Dnlnl2TwS6upEwsfW/qlL9rLzUNCDF+cIDod1WbbPGCAa57rSMo20r/Mk9 GAeSbj60A35sA== To: Timothy From: "K. Chousos" Cc: emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system Message-ID: In-Reply-To: <87lek2up0w.fsf@tec.tecosaur.net> References: <87lek2up0w.fsf@tec.tecosaur.net> Feedback-ID: 17084462:user:proton MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_GEVtna0HbFBW3Mx2jU00nojJ0zeOlAy9GzUA4E5A" Received-SPF: pass client-ip=185.70.40.135; envelope-from=K.Chousos@protonmail.com; helo=mail-40135.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 03 May 2023 08:19:35 -0400 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683116401; a=rsa-sha256; cv=none; b=OLx2GoDu8hnJeZmsy3KvOaHg9xpXTG4UtShju/7PUBxTu6YebWiItctBHuWox0FKMcyG7E uEd24BDdg+JTfWHP+o29evXkdKfK11b/2ngYMJ9Neyhraq6peji1Kdu95iT4KZfE5dclKs c6tsV//j4KCFDIkyCicASpyY+zl+6hj2EMVp1/JAhGxrB6d9qtJkzT06nJWeajqxpnxIPH JeqeWn4YT1W6p371b/Fl4AVUXRi9Ahv5E8IHN7GCGMdg2cWu8OdyCBl+L1w5inQnrNPfjB I4P8u+3hXvkjpmRu1rOw0XEEnCnnSMCDIHrV4Wgvo/Rb/ShLA9bjv2OAxjTK5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Ge4FiHIl; dmarc=pass (policy=quarantine) header.from=protonmail.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=1683116401; 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=HSvK+gG1Djg4PHyebUh9YABIcDSaYLjxZ6VlnZZB0OU=; b=lr0ZF2aaur45ytByZ7JO3fRvWWmVj5OdX221dHynsEvfPSI2Zp5/82wM+7PGVMSloJUcUv eud+Q+BfX7R+7m3BuifTjqrBpyUpxY9lmIgIlwfqOItKQIuNAyBqU7XYGqPK4yaUYE3QQ7 fgC7b7cEQUebBxFU5L9GTdOZOcz9yVEZA4Ydcc//Gi/ZMYQ98EwWMOpTfjKP2lHM5hl8k0 ZDlbjA0O2aylIHHo4b2FeK0D5LrXlXSZ8DtIStdLkQdqLnEXBdZUrlEm2qYz5/tALcPsxE K2j6uXCYjzI3jYE/8Rwo7RHLFMMTAziVUpiVwIZw8bXXKmyC2VqKyzrmFEYXXQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=Ge4FiHIl; dmarc=pass (policy=quarantine) header.from=protonmail.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" X-Migadu-Spam-Score: -4.28 X-Spam-Score: -4.28 X-Migadu-Queue-Id: 896298A19 X-TUID: hbPpC3BwJb4G This is a multi-part message in MIME format. --b1_GEVtna0HbFBW3Mx2jU00nojJ0zeOlAy9GzUA4E5A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Timothy. First of all, thank you for your contribution. I use your fork for some day= s now and I can verify that it is working correctly. I have only faced the fo= llowing problems: 1. When a snippet contains a mistake, it correctly turns red, but no error = message is shown when I hover my mouse over it. I have to switch to the *Org Pre= view LaTeX Output* to see the error. 2. Live previews do not work (like shown here https://tinyurl.com/5fu7z27w)= , although I am using the related options and use your branch up to the ---PATCH SE= T DIVIDER--- commit. 3. When using your version, the ox-hugo exporter no longer works when latex= is involved. The error that appears is the following: org-html-format-latex: Invalid function: org-export-with-buffer-copy 4. Some key-binds (like C-c C-e to publish or C-c C-x C-l for latex-preview= ) do not work when the cursor is at the top of the file, before the first header. In the attachments there are the diagnostics from the org-latex-preview-che= ck-health function and my relevant configuration. Again, thank you for this amazing overhaul and I hope it won't be long till we see it merged in the official Org branch. --b1_GEVtna0HbFBW3Mx2jU00nojJ0zeOlAy9GzUA4E5A Content-Type: application/octet-stream; name=diagnostic-results Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=diagnostic-results WW91ciBMYVRlWCBwcmV2aWV3IHByb2Nlc3MKClByZWNvbXBpbGUgd2l0aCBkdmlsdWFsYXRleCDi hpIgTGFUZVggQ29tcGlsZSB3aXRoIGx1YWxhdGV4IOKGkiBDb252ZXJ0IHRvIFNWRyB3aXRoIGR2 aXN2Z20KCmx1YWxhdGV4ClRoaXMgaXMgTHVhSEJUZVgsIFZlcnNpb24gMS4xNS4wIChUZVggTGl2 ZSAyMDIyKQovdXNyL2Jpbi9sdWFsYXRleAoKV2FybmluZzogUHJlY29tcGlsYXRpb24gbm90IGF2 YWlsYWJsZSB3aXRoICJsdWFsYXRleCIhCgpkdmlzdmdtCmR2aXN2Z20gMy4wLjEKL3Vzci9iaW4v ZHZpc3ZnbQoKTGFUZVggcHJldmlldyBvcHRpb25zCuKAoiBQcmVjb21waWxhdGlvbiAgICAgICAg ICAgT04K4oCiIEVxdWF0aW9uIHJlbnVtYmVyaW5nICAgICBPTgrigKIgQ2FjaGluZyB3aXRoIG9y Zy1wZXJzaXN0IE9GRgoKTGFUZVggcHJldmlldyBzaXppbmcK4oCiIFBhZ2Ugd2lkdGggIDAuNzUg ICAoZGlzcGxheSBlcXVhdGlvbiB3aWR0aCBpbiBMYVRlWCkK4oCiIFNjYWxlICAgICAgIDEuNTAg IChQTkcgcGl4ZWwgZGVuc2l0eSBtdWx0aXBsaWVyKQrigKIgWm9vbSAgICAgICAgMS4yMCAgKGRp c3BsYXkgc2NhbGluZyBmYWN0b3IpCgpMYVRlWCBwcmV2aWV3IHByZWFtYmxlClxkb2N1bWVudGNs YXNze2FydGljbGV9Clx1c2VwYWNrYWdle2Ftc21hdGh9Clx1c2VwYWNrYWdle2Ftc3N5bWJ9Clx1 c2VwYWNrYWdle2Ftc2ZvbnRzfQpbREVGQVVMVC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b3VuZCBhdXRvIDpiYWNrZ3JvdW5kICJUcmFu c3BhcmVudCIgOnNjYWxlIDEuNSA6bWF0Y2hlcnMKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAoImJlZ2luIiAiJDEiICIkIiAiJCQiICJcXCgiICJcXFsiKQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDp6b29tIDEuMikKICAob3JnLWxhdGV4LXByZXZpZXctcHJlYW1ibGUgLiAiXFxk b2N1bWVudGNsYXNze2FydGljbGV9XG5cXHVzZXBhY2thZ2V7YW1zbWF0aH1cblxcdXNlcGFja2Fn ZXthbXNzeW1ifVxuXFx1c2VwYWNrYWdle2Ftc2ZvbnRzfVxuW0RFRkFVTFQtUEFDS0FHRVNdXG5b UEFDS0FHRVNdXG5cXHVzZXBhY2thZ2V7eGNvbG9yfSIpCiAgKG9yZy1sYXRleC1jb21waWxlciAu ICJsdWFsYXRleCIpCiAgKG9yZy1sYXRleC1wcmV2aWV3LXdpZHRoIC4gMC43NSkKICAob3JnLWxh dGV4LXByZXZpZXctbnVtYmVyZWQgLiB0KQogIChvcmctcGVyc2lzdC1iZWZvcmUtcmVhZC1ob29r IG9yZy1lbGVtZW50LS1jYWNoZS1wZXJzaXN0LWJlZm9yZS1yZWFkKQogIChvcmctbGF0ZXgtZm9y bWF0LWRyYXdlci1mdW5jdGlvbiAuCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICNbNTE0ICJcMjA3IgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBb XQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAzICJcblxuKGZuIF8g Q09OVEVOVFMpIl0pCiAgKG9yZy1sYXRleC1mb3JtYXQtaGVhZGxpbmUtZnVuY3Rpb24gLiBvcmct bGF0ZXgtZm9ybWF0LWhlYWRsaW5lLWRlZmF1bHQtZnVuY3Rpb24pCiAgKG9yZy1sYXRleC1zcmMt YmxvY2stYmFja2VuZCAuIG1pbnRlZCkKICAob3JnLWxhdGV4LWh5cGVycmVmLXRlbXBsYXRlIC4g IlxcaHlwZXJzZXR1cHtcbnBkZmF1dGhvcj17JWF9LFxucGRmdGl0bGU9eyV0fSxcbnBkZmtleXdv cmRzPXsla30sXG5wZGZzdWJqZWN0PXslZH0sXG5wZGZjcmVhdG9yPXslY30sXG5wZGZsYW5nPXsl TH0sXG5jb2xvcmxpbmtzLFxubGlua2NvbG9yPWJsdWUsXG5jaXRlY29sb3I9cmVkLFxudXJsY29s b3I9Ymx1ZX0iKQogIChvcmctbGF0ZXgtZm9ybWF0LWlubGluZXRhc2stZnVuY3Rpb24gLiBvcmct bGF0ZXgtZm9ybWF0LWlubGluZXRhc2stZGVmYXVsdC1mdW5jdGlvbikKICAob3JnLXBlcnNpc3Qt YmVmb3JlLXdyaXRlLWhvb2sgb3JnLWVsZW1lbnQtLWNhY2hlLXBlcnNpc3QtYmVmb3JlLXdyaXRl KQogIChvcmctbGF0ZXgtcGRmLXByb2Nlc3MgImxhdGV4bWsgLW91dHB1dC1kaXJlY3Rvcnk9JW8g JWYiKQogIChvcmctbGF0ZXgtcHJldmlldy11c2UtcHJlY29tcGlsYXRpb24pKSkK --b1_GEVtna0HbFBW3Mx2jU00nojJ0zeOlAy9GzUA4E5A Content-Type: text/x-emacs-lisp; name=conf.el Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=conf.el KHNldHEgb3JnLWxhdGV4LWNvbXBpbGVyICJsdWFsYXRleCIKICAgICAgb3JnLWxhdGV4LXByZXZp ZXctYXV0by1nZW5lcmF0ZSAnbGl2ZQogICAgICBvcmctbGF0ZXgtcHJldmlldy1wZXJzaXN0IG5p bAogICAgICBvcmctbGF0ZXgtcHJldmlldy1wcm9jZXNzaW5nLWluZGljYXRvciAnZnJpbmdlCiAg ICAgIG9yZy1sYXRleC1wcmV2aWV3LW51bWJlcmVkIHQKICAgICAgb3JnLWxhdGV4LXByZXZpZXct d2lkdGggMC43NQogICAgICBvcmctbGF0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