From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 ANLyOnDJNWOQwgAAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 18:36:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2LeyOnDJNWNxJwEAauVa8A (envelope-from ) for ; Thu, 29 Sep 2022 18:36:00 +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 A194DB206 for ; Thu, 29 Sep 2022 18:36:00 +0200 (CEST) Received: from localhost ([::1]:60992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odwVz-0006Wz-15 for larch@yhetil.org; Thu, 29 Sep 2022 12:35:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oduFg-0007dH-KJ for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 10:11:00 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:35747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oduFf-0002P1-3l for emacs-orgmode@gnu.org; Thu, 29 Sep 2022 10:11:00 -0400 Received: by mail-wr1-x42e.google.com with SMTP id u10so2288679wrq.2 for ; Thu, 29 Sep 2022 07:10:58 -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=iSjTENkCp4PzeGwN+LpONdMfjPMgxXJTp7pJNBbmQ2g=; b=at274X9CUgcu4HNk2bJgRW1zxTqk8BiocsL+jE2Rdy1fvbVrFkyEFIN+OMYt5z+F9H XwUE/QujN+/1KPCTQznXXvZeDxFnzj9/TTJCxtXoAuyrakGaKgKovis7ITVOsyoqF+6N u9DJTGyh7bHt1wthUYTQSGaS6+YJuik1D32M8Er56OGLKTRlznt/fIm/rY0PdXXl27Wi ocUJN/NwP4HNNkSSvwn/DK2dJVWSebU5Tsw61IWAgZhb6LONu3C9ESOUQ6xuLxog7dv+ 6MT2OihM1ChKRroGGfrKAC7iZwvK8Q5NjXVkcVdESkbWApUvQHVhROaBG0rXCGxcBTBZ aMRw== 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=iSjTENkCp4PzeGwN+LpONdMfjPMgxXJTp7pJNBbmQ2g=; b=R+fFBvNqymNMly+yu6e6jGWSXs11gIcEx8XqbpirY65InG03byl/0iTCazZzStcnqU fmHYnSB0gzuc5lYtG1tW31lNzXRCVEOZW0Lxuo0BwPoExokj7UNbNffS1x4NfxbWq8gu KCWidp68vnAwoMAGKxI59X9J6GKUmkr+ZEeI4A6Pablb6lT7y38RhuoPewcsVhmCB5NS rx9h/FT17ufZKTPT07EfzABmo3iA6BAyS6tzu4MIIQYxwGdK6lkM+oKC6M/+HnleS8D1 4YGZycJOMZ1hANK5/843rMy7wtc9cc/udxt5IxkGl9IwBaCnHzr7uSc//p7RfFp8LIjO l/yQ== X-Gm-Message-State: ACrzQf0kCLvfzyDjv+SIu7jESlZTbAg4ffbnGGZIOc5sBVudjylCwx8g +j/zz1l/P4HnaPPZv7sng5L0WiyxLnowhk4Sw+s= X-Google-Smtp-Source: AMsMyM6f4oR3l+/u/nqAonswSnfmjVJI8ioxnPx2ZN76mmt+7tnxhZ8M80nqxKsyFPokFouBQC8iS2NXuy0MJc7qjcE= X-Received: by 2002:a5d:6c6f:0:b0:22a:7778:6ea2 with SMTP id r15-20020a5d6c6f000000b0022a77786ea2mr2591211wrz.15.1664460657105; Thu, 29 Sep 2022 07:10:57 -0700 (PDT) MIME-Version: 1.0 References: <871qry7nmg.fsf@localhost> <875yhaf9mw.fsf@localhost> <87h70tgddk.fsf@localhost> <874jwrfxm2.fsf@localhost> <87czbeap8b.fsf@localhost> In-Reply-To: <87czbeap8b.fsf@localhost> From: Luca Ferrari Date: Thu, 29 Sep 2022 16:10:20 +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::42e; envelope-from=fluca1978@gmail.com; helo=mail-wr1-x42e.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=1664469360; 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=iSjTENkCp4PzeGwN+LpONdMfjPMgxXJTp7pJNBbmQ2g=; b=FaMsVmG8vMihhV9GV5+v6Unf9iUXe4SY8uje5GImFClAblQKxys7KzOs+ORrVK5D62MtPv 7BDj2scq4TwI+VfhQKCYhNLMu2vsm2n2nZT2WFM3yEeYJgWzpr6XEarNPotszPfwt6d5SF O5IYaDs1BFiQjhwrEO76va/yodMfsbvGS/cvVsqwAACLU1Blv0k9UMe0Zn6rO8BhhlOZol vBvnQZ3ByFXQWNabWqmP19e6PdQWAvsO3sF1wJY12sdmPyfk2pyGpycuEUZK34erqx7dX+ 6mYh9NTuywjZnwTVFpWh+zWOWUrlfUEkCUhj6er6oJZPzwJykysXep4J+ZsaFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664469360; a=rsa-sha256; cv=none; b=S7zbsyFY69sBeaf1k0LrMqRhPtJrNKzrEU3AQTTJDgrfZdgbRKyrsQ2BtVH/3T11HFFtQU Ax+5fnDtZ8rNRWGypFXyj/rvwUNAbRXHsrtJeoOrxs5HbJHkctkYOcSrj5iBBxvaEyVWuR 42THUp2vzFDPs/ypTNvbEoORvefvVBs5REgbcPrD7e+yf1WBgXVmyzujtaVFVyzjEWled4 ZHQw0aLxsTVCgw/GhYY8hTM+zA5sq3p0QhY+yufSDP0aPVaGgbnwxC+3ARx9En0MNLpzS0 SMZHDYWDjZxVEFSgOFh9QGjgQHnEGvhSgB3V4wxdoBh6OdlKGcC1q5H/ID7C0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=at274X9C; 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: -5.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=at274X9C; 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: A194DB206 X-Spam-Score: -5.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: mTC+jfxMPUy+ On Thu, Sep 29, 2022 at 4:27 AM Ihor Radchenko wrote: > > 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? I have: (flyspell-mode +1) (global-flycheck-mode +1) By the way, even if off-topic, is there a way to "dump" configuration for a specific set of modes? Fromwithin emacs, how can I get a dump of all flyspell related settings (if there's a way)? Thanks, Luca