From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SO37LRzeo2FT5QAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 20:53:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YO+VKRzeo2GHFQAAB5/wlQ (envelope-from ) for ; Sun, 28 Nov 2021 19:53:00 +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 4D8B728866 for ; Sun, 28 Nov 2021 20:53:00 +0100 (CET) Received: from localhost ([::1]:47218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrQEM-00046o-Tn for larch@yhetil.org; Sun, 28 Nov 2021 14:52:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrQDq-0003rz-Kg for emacs-orgmode@gnu.org; Sun, 28 Nov 2021 14:52:26 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:35627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrQDm-0005qv-UK for emacs-orgmode@gnu.org; Sun, 28 Nov 2021 14:52:26 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 9E5D7240003; Sun, 28 Nov 2021 19:52:18 +0000 (UTC) From: Nicolas Goaziou To: Rasmus Subject: Re: [patch] fix ox-latex async export bug References: <874k7ww9te.fsf@gmx.us> Date: Sun, 28 Nov 2021 20:52:17 +0100 In-Reply-To: <874k7ww9te.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 28 Nov 2021 16:59:09 +0100") Message-ID: <877dcsoy6m.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.178.230; envelope-from=mail@nicolasgoaziou.fr; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: , 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=1638129180; 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; bh=pboObt0G9zIMV0qygHmAo8DkSHrs/poBHyCeFUbCPqc=; b=nXjfMIe1yxJUIf5fuXn/l2a9j7jP8nZwx1EN6GcYTOWgumy9fPmkFexSp4NRiQXRTCjXUs tdW2yQm3fo9qzQkUQ3n382CsganD5MPd2KrHd/pLEFik1My+fVExAAvzZOF7xCaBTLDgL+ sPZD0PdMbVXjEiCnO/zlNS7QJKUj5v75xIw8IOANsl3GaVVON75jmkcEgZ/qYXgHB94+p8 LZP9Ts+tYuBZL8dWA2tdmxIJKgozNXBtPcYH0/PWIOYPhTIClxlU1mnW6awKQbajinPM2Z qAB1/H6JBDoczcZXqHTHAPbywZlCf/n9MxgW0UpLgiEu756mab20B4p/IWYi/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638129180; a=rsa-sha256; cv=none; b=iKAe486GMV7M0GOjNtvlgy+tz+Vx0tTn2q7Q7MzzfitBSWirSJvv8J8zttPQV7QrfLPnTr pB3EWsSldgv74FzPlWK7X9lnSyBAiej+ISgwvBtcyOw0kLKi42RvfF5RH2FiRNQFv1Wctd y8/5GH12rC1sy1fmFvw2BPDlkRCs/ZIrj5K4Emt9AGBDFHiNPZvrjv/Vd3UMmtaMsM+4+9 Mb+nwInZHI1BDCqLJ9Z38Sh+yzjnTY4wyN1Fe+tI0MjfGUxDXbaKlAo5qT40BAQ96frrtI imJ72PoqqYCmETCiFBdrAfPgR4dKe1KYItzSfrnspAbigpYdrklizzZy3I458Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: 1.79 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: 4D8B728866 X-Spam-Score: 1.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: Zb+DuOJ/ePyI Hello, Rasmus writes: > When I try to export documents asynchronously with ox-latex, I always get > a bug in the =E2=80=9Corg-export-processFOO=E2=80=9D files. The last sexp= is always something like this:=20 > > (funcall '# "test.tex") > > where the =E2=80=9C#=E2=80=9D and =E2=80=9C=E2=80=99=E2=80=9D are mixed a= round. This happens even with a very > simple =E2=80=98org-export-async-init-file=E2=80=99 just loading ELPA Org. > > This was previously reported here: > > https://lists.gnu.org/archive/html/emacs-orgmode/2021-06/msg00422.html > > Nicolas=E2=80=99 fix (replicated in this patch) seems to fix it. Applied. Thank you. > I don=E2=80=99t really understand why this bug happens to be honest. The patch is already an improvement, but the beast is still lurking, indeed. Regards, --=20 Nicolas Goaziou