emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Luca Ferrari <fluca1978@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: emacs really slow when inserting a new source code block
Date: Sun, 25 Sep 2022 19:35:46 +0200	[thread overview]
Message-ID: <CAKoxK+6GNP_Gf=Tqcfzb4pSAz3=y7tXERyB3Ptts0+C8h9+naQ@mail.gmail.com> (raw)

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:

Starting new Ispell process aspell with default dictionary...done
Error enabling Flyspell mode:
(No Ispell process to read output from!)

This puzzles me because the language of my org document is set to
"it", but I never found such a big problem before.
I've tried other type of source blocks, and while they appear to
behave smoothier, whenever I edit "#+end_src" Emacs has a freeze, and
in fact in the screen I see only "#+end_s" and after a second the line
completes.

I'm running GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.16.0) with org-mode 9.5.5.

Anything I can inspect?

Thanks,
Luca


             reply	other threads:[~2022-09-25 17:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-25 17:35 Luca Ferrari [this message]
2022-09-26  4:42 ` emacs really slow when inserting a new source code block Ihor Radchenko
2022-09-26 15:07   ` Luca Ferrari
2022-09-26 15:17     ` Ihor Radchenko
2022-09-27 12:42       ` Luca Ferrari
2022-09-27 13:23         ` Ihor Radchenko
2022-09-28 12:55           ` Luca Ferrari
2022-09-28 13:16             ` Ihor Radchenko
2022-09-28 14:15               ` Luca Ferrari
2022-09-28 14:21                 ` Luca Ferrari
2022-09-29  2:28                   ` Ihor Radchenko
2022-09-29 14:10                     ` Luca Ferrari
2022-09-29 14:19                       ` Ihor Radchenko
2022-10-05  6:03                         ` Luca Ferrari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoxK+6GNP_Gf=Tqcfzb4pSAz3=y7tXERyB3Ptts0+C8h9+naQ@mail.gmail.com' \
    --to=fluca1978@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).