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 /0O1Ldgq8WBNXAAAgWs5BA (envelope-from ) for ; Fri, 16 Jul 2021 08:44:40 +0200 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 SN7dKNgq8WAzJQAAB5/wlQ (envelope-from ) for ; Fri, 16 Jul 2021 06:44:40 +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 E89341DDA2 for ; Fri, 16 Jul 2021 08:44:39 +0200 (CEST) Received: from localhost ([::1]:34198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4HaQ-0004FH-40 for larch@yhetil.org; Fri, 16 Jul 2021 02:44:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4HZh-00042z-Hb for emacs-orgmode@gnu.org; Fri, 16 Jul 2021 02:43:53 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:33407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4HZf-0001oc-SJ for emacs-orgmode@gnu.org; Fri, 16 Jul 2021 02:43:53 -0400 Received: by mail-pj1-x1036.google.com with SMTP id v18-20020a17090ac912b0290173b9578f1cso7072594pjt.0 for ; Thu, 15 Jul 2021 23:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=zhpLX0pmzcgF+l9wBmlIx887IREBPZSzaH+/jdJERVI=; b=s25UUq2A6UgGw4nUYRNuDoxc/3+WpMoCDd04Xc02YOw0ki31pmGZOHRRYrIuNmDda9 y0ahADe0j44BG45QqZmZa0fL75k16lhiCdP7HxmsXR5XZqfCu5hrlIZStxk+Ta00imIq qXooI7NzDFL6TzYPO5NazZkd3wDmaBYy+qeyBpMWI0GRgDVWFtvJpTDo3tXPd0li2/Ys OBaO3r8mU0ceJj+g9sFtuf5I0X5Ec+T+eLttNpqyw67Sx3/4G/B6ultlwLLny/F0USv+ tPRiRBKYpK3p6J8Gst0ItYb/Osq6gCELbq359nAZEJ142bqP8DUX4Lk7vdrVTYYb1TR0 A59Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=zhpLX0pmzcgF+l9wBmlIx887IREBPZSzaH+/jdJERVI=; b=B9IFanDrORgO8ElbgJU/9KOss1JabvB31xn1g4ju9XK6cqar9rUya4kYwncbeujB5s qtRDx+ZvwjQvd/SrejC9LyFnK6/YYdNn9ABBBgoeuFmIDRelGU5y5QfApATjJ3mqgO4u f+hDs0WGQZP/xJV0CnT3+LPmxslPC9DtfnUa2DwFZmRd931K7YT+WPG/Ax89UglvzmB7 vrnYo4Btv44Dlh9u0FipmLXU/r77zg0EYzSy7wtC2gtnUagV6SxMI8walaXLM3RNqat5 6KsLVclZiru+uNI0CKS/47kQP59g0qbfDL5qbJj7FFg1MGMmjJz/JZeY5p6TTAhYyMMr 3Pvg== X-Gm-Message-State: AOAM533wugaxxrO+q5aoLiKH2+ZWM2lMBqx0arbvs7EyAyvMYv54ddMw FV6HtMIvXpjrUDbFA3MTamEJzwvhH6Q= X-Google-Smtp-Source: ABdhPJzc+5b0nRwCQ7SX5b+2rEuBzoEzlp5jlTQrTB7sYmJC1lqGbIY0lnIN/u0k8SwLcmsjsij+jg== X-Received: by 2002:a17:90a:658c:: with SMTP id k12mr13874360pjj.167.1626417830269; Thu, 15 Jul 2021 23:43:50 -0700 (PDT) Received: from tim-desktop (106-69-67-246.dyn.iinet.net.au. [106.69.67.246]) by smtp.gmail.com with ESMTPSA id d2sm9856091pgk.57.2021.07.15.23.43.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 23:43:49 -0700 (PDT) References: <1b08067b-5203-39e3-1c8e-4af61522d011@posteo.eu> <1C8D1553-D663-433E-A885-EF4BCF3F29E5@gmail.com> <87y2a6yerw.fsf@gmail.com> User-agent: mu4e 1.5.13; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: [BUG] Async pdf export broken with native-comp Date: Fri, 16 Jul 2021 16:31:53 +1000 In-reply-to: <87y2a6yerw.fsf@gmail.com> Message-ID: <87fswe92sd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1036.google.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, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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=1626417880; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=zhpLX0pmzcgF+l9wBmlIx887IREBPZSzaH+/jdJERVI=; b=CYXUhuuZ0EehzID8waKzW4X/uuSXlnE9mZ2ZDs3w9KDsgwGZn/YhuvMmyvcDGoXEZCfkUB wfKm4qnfHx+6nmdLZiJSh+fB3ODTEhE135x3ZMJPd5ltGufEw0dhPAYcDeHhuJeqn5iLAy ao4M7bpwGX3fIH5Gq4s3P/Za/F3N6sMXtvwGNOnECcsmBhS/OXDJ+rvNPIDHuSoRnI9eb6 UjWq9CBh+9MbFvsksGvSEb6VUuJo1yDqltr8aC3nf+dhemFW9ZxnmJec/BFhrn5elmZTiA eCw2L4Hpwls+NJsiSQ2S0w53j1AXK0hWC+1vdfDjLj88Ld2Zot9GFJx1+1APcg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626417880; a=rsa-sha256; cv=none; b=qoAK+oz7wrp6MnwgO6S9wCNDx7TfWqt2yp9QqBZRMOwlUYHycag4d7mewdNgbo8duD0jnJ inNyW0z5SIwXpo5wx2ZFblaWH8ztfAJfc7377LYkEjjyJ0G1p9OKTmLF6j2aPE0CKbv03M tEZ0wy2ZN4I/0u9CUSmh2EEP/4xDzESs9Vbw1aYPY0meDIPjue6JBQ0aVtMI8H2BP9esp7 iNA7LauMu95cDCY68v8akm6UHX/OtVNyliT9a8y1WgyFIT9fO7LBQ2vkDb9GgFCLNPVVFB 4DGtFm45un3elNTlqaBUHosPf8QCts3EyEo0H2qZMWbFkxutN6SUffdGEgXf6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=s25UUq2A; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=s25UUq2A; dmarc=pass (policy=none) header.from=gmail.com; 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: E89341DDA2 X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: onXnKlt9OBkE Timothy writes: > Mark Barton writes: > >> I use native-comp, but have not tried the async export yet. > > FWIW I use native-comp (with Doom + my config) and async PDF export > works. It might be useful for the OP if you could post what commit of Emacs 28 you are running. Native compilation is a moving feast and it could be either the OP is running an older version (and issue has been fixed) or a later version (and issue has been recently introduced). Knowing which commit you are building from might help him identify whether an update might fix the issue. One thing I did notice when I was running native-comp was that the caching strategy was a little hit and miss - it could also be that your version is not running native compiled org. When I was trying native compilation, I found that - native compilation was a bit restrictive - it didn't compile things correctly in some situations because it didn't load some dependencies (i.e. you got errors and warning you don't see with normal *.elc compilation) - The caching was a bit hit and miss - There was no noticeable performance improvement. I think all of these issues will eventually be addressed as things mature. However, for now, I don't see any real benefit in enabling native compilation other than on an academic level. -- Tim Cross