From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 QJWYFMYtMWMnLgEAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 06:42:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yLuAFMYtMWMfSAAAauVa8A (envelope-from ) for ; Mon, 26 Sep 2022 06:42:46 +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 EC8903EFEA for ; Mon, 26 Sep 2022 06:42:45 +0200 (CEST) Received: from localhost ([::1]:38912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocfx6-0003dP-Or for larch@yhetil.org; Mon, 26 Sep 2022 00:42:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocfvx-0003a4-4Y for emacs-orgmode@gnu.org; Mon, 26 Sep 2022 00:41:33 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:43867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocfvv-00078e-1z for emacs-orgmode@gnu.org; Mon, 26 Sep 2022 00:41:32 -0400 Received: by mail-pl1-x632.google.com with SMTP id l10so5128079plb.10 for ; Sun, 25 Sep 2022 21:41:30 -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=EVyjRAiP1HlscQOVXQGujTsgVVJA/DuowDN59kyY1Mw=; b=JVcpuAPPr/Xu6tSvXyQtXKo/c3W1TPHP4xG7gAYdH0xqFMS5OLdsdrxy1SGXrm33QA EKcxLeUSEvF1wBG5fhbnSCr1uOWPM04oHxAcfcUaa6P87YwjFVxR75Ze15hO0erNL9Dz V3/F+0GrTeQYYjOYxs75tbcWgrK1JwTKc7Q8Ptd5dfiGE1JK6Cb0X8sF0Eg5ik4I4W79 rW+SPWuuHJnxF9QZquif2iTw6FALQjpmBJrDuamlVqQSn5aYO+TzYe22E3VB4h3v5fJW Or2hXRU4yfsi0cFbTUsSenATktOczKyJBi4qdLClfwxjraBrVsvsBmkAV0eMkdhXjiHk 5SPg== 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=EVyjRAiP1HlscQOVXQGujTsgVVJA/DuowDN59kyY1Mw=; b=qrNULCIepFM5xzccgjLl0vrvjMRPmqfFbr8SZ3En3WGN5Lwnan6wPEbB7nknAjOtwT DjG/fFPw/UqCAgIhav1uTdmNLkcYMe3PXzXMymhFlgOOx1zae2jbPIZNfjRbxgAz4G0T O6pE+B9BkhGiUmG9mB9mSUV172ytXgplg1rIUiZTPDmwxpULE3B2Um/Jq2LJR97mbjrH XmM5rVLziQp+G7vLAnOcmo43bpUm5LwqiVgAmcU3/d36dGwsLM6C/1xZJ/Gow3MoHEB4 am1Ckye4UeHCbeB28e7LznqTEzT2bALORZtlydImwksCI6xHg04GTVIc/EY5rE1xzAt2 Y/wQ== X-Gm-Message-State: ACrzQf3cF0Ansgdfj+EgWIXFI2HVNYWmAa6r3tXAfzH3c1iMwNUBFDWH CEqS42EY6aGxLVSFZTZYtEw= X-Google-Smtp-Source: AMsMyM5ZecmP9txN+bLaUVnJZMrQpJY/W7fYjMU56QEok7kiFPPN3oi49QHAlMqlJcONcrS4Xdi+2Q== X-Received: by 2002:a17:90a:9f07:b0:203:5a3:1d25 with SMTP id n7-20020a17090a9f0700b0020305a31d25mr35750778pjp.74.1664167289702; Sun, 25 Sep 2022 21:41:29 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id w22-20020a1709027b9600b00177faf558b5sm9996387pll.250.2022.09.25.21.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 21:41:29 -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: Date: Mon, 26 Sep 2022 12:42:15 +0800 Message-ID: <871qry7nmg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=yantar92@gmail.com; helo=mail-pl1-x632.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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664167366; 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=EVyjRAiP1HlscQOVXQGujTsgVVJA/DuowDN59kyY1Mw=; b=KfdZykSGM8fcryl6OYUXOn0hJQS45TVW7coMFQOekJU67o2ZNjWKSr9tnoCJhiweHxY1fl lC0r/h6RZavmP+64aiWo1bsJLGMNtl8vz7p501mVy7P/xzK62dI9VAmvD2QMTNecnSGdd2 1r+SXZNAAYg4kZ+4v7s/jDtPYq6J8KBk70QAVGC+11z41cUJnOV3IKTHe/nS6jtufAuG2X /3k+uv+61qxeAWEMoxTLC2evQ8ByMlVn79VpambYJLlPZJg5ntOn+mjASsXNR83ZfQnDnw 36ADOILCCY+A/13vx18+zjENLJ4GDuI9mxel5orJcL7VuCKaohURs8kkeZb65A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664167366; a=rsa-sha256; cv=none; b=gzVUbGnvZ5XBnMtlRriE4megLY7chlACgfN1oUzSfFOwtcgvA70rzkDO8EJRVkBahpzujc S0hVZDsRLx6xKzP8ylk9fulQX14he7V+HPJdN68gKoEZEz6fev0Rd4aoFXWUVOg+eYlmbd 3HhiwtoBeTzR6YjSw3LI3VBfkHQsB4rDYjKnw7oG1hFl95rZJfNgX9L1DIeE0NmmGZr7R8 KEdIjaowJMMDMjjy/DDYucP46v/Ru8OikqqxADvEUbNPHbxLk71SaM60yXdftbqenCZp55 N8qAi01IcoZmqpiHoeeP2QH1gsbtAQeF9wblj6UkRje8QCgmbMbdgPzXnkUL6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JVcpuAPP; 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.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JVcpuAPP; 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: EC8903EFEA X-Spam-Score: -1.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: +bLlIFacuQl0 Luca Ferrari writes: > Hi all, > I'm having issues in my org files whenever I insert a new source block > (perl if that matters) with "#+begin_src perl" Emacs becomes really > slow. > I can move, paste, edit within the source block (in the same org > buffer, not an external window) but at a very slow rate. > In the messages I've only this: Thanks for reporting! May you 1. M-x profiler-start cpu 2. Move/paste/edit your source block 3. M-x profiler-report 4. M-x profiler-report-write-profile and share the resulting file here ? > Starting new Ispell process aspell with default dictionary...done > Error enabling Flyspell mode: > (No Ispell process to read output from!) Did you try disabling flyspell? -- 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