From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yFotKEC4UmN9VAAAbAwnHQ (envelope-from ) for ; Fri, 21 Oct 2022 17:18:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yMlZKEC4UmPtzgAA9RJhRA (envelope-from ) for ; Fri, 21 Oct 2022 17:18:24 +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 3DFB720389 for ; Fri, 21 Oct 2022 17:18:24 +0200 (CEST) Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oltmp-0004Pa-Nf for larch@yhetil.org; Fri, 21 Oct 2022 11:18:15 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oltmf-0002Cp-FC for larch@yhetil.org; Fri, 21 Oct 2022 11:18:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oltmE-0001oq-Uu for emacs-orgmode@gnu.org; Fri, 21 Oct 2022 11:17:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oltmA-0001Sw-RJ for emacs-orgmode@gnu.org; Fri, 21 Oct 2022 11:17:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E9CBA240104 for ; Fri, 21 Oct 2022 17:17:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1666365451; bh=LHmfx8XbyQUKedkX7SX3sc8coMQLgifV3Yrn/9XYAgo=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=IaYECu5U3coaFt4+qoDHHiLPxtE/3Tn06mWxYCHmZ8iayuUF6vpjyVAB9YqEb77qS BbShnHIcdIFLueoAejCxvI0+SU6JTBATO2zzEiT2niAnQvX5cuUjoga3nvSXtexDt2 cWz/ftf1O9NnaCGA26SrwWgH8aK3o4EV92b0HdUVt5H9gdyOStniBUdMBddVuurafS iJhlLL7w0yNad2ielrjf1lw8WagVb4c9xvneUN9FC2pUZMrUfNH15HYvJS5xLKUwLw JIyTuls5E5iwQPpBmt+sc7PR/A5wsSBMhH4sUWFX5weWg/vKceOh1kxAUqmRD7OG3j Vb7L0TUsi1CnA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mv7PR3n1Bz9rxD; Fri, 21 Oct 2022 17:17:30 +0200 (CEST) References: <87o7u6t9sm.fsf@posteo.de> <87y1t96cmu.fsf@localhost> From: Michael Eliachevitch To: Ihor Radchenko Cc: Org Mode Subject: Re: org-persist-write slow when pp-use-max-width is t Date: Fri, 21 Oct 2022 15:11:25 +0000 In-reply-to: <87y1t96cmu.fsf@localhost> Message-ID: <87wn8tb3zp.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Autocrypt: addr=m.eliachevitch@posteo.de; keydata=xsBNBFHFxZABCADAAv2siayhA7Etl85WcwcyMPBD2bt/6Wh3A8a12AURV5J4tprzgbdlxC0w1LofvklG7ls25NERAY931hvQW+f5GEI0pwoNNFXEkKDa8/J4SxhrqXx8CJA85owPq1g4cFeO1ooQJ32BewlRGsnhd+taYExZ76oaMnFtx6jYjf6mPbjDyiLhC+Og3MBpOqAnmX7mhStgJl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rDDG/j38FABMDwhnXqoBfbfBw1ho+o8Nfxs/wrVqJz6DXDhFHm6n7cDWbBQleYkplFv3r8oVNA1XZCUEMv0ZPEiQDjIpw/chHQGeYWJneSdEDsbWM76yCyLF1adaccBAiHWKUTRIN5m74+xc/ZsTMCDdxaplklfeYUwwtnJ6HfW2Ia91s+4RuhdGd42kidf+3a7cTGHVn8aKKXLlteTFBeOZGnWl48dSQBC09rpq6DUOJPkmSPo3tMCYFSUyNZe7ebKNfU3P4PNreZoG4rDVkWBqNKu986WQOoYc2O0OspbC7JXrk0wiGMQKWWOW3Gw OpenPGP: url=https://posteo.de/keys/m.eliachevitch@posteo.de.asc Received-SPF: pass client-ip=185.67.36.66; envelope-from=m.eliachevitch@posteo.de; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.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=1666365504; 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:openpgp:openpgp:autocrypt:autocrypt; bh=LHmfx8XbyQUKedkX7SX3sc8coMQLgifV3Yrn/9XYAgo=; b=I9p15IA7r6Mj0b8Q1iJwpbclIzxMzcW5exaD/TPgylFsCUlzntVL2aRUR1QtDV25CVJfoD d6CWrApWHEsO+0fe1KuCmYv+5nNJDZVgIjDeRmxD5FaNQQTlz4DgJiSA0g6c4f9R9Oqxk/ Ikd0XsYvYhA5q7X0dyKwsrRPPvz0oM0Lg2OT0dQSItuv+DxB5ZBlxa4N02yyV6irM+lhUS 9Akw5lBmBZVAaz4bFbtGi4V6ikywSYKzevitxotCcDQQgkgopPrz52zhx5Xu9D+0VQnWw+ roa9KanE334MYpTaozSB7a2MuZVNcoVtTXFtO66lE8xXTvDVy3PjNOl+CTuueA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666365504; a=rsa-sha256; cv=none; b=TujqF4exGNZIVKHophwyhrMOiJTrFJs9NGWnwjtgvsJaoOn829A0rU8V7UNRQA+jrtdaU/ mrYlxpafaaJVF84pV0K2P52UWiE3+lIFsNbx7zRtJ/GvjVSj3++K6Jj7LQN8DejSdSaeyw 4f4/ZABHVAPvEwnU8jqL/hQiNN9iN/xKj+s69daZ5gwz4fu9R3dh2/TJplWocMoACj71N9 a/q0Ep4NO2GjXo7xKlW8zpf9OPgytpj9IgvY9lEQxCQlQaKnl6qWf7+dv8/x7w/aj5mz78 Oi9bZm6mNMqLG1zNP4t6LE8upuL8OBLav3r4gEEeextQylL8hWzmKCA2c0B4nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=IaYECu5U; dmarc=pass (policy=none) header.from=posteo.de; 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: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=IaYECu5U; dmarc=pass (policy=none) header.from=posteo.de; 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: 3DFB720389 X-Spam-Score: -2.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: KIzwrHNVsHzc > pp-max-width has been introduced in Emacs 29. > The fact that pp becomes too slow is likely something to be fixed before > the next Emacs release. Good catch and I agree. I compile emacs from the master branch and probably discovered in the emacs-news which I check between upgrades and I probably customized it subsequently, even though I forgot about the customization later. > While we can work around this issue on Org side, I'd prefer to ask Emacs > developers first and see if they can come up with a fix. > > I suggest you to file a bug report to Emacs. > You may provide the contents of your org-persist-index-file inside > org-persist-directory. AFAIU, it is what is taking a lot of time to > print. I submitted a bug report where I attached the index file and a minimal example file which benchmarks running pp on it, with which I could reproduce my issue from emacs -Q: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58687 Let's see what the emacs devs have to say about it. -- Michael Eliachevitch Public PGP Key: https://keyoxide.org/hkp/546908c782383ad0e7d894ec1b8f95c8125dce31