From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id vrKWABGnsmB9UgEAgWs5BA (envelope-from ) for ; Sat, 29 May 2021 22:41:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8DveNhCnsmDKeAAA1q6Kng (envelope-from ) for ; Sat, 29 May 2021 20:41:52 +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 15D511F1E2 for ; Sat, 29 May 2021 22:41:52 +0200 (CEST) Received: from localhost ([::1]:45938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln5mJ-0001JQ-5Q for larch@yhetil.org; Sat, 29 May 2021 16:41:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln5lh-0001JE-2A for emacs-orgmode@gnu.org; Sat, 29 May 2021 16:41:13 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:36937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln5lf-0003tR-88 for emacs-orgmode@gnu.org; Sat, 29 May 2021 16:41:12 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 47022240004; Sat, 29 May 2021 20:41:07 +0000 (UTC) From: Nicolas Goaziou To: mohsin kaleem Subject: Re: [kisara.moe] Bug: async latex export fails due to post-process lambda [9.4.4 (release_9.4.4-188-ga8df76 @ /home/mohkale/.config/emacs/lisp/straight/build/org/)] References: <87y2c21d6p.fsf@kisara.moe> Mail-Followup-To: mohsin kaleem , emacs-orgmode@gnu.org Date: Sat, 29 May 2021 22:41:07 +0200 In-Reply-To: <87y2c21d6p.fsf@kisara.moe> (mohsin kaleem's message of "Wed, 26 May 2021 02:44:30 +0100") Message-ID: <87bl8tz318.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.193; envelope-from=mail@nicolasgoaziou.fr; helo=relay1-d.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_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622320912; 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; bh=1z30ukfwgJSBwrIOxq0h4HAHrq58X9/gXpUAwjHl/6M=; b=P2WMJvnu5AmnTV0Vdd5KG+8Xs2wgBLWDzgipTC2IMJRPlAle/kdUYUkfnOZLBHWOnORZGz Rez6uwOsSvDddO4YserC1WSVo3fQ6NyF9J3ncJkCYirO3lAiZqy3rALAV59Ii48ESWHaZU dAM/O6b4tFxglkyVd3MNP6A1xgE6UjCrbl4h3/7CJL/eBDVgkbvuDnbPWjVpuXZ+cl+6L9 UJ0/GWMBDXCCqym7wmJ3scZZpaw5Ha2NXyxUeUNsELyRQ0MJyuGDC2i2fBqw1RZCwQbG52 EMN2xC6c29Dfkq6xrielnImpDBdf6Gb4n+CXDIa440ieWT0zSxGiOh6Ttpkv9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622320912; a=rsa-sha256; cv=none; b=PPhb6otA4GWVL83iVD5FyZ23no1IOc6ShquApwSqS4XB01vSzxGHp3LA/xV9JEUMjmVPXf WYEHMPt+ANP51p3rRK7ETZ51S4quE26uuXTZzzklWZPPDk3ypBHB5bEsZlfETPe3kH607L 1Kdg21ic9DAOTe3CVIkROnIEdVcAr8lJXVwb4S/Prnd1yCjkyKhpF/YaSvmwo12qHz82rF l0sizzwpiYtRpVCMeusDFxkPoPJ02teBoleZYVRZQjXbZ0J+RY1aGe646IgfFnm1lIXq9w S8tw2ZOPEVua5C3QgqVqdP2zJEFRJlZTebo7z1/7917/o78RzM9ixkMZVF1tqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 15D511F1E2 X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: FpemaThmetwh Hello, mohsin kaleem writes: > I've been trying to get async-export setup for the past day and I've > found it keeps failing due to an unexpected # in the compilation script > generated by org-export. > > After doing a little debugging I found the script contained > ~(funcall '# "foo.tex")~ > so at some point in the export org-mode is including an evaluated lambda > when a quoted one is required. Your bug sounds plausible, but I cannot reproduce it. > - (lambda (file) (org-latex-compile file))))) > + `(lambda (file) (org-latex-compile file))))) Anyhow, would #'org-latex-compile fix the issue, too? Regards, -- Nicolas Goaziou