From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#61814: [RFC] Asynchronous, jit-lock-based Flyspell Date: Sun, 26 Feb 2023 16:36:58 +0100 Message-ID: <87lekkcuat.fsf@gmail.com> References: <87wn44a327.fsf@gmail.com> <83o7pgihqr.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="12106"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61814@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 26 16:38:28 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 1pWJ6Z-00030c-Hd for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Feb 2023 16:38:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWJ6B-0007Vl-Uj; Sun, 26 Feb 2023 10:38:03 -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 1pWJ6A-0007VH-Do for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 10:38: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 1pWJ6A-0005bX-68 for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 10:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWJ6A-0003PY-2P for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 10:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Feb 2023 15:38:02 +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.167742582913028 (code B ref 61814); Sun, 26 Feb 2023 15:38:02 +0000 Original-Received: (at 61814) by debbugs.gnu.org; 26 Feb 2023 15:37:09 +0000 Original-Received: from localhost ([127.0.0.1]:44843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWJ5J-0003O4-6c for submit@debbugs.gnu.org; Sun, 26 Feb 2023 10:37:09 -0500 Original-Received: from mail-ed1-f51.google.com ([209.85.208.51]:39889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWJ5G-0003Na-G7 for 61814@debbugs.gnu.org; Sun, 26 Feb 2023 10:37:07 -0500 Original-Received: by mail-ed1-f51.google.com with SMTP id f13so16105813edz.6 for <61814@debbugs.gnu.org>; Sun, 26 Feb 2023 07:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zoYM9C9ikH42iWDfc8oC7GM6RWhH2sAj1JMNh2fSEWc=; b=UFLOibZRr26d8gYWDx5VwiQE9oLuVV+ocBr9m62l9qVhm7lB1syTx1fKNHtYP9/g36 yJQfn0weYAg2CQhjgbStiFR++EIGVtQQ2Z1ZGSvhmnoQDZMZnXyXxGTa4vpR9njvEOB0 4KfeH02KM4tL2G/PgafqKUYp9IHvaA26kIGvFcoKTbHn93MY3Dl/3ENkcp+/L6+LzVQq xr//HJlZpEJZK9DEd+Q/bC2lDfApDO2tK+f/Nd2l3dcR5KURf0cfn2+qooC1Ns87/8Jd iCRuaoyYDLHq3qGAlIVb1BoWXAFRFap+od67K3mVlVwWqj+g/HQMnjKj2VqlNryBHBxg mFEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=zoYM9C9ikH42iWDfc8oC7GM6RWhH2sAj1JMNh2fSEWc=; b=nCTCZowBkykDDN7P+aPitnebMejLoUljksIwwTqogINhPRGjNFXSYRErFdpoNfqweZ RxIUnY7+yCXCs3CUpTSr8LsaXfdDG/bI2MzaskAwyyRVdujdHPzdcOEPUZYQZaT4l+9L B+n2TKTyBwy4+FI6018g2fUMgq8YlNWykXsnViNnufuT8Unx0H327Oihczo279uBP6dT Y4cdP/6a8mq7ic32p8HIg29Tpfr9CJuSoXajd+kcr4WE2lL4hF+LrZZtRZlQfhdQ7tH8 s0K+gay2k1NeLy627X4vqnUxOhWb3tdDtIdkWkqg45vvkpMGXX3JEHPUkfZLA+ZuLXOo +IgQ== X-Gm-Message-State: AO0yUKXuj2GC4W6hAdfmH0xU6VQQYcNcBHPW6k8vCVcGD9Q8yn76gJsm l/6XnwIZXuAuxrztqcbsySTzauzMTuJU1w== X-Google-Smtp-Source: AK7set8DrpKSUYMlqLUDOrB14xLpjhP/F49T3cH8Toh2TjXPcawATVP1OU7vvoxbMBGdpnE7TCcg0Q== X-Received: by 2002:a17:907:ea2:b0:888:b764:54e5 with SMTP id ho34-20020a1709070ea200b00888b76454e5mr39591301ejc.71.1677425820113; Sun, 26 Feb 2023 07:37:00 -0800 (PST) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::8b3a]) by smtp.gmail.com with ESMTPSA id ot14-20020a170906ccce00b008bc8ad41646sm2057664ejb.157.2023.02.26.07.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 07:36:59 -0800 (PST) In-Reply-To: <83o7pgihqr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Feb 2023 17:11:40 +0200") 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:256817 Archived-At: On Sun, 26 Feb 2023 at 17:11, Eli Zaretskii wrote: >> From: Augusto Stoffel >> Date: Sun, 26 Feb 2023 15:56:00 +0100 >>=20 >> Also, one obvious glitch is that one gets JIT=E2=84=A2 corrections for t= he 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? Writing just any old code that achieves the result is easy. Writing the simplest and most elegant version sometimes requires much more work. I asked a specific question about overlays because knowing the answer would help me in the latter endeavor.