From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#26525: `sit-for' in Flyspell slows typing down, hogs 90% of CPU Date: Wed, 12 Aug 2020 18:41:18 -0700 Message-ID: References: <48f694f6-7540-a57b-eb82-3fe5024d9554@gmail.com> <5fd6562f-6190-5c3c-34c1-24370e9937be@gmail.com> <83r30recae.fsf@gnu.org> <2c330c44-4919-7d2f-cb20-c9b72c9e8050@gmail.com> <83h91ndsbp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21800"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 26525@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 13 03:42:13 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 1k62Fw-0005VC-7d for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Aug 2020 03:42:12 +0200 Original-Received: from localhost ([::1]:49408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k62Fv-0005Q9-9M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 21:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k62Fl-0005OV-VW for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 21:42:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k62Fl-0000Qy-MT for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 21:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k62Fl-0007Ix-KS for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 21:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Aug 2020 01:42:01 +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 Original-Received: via spool by 26525-submit@debbugs.gnu.org id=B26525.159728288528007 (code B ref 26525); Thu, 13 Aug 2020 01:42:01 +0000 Original-Received: (at 26525) by debbugs.gnu.org; 13 Aug 2020 01:41:25 +0000 Original-Received: from localhost ([127.0.0.1]:46341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k62FB-0007Hf-Bo for submit@debbugs.gnu.org; Wed, 12 Aug 2020 21:41:25 -0400 Original-Received: from mail-yb1-f194.google.com ([209.85.219.194]:33172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k62FA-0007HJ-7Y for 26525@debbugs.gnu.org; Wed, 12 Aug 2020 21:41:24 -0400 Original-Received: by mail-yb1-f194.google.com with SMTP id p191so2450274ybg.0 for <26525@debbugs.gnu.org>; Wed, 12 Aug 2020 18:41:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=PJJzLnURhupj0/6nIM4y8zcP/i7XwfU4kbwSVY1W4is=; b=fwcqCusstACCrKCpMmdG1v0b+DGVp7X3opRH3NExOk7ATr+PKm6UDg2ulHZ4mEAKG6 zaWUT+s9oOOx1YupnUU4zryf/UzfOvjpdsuFgGlveCBTod5iek5VIQzg5BLfXe++aZe2 vOjaLePeYNOC2xIKvERPojhKArBYP4dZKHdfqMSu3vQcdeUv7wburlZ3PvoVhbdjeVcl StCR9Z91sZk+XXpbP4+65E+CbW96JxBe5MS54JuFNuLTMsgY9CC6fBuzOwkkxLuPFJ2o umFSXi62xppl12bLl0C9C8ouEuwpyzO3PUaByd5L70Zkvo+kPv27wW0Kqb6fnFOqP0Ug GXbQ== X-Gm-Message-State: AOAM532yJS1ma5C/u3TfBzl+/FCDpAeHNQXxgzLeYmqmCYgI/ISr8Nu4 f5bVMH1YoDxy64g54Yda0mhILx7w0FixESlDnHA= X-Google-Smtp-Source: ABdhPJxwFqkrgfVUAWRcwVNy4bTYve0MmXXDyiOGskjzcZu5jwZ34q1uZ1hyLhxFj0rlq2ivNW/SwlifG5Q67HqnHCo= X-Received: by 2002:a5b:410:: with SMTP id m16mr3227250ybp.309.1597282878864; Wed, 12 Aug 2020 18:41:18 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 18:41:18 -0700 In-Reply-To: ("=?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel"'s message of "Mon, 17 Apr 2017 11:36:45 -0400") 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:184936 Archived-At: Cl=C3=A9ment Pit-Claudel writes: > On 2017-04-17 10:25, Eli Zaretskii wrote: >>> Thanks! I don't expect that this feature is intended to slow down typin= g, though, right? In the example I posted it makes typing painfully slow. >> I didn't see any example in your OP, only a profile. What did I miss? >> >> And no, this is not supposed to slow down typing in any significant >> way, as long as you type, because sit-for is supposed to return as >> soon as input is available. Your complaint was about CPU usage, not >> about time delays, AFAIU. > > Indeed, there was only a profile; I don't have a good repro yet. In that= case, flyspell was slowing things down a lot, and the complaint was indeed= about delays. > Sorry for being unclear. That was 3 years ago. Are you still seeing this on a recent version of Emacs, such as the recently released 27.1? Best regards, Stefan Kangas