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#53773: 27.2; Flyspell delays region overlay update when the region is overwritten Date: Wed, 03 Aug 2022 15:30:07 +0300 Message-ID: <83czdh5x2o.fsf@gnu.org> References: <87iln9vano.fsf@gnus.org> 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="34639"; mail-complaints-to="usenet@ciao.gmane.io" Cc: greselin.andrea@gmail.com, 53773@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 03 14:35:03 2022 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 1oJDaZ-0008t8-7N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 14:35:03 +0200 Original-Received: from localhost ([::1]:44122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJDaU-00039w-9b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 08:35:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJDWg-0008DB-UM for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 08:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJDWg-0001tX-Ka for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 08:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJDWg-00065A-EZ for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Aug 2022 12:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53773 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo patch Original-Received: via spool by 53773-submit@debbugs.gnu.org id=B53773.165952985823008 (code B ref 53773); Wed, 03 Aug 2022 12:31:02 +0000 Original-Received: (at 53773) by debbugs.gnu.org; 3 Aug 2022 12:30:58 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: <87iln9vano.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 03 Aug 2022 13:17:31 +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" Xref: news.gmane.io gmane.emacs.bugs:238638 Archived-At: > 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).