From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kO8QOJsyUmQ8BAEASxT56A (envelope-from ) for ; Wed, 03 May 2023 12:08:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oLlkN5syUmRnQQEAG6o9tA (envelope-from ) for ; Wed, 03 May 2023 12:08:27 +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 80F15FA56 for ; Wed, 3 May 2023 12:08:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pu9OT-0000O7-Lz; Wed, 03 May 2023 06:07:29 -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 1pu9OS-0000Nt-8i for emacs-orgmode@gnu.org; Wed, 03 May 2023 06:07:28 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pu9OH-0000qn-WD for emacs-orgmode@gnu.org; Wed, 03 May 2023 06:07:28 -0400 Date: Wed, 03 May 2023 10:07:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683108432; x=1683367632; bh=3BRZKEeV0/p4cuKXf+VFa7GBA0mu7S46bhqx80cuHQI=; 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=UkD3JHHC32CTSrYqp6GavZzQS8/yzZmHUdc7+JsNPMNFzTYRz2PcrRIpezZwA/6a1 7IFfROJ4FdVb98NkDc1aAuMknwAu6PmidUf3Pwmi1hhUJGdss7MANXVHVhFrXcoLKA 8mnx2d/SZJVGFeeUMG4/jG77MKNTc7Pf+B5zlxD8CbyT+2zbDHpwnmJpaUKrICG4xT 9oeSikSbkkuB4a8Vx121WAjoP8Pz7Q5WAh4JvnLoGKE0irZ0ODUzhrH9GG/4YzziZe lyYW7PzPB67xdQe9cw3vEUKmzjK8jDFKFn1NrbvZTsT4KNLhOvVOMtlsbEq036gZHP 2DSLYMcX0pdzw== 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_EUVd31s2nVWMQbSqWs8BYPcZshQlHASWsnXTkKq6UI" Received-SPF: pass client-ip=188.165.51.139; envelope-from=K.Chousos@protonmail.com; helo=mail-0301.mail-europe.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683108507; a=rsa-sha256; cv=none; b=pTmchsYLhPho8t6yMWAIySaAoFtPUX7b7M6VSnQQuLhgeoPpDliizIJcmljFeYyDQBzG9W f1s6JrbcCeUIz378ZNNQIcna9e9e4Cm0QN5ghZQUIO+AuFbrnAFN9roL0x+m+pfsyBEeQQ 6IVvOX2NOF/Bsl7fxcpMrun2yeZRCko974CDx+C3S3ntQWKmPZ47UHk8ctkXUmcD9aN+03 jBo8dHQY88cW1VRyDtqgvCoCYLUHf9oUSCylxjrMnGW+GwuZR0PicxJHXpP9rygXeQAc8A ewsL7quApLqQtCVEg+tYp8Zy6LBB0I3pshGYtTE+JDa39y42L3yjEuJH15hmlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=UkD3JHHC; 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=1683108507; 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=3BRZKEeV0/p4cuKXf+VFa7GBA0mu7S46bhqx80cuHQI=; b=hNWWkdJUgeXHMkxToIinB1aRQgo5jrFqvbkhGEdsSqX0+Fa7dhJMc+1LO0Wp/v4uRIpmIM yEFby0zlOwdhrpxFzmZtWOgwO0RF/G5JIbo51+SFJnZPqo2v3lKKStrTSZb2VEl5eYc9hQ LQ4J0MWeIxkUTkNGlw1S16pm/LOYm7zkdORd+jUP64DaEBPxoyFLEadS8rrArDEGxTPAWq VKmLwTsjmGc4dqVTUTm5YQAiC0V+ZbyohqI0SA8Cf6o8g08yAZMA/R+K9NjNTjoatwB8FP cZMd0Jmn/Z08smoM3h/VONZkzw5glW4zTHg0cf7aKt6dBzbLWSvACkeLvmrgOA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=UkD3JHHC; 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: -5.38 X-Spam-Score: -5.38 X-Migadu-Queue-Id: 80F15FA56 X-TUID: cBXl/7p17MQi This is a multi-part message in MIME format. --b1_EUVd31s2nVWMQbSqWs8BYPcZshQlHASWsnXTkKq6UI 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_EUVd31s2nVWMQbSqWs8BYPcZshQlHASWsnXTkKq6UI Content-Type: text/x-emacs-lisp; name=conf.el Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=conf.el KHNldHEgb3JnLWxhdGV4LWNvbXBpbGVyICJsdWFsYXRleCIKICAgICAgb3JnLWxhdGV4LXByZXZp ZXctYXV0by1nZW5lcmF0ZSAnbGl2ZQogICAgICBvcmctbGF0ZXgtcHJldmlldy1wZXJzaXN0IG5p bAogICAgICBvcmctbGF0ZXgtcHJldmlldy1wcm9jZXNzaW5nLWluZGljYXRvciAnZnJpbmdlCiAg ICAgIG9yZy1sYXRleC1wcmV2aWV3LW51bWJlcmVkIHQKICAgICAgb3JnLWxhdGV4LXByZXZpZXct d2lkdGggMC43NQogICAgICBvcmctbGF0ZXgtcHJldmlldy11c2UtcHJlY29tcGlsYXRpb24gbmls CiAgICAgIDs7IG9yZy1sYXRleC1wcmV2aWV3LWxpdmUtZGlzcGxheS10eXBlICdlbGRvYwogICAg ICBvcmctc3RhcnR1cC13aXRoLWxhdGV4LXByZXZpZXcgdAogICAgICBvcmctbGF0ZXgtcHJldmll dy1hdXRvLWdlbmVyYXRlIHQpCgooc2V0cSBvcmctbGF0ZXgtcHJldmlldy1wcmVhbWJsZQogICAg ICAiXFxkb2N1bWVudGNsYXNze2FydGljbGV9ClxcdXNlcGFja2FnZXthbXNtYXRofQpcXHVzZXBh Y2thZ2V7YW1zc3ltYn0KXFx1c2VwYWNrYWdle2Ftc2ZvbnRzfQpbREVGQVVMVC1QQUNLQUdFU10K W1BBQ0tBR0VTXQpcXHVzZXBhY2thZ2V7eGNvbG9yfSIpCgo7OyBcXHVzZXBhY2thZ2V7cG9seWds b3NzaWF9ICAKOzsgXFxzZXRtYWlubGFuZ3VhZ2V7Z3JlZWt9ICAgCjs7IFxcc2V0b3RoZXJsYW5n dWFnZXtlbmdsaXNofQoKKHBsaXN0LXB1dCBvcmctZm9ybWF0LWxhdGV4LW9wdGlvbnMgOnpvb20g MS4yKSA7IENhbGlicmF0ZWQgYmFzZWQgb24gdGhlIFRlWCBmb250IGFuZCBvcmctYnVmZmVyIGZv bnQuCgooYWRkLWhvb2sgJ29yZy1tb2RlLWhvb2sgIydvcmctbGF0ZXgtcHJldmlldy1hdXRvLW1v ZGUpCg== --b1_EUVd31s2nVWMQbSqWs8BYPcZshQlHASWsnXTkKq6UI 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 YXNze2FydGljbGV9Clx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nLWVsZW1lbnQtLWNhY2hlLXBlcnNpc3QtYWZ0ZXItcmVhZCkKICAob3Jn LWxhdGV4LXByZXZpZXctb3B0aW9ucyA6Zm9yZWdyb3VuZCBhdXRvIDpiYWNrZ3JvdW5kICJUcmFu c3BhcmVudCIgOnNjYWxlIDEuNSA6bWF0Y2hlcnMKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAoImJlZ2luIiAiJDEiICIkIiAiJCQiICJcXCgiICJcXFsiKQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgIDp6b29tIDEuMikKICAob3JnLWxhdGV4LXByZXZpZXctcHJlYW1ibGUgLiAiXFxk b2N1bWVudGNsYXNze2FydGljbGV9XG5cXHVzZXBhY2thZ2V7YW1zbWF0aH1cblxcdXNlcGFja2Fn ZXthbXNzeW1ifVxuXFx1c2VwYWNrYWdle2Ftc2ZvbnRzfVxuW0RFRkFVTFQtUEFDS0FHRVNdXG5b UEFDS0FHRVNdXG5cXHVzZXBhY2thZ2V7eGNvbG9yfSIpCiAgKG9yZy1sYXRleC1jb21waWxlciAu ICJsdWFsYXRleCIpCiAgKG9yZy1sYXRleC1wcmV2aWV3LXdpZHRoIC4gMC43NSkKICAob3JnLWxh dGV4LXByZXZpZXctbnVtYmVyZWQgLiB0KQogIChvcmctcGVyc2lzdC1iZWZvcmUtcmVhZC1ob29r IG9yZy1lbGVtZW50LS1jYWNoZS1wZXJzaXN0LWJlZm9yZS1yZWFkKQogIChvcmctbGF0ZXgtZm9y bWF0LWRyYXdlci1mdW5jdGlvbiAuCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICNbNTE0ICJcMjA3IgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBb XQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAzICJcblxuKGZuIF8g Q09OVEVOVFMpIl0pCiAgKG9yZy1sYXRleC1mb3JtYXQtaGVhZGxpbmUtZnVuY3Rpb24gLiBvcmct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