unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Helm <nick@tenpoint.co.nz>
To: Stefan Kangas <stefan@marxist.se>
Cc: 26525@debbugs.gnu.org
Subject: bug#26525: `sit-for' in Flyspell slows typing down, hogs 90% of CPU
Date: Fri, 04 Sep 2020 13:01:35 +1200	[thread overview]
Message-ID: <43c60b5d18e722ef1c6be35705f57d4fa9b854cc.camel@tenpoint.co.nz> (raw)
In-Reply-To: <CADwFkmk=nGOqhyTgtCp1UPjSja1r8SDbP+-htMTuAMMpRGdNSA@mail.gmail.com>

On Thu, 2020-09-03 at 03:19 -0700, Stefan Kangas wrote:
> Nick H <nick@tenpoint.co.nz> writes:
> 
> > I just bumped into this bug on 27.1 with the same symptoms - typing
> > lag after activating flyspell-mode.
> 
> What is your ispell/flyspell configuration?

Nothing unusual:

grep -C2 -E \(ispell\|flyspell\) ~/.config/emacs/init.el

  ; spelling
  (setq ispell-choices-win-default-height 2)
  (setq ispell-dictionary "en_NZ")
  (setq ispell-personal-dictionary (concat nh-etc "hunspell-dict"))
  (setq ispell-program-name "hunspell")
  (setq ispell-dictionary-alist
        '(("en_NZ" "[[:alpha:]]" "[^[:alpha:]]" "[']" t nil t utf-8)))
  (with-eval-after-load 'flyspell
    (progn
      (define-key 
         flyspell-mouse-map [down-mouse-3] #'flyspell-correct-word)
      (define-key 
         flyspell-mouse-map [mouse-3] nil)))

> Do you have any ideas about how to reproduce it, or could you say
> something about the circumstances under which you saw this?

The lead-up was pretty mundane - I visited an elisp file, set the 
region to a block of text, M-x write-region, C-x C-f the resulting
file, M-x vi-l-m, a few edits, M-x flys-buf, M-x flys-mod --> lag

I tried to reproduce the problem, but no success. Sorry.







      reply	other threads:[~2020-09-04  1:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-15 20:28 bug#26525: `sit-for' in Flyspell slows typing down, hogs 90% of CPU Clément Pit-Claudel
2017-04-15 20:33 ` Clément Pit-Claudel
2017-04-17  7:14   ` Eli Zaretskii
2017-04-17 13:29     ` Clément Pit-Claudel
2017-04-17 14:25       ` Eli Zaretskii
2017-04-17 15:36         ` Clément Pit-Claudel
2020-08-13  1:41           ` Stefan Kangas
2017-10-17 12:07 ` Damien Cassou
2020-08-28 11:49   ` Stefan Kangas
2020-08-28 12:35     ` Damien Cassou
2020-08-28 18:40       ` Clément Pit-Claudel
2020-08-29 16:27         ` Stefan Kangas
2020-08-29 18:10           ` Clément Pit-Claudel
2020-09-02 23:15 ` Nick H
2020-09-03 10:19   ` Stefan Kangas
2020-09-04  1:01     ` Nick Helm [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=43c60b5d18e722ef1c6be35705f57d4fa9b854cc.camel@tenpoint.co.nz \
    --to=nick@tenpoint.co.nz \
    --cc=26525@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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.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).