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 cK7LFXJgNGMg7AAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 16:55:46 +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 eNoBFXJgNGN4TAAAG6o9tA (envelope-from ) for ; Wed, 28 Sep 2022 16:55:46 +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 07C666323 for ; Wed, 28 Sep 2022 16:55:46 +0200 (CEST) Received: from localhost ([::1]:53466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odYTQ-0004WT-V8 for larch@yhetil.org; Wed, 28 Sep 2022 10:55:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odWRN-00083b-8X for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 08:45:29 -0400 Received: from mr85p00im-zteg06021901.me.com ([17.58.23.194]:59328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odWRL-0000zL-HO for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 08:45:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1664369124; bh=fDcno/SRreAnPUxiNDaieNzVe/g/fC151D8vcK3FaBU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=gF7co1ryi7S+bRKBp325B0AVqqBFZehRCUrFAKqMBdr2+QD2hRmiB/5HYzjm2y9yE Wib3V48tjoaS2B0rs2+4tG7HJKaIY1twTfN5C9OZBX3w4srX51Dwnz1eLBiLXXMzuf oVlzy0TedyKU0X2nk5U1gW5bKf7aiwS/VS1La4VHqTTOXVzs/HgJ0RitVezlQSZXpY SgOiVQa23NmrUT2Dvm5OIAQUDCYm7vuqyZdj0alnK/c4QuQVfmUL5ikYrFR6RsZDLe 2b9iE8dYwYI/LHYSIR3UUI6Taw+BMR5rcqAJ4jN/u4bH2UFpUEh3pEEsYHsq3rL19e L2ZROA/zz/21Q== Received: from Rudolfs-MacBook-Air.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06021901.me.com (Postfix) with ESMTPSA id A3090740E8A; Wed, 28 Sep 2022 12:45:23 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: "Fraga, Eric" , "emacs-orgmode@gnu.org" Subject: Re: The Org mode in the Org Git does not export In-Reply-To: <871qrwgptv.fsf@localhost> References: <87y1u7peo2.fsf@ucl.ac.uk> <871qrwgptv.fsf@localhost> Date: Wed, 28 Sep 2022 14:45:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: V8n6UQOe4mw6FvWBkF_I_-a7upH92K0v X-Proofpoint-ORIG-GUID: V8n6UQOe4mw6FvWBkF_I_-a7upH92K0v X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 clxscore=1015 adultscore=0 mlxscore=0 malwarescore=0 suspectscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2206140000 definitions=main-2209280079 Received-SPF: pass client-ip=17.58.23.194; envelope-from=salutis@me.com; helo=mr85p00im-zteg06021901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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=1664376946; 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=fDcno/SRreAnPUxiNDaieNzVe/g/fC151D8vcK3FaBU=; b=P3i8GvEjY13rIB7Vwo3xe4pcwUETtfAYz73GE3egsYdpz5D+JK466Ohrwm65TgIEDvnxx1 Y3rA/3FzPPCYvw5WcLTc3QHtx1nUOcJ2+LYEpX+9zdFRvVoKvJ0xLtc6e6XnYlC/k4S0KY 6qL0RgwEEIkVfEV0AsVMiA8odTcpulifEpIopgNM1c71KGbABVeBwvCTr9LebPQC6sKhxn bzSTWAbOltTWQVJggYe4OS8vUWhEv6draBUnW3x0YO6RiqWrJ2qqjONeVJMM920iiF9U3V gXS+URKjX3YCwF2xLPruOF8cbvzE8hIcfEEdDEvbOkQZsk3xUA2Jq3A6xm0mLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664376946; a=rsa-sha256; cv=none; b=cPbzwVUJER564iF2EJmoXeMc6zYdI1N0dR3YVJPyfjTr6BX5z72vy4tnNqaP+glLOx9qZJ DRv/fyEVb/sNnLiipjdBO2/srTlOdk9ozowlkZlYFuvbh9YPLPLk+sfVJOEZyK0GlnwDzr u2+lvjNiyDLZbXHXlSsr4eO1VL/KnPz+IqecaGwRslUUGXoJEZDJNZPGS89nqaqivrdsdq HNY0LRS+x/dAVHu0tSurNE9YnuplkoCxNr1Slxt/+DF8xcZ5Y4bAKJx77ZqxfmHhcPLvIj jQoyD2WjOKVXFYbNiI7SQVQlJ6289dIC2SqkW/q43XQvapiyy60C/hEA4Bf/SA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=gF7co1ry; dmarc=pass (policy=quarantine) header.from=me.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: -9.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=gF7co1ry; dmarc=pass (policy=quarantine) header.from=me.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: 07C666323 X-Spam-Score: -9.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: Scgx/BjkV+zJ Ihor Radchenko writes: Thank you for helping me out. Context: With all this talk about Emacs 29 around the corner, I became scared that the upcoming Org will render my Org notes unusable. Hence, I decided to ask now, before it happens. > 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 FYI: I had to do "(require 'ox)" before this worked. I spent about 30 minutes pressing "d". I saw Org sorting some character encodings in a large number of steps, and then it started doing a large number of various tasks, spending time in the AVL tree, etc. I have no idea what else to do. I could not figure out how to step through N times at once for N > 1. I tried 'C-9 C-9 d' to step through 99 times, but that did not work. The documentation for 'debugger-step-through' contains just two sentences, and I do not even understand the second one: "Proceed, stepping through subexpressions of this expression. Enter another debugger on next entry to eval, apply or funcall." > 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. So, I ran the export for 17 minutes and then terminated with 'C-g'. The trace buffer included a very long line, which made Emacs froze, and I had to kill it, after waiting for 5 minutes, losing all data in the process. I then tried to run the export for 3 minutes, and I managed to copy the trace buffer, but upon pasting it into another buffer, Emacs froze again, and I had to kill it again, losing data once again. I then ran the export for 3 minutes once again, this time enabling just the 'elp-instrument-function' to avoid freezing. The 'elp-results' output: > org-export--generate-copy-script 1221 2.8268540000 0.0023151957 (The buffer also contains a header line, with e.g. "Function Name", but Emacs did not allow me to select and copy it for you.) Rudy --=20 "Mathematics takes us still further from what is human into the region of absolute necessity, to which not only the actual world, but every possible world, must conform." -- Bertrand Russell, 1902 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia