From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KAGrHJtF92WgCAEAe85BDQ:P1 (envelope-from ) for ; Sun, 17 Mar 2024 20:33:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KAGrHJtF92WgCAEAe85BDQ (envelope-from ) for ; Sun, 17 Mar 2024 20:33:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DEYi1yaE; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710704027; 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=LooP5+7H2Bwxmae40cV+CBAz/9amW4/w+3N9FnemNNc=; b=i9Am6zShxexoibxUl7QOvOPesmAS+5VZpxyc63hYPlQKITEyobux+Yb+BqIxEpFtAuv74K NbQeaPjawJ2Fwwg3mk3ptKz0yzXOeFeULrKQPVriW0ss08KmDudH6G19Ew7mTvGmZBjLaP EjPyocUwsCxBPBHdOVXISrtDa/Q/YTgoeeabBR/grsP3ivFFLdO85rXugU0wFjqzY7eyJj uBLGphQ9alzRDpbp6n/N+vLfQkYSBfq2yOH+B2JeqtPZ4cx0ppSWn9SmjuUng6vUGsPQBv KIZXmaSI7BD/8t20k0rNIzTTuhCPofrp/VBo3diTPQVUUYgc4W7lXaPnJ5YeXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DEYi1yaE; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710704027; a=rsa-sha256; cv=none; b=AQPt2JWOupvcxj+Iw0kMWw3uZJ08oJiznKCUJH0grcSmtdt2UIpAoVA+2IGuuJxf0WtJFh exI/wJbJrFllOkp3f6ELTmH8c2s1P/jHGOdweYZfTXxpLKGYeMbcANZv04s204JLoVCy+h VuDs5/mexLcBzb9tamuiD/0tTQib4x7+3zD5lzCBF5mNLFD3pmuak4SodxcM3LTT/6f91C nW3gW0HxcA3IFgicN7Xx5xXswT8sS8TCHgrCB2ZAKPYiSs8dEbCZ3y8ygbn2b5EJJkI9m9 lSKfDifTuJU2TSmEINg22VsjLs/ZB+z1CaytvNXnSokhUX8dv+YWKZ/6QBoyZQ== 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 36DA71BBE7 for ; Sun, 17 Mar 2024 20:33:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlwFt-0001y4-T0; Sun, 17 Mar 2024 15:33:13 -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 1rlwFt-0001xu-0w for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 15:33:13 -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 1rlwFq-0006vG-HG for emacs-orgmode@gnu.org; Sun, 17 Mar 2024 15:33:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B01E5240029 for ; Sun, 17 Mar 2024 20:33:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710703987; bh=x5lJIwO+gW7EiccLQHoye8qD/1eGCWM4Fcjs+Q0FggA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=DEYi1yaE5FAdNZ3pW9Pi5AuWlgjDeH0kLjfo6OZQuLWfID3K96amTxT0RoN/gKnUA i8Amm6dNBoPEQ9EvmqKYVjdJxbNjEvMcSYTusWr1MBXOkA01extIrhRiQEezjhYAHo 5PwPCjt8HgQHEaklEWPESpJ1I6Hio4kg/yHV0PfGg31Kf8S9mPFzHYTOmHSzY15mVq QFBvFhFOzn/QNzgPHTOAZFInnDVhQwsm5tFHzq5YWgWTfV8q12xcEA41TBYhK1/Wzf IlulGUs6EPwGAD3Hkx1rZc2hGcPcifPNnfW63yv3E2WlsS+4X+SM2MoEm5LlpNLoqh w7QjqeFQ1EmNw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TySnb0xd6z9rxB; Sun, 17 Mar 2024 20:33:06 +0100 (CET) From: Ihor Radchenko To: William Denton Cc: Bruno Cardoso , Emacs Org mode mailing list Subject: Re: Things got very slow: profiler output In-Reply-To: <3TXoimktsyU1MDZyJsGVrQjZzYs2tevgGzinAsOg-8vVJ-roputyb45wbjVTLdLF1YoTiwptiommSNOYCDMVQNktwzr78qyIonS2m_HAVX4=@williamdenton.org> References: <87v85n4fqh.fsf@gmail.com> <87edcbza5f.fsf@localhost> <87sf0r4c7m.fsf@gmail.com> <87edcawo5y.fsf@localhost> <87edcacng3.fsf@gmail.com> <875xxmi30r.fsf@localhost> <871q8ahup9.fsf@localhost> <3TXoimktsyU1MDZyJsGVrQjZzYs2tevgGzinAsOg-8vVJ-roputyb45wbjVTLdLF1YoTiwptiommSNOYCDMVQNktwzr78qyIonS2m_HAVX4=@williamdenton.org> Date: Sun, 17 Mar 2024 19:33:04 +0000 Message-ID: <87h6h4y7pr.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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.79 X-Spam-Score: -5.79 X-Migadu-Queue-Id: 36DA71BBE7 X-TUID: KvZdbMjxuGl1 William Denton writes: > On Saturday, March 16th, 2024 at 14:56, Ihor Radchenko wrote: > >> Did you try setting org-highlight-latex-and-related to nil? > > That did it! Thank you! Org is back to normal, fast and responsive. What do you make of all this? Was it just something about my individual setup? > (In fact I now have it set to '(script entities). Both 'latex and 'native gave me the problems, but this works.) That's because `org-latex-regexps' is a bit too complex for Emacs regexp engine in some cases. For some unfortunate Org files, these regexps may trigger stack overflow while matching. Eventually, we will switch to parser-based fontification, and the problem will be solved. For now, I have no clue how to simplify the problematic regexps without risking regressions. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at