From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2HFfLgwOkWbhpwAAqHPOHw:P1 (envelope-from ) for ; Fri, 12 Jul 2024 11:05:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2HFfLgwOkWbhpwAAqHPOHw (envelope-from ) for ; Fri, 12 Jul 2024 13:05:48 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pjNSy3pn; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720782348; 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=y5pkIGxf7+yQke7hsQithZczP09pXKYxhcJEFUaAqNQ=; b=LQ2EQwb3lnU+OrAa3Ikf/excYukE/6mLm1xBCLHamkThTv1qhkT3H0MUv7Hz7Ia25pwebs 7tmuc2+pPLOEu6fMUKpyMPsJ28svOXE0JnGd905KKT2PXtRTAmmOX07U5wfoX/Ydxenqvl hZjft9e3Np3qKt/qTDwbQdEu9LFwKc9a369dTFwoVTOyPNVf+Ao0wNsABrY5uhRfCSwffb Jd5llVm1PDDgQoaFQyKkMCgAEn/U1EqPbgB8CiHqBdwrfBMYMwxDXLi9HQDXbnfCzJGat3 q4taiM2fp1IeGGQz1EzeZHEHJfI+BI0aDBcwNfZkpSbQf3ktNN4E6rHVsoDKSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720782348; a=rsa-sha256; cv=none; b=GyV3KAjzDEBITrTcOCvaWcM6PqUAbG5c1KsoSBvEGAN/5qZsLjSFZl4SSmEIcjGM16z36z mjY7vPNH3b/5gZ2FBo+3Anfn2rNxAeDuvdvicqCOD6L4CxH660LbboE7qIPNLjvHNCnKfp Nr7imMvGP9b0DHFQYVf0ZGXG7SEUBxg2rjxeUFDhEOQyeY8kZ6cIIx/5G1VYafeXSmduTc 3Gz55Jh1S2aZC8SFZoPNt/r+flX3CDdc8qqV1Vwh45+HDsPdurUGN2ESDnDbSAOTht5G9t RLqxJZRTkqVwT7NWm9X2eBw5QYFyWOkw7csW3JiVgqtP6S/pfZyQjugqyawEsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pjNSy3pn; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 387856D6E4 for ; Fri, 12 Jul 2024 13:05:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSE54-0008KN-Vx; Fri, 12 Jul 2024 07:04:51 -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 1sSE53-0008Es-7x for emacs-orgmode@gnu.org; Fri, 12 Jul 2024 07:04:49 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSE4u-000471-Oo for emacs-orgmode@gnu.org; Fri, 12 Jul 2024 07:04:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 55092240028 for ; Fri, 12 Jul 2024 13:04:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1720782276; bh=vRMDyXun+qq6s6wOpNXVdBO4LLtsisITia9b8xbQPz4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=pjNSy3pn1RA6rAahz6WrLRY5bMT1Yepj3uTrjxXi5AQa+y6Jy7mvaxXbyvMPoI3sY rqspdO9TlmmWaWAdXk5bSKy2pmSoWHRIVTmx89Y2GNS2+iXpSyQcInk2z73oAapC5p fLCJ7xteFDsv3ci/92XZPKOUdaDB4/XeheEG4jcVFS7zI9j4b7fAiWx4H9F00BNRjy 77Td7zssNPEJFWQaN9A8+ueruZYJLKV6P67ek3uDXjg9H3MM0NLpp2k9D7zDIrHyFj aGBTZJx6sBXjFqbChgeLGa+yrohFmWQ3CGNvL4RhGUPw1XwuL8Eo0d6zA8bRBet4P7 bzSTjFEh1VrTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WL7yp34k1z6tyL; Fri, 12 Jul 2024 13:04:34 +0200 (CEST) From: Ihor Radchenko To: Samuel Wales Cc: emacs-orgmode@gnu.org Subject: Re: in 28, massive slowness in capture, folding, and org-show-context In-Reply-To: References: Date: Fri, 12 Jul 2024 11:06:08 +0000 Message-ID: <87h6cu50pr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 387856D6E4 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.63 X-Spam-Score: -9.63 X-TUID: w2aQzUgFySj5 Samuel Wales writes: > 18018 99% - command-execute > ... > 17488 96% - org-capture > 17434 96% - org-capture-place-template > 17398 96% - org-fold-show-all > 17370 96% - org-fold-region > 11415 63% - org-fold-core-get-regions > 11371 62% - org-fold-core-next-folding-state-change > ******* FACT colophon > i am running org 9.7.6. i recently upgraded to emacs 28 > from 27. simultaneously bookworm from bullseye. was > running 9.7.6 without major issues before bookworm. > > emacs -q with default org without my .org files is > relatively ok. no changes to my .emacs that seem relevant, > none to capture. i did disable some capture hooks i had in > hopes of fixing hte issue, but they did not. > > when i am running a normal large rsync that i always ran > under bullseye, all keystrokes in emacs can take seconds. i > believe vlc can be slower too. Looks like you have too many text properties in buffers, which makes redisplay slow. Try setting `org-fold-core--optimise-for-huge-buffers' to '(grab-invisible) If that does not help, try settqing `org-fold-core-style' to 'overlays. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at