From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.bugs Subject: bug#26525: `sit-for' in Flyspell slows typing down, hogs 90% of CPU Date: Fri, 04 Sep 2020 13:01:35 +1200 Message-ID: <43c60b5d18e722ef1c6be35705f57d4fa9b854cc.camel@tenpoint.co.nz> References: <6ec4bdf403e191db33a49809e6018025f5624bcf.camel@tenpoint.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27135"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) Cc: 26525@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 04 03:02:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kE07F-0006tv-4H for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 03:02:09 +0200 Original-Received: from localhost ([::1]:49666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kE07E-00020z-0U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 21:02:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kE078-00020r-If for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 21:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kE078-0002aJ-95 for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 21:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kE078-0008JL-7E for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 21:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Helm Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 01:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26525 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 26525-submit@debbugs.gnu.org id=B26525.159918131031928 (code B ref 26525); Fri, 04 Sep 2020 01:02:02 +0000 Original-Received: (at 26525) by debbugs.gnu.org; 4 Sep 2020 01:01:50 +0000 Original-Received: from localhost ([127.0.0.1]:36571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE06v-0008Iu-OI for submit@debbugs.gnu.org; Thu, 03 Sep 2020 21:01:49 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:51541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE06t-0008Ig-QY for 26525@debbugs.gnu.org; Thu, 03 Sep 2020 21:01:48 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CBE3B510; Thu, 3 Sep 2020 21:01:41 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 03 Sep 2020 21:01:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpoint.co.nz; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=fm1; bh= Mhv0spSgsj7vjuviEKFTuDHEbTvsi4F+BmO3B8P/jlo=; b=ma/FBCclhQq/K/9n /4delrBCUri9srC4ckoQ9Gb2T1o0KNHc2AMI/R0t3RXP2DzD8AsXoqayMtrhKOpG BWxi6n+0h+rnZzYbPYFDnfBicQGxgvVYMi9WfDddMWTpyfLzmpHw8WxX+xI7PMBM Pa0ejsjYLX+j9d1BzeJs3RXhsZL8bigOxrhOVTzUCtN7uvcqx3WwGwBXKA8LpZ5z Nv0oPIgswmTet34kC3+agbFz1blsc0OGDOD25U6qWL0s+crWZ+4h6ijdrueYzfVK kMz27Ia5SVWD87sqCgQLgOi0gR3wFvEZlvQplV6PhO/7Vd5pQC2zvAojsjYiENpO kVJRUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Mhv0spSgsj7vjuviEKFTuDHEbTvsi4F+BmO3B8P/j lo=; b=r5pwLx45dH3xLRYc1jq2NGxA5LTMymLOZM5yj0GmQAU4YbIxPsZONW5f0 g7byHBLcvd3nPDHxjauH650XiH1HoUhSgSc/f0zA9KIXUrk5iN8YibCupMQ7nYIS I/++RaQ4ol7F/YmOdnEZnRAHZ3SWyBRk0z7B5/0LPqaaB3m0rhZbJ1bakdCML2qw TNwHGyklhJl5Uemv4iSK3uLdwJOt4XjRwSThrVxRZZR2sqsPdsnjWac/1vgAScV8 iBu+JXEbFJTa8m3wF4DuoiyQrDRPiL4j4pOBQvCN3UWokdkyEUKdlvFCYbDz1yTm 9e/c9nytxca6K+PBKwN3z+vOrkKzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegvddggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkffuhffvffgjfhgtfggggfesthejredttderjeenucfhrhhomheppfhitghk ucfjvghlmhcuoehnihgtkhesthgvnhhpohhinhhtrdgtohdrnhiiqeenucggtffrrghtth gvrhhnpeduteelgfeftddvfeevjefhkedtgeefhfeggfeihfegteekkeetteehheeitdfg leenucfkphepuddvhedrvdefledruddvuddrjeeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepnhhitghksehtvghnphhoihhnthdrtghordhn ii X-ME-Proxy: Original-Received: from Nicks-Thinkpad.localdomain (125-239-121-76-vdsl.sparkbb.co.nz [125.239.121.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A5EC3060057; Thu, 3 Sep 2020 21:01:39 -0400 (EDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187050 Archived-At: On Thu, 2020-09-03 at 03:19 -0700, Stefan Kangas wrote: > Nick H 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.