From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SF+AAAJ5NGPMQAEAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 18:40:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KByTAAJ5NGOlBAEA9RJhRA (envelope-from ) for ; Wed, 28 Sep 2022 18:40:34 +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 7C3CD1278F for ; Wed, 28 Sep 2022 18:40:33 +0200 (CEST) Received: from localhost ([::1]:39608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oda6q-000249-4y for larch@yhetil.org; Wed, 28 Sep 2022 12:40:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odXrB-0007RU-RZ for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 10:16:21 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:34587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odXrA-0001Zd-5X for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 10:16:13 -0400 Received: by mail-wr1-x435.google.com with SMTP id z6so20078149wrq.1 for ; Wed, 28 Sep 2022 07:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=jgk+i9k/lYznCSSADO1uKVXJCNCPHfVot8SUvOjlnVY=; b=GQpJtNIoi/Covb0lTzq9e7Pz/y7kcTGYabH0Pff9QdTr7L3R267/reRs15YOTEOFpc /434XsdNow/DjgR4J83eBBCsVur00Ua94KHHwIKnzJhC7HODoLY5C4+qeHKjK2TKUqyY E8Yb99yfVbT5TLy/pfu5B7R15oxgb+LZzGmEEGkX+Qy5KRsNPS7D3zmuCKVYbh9oZFA8 /EVn+VcITtIR9pjKlpzcHUSQvqvRKyx1pATfgK6ny2D1f+6dWIl0aRJU/mpSzJlJ3Zz0 hpFrJpeoIWVCegumnMi5od2ov9q5FbE9jbDG0v3J8MLC/cH9/WwQLveD2NN9X098ZET0 UamA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=jgk+i9k/lYznCSSADO1uKVXJCNCPHfVot8SUvOjlnVY=; b=DX0adK//J3sENFjNelzPs9yPrA+dg9iHK9Ww56u73l2ge87BwfOpLIh7hGrlsg4ZnL u9/WlQaLIxvlYuArEvAk3+u7nhWozXjaFjpvycF75QGjSX5lzPkUAn+9DZk8Nl8PnmCs sTdRJXw7ZGEPRuYT7ezdzPGjFdo6NxeAWcahp7wHFmPOPOXvC+LBaAM8/9CFQE457nVp ndF2LwXm/FUMMsJYMrxKJE3twT5MLbZvoD1cr8RcuZ3OQfwko5KcBMm6a2kRPdCH2H1s CcI8bEfmQAsZkhklazPygPQypgwpJSu3yk5v7SPRGudtI3CNIbz4wxduWpiSW7Z/Efz0 FThw== X-Gm-Message-State: ACrzQf2VPbjxNPAMtM0LUmFsLE/I313DTlznsejYIiqjkSY3g2Uuxv2b QCanidjHAeq1QlCHscvTz/4IQPRFFq5ovi4Xi2E= X-Google-Smtp-Source: AMsMyM6LiszPaLrzb1LjWwK1ESxeKOfXPzDHjmztwavYPfW+OCT/8PXczifSNvvtXREilgdNuHyfiRumvatFb5W7oGg= X-Received: by 2002:adf:ff8d:0:b0:22c:c4a1:32de with SMTP id j13-20020adfff8d000000b0022cc4a132demr4129468wrr.157.1664374570016; Wed, 28 Sep 2022 07:16:10 -0700 (PDT) MIME-Version: 1.0 References: <871qry7nmg.fsf@localhost> <875yhaf9mw.fsf@localhost> <87h70tgddk.fsf@localhost> <874jwrfxm2.fsf@localhost> In-Reply-To: <874jwrfxm2.fsf@localhost> From: Luca Ferrari Date: Wed, 28 Sep 2022 16:15:33 +0200 Message-ID: Subject: Re: emacs really slow when inserting a new source code block To: Ihor Radchenko Cc: emacs-org list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=fluca1978@gmail.com; helo=mail-wr1-x435.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=1664383233; 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=jgk+i9k/lYznCSSADO1uKVXJCNCPHfVot8SUvOjlnVY=; b=gPeDo7qg1nFHqfvjwl+rZrsX/+TSKN/TMg2szsVXf3uzRVgK7FEopz3JqJhu/RIYFwhvqr Z1ATUe4JEM+93aivcpOrMGUitifCEglIL/SBSOUFubzh2DzFXUxmiEUlXswg1GNKo67SGR m68MJqRkrjUaH6ljZl4At3PvDtVS0WZRIzhppJk4RE16zOkWzMr4F2rGwlUSxizd/WNOK4 QPbAIYfDnoaWUcuArHuyMnrIQPTiCaPXmaARhoSPSTUApHD97yteVmn3Ot4GOVRDi0gDJT wy8HaHuCC5+QdsxGTIZKhale1eUm9Ba410KSOGCNZAFbbzLO+fX98F9Rwqa3bA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664383233; a=rsa-sha256; cv=none; b=rbkKEZhHZ4mqUWWfkkoV3e2oEVm7gOYsQqYw1MeAh8CDeTRdu9uV0IdLU7EX9o57reIzeN Kg8fFlfklDuOvqTQ/YvZuCM8d88jXgfLgjCi+A1nKQarxhV7HK+Gb9xexFZbFx+DsFYszp c/44X52/KtxJEqb4ZxW725bM7HiLS/LAsZ9VRa1xr1zECv8uO8U0cGXEilbAqDwFvmZtbP Ud6f02s4PjMgIy9/aJzA2KpI4qs+o83nvpr4fC3/cO/DhjT9/uuzSxBAqIlqZAF+x9AkLM En20aA9/DCc5av7iU+PYD7wi2oe0aKJboirhST9CWTciqMThT3Aq0QzKHNgjrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GQpJtNIo; 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: -3.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GQpJtNIo; 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: 7C3CD1278F X-Spam-Score: -3.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: hSysnHlt9UP4 On Wed, Sep 28, 2022 at 3:15 PM Ihor Radchenko wrote: > I have not idea except that you may have something really strange in > your config. I'm trying to understand what could be eating all the cpu. > What if you open the file in a clean Emacs instance? See > https://orgmode.org/manual/Feedback.html Clearly, -Q makes emacs work like a charm. Luca