From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KIs2Am2bpGG33wAAgWs5BA (envelope-from ) for ; Mon, 29 Nov 2021 10:20:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eGqJOWybpGHyKQAAB5/wlQ (envelope-from ) for ; Mon, 29 Nov 2021 09:20:44 +0000 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 4938A366B2 for ; Mon, 29 Nov 2021 10:20:44 +0100 (CET) Received: from localhost ([::1]:54514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrcq2-0003ug-Gq for larch@yhetil.org; Mon, 29 Nov 2021 04:20:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrcov-0003uS-5c for emacs-orgmode@gnu.org; Mon, 29 Nov 2021 04:19:33 -0500 Received: from mout02.posteo.de ([185.67.36.66]:33041) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrcoo-0000Dd-Ni for emacs-orgmode@gnu.org; Mon, 29 Nov 2021 04:19:32 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 64AF3240105 for ; Mon, 29 Nov 2021 10:19:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1638177562; bh=SFTau7MNxhheBTvbGPi+BdZf8d1itSJ85NWEymprHL4=; h=Date:Subject:To:Cc:From:From; b=iHe8w0mbv6uMYG573YBmbl8fmU52sY6Lw9TinRCVirJmv5iAIxDmKohksPWgdKFv5 yTtiFzhOQT8C2oKQ+gLa6++fPq1zHVUmeVVXzVwo6b26gGlYKYALDHIcvnqleZdxls eZJ+kJ6oFujV+eUnlasPsZbPUjpOt0VLhoh84d19c3LZm9HJHEO23PE5yjwMnPGmkv EU0vT5EvzIoo7udfHyVi6OeYgjDvBk9a/urYwhCc4VWetZmzEmlnT6crfJEGARb1bX 5FEx+yQXPtQwnsQFW07m/0+vTwqCqLL75c4gNanCVs6t85cLC5pdJCNwHstsUYoOZh x0sw92nkFvb0A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J2ftd12xqz6tml; Mon, 29 Nov 2021 10:19:21 +0100 (CET) Content-Type: multipart/mixed; boundary="------------LowLCsXOkQT73G1ILaBu2z0S" Message-ID: Date: Mon, 29 Nov 2021 09:19:20 +0000 MIME-Version: 1.0 Subject: Re: [patch] fix ox-latex async export bug Content-Language: fr To: Nicolas Goaziou , Rasmus References: <874k7ww9te.fsf@gmx.us> <877dcsoy6m.fsf@nicolasgoaziou.fr> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= In-Reply-To: <877dcsoy6m.fsf@nicolasgoaziou.fr> Received-SPF: pass client-ip=185.67.36.66; envelope-from=sebastien.miquel@posteo.eu; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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: , Reply-To: sebastien.miquel@posteo.eu Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638177644; h=from:from:sender:sender:reply-to: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=RW8gR9/4ntRKWY4UDP+he783aDHex36sJaX07tu2Guc=; b=uyFihlgp0mt/D0Og80COkNszIW1M8aoGmRwR4SPLBSvgNRbdu3eO3xPu4I1sbGIXQcMN/y vvrJUGTsLQufJKeVHeT77TlkU3lFtoVuiSlIiZRqDaPUUf0MjKXzpuY2sqTkNSvcsP6fFQ 1OyOJ0B4PCR+jy0q/P2bj1svMMMUbG2X3gNN+jZImrgaq7UBhvYhDgXRtbdYwomf7ThkQ1 gjTl1QUkoW7sSurppzuZV9+jdObPaeS0e1lP7whKyveiT/u1mTkRTwRQ9jLYA9iWNTvFZz LOMe90LCKHS38PsuvbXIbo7CQvxWf/vyGbOi5DIKUrciOIaxmY1vy0K2veLn1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638177644; a=rsa-sha256; cv=none; b=a4rS/7jvhT0ySN56UOB/sdLK8uqYregH29Yl54kDGIFDAull99vR8Lhv3TBSvIIB/e2OUy BZYie/c2H98XOJD2ex6L0T0gMSTtwyHO+dYsbxBoGu2vNwBHm1UgjsOKXiEcTRb/ocCnAw GDPiJjP7MueqOKt0TWYAh/3VkVbI/7LFAB5QRMfF05zJdO6oBjcS87n5ryk9yRCJIQSis5 RWkGE4tnDia//sCdyClIlIKcJlwDEaD9cNE9kCXLfgSgrOTKCdtDjCxTL2IxvJqlPIp2bM I74ZU4CYmzNr7WqLFygW1TN8S4T3ln6tm3RoUKaXum/nCuiN4pG6cRfUk8xZjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=iHe8w0mb; dmarc=pass (policy=none) header.from=posteo.eu; 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: -3.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=iHe8w0mb; dmarc=pass (policy=none) header.from=posteo.eu; 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-Queue-Id: 4938A366B2 X-Spam-Score: -3.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: BBnpFDD78Ozf This is a multi-part message in MIME format. --------------LowLCsXOkQT73G1ILaBu2z0S Content-Type: multipart/alternative; boundary="------------nLxDuy8zvMsSsemh07xEmwKt" --------------nLxDuy8zvMsSsemh07xEmwKt Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Nicolas Goaziou writes: >> I don’t really understand why this bug happens to be honest. > The patch is already an improvement, but the beast is still lurking, > indeed. This is most likely due to native compilation which compiles the unquoted lambda. Once compiled, it (presumably) fails to be passed to the external emacs process. Attached is a patch that applies the same fix where affected. Regards, -- Sébastien Miquel --------------nLxDuy8zvMsSsemh07xEmwKt Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi,

Nicolas Goaziou writes:
I don’t really understand why this bug happens to be honest.
The patch is already an improvement, but the beast is still lurking,
indeed.
This is most likely due to native compilation which compiles the
unquoted lambda. Once compiled, it (presumably) fails to be passed to
the external emacs process.

Attached is a patch that applies the same fix where affected.

Regards,
-- 
Sébastien Miquel
--------------nLxDuy8zvMsSsemh07xEmwKt-- --------------LowLCsXOkQT73G1ILaBu2z0S Content-Type: text/x-patch; charset=UTF-8; name="0001-ox-Fix-async-export-with-native-compilation.patch" Content-Disposition: attachment; filename="0001-ox-Fix-async-export-with-native-compilation.patch" Content-Transfer-Encoding: base64 RnJvbSAzNWFlMDkzMTEzZDlhMDRhOTliNTVmMDc0Nzg0OGIzNzNhNzQ2M2YzIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/Uz1DMz1BOWJhc3RpZW49MjBNaXF1 ZWw/PSA8c2ViYXN0aWVuLm1pcXVlbEBwb3N0ZW8uZXU+CkRhdGU6IE1vbiwgMjkgTm92IDIw MjEgMDk6NTQ6MzMgKzAxMDAKU3ViamVjdDogW1BBVENIXSBveDogRml4IGFzeW5jIGV4cG9y dCB3aXRoIG5hdGl2ZSBjb21waWxhdGlvbgoKKiBsaXNwL294LWJlYW1lci5lbCAob3JnLWJl YW1lci1leHBvcnQtdG8tcGRmKToKKiBsaXNwL294LWljYWxlbmRhci5lbCAob3JnLWljYWxl bmRhci1leHBvcnQtdG8taWNzKToKKiBsaXNwL294LWtvbWEtbGV0dGVyLmVsIChvcmcta29t YS1sZXR0ZXItZXhwb3J0LXRvLXBkZik6CiogbGlzcC9veC1tYW4uZWwgKG9yZy1tYW4tZXhw b3J0LXRvLXBkZik6CiogbGlzcC9veC10ZXhpbmZvLmVsIChvcmctdGV4aW5mby1leHBvcnQt dG8taW5mbyk6IFF1b3RlIGxhbWJkYS4KClF1b3RlIG9yIG5hbWUgbGFtYmRhcyB0byBwcmV2 ZW50IHRoZWlyIGNvbXBpbGF0aW9uIGludG8gYW5vbnltb3VzCmZ1bmN0aW9ucyB3aGljaCBj YW5ub3QgYmUgcGFzc2VkIHRvIHRoZSBleH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