From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74437: 30.0.92; completion-preview-idle-delay is delayed by flyspell Date: Tue, 19 Nov 2024 21:10:36 +0200 Message-ID: <861pz7t4yb.fsf@gnu.org> References: <87cyirbfpd.fsf@alternateved.com> <86bjybta3i.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40919"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74437@debbugs.gnu.org, mail@alternateved.com To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 19 20:11:39 2024 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 1tDTdT-000AVk-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Nov 2024 20:11:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDTcw-000244-71; Tue, 19 Nov 2024 14:11:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDTct-00023b-1v for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2024 14:11:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDTcs-00065h-J6 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2024 14:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=3QS69y1YFkq/6qnKQ6CZTxZWSbbRS0TM148Amo5Imjw=; b=lZ7ivqzKI2qUzVZD0DQ11MzYxYHxdD9cjB7WwcE69mlMWlUdyJnLMJBC7Bv73OnyCOReYzoXShlOTdayUsJ8Tj0FbLrWdO8l8HF0Ac7vU4NgapwT+bfQ4r741nn4ndhgw/5gkOz+yoEc+Bj0/41jCnBsG5PbGf/uiHV15TKDr7Cvo0ysklXgtiyFBgVysC+hZ1fb89gBLGb2tgZ5W/+kKmh9sMLtzuClSUfEFXnMTx8RUMJMflUnUP7GBkw0afk+3dwM5pIfjR9mAlO7O5M/xnqKPtXdp2Fsg6Fwe3iWX8O9Hczl5dLny6+clMLbkvnpO1Xvn/KwWjpRCwRk86VdKw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDTcs-00055W-7c for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2024 14:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2024 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74437 X-GNU-PR-Package: emacs Original-Received: via spool by 74437-submit@debbugs.gnu.org id=B74437.173204344919536 (code B ref 74437); Tue, 19 Nov 2024 19:11:02 +0000 Original-Received: (at 74437) by debbugs.gnu.org; 19 Nov 2024 19:10:49 +0000 Original-Received: from localhost ([127.0.0.1]:44041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDTcf-000552-89 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 14:10:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDTcc-00054n-5W for 74437@debbugs.gnu.org; Tue, 19 Nov 2024 14:10:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDTcU-00061X-TM; Tue, 19 Nov 2024 14:10:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3QS69y1YFkq/6qnKQ6CZTxZWSbbRS0TM148Amo5Imjw=; b=gCNxJbTYHf7e 6aLhrqU5S7M7YusuBNT3qNZ1oMTAQnyriB/nlOYB73hU115LgXw/VCEUwbhTxhvIUbvw+STTDsglx XKs8KBLDMHW4kSEkjLdsE3NGn/FR8QlWL6OBkjhtTuEnF0EB+LAAZ84I/+s2Aq515mMlHHEnt2oM7 ansQebga1BCL7lcDiutEfKlTdYtDnVCIMMO9mTTICXghwPBzTsvDtj9aX8WErPDHK5JGOv2wHgJO+ HR0oVZHIcYKi4jxsS8StoYmwphF3DbAJ0JX+gm6kJPsx32sMZ3k+ur58LiSnjF+bnbkKAkpS4i7K3 VX5n8vUj5hGxmKmZQ4XrDg==; In-Reply-To: (message from Eshel Yaron on Tue, 19 Nov 2024 19:40:07 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295655 Archived-At: > From: Eshel Yaron > Cc: 74437@debbugs.gnu.org, mail@alternateved.com > Date: Tue, 19 Nov 2024 19:40:07 +0100 > > +(defcustom flyspell-blocking-delay t I'd name this flyspell-use-timer or somesuch. > + "Whether to block Emacs while Flyspell waits after a delayed command." > + :type 'boolean > + :version "30.1") ^^^^^^^^^^^^^^ You are an optimist ;-) > - (accept-process-output ispell-process) > + (accept-process-output ispell-process 1) Does this really work reliably from a timer? You _are_ aware that this call to accept-process-output will run timers while we wait? Also, what happens if there are other async subprocesses running in parallel, like maybe Grep or compilation or url-retrieve?