From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mJVjKO25P2MT/AAAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 07:32:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UHdqKO25P2OoiAAAauVa8A (envelope-from ) for ; Fri, 07 Oct 2022 07:32:29 +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 4A814F39F for ; Fri, 7 Oct 2022 07:32:29 +0200 (CEST) Received: from localhost ([::1]:58888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogfyG-000331-F5 for larch@yhetil.org; Fri, 07 Oct 2022 01:32:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogfwl-00032d-Nj for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 01:30:56 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:39662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogfwj-0000yS-Ra for emacs-orgmode@gnu.org; Fri, 07 Oct 2022 01:30:55 -0400 Received: by mail-pg1-x535.google.com with SMTP id b5so3719341pgb.6 for ; Thu, 06 Oct 2022 22:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=vRFbRhS6DVKATs+Ht4jLxCt5wZqZDdHnxcl1BxG7U7o=; b=KO9VMufC+Vgz/4633mAPUyEzNl8i+P0gSCKLqoHxxtnqi47QqyoZxwKrqLpvx9Kp6Q EY63eaWDzqHZu7tF8XKHKjL18g3Bjb984hZHIJiLWdtCo+D5Vxc/AI8VQ6ERvISgSJUs PWVB5ySp5BeVoQI0iPlz4iDfTkHye65KQyVdLIaockQTTfz1iF3lE2yS+CmTnVGNJBwu t8fASpeE4ltkW5DYnTK9+c5zf0bP14r13PDgLfCayutvxCr7n/n3ui5ORZbn6e/HOcX8 iSPAQD+/5xjD1gl1bGhjr6KRflg1H8iaIeFJRyEpxKrZCLem36k8TJ77pI/z2r4RxzHc h7eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=vRFbRhS6DVKATs+Ht4jLxCt5wZqZDdHnxcl1BxG7U7o=; b=tuTWG33fYGwsWZeydJ00FqkcR5sF44KGfC+63pwrfdUkj+m6D1YjELk1U3H4JItpMR rLzk2kN/GC2HNJXGIskJjuUiIeuA0e1PGdc5D6hTRKZ6DE/21PQGDl4jZ6116pCQXh/I 3vhjYjRdm/C0EbHmseOXNeeNIEDAgsKmFY5QMopGJq4q9SKp9KdW3WERNxolMdk2sm5e /YkaBYzQy8Y+J+pBimpWi3kmQ0++YF0nQ236gOB6473QaYbg8jC7cTOlRNsTHpvyQll6 +uVOVs2DPmZPv/PvwAvCbB2s9ixH5AyVG7Il6nxeAxHE0rOp6oavn6x1RI1WfWiz13uA 5zNg== X-Gm-Message-State: ACrzQf1/1qe2uFQx+8Fx9I7DJ0tLhBcjeEaUdrWjWTl/L1jd/kB6E/UK GPKRKvWkQG1EfWOXOW6JZM4= X-Google-Smtp-Source: AMsMyM7+n8B1vmK79QC1G44zF8YuevdzoZX/bjTotA5/tmw91UZ8+eVs6vTBAGZ1uZZFXixwJA2hog== X-Received: by 2002:a65:6cce:0:b0:439:49b5:48b8 with SMTP id g14-20020a656cce000000b0043949b548b8mr3049455pgw.514.1665120652341; Thu, 06 Oct 2022 22:30:52 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id a11-20020a170902900b00b00179c99eb815sm584187plp.33.2022.10.06.22.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 22:30:51 -0700 (PDT) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: "Fraga, Eric" , "emacs-orgmode@gnu.org" Subject: Re: The Org mode in the Org Git does not export In-Reply-To: References: <87y1u7peo2.fsf@ucl.ac.uk> <871qrwgptv.fsf@localhost> <877d1nfxpj.fsf@localhost> <87a66iap48.fsf@localhost> <87o7uy5lng.fsf@localhost> <87edvs2qlj.fsf@localhost> Date: Fri, 07 Oct 2022 13:31:43 +0800 Message-ID: <875ygwmc74.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=yantar92@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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.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" 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=1665120749; 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=vRFbRhS6DVKATs+Ht4jLxCt5wZqZDdHnxcl1BxG7U7o=; b=KR6EkrRXXFC8y+TXN6Sfr29RweY69hEB4Nbtlm2Io9NTJ1Vr5QZ3zRrqs2Xw1oActfDxyW msvA43oY+hs17qo85vXcjm8AU1KoCs902UtiiBtcj5/aPuy5hHlp3GX7ZZ4jyqkagHJAea 4C0UB02ItLRKUMaOtybNFc3vKLbU+LFAbR9UwDMAPZLnnDlNPPQR1uOxLLVKhUPin0rqcq WSXf7OTy3mzv+jTOPZOUB1jml1Z98Hqn5tXaKjJUdZd/+U+1gprSwfZWyXbvHUC+RVkRoW m9m5kTzm6NopGcDl4mCzps+35WI3dpalfd/7Uu0rLa6V97eVPvxIcygtCHUbVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665120749; a=rsa-sha256; cv=none; b=jEMIABswsy7Bryh54tLQ+ZeY9abfkvDZ1cyEEH5CMTt9ySlmE+K3hRcpio4c2ilQkdPy3K ajWvtz18bu7QAwCUzboGh42qfgSaiappxQAeOUYLQgrnhh1pXtzMIt8Ih2BSBYYTdYNzdB ahymfW6sAC1v2RecxwufwJtqetxbULC1Wqv8f8wSGHIqij50cMfyCWEg092BhkMpIg4yWj CAk6RxonKZmrL0KEHETK4SG3IcTp1yh1JFIY3OVhVu/R0qzL1G7SrGY0R1cqEYrTx7tAUT 1YHVUP3dq8YsYsBtxriSu5DimIgMixUPUyLsTmursPSSlCRuJBcX1Mw6TpPTHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KO9VMufC; dmarc=pass (policy=none) header.from=gmail.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: -7.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KO9VMufC; dmarc=pass (policy=none) header.from=gmail.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-Queue-Id: 4A814F39F X-Spam-Score: -7.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: S439laPRDBDj After further off-list discussion and online debugging, we have managed to find out the culprit. Thanks, Rudolf, for the kind assistance with debugging! The slowdown mostly came from the new version of `org-html-format-latex' that copies the parent Org buffer environment when generating LaTeX images. There were a couple of bottlenecks. In addition, we have found a critical bug caused by `buffer-file-name' being non-nil in the buffer copies during export. The bug existed forever but was previously much harder to be triggered. Now, everything should be fixed on main via https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5a167f6ef20e337c9b1063097ebe64624ad932a6 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=aa90e5b59cc0fe41072cd6f78968e0b8d5ac6939 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4cb1b8ebd006e0659a34c942ab5594f177d6bf49 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0551eba40ca1cdeac8645c8614747566025a7e94 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b45911d41e9d81bc23b93d7e75d0a7611ae18f38 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=09fd5f886a81af686ac0b69af19eb7a8d2007284 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=514e3a9cd26e150f6ee7251433e14701b62f7e98 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=dcdf98a564d17f918afbb947dfc6c96244b94abb https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0be36ac13eee17b3bf26ea55ba596bf61b71602d Export copy buffer now can never be saved to disk and will never corrupt the source Org file. Rudolf, please kindly confirm that the export performance is back to satisfactory on the latest main. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at