From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#26525: `sit-for' in Flyspell slows typing down, hogs 90% of CPU Date: Mon, 17 Apr 2017 11:36:45 -0400 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1492443434 27738 195.159.176.226 (17 Apr 2017 15:37:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Apr 2017 15:37:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: 26525@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 17 17:37:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d08iE-00076m-0m for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Apr 2017 17:37:10 +0200 Original-Received: from localhost ([::1]:37165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d08iJ-0007Gs-NE for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Apr 2017 11:37:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d08iB-0007FY-Sg for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 11:37:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d08i6-0008Ao-1g for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 11:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d08i5-0008AS-Th for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 11:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d08i5-0008DE-Op for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2017 11:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Apr 2017 15:37: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: Original-Received: via spool by 26525-submit@debbugs.gnu.org id=B26525.149244341331554 (code B ref 26525); Mon, 17 Apr 2017 15:37:01 +0000 Original-Received: (at 26525) by debbugs.gnu.org; 17 Apr 2017 15:36:53 +0000 Original-Received: from localhost ([127.0.0.1]:52669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d08hx-0008Cr-6k for submit@debbugs.gnu.org; Mon, 17 Apr 2017 11:36:53 -0400 Original-Received: from mail-qk0-f174.google.com ([209.85.220.174]:32967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d08hw-0008Cg-4a for 26525@debbugs.gnu.org; Mon, 17 Apr 2017 11:36:52 -0400 Original-Received: by mail-qk0-f174.google.com with SMTP id h67so107637852qke.0 for <26525@debbugs.gnu.org>; Mon, 17 Apr 2017 08:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=rp5hvMLHyhO9oTp0t6R9IMCMalxXb6C6cfM/d07flYU=; b=SxAbiaTs/hzyIAvYv8bXNNs1LRVPJiU3g4PJWpUIE3IxD3j5EMQmNRSGR8vsrdoUXV /bNxh/68J6v4TeMsJ0uVUAdpea9Cki7LXTjV2JIzHe0vTSShuBRTq1TuHfbyO3y6HIYD i1afqCCowC9yd0GCpJhWHGBnEfFNdOi3WPXZ217DRRK/qnb+X4eFkV6bx8203LMN69UZ 6dX33KrLIFyUBQqQN4/RxTHN1ec6gVl7u5mPNrZPc8hJpi13koplpf4Pi2kOPWvEJJwt O+U6P5jXqAnKdogi0t9YYrype9g8bDEd7KeVIp7rrZkuOSgdNVT1GaJmHahhwU1HEMnt S1EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=rp5hvMLHyhO9oTp0t6R9IMCMalxXb6C6cfM/d07flYU=; b=hqfkDizZuOk9TMJAtuprodYFfNM0ZuR4Nbo29V5oEZ/UAlKz3AJwCXD+riZxdRG8aP Lv+x0QEeARaGI01CTQ7CfZpBG7MtCj9VXroKHf721uJ+hhX5erSy+C3endUmVW9YR/4E 9sVG02dTEK1MX3fJJMgYc+Tmq7KL54C8HnJYkBquN23bQSlZmS7GqMiLXMRWdUgMfbTT xLL9IgITTAHX8xqfWJr6YhMhm9opf/uPe/q8ZnNj2ACTGrBHcunpYVoyyX37NSb/NABS M9Fhb9q9prgvgu0YXyATTub+XeYD/2slh0Kegv6IO4UbJNZmnH+KGRy/0pzFQ/RjVC2f l8aQ== X-Gm-Message-State: AN3rC/7BRPuowzfMkMk2aetJsNcW+xiOoNbJopwGkh7OAq8Y9zn+MU4n PIQ2kCivc2L9pg== X-Received: by 10.55.17.84 with SMTP id b81mr9156270qkh.167.1492443406574; Mon, 17 Apr 2017 08:36:46 -0700 (PDT) Original-Received: from [18.189.26.125] (dhcp-18-189-26-125.dyn.MIT.EDU. [18.189.26.125]) by smtp.gmail.com with ESMTPSA id q66sm7448243qkd.69.2017.04.17.08.36.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Apr 2017 08:36:46 -0700 (PDT) In-Reply-To: <83h91ndsbp.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131695 Archived-At: On 2017-04-17 10:25, Eli Zaretskii wrote: >> Thanks! I don't expect that this feature is intended to slow down typing, 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. Clément.