From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CNQkJ0W6M2ORUwAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 05:06:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oKBmJkW6M2MCNQAAG6o9tA (envelope-from ) for ; Wed, 28 Sep 2022 05:06:45 +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 279A929BE4 for ; Wed, 28 Sep 2022 05:06:45 +0200 (CEST) Received: from localhost ([::1]:55148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odNPI-0004Ua-B6 for larch@yhetil.org; Tue, 27 Sep 2022 23:06:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odNOO-0004TI-Cx for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 23:05:51 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:46822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odNOM-0002Li-Fz for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 23:05:48 -0400 Received: by mail-pl1-x630.google.com with SMTP id jm5so10665470plb.13 for ; Tue, 27 Sep 2022 20:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=xLlZ6UI0c/bHkvgs7Sf296osjsJkKgLVtp+BgGZg8a0=; b=A/eWufdJd/sRDPZUesECvh8bRnNxvAFYSzXHzSTiXkxwvIEwwll4HelKnady3A4/pC JNClYYLf22yqE+c6I5zj8u3ETAhIrWfTR0TVzzgAJYqiCBVI4hgWQv2ZndbQc60lNOm6 po+Fg1CKiZdIuBBIFJAuHDQeRnZeHtexvGWfWFsl0xzLLVR6Pa3S3iolN1dTiHkyTAyh ZoM+FTJoReuQkedxVbjWu2Bic7czfAyNqVHARWm/C34/WvNayjoCS2/R45zIBQ/ONf6j CqJTIwUD0QBlSLs9FCRjmV79QaxfmYv4+pWCTR5ix8GSQ1RQZiObR0dL7tEN9rqdtICC vQTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=xLlZ6UI0c/bHkvgs7Sf296osjsJkKgLVtp+BgGZg8a0=; b=koHwWVHg9Ke59HJ0qqw8vUGy3Lg5M+kIsxCtRpGfrXtHvuhwu9MudV1iLdwmpDM8Re AEw3r8uAdE2iPb2NvTEqdgUUF3Y5t37wnoZmqMcUjYLa6wXKEpatCP1y+AZrzZQEIfDJ aqLYP5j9z+28xFmqPB4q6qxB0kmz2DW3gAMlHM0L8E71eE+bSRHAoIcmboFIb83Ewcep LGxrX+SUSGxUR/Y0+xWMuuj3YT5llVqG3a/1U5BkZrzw8B44JZdasR5PuK3TX4VZzo55 EkoAxsLXb7hfRZmI+b/aRJ/sjOC8wLziry/es3FWbG5NHkWv5uSohxSXk98WD2u+PvXJ lx3A== X-Gm-Message-State: ACrzQf3ZhK6TQ43Z68yppNOTvmzWKGCszGOc4O659uGhXsdowaPi/KYg gGbLvIlHOr/zkHGDO8Gu2jo= X-Google-Smtp-Source: AMsMyM52go/J/xjSxC61jmGTZl3PvigOh2HjMg5Gy/QZbdzf45D8W1x5tciOefa9UrNj+SaXDKsU+Q== X-Received: by 2002:a17:90b:4a48:b0:202:9bcb:b89c with SMTP id lb8-20020a17090b4a4800b002029bcbb89cmr8184537pjb.161.1664334344817; Tue, 27 Sep 2022 20:05:44 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id 82-20020a621955000000b0053812f35a41sm2570611pfz.194.2022.09.27.20.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 20:05:43 -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> Date: Wed, 28 Sep 2022 11:06:36 +0800 Message-ID: <871qrwgptv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yantar92@gmail.com; helo=mail-pl1-x630.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=1664334405; 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:dkim-signature; bh=xLlZ6UI0c/bHkvgs7Sf296osjsJkKgLVtp+BgGZg8a0=; b=nLdsl4qTufsJJe3zWi4Nj/iMn8krHOVAs0yBDx+dIo21KaKD4NWUzU6k/n/oRycEmF7jwT P8BXTfKN7H6VaX7sx8f22P9ETH5oVpU0+SD8CyR8DeRqlZM6MreVI2N3+n7+y712HaWVHG j5ibpkDBUtv1IDZKRJHBbLJzT7KSjzigTooNBpuy4+njN15pKLwgkgwtskuHXH3Ngn59NC Fu0ZReRvyYZ11JwOt3xjA6uaUMT/IN3YI+Jz0Q4JZlJo2zoYk33aK9aj5RS+nLSgsxjUvx skrRWYTLJFbLg41vJ6yp/H0PLR5CGd5kXAQSvnzOa/Y16vaFBC8TPx8lqrP0Bw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664334405; a=rsa-sha256; cv=none; b=OScMxAkuTbFpSOVxjgQswcWfHJ61TQSScacItC3LL5tcbVoEf52mf03GPTpDFCyOYVbIE8 liNYhrw5hv17SP/QwYxhktivIKW2rbt658VnJH83VLczDqUrn/ShrFd5sw6ccECPKFvhxx Y6r4g+NKOTdfNjdgMpyTx+SMsAEGIEms5pPPXg/LldJe2ws2O22/Y5GaEcmnY01/cGO1hB bT1AfJ3pT1SxzMQsAj6qbj1qfTFelDbm90n17ODT5yiYWJBPzT/2v+Xm8DFxiXkYmOboxz 86RC/QJLvpVqpZUQAU2zOjd2aI5Sal+7fJkG7uVKdh5ZR3J7CZPJC3/InzHh0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="A/eWufdJ"; 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: -3.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="A/eWufdJ"; 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: 279A929BE4 X-Spam-Score: -3.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: TI+60Ay93YPS Rudolf Adamkovi=C4=8D writes: > "Fraga, Eric" writes: > >> Try M-x toggle-debug-on-quit RET and then export, hitting C-g when it >> gets stuck. That'll give you a backtrace which might help debug this. > > Thank you Eric. I tried it and stopped after more than 3 minutes of > waiting. The output: > > ;; Debugger entered--Lisp error: (quit) > ;; org-export--generate-copy-script(#>) > ;; org-export-copy-buffer() > ;; org-html-format-latex( ... This does give some useful information. Can you 1. M-x debug-on-entry org-export--generate-copy-script 2. Start export 3. Step into the function (use "d", not "c" binding) 4. Try to identify which part (if any) is being slow If the above does not work, you can also try 1. M-x trace-function org-export--generate-copy-script 2. M-x elp-instrument-function org-export--generate-copy-script 2. Run export, possibly terminating it with C-g in the process 3. M-x elp-results 4. Share the contents of the trace buffer and the contents of the elp-results buffer. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92