From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 04 05:00:58 2022 Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 10:00:58 +0000 Received: from localhost ([127.0.0.1]:58813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFvOk-0006LA-6h for submit@debbugs.gnu.org; Fri, 04 Feb 2022 05:00:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:47596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFvOi-0006L2-5l for submit@debbugs.gnu.org; Fri, 04 Feb 2022 05:00:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFvOb-0003U3-Lp for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2022 05:00:55 -0500 Received: from [2607:f8b0:4864:20::f30] (port=44784 helo=mail-qv1-xf30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFvOZ-0007QU-3L for bug-gnu-emacs@gnu.org; Fri, 04 Feb 2022 05:00:48 -0500 Received: by mail-qv1-xf30.google.com with SMTP id s6so4879675qvv.11 for ; Fri, 04 Feb 2022 02:00:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=jaEaLs7WcoB+8n39Pd7n+nGBSsnlKnfpOetDrfUzDqc=; b=ZrLfjJLMYVoimYLfwF/5nMpBD4eYWprxdaKbVCHRTIjZ3GxkytzNyw6JEiJJJ0lQOZ VmKkH8WeWvAeHNisWmV9eKUc3/ySVENJhJjjsS8+W9A0YQUsJHZwCXb2ZWAjadPtJs8d qXYnGxdfwKLrgwPRGNhkayAd6jG+Kh80qhwoQUscuPG5+X3O5MPFOtuB4Z3QuRQ1lCgJ 36NBe/s2PVmr/Ob/Mik22QpwSl8qPOrJWU2ObjCnpdbavHHSnRbK4C6ii1BqdRdMxQoD oIXlFRTUv6fvWvPrJfslQxC811P63Pt7ZOjp+SIx5Z5ADHhFLa2zoDIdu59bZh4LL2oF FdtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jaEaLs7WcoB+8n39Pd7n+nGBSsnlKnfpOetDrfUzDqc=; b=0GYUV7iVaevG3EQKp4d/2E8M/sL8m8YYK4A65HZbfG6BzV8xxlPTEpogakAO17fP7Z HtKc2GNH5cUl4Ct9vlAdcIh/uFjrlJFoL75Vlxxa5yeXmcSwaDaqNf36TgSzlzpe/VKP qAWDItTYxhnUu1aLytJCC5tap8VhvWRKKKhFi79OdHJmPrHNjkPaupzh8k4r6ydQGkUy eaCNDGJwyhMGcl+JeZsKqph5bxwn8mqO2B0vlEb534tUldutRRsQuH7XvPrw+4N4RFvd W5Ex7BqfQxM7hARLiZ/6zYyzAQYR/0Rjp/l5aHo+tG/wbmGEZu7O+2ubnQALSfxRlMCC /i5Q== X-Gm-Message-State: AOAM533SNMWUlFbSmbZHy2VOtVGGXQHV5uKnft2p8Xzni3qZFwpohWwm E4PSbk/qgHzg27v/Ev6J89S0TqHa/zRH8cv5UghnQ0ADyss= X-Google-Smtp-Source: ABdhPJySnhyyhy4FLnnTeoTwySjtU5OFfbgm48noB3IL4VIZXStDRdGGMgnDN3r17fXnkkMbZUG9qNj7EkOEj+Y/eqs= X-Received: by 2002:a05:6214:3010:: with SMTP id ke16mr1415554qvb.57.1643968841349; Fri, 04 Feb 2022 02:00:41 -0800 (PST) MIME-Version: 1.0 From: Andrea Greselin Date: Fri, 4 Feb 2022 11:00:05 +0100 Message-ID: Subject: 27.2; Flyspell delays region overlay update when the region is overwritten To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000cf81b605d72e529b" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=greselin.andrea@gmail.com; helo=mail-qv1-xf30.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000cf81b605d72e529b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello everyone :-) When =E2=80=98delete-selection-mode=E2=80=99 and =E2=80=98transient-mark-mo= de=E2=80=99 are enabled, there=E2=80=99s an active region and I type a character, the region is immediately deactivated. In Flyspell mode, though, the unhighlighting of the deactivated region is delayed by the function =E2=80=98flyspell-check-word-p=E2=80=99. The region is deactivated but the = overlay is not updated to reflect that. If I understand correctly the delay (indicated by =E2=80=98<---=E2=80=99 be= low) is used by Flyspell to give the user some time for typing before highlighting a word as mispelled, but in this case it ends up delaying also the refresh of the region overlay. (defun flyspell-check-word-p () "Return t when the word at `point' has to be checked. The answer depends of several criteria. Mostly we check word delimiters." (let ((ispell-otherchars (ispell-get-otherchars))) (cond ((<=3D (- (point-max) 1) (point-min)) ;; The buffer is not filled enough. nil) ((and (and (> (current-column) 0) (not (eq (current-column) flyspell-pre-column))) (save-excursion (backward-char 1) (and (looking-at (flyspell-get-not-casechars)) (or (string=3D "" ispell-otherchars) (not (looking-at ispell-otherchars))) (or flyspell-consider-dash-as-word-delimiter-flag (not (looking-at "-")))))) ;; Yes because we have reached or typed a word delimiter. t) ((symbolp this-command) (cond ((get this-command 'flyspell-deplacement) (not (eq flyspell-previous-command this-command))) ((get this-command 'flyspell-delayed) ;; The current command is not delayed, that ;; is that we must check the word now. (and (not unread-command-events) (sit-for flyspell-delay))) ; <--- (t t))) (t t)))) --000000000000cf81b605d72e529b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello everyone :-)

When = =E2=80=98delete-selection-mode=E2=80=99 and =E2=80=98transient-mark-mode=E2= =80=99 are enabled,
there=E2=80=99s an active region and I type a char= acter, the region is
immediately deactivated. In Flyspell mode, though, = the unhighlighting
of the deactivated region is delayed by the function<= br>=E2=80=98flyspell-check-word-p=E2=80=99. The region is deactivated but t= he overlay is
not updated to reflect that.

If I understand correc= tly the delay (indicated by =E2=80=98<---=E2=80=99 below) is
used by = Flyspell to give the user some time for typing before
highlighting a wor= d as mispelled, but in this case it ends up
delaying also the refresh of= the region overlay.

(defun flyspell-check-word-p ()
=C2=A0&qu= ot;Return t when the word at `point' has to be checked.
The answer = depends of several criteria.
Mostly we check word delimiters."
= =C2=A0(let ((ispell-otherchars (ispell-get-otherchars)))
=C2=A0 =C2= =A0(cond
=C2=A0 =C2=A0 ((<=3D (- (point-max) 1) (point-min))
= =C2=A0 =C2=A0 =C2=A0;; The buffer is not filled enough.
=C2=A0 =C2=A0 = =C2=A0nil)
=C2=A0 =C2=A0 ((and (and (> (current-column) 0)
(n= ot (eq (current-column) flyspell-pre-column)))
=C2=A0 (save-excursion=
=C2=A0 =C2=A0 (backward-char 1)
=C2=A0 =C2=A0 (and (looking-at= (flyspell-get-not-casechars))
=C2=A0(or (string=3D "" isp= ell-otherchars)
=C2=A0 =C2=A0 =C2=A0(not (looking-at ispell-othercha= rs)))
=C2=A0(or flyspell-consider-dash-as-word-delimiter-flag
= =C2=A0 =C2=A0 =C2=A0(not (looking-at "-"))))))
=C2=A0 =C2= =A0 =C2=A0;; Yes because we have reached or typed a word delimiter.
= =C2=A0 =C2=A0 =C2=A0t)
=C2=A0 =C2=A0 ((symbolp this-command)
=C2= =A0 =C2=A0 =C2=A0(cond
=C2=A0 =C2=A0 =C2=A0 ((get this-command 'fl= yspell-deplacement)
(not (eq flyspell-previous-command this-command)))=
=C2=A0 =C2=A0 =C2=A0 ((get this-command 'flyspell-delayed)
;= ; The current command is not delayed, that
;; is that we must check th= e word now.
(and (not unread-command-events)
=C2=A0 =C2=A0 (sit-= for flyspell-delay))) ; <---
=C2=A0 =C2=A0 =C2=A0 (t t)))
=C2= =A0 =C2=A0 (t t))))
--000000000000cf81b605d72e529b-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 02 12:12:43 2022 Received: (at 53773) by debbugs.gnu.org; 2 Aug 2022 16:12:43 +0000 Received: from localhost ([127.0.0.1]:44889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIuVe-0002Vn-Mr for submit@debbugs.gnu.org; Tue, 02 Aug 2022 12:12:42 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]:42526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIuVb-0002VZ-1m for 53773@debbugs.gnu.org; Tue, 02 Aug 2022 12:12:41 -0400 Received: by mail-qk1-f169.google.com with SMTP id o1so10943821qkg.9 for <53773@debbugs.gnu.org>; Tue, 02 Aug 2022 09:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=9D08CLf42YY8yW+uyA9m/XUQ7o5l9tJ2/f7BHDOV1ik=; b=dnp1odi3cpAxJwiaQtdN3/YfA+ZeyQOD78ZvJx1rqno1HssL9vVKK15mNhLcpfANXe n8lFFqj2in6nLI4rw/LPSQpY7I0hD+kBfYFocK9qTZpTVAK+ki8+eZat0WAqK06gFknS GPI7IxVWMXekk/bhkk8y43v+ZCL/fDMV8swqZzzQECGIBgPMP7HWvrhmT74xSPnCQdx2 3IM9BVEjP6/Jw5IrGTOi0r6irpUFDkXVfd2YUAV3oZstbUecbo2bjLdQdlNzPgVdFzdl 9MrMnI9JelcSx2yqRriMM+zWAS/i46FoMpDW28WlHzHN4/YvCAuu01a7Tcpr1sjJVWsJ UWEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=9D08CLf42YY8yW+uyA9m/XUQ7o5l9tJ2/f7BHDOV1ik=; b=bEXaMaEjopQ3jXBOaelyQzGS8oUmEZWeS/IIOwJ9xyAQZK/vn1hflFfbLJCXdJVBxN b57hVFQ6HVBhgUJm6bysTqsd2lPRizBM+d/W1Yy1UfGEWquOZ8WmFCONBsNmogtY5KUY GEEOtnl4fmr4raoOecGlp2W1ee8OHNC7F8ArvOXHMLSaFATF8B1B1zJ5Uk5TJdd13TJx PjZudw7m8H1hjgbQQL9gNSRTFvOW+wckP5OeAzlS7kRnJeMneAAowHcB57FzZwdoDH78 rTg1Z6/C6Sw0288lMNow6AqMhgbsuEQMtOSURvQ29hoSpaTmhldhBlrWRqyOranix+9J tPfA== X-Gm-Message-State: ACgBeo06VVFWlsmamg6eTOTpmoMCosbdrcyj2MXQTonzThKilHhTkXYZ I1//pflWnfzeg4hRJImXVVThEbAvt/En7bdqqOjTwKuq6X0= X-Google-Smtp-Source: AA6agR77XzMfFykGcNAuDy9dPVH4nqekajYIptUl7yhMNf3ckzIdPH/yUGvFIHW42KSDH892we0melAxOIaf9H+aF90= X-Received: by 2002:a05:620a:2b1d:b0:6b8:e41c:b450 with SMTP id do29-20020a05620a2b1d00b006b8e41cb450mr523885qkb.368.1659456753446; Tue, 02 Aug 2022 09:12:33 -0700 (PDT) MIME-Version: 1.0 From: Andrea Greselin Date: Tue, 2 Aug 2022 18:11:57 +0200 Message-ID: Subject: 27.2; Flyspell delays region overlay update when the region is overwritten To: 53773@debbugs.gnu.org Content-Type: multipart/alternative; boundary="0000000000004f32b205e54462b7" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53773 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000004f32b205e54462b7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Issuing a =E2=80=98(deactivate-mark)=E2=80=99 right before the line (and (not unread-command-events) solves the problem but I don't know if it has any unwanted side effects or if it's a good way to go about it. By the way this bug also affects Emacs 28.1. Best, Andrea --0000000000004f32b205e54462b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Issuing a =E2=80=98(deactivate-mark)=E2=80=99 right before= the line

=C2=A0 (and (not unread-command-events)

solves the = problem but I don't know if it has any unwanted side
effects or if i= t's a good way to go about it. By the way this bug
also affects Emac= s 28.1.

Best,
Andrea
--0000000000004f32b205e54462b7-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 03 07:17:44 2022 Received: (at 53773) by debbugs.gnu.org; 3 Aug 2022 11:17:44 +0000 Received: from localhost ([127.0.0.1]:46274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCNk-0007x3-3L for submit@debbugs.gnu.org; Wed, 03 Aug 2022 07:17:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCNh-0007wl-O5 for 53773@debbugs.gnu.org; Wed, 03 Aug 2022 07:17:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nKMkTlYFpQIosffXvLQe9B+qe/ewJaYUlGll5IraW10=; b=ZysVeKhEATG+Q4YK7/fMaQVqXj /EjDuWTkjbUj+G59Nde+yJ1T/e75LaoXnEsrPxg3JZ9JWYp1OUnG52TYAm/uppu8fJ2Do8ZiRPlAJ LHmGEIcQea9d8amLuJPJDNLQN9uz+RRdNgGYitsxA76lukKkpYRc1DMtX0HT7INdc+qY=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJCNZ-00032P-4J; Wed, 03 Aug 2022 13:17:35 +0200 From: Lars Ingebrigtsen To: Andrea Greselin Subject: Re: bug#53773: 27.2; Flyspell delays region overlay update when the region is overwritten In-Reply-To: (Andrea Greselin's message of "Tue, 2 Aug 2022 18:11:57 +0200") References: X-Now-Playing: David Sylvian's _Brilliant Trees_: "Nostalgia" Date: Wed, 03 Aug 2022 13:17:31 +0200 Message-ID: <87iln9vano.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andrea Greselin writes: > Issuing a ‘(deactivate-mark)’ right before the line > > (and (not unread-command-events) > > solves the problem but I don't know if it has any unwanted side > effects or if it's a good way to go [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53773 Cc: 53773@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andrea Greselin writes: > Issuing a =E2=80=98(deactivate-mark)=E2=80=99 right before the line > > (and (not unread-command-events) > > solves the problem but I don't know if it has any unwanted side > effects or if it's a good way to go about it. By the way this bug > also affects Emacs 28.1. So the proposed change is the patch below, but I'm not really familiar with this code. Anybody have any comments? diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 2c5e30fecd..883137d5bd 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -856,6 +856,7 @@ flyspell-check-word-p ((get this-command 'flyspell-delayed) ;; The current command is not delayed, that ;; is that we must check the word now. + (deactivate-mark) (and (not unread-command-events) (sit-for flyspell-delay))) (t t))) From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 03 07:17:48 2022 Received: (at control) by debbugs.gnu.org; 3 Aug 2022 11:17:48 +0000 Received: from localhost ([127.0.0.1]:46277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCNo-0007xK-Ci for submit@debbugs.gnu.org; Wed, 03 Aug 2022 07:17:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCNm-0007wu-Lk for control@debbugs.gnu.org; Wed, 03 Aug 2022 07:17:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IHGB/OJfzsu9tmXgnVzFG88L5KwSLuHsHwY6o0gN4XI=; b=nISmXoFbCE/lJpZ66mNWZ08ScD Rzh+Pn2ISVBPrIkoSb4N8rIQFGC07eqwZGf5m/Bv0rzStXtWotmI9wJAVu4y30uICajhIk9xF7zm1 VlJRgl8GurPy2laooPoqZaMIYrl+lLQJOUeG+wTYz4yopZj8OaxBIs+HuTc2zHbTX18U=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJCNe-00032b-QC for control@debbugs.gnu.org; Wed, 03 Aug 2022 13:17:40 +0200 Date: Wed, 03 Aug 2022 13:17:38 +0200 Message-Id: <87h72tvanh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53773 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 53773 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 53773 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 03 07:17:52 2022 Received: (at control) by debbugs.gnu.org; 3 Aug 2022 11:17:52 +0000 Received: from localhost ([127.0.0.1]:46280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCNr-0007xZ-QA for submit@debbugs.gnu.org; Wed, 03 Aug 2022 07:17:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCNq-0007xB-MP for control@debbugs.gnu.org; Wed, 03 Aug 2022 07:17:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YeOGUfbH/QgErjE0/LZQpOt43znf3+KoDaBxpPHqJIc=; b=BCl1u4bGAWKODliYHm+pquEcFS 3kD3fyJCHgvgpRGgZPlDlUGHXwZMOOGC+KOPHX/c7WEMn+XeXqTXClqfZEQ8w/sEEpfNrsVXhETr/ ed2UpyJ1NWNiF5+5JMrqfghHjblKnrXQWyT6LuURKtZE8wv0FZykuuy+O0nFwENcdAEg=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJCNi-00032j-RI for control@debbugs.gnu.org; Wed, 03 Aug 2022 13:17:44 +0200 Date: Wed, 03 Aug 2022 13:17:42 +0200 Message-Id: <87fsidvand.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53773 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 53773 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 53773 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 03 08:30:58 2022 Received: (at 53773) by debbugs.gnu.org; 3 Aug 2022 12:30:58 +0000 Received: from localhost ([127.0.0.1]:46677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJDWb-0005yS-VW for submit@debbugs.gnu.org; Wed, 03 Aug 2022 08:30:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJDWO-0005Oj-In for 53773@debbugs.gnu.org; Wed, 03 Aug 2022 08:30:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJDWF-0001fM-Ac; Wed, 03 Aug 2022 08:30:38 -0400 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=Hu6x7t9/lhlv0HuYINqgO1dWF9KyEqeE/r1ix3i8CDA=; b=qHdOkQp42sXGKXxdxJ7C eFfgsTAExM1Hjy5r/raHkTczBPZynA1HEO//cxxgJdIDjrSO09NYY0Qbp6XUodQduKeP17m6UxVtL OJ9yEqsj9Wljcnn2zo+Yfjto9B3STwVqJa60ti+oQdxrxOpkSFZBJy3Nm5BNC8Ty0X+zK5FHX4GxK 4kl/eVb4wtzis+JVNK2b6TiZAzkSfjRYscqvZqScLN7tPX8x47V4sOoxIqngeCJ8YBIQCahgw9WNg 54sg4WefGIEGXWxzRO63Aq8YoeCIw6Wh/NYr4fGZyP+w9KO3QBWev1nwe3FsQ7Z7bOI0UKNppkCbr jVJesCrVV9mQSg==; Received: from [87.69.77.57] (port=1575 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 1oJDVt-0002TK-Tg; Wed, 03 Aug 2022 08:30:24 -0400 Date: Wed, 03 Aug 2022 15:30:07 +0300 Message-Id: <83czdh5x2o.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87iln9vano.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 03 Aug 2022 13:17:31 +0200) Subject: Re: bug#53773: 27.2; Flyspell delays region overlay update when the region is overwritten References: <87iln9vano.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53773 Cc: greselin.andrea@gmail.com, 53773@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 53773@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Wed, 03 Aug 2022 13:17:31 +0200 > > Andrea Greselin writes: > > > Issuing a ‘(deactivate-mark)’ right before the line > > > > (and (not unread-command-events) > > > > solves the problem but I don't know if it has any unwanted side > > effects or if it's a good way to go about it. By the way this bug > > also affects Emacs 28.1. > > So the proposed change is the patch below, but I'm not really familiar > with this code. Anybody have any comments? LGTM, but please add a comment there mentioning delete-selection-mode (and I think the added line should be _before_ the comment about the current command not being delayed). From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 02:17:12 2022 Received: (at 53773) by debbugs.gnu.org; 4 Aug 2022 06:17:12 +0000 Received: from localhost ([127.0.0.1]:50857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJUAR-0005pW-QC for submit@debbugs.gnu.org; Thu, 04 Aug 2022 02:17:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJUAP-0005pG-OT for 53773@debbugs.gnu.org; Thu, 04 Aug 2022 02:17:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0SLCQkXPZV5Vjy8/3CaU2ZAqx6xN1deaD1w2y0kXK08=; b=p87D74/lUe1OH5TAOL/ZHthh0C 6ToDdeZMlqUcnM/AgCbolxZ7qt1b6BqiobLitWBIRpzBRcUhLtRF9JFUhoQdGke9rTNQBmNE5Y5dB zcAiHfUCuwrJXorq4YD2smQbtQ8dj2xKq76UuLF2wyP2DXiaOZcMK0hNpVKjhiBj1PPA=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJUAG-0003sW-FO; Thu, 04 Aug 2022 08:17:02 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#53773: 27.2; Flyspell delays region overlay update when the region is overwritten In-Reply-To: <83czdh5x2o.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 Aug 2022 15:30:07 +0300") References: <87iln9vano.fsf@gnus.org> <83czdh5x2o.fsf@gnu.org> X-Now-Playing: Kraftwerk's _Ralf & Florian_: =?utf-8?Q?=22Heimatkl=C3=A4ng?= =?utf-8?Q?e=22?= Date: Thu, 04 Aug 2022 08:16:57 +0200 Message-ID: <87pmhgttwm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > LGTM, but please add a comment there mentioning delete-selection-mode > (and I think the added line should be _before_ the comment about the > current command not being delayed). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53773 Cc: greselin.andrea@gmail.com, 53773@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > LGTM, but please add a comment there mentioning delete-selection-mode > (and I think the added line should be _before_ the comment about the > current command not being delayed). OK; now done. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 04 02:17:16 2022 Received: (at control) by debbugs.gnu.org; 4 Aug 2022 06:17:16 +0000 Received: from localhost ([127.0.0.1]:50860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJUAW-0005pn-3D for submit@debbugs.gnu.org; Thu, 04 Aug 2022 02:17:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJUAU-0005pO-OB for control@debbugs.gnu.org; Thu, 04 Aug 2022 02:17:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=P6cyY+e9bvzy9lYsU9UoonpWYDY53mAMGeJ4Xly5OL8=; b=QHwoe6+I/XkadXD5W+XU7sHiF5 +H6KFpzfO7xC36amyu6vzD7wX3E31lJaHctWjddbtWg7Vf3fkOFkgdfxai/KaOX9ZLfb3W/Tyr+tU H4kqvC16uvxCqVn1KCyeY/3i+4qHGpC/COfMk1yOz8Q5BoxP78X2hzUDP9HyDPWijXRI=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJUAM-0003sm-So for control@debbugs.gnu.org; Thu, 04 Aug 2022 08:17:08 +0200 Date: Thu, 04 Aug 2022 08:17:06 +0200 Message-Id: <87o7x0ttwd.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53773 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 53773 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 53773 29.1 quit From unknown Wed Jun 18 23:03:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 01 Sep 2022 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator