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#61814: [RFC] Asynchronous, jit-lock-based Flyspell Date: Sun, 26 Feb 2023 17:11:40 +0200 Message-ID: <83o7pgihqr.fsf@gnu.org> References: <87wn44a327.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1663"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61814@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 26 16:12:21 2023 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 1pWIhJ-0000Er-8T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Feb 2023 16:12:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWIh2-0001md-Dg; Sun, 26 Feb 2023 10:12:04 -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 1pWIh0-0001lU-DK for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 10:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWIh0-0007nA-5Z for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 10:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWIh0-0002k5-1F for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 10:12: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: Sun, 26 Feb 2023 15:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61814-submit@debbugs.gnu.org id=B61814.167742430310511 (code B ref 61814); Sun, 26 Feb 2023 15:12:01 +0000 Original-Received: (at 61814) by debbugs.gnu.org; 26 Feb 2023 15:11:43 +0000 Original-Received: from localhost ([127.0.0.1]:44814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWIgh-0002jT-AR for submit@debbugs.gnu.org; Sun, 26 Feb 2023 10:11:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWIgf-0002j5-QY for 61814@debbugs.gnu.org; Sun, 26 Feb 2023 10:11:42 -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 1pWIga-0007is-If; Sun, 26 Feb 2023 10:11:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=8VjJCBL+JudA5Oaojlif4rSEGhjJf2kmTm/EB5/3X9Y=; b=U1rmzP3N5taB5X53/dSo bCPwyw0xDVL6sxQACF5pWL/1TMTlPjmiO5GUVaSXOgIvzcxarktNxGzCVs/RB6SDpDrfNbykM0E4F 1c5UNWfEs5ZjkmtL1CDVRnjw9bVxYSXcqMfqY6oKvooQ/Hqg3F4Q6KbGkWtbeYlXztc1jCuMkJaV6 3vpB+0KuFS/pFeVDVC3+6ySdPQZXqvOmBKDaulHvfnrDsqnEBAz1N5/yYdGoJIW79JsmUNB506ijP vwoCBI0Yopl5/TlZP149us9bjeKqQHOViws+tA8/7bOEOeaGCWepvdRoo2Xafsy61ruueszVqJRnL UADVH+ILkgqGoA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWIga-0005pU-0E; Sun, 26 Feb 2023 10:11:36 -0500 In-Reply-To: <87wn44a327.fsf@gmail.com> (message from Augusto Stoffel on Sun, 26 Feb 2023 15:56:00 +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:256812 Archived-At: > From: Augusto Stoffel > Date: Sun, 26 Feb 2023 15:56:00 +0100 > > Also, one obvious glitch is that one gets JIT™ corrections for the word > being currently typed. Before going on an writing some ugly logic to > avoid that, and since one can influence an overlay appearance when the > mouse pointer hovers it, I was wondering if there's something analogous > for the cursor. I'm not sure I understand the problem: just don't spell-check the word at point and don't put any overlays there, and that's all. Right? Bonus points for doing this for the word at point only when the last command was one of a list of known commands, like self-insert-command, delete-char, yank, etc.