From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 ALuyLbECNWOQfAEAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 04:28:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yDAWLbECNWMXaAAAG6o9tA (envelope-from ) for ; Thu, 29 Sep 2022 04:28:01 +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 66FB523CAA for ; Thu, 29 Sep 2022 04:28:01 +0200 (CEST) Received: from localhost ([::1]:37410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odjHM-0004y6-8c for larch@yhetil.org; Wed, 28 Sep 2022 22:28:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odjGr-0004mV-7S for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 22:27:29 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:38550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odjGo-00022o-KD for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 22:27:28 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 129so221163pgc.5 for ; Wed, 28 Sep 2022 19:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=oQpJSvmg9qppS+yXzxMIONb8G0BrWrUwPEVo97XkAj8=; b=CNNWOYb3n8mBHzk785HO9/Q9Qif1LHkB34n2yU6v8xswNOLYjIVpxVvJD+YBzi787C TNm7/oUOLEeemZMUEzhvAyVIFukwvdDwlNmjpqQCruCr9qs1OqE9yymrCpcwj1ZGncrX rs9DfKp9768c64MktqNehfpCk2iBQaCzW3TtgjPZWxGr27BAuKMvxglpEtSpf5lLbUOs n1SUYaOdgacI1Je/m5H9+zv/H2cIK5Wcgz3tun+QxyHIdXZ8jD55HXVCGKuw/IEj3E1G NwQScixitLCpITq9LvUpfkmkrDIa/vqizTT8O+pUFLgqtI2spC3nPOAXJzrIMlh1KKkn LNKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=oQpJSvmg9qppS+yXzxMIONb8G0BrWrUwPEVo97XkAj8=; b=5qaDMQ/8xgWrt24kV0r6Dx0TmXsewRc2m/V95GvqpIY1mvEwKdBU/tAwvqZowYCPo/ tz/z1NAcnrL4CEa9tLnZPy/hJbW5voF2W3liqZ+ik1NqdBMhECC60SjMoDB8K8LyNQIk PqXfkwHiXTrgTez0fb8cUXfNME2P8sJQ2tyN0TahaGmX7UEZ/99zTChxj3AkaNTrRtK/ ViVuSQgHrc45d2iWe85dIJr2S4GiiURaqkT0YJhcQaiHp5ztECnCQqORtIzmeQkKCN+k rbuStDOq+8SCWcC4uYevD1GCZVRy9vDXqmgrm0hQJY4iubdQe4VHxrDyzcE5HX+0mct7 i+vg== X-Gm-Message-State: ACrzQf0CKmH5FRa+aBT4xTneu47tjULn7fNCrC4XVufIymCNOZ7kv+mF nIN/gX7u6viK8BXRVK+3pv79wsGRFZytRA== X-Google-Smtp-Source: AMsMyM7/OG25+jB6HdH5UdonSknrvQV4mb4Bl1jorBU6wfgSl7VxVs3YS8uK2TFCZr4nTA46ePkJMw== X-Received: by 2002:aa7:864a:0:b0:53f:dcdf:4614 with SMTP id a10-20020aa7864a000000b0053fdcdf4614mr878021pfo.38.1664418444984; Wed, 28 Sep 2022 19:27:24 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id m23-20020a17090a159700b002037a4e913bsm2223978pja.44.2022.09.28.19.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 19:27:24 -0700 (PDT) From: Ihor Radchenko To: Luca Ferrari Cc: emacs-org list Subject: Re: emacs really slow when inserting a new source code block In-Reply-To: References: <871qry7nmg.fsf@localhost> <875yhaf9mw.fsf@localhost> <87h70tgddk.fsf@localhost> <874jwrfxm2.fsf@localhost> Date: Thu, 29 Sep 2022 10:28:20 +0800 Message-ID: <87czbeap8b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52e.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=1664418481; 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=oQpJSvmg9qppS+yXzxMIONb8G0BrWrUwPEVo97XkAj8=; b=rbWM/cgA5N4jyXLjRT4VqlbRDV4OnYCfnfM2zOjSD6m/fKtRqnNYSkmz+JqhPw6mgaT/au ASsl0BkJcpyhmQaB0SVoIpHsi02i+GVHwr4vQbhYaTLV6YwyW3jVZAS0yRCq/8G/cPCI4L KvyMgSWKrfBJLt7rGO5aGilb52FWkF5Uvl8nq4LWGaCmMjlFzuY6/WTL3gKuJDuRT4nol8 WZE/t2RzO14VrqpZK/guVKEJlbXHcQr0oiu1JMy3zGHZEFFaOCms2NJ1jQLen9RQBiJJKY 6vksBqHKFcWb2Ryd2nqOhEJaoORZ16/0o4ZFb1YUzKgF7ywdvlFkFx44M/d0Tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664418481; a=rsa-sha256; cv=none; b=ZLC7k1oDmELhOCJOVILUcCkcx9Aj2AYHVZUNuTR3U1XAh26aibuEhZHyNXnEVK/wMpR/nJ itL9/HnTEnGKCSfzkM8pOnwUM36Sektlvq08GTPjtXKPp54LRRbvRFdu0RJe13YtgU2Qhu +dsuhyMJKKOb2lPfujvu6+GzWXY/XehEdrhCBFn1J71UyvlKfGSR+aiPHVnFHxxJDdNGPe oLeg/3sa89vAnNFgX7X+DBinNTrJHz4rbd8K4s/wNhyAxGpj6lDEVguYlebBoQmktkOfXe /aZC5i0K2vTRgWifXZu9ljHa08HWLwNv6y2F2QYDCimF8Xfs/3rXj4uCrwgdCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CNNWOYb3; 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: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CNNWOYb3; 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: 66FB523CAA X-Spam-Score: -1.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: qM01sdkot4nk Luca Ferrari writes: >> I'm trying to understand what could be eating all the cpu. >> > > So far, turning off flyspell-mode makes Emacs work fine again. Strange... Do you have any flyspell-related configuration in your config? -- 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