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#55193: 29.0.50; Double-buffering on MS-Windows freezes cursor in minibuffer Date: Sat, 30 Apr 2022 14:07:39 +0300 Message-ID: <83h76a96dg.fsf@gnu.org> References: <83r15e9a07.fsf@gnu.org> <8735huu9gj.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55193-done@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 30 13:09:30 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 1nkkyf-0008Qx-S7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 13:09:30 +0200 Original-Received: from localhost ([::1]:49184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkkye-0001ZG-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 07:09:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkkxG-0000QR-Av for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 07:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkkxG-0008W2-0v for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 07:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkkxF-0005rg-SQ for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 07:08:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2022 11:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 55193 X-GNU-PR-Package: emacs Mail-Followup-To: 55193@debbugs.gnu.org, eliz@gnu.org, eliz@gnu.org Original-Received: via spool by 55193-done@debbugs.gnu.org id=D55193.165131686222510 (code D ref 55193); Sat, 30 Apr 2022 11:08:01 +0000 Original-Received: (at 55193-done) by debbugs.gnu.org; 30 Apr 2022 11:07:42 +0000 Original-Received: from localhost ([127.0.0.1]:55977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkkww-0005qy-F3 for submit@debbugs.gnu.org; Sat, 30 Apr 2022 07:07:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkkwu-0005qk-Cx for 55193-done@debbugs.gnu.org; Sat, 30 Apr 2022 07:07:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkkwp-0008Qm-6t; Sat, 30 Apr 2022 07:07:35 -0400 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=rHBgwjRmd06bbYdcT9FpeJrAwO+PmqXv8c3BruDRWY8=; b=I9wy3Dn7mqNr iqZsDrAlr2kb/ZaxOQM2rH8lzZig9y+kYYAXrot5zQsjydUrVYVjKRYjyKkhov/DhEuUWUQRiQzUq 0a78TX09k9bHxAZ2sEAW32XmWGz3BgyBC020DafJshpZ6LlxVuHP1SN2qRgaZA09WNyLHedqKtbzu i6KRoMyS2QZUBHgwHoQkAJeOuwLIwe/xpq/+fn99p4tuyJgemloMEzBHAQGedeR65OnOkmZqWAOnI T9W11SWPuzfnSDIhGAiMzIz/Xt7lcUPrx435GfSSVjqjPIl+nfujQYEnzthmQq1Ci5La+Ccww8TFJ 4tI08+ns/Oun8aDMkYFryw==; Original-Received: from [87.69.77.57] (port=3945 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 1nkkwo-0007SR-KC; Sat, 30 Apr 2022 07:07:34 -0400 In-Reply-To: <8735huu9gj.fsf@yahoo.com> (message from Po Lu on Sat, 30 Apr 2022 18:55:24 +0800) 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:231014 Archived-At: > From: Po Lu > Cc: 55193@debbugs.gnu.org > Date: Sat, 30 Apr 2022 18:55:24 +0800 > > Eli Zaretskii writes: > > > The new double-buffering feature on MS-Windows causes unpleasant side > > effect when the user types something into the minibuffer, then presses > > RET to submit and exit the minibuffer. Without double-buffering, the > > cursor moves to the beginning of the minibuffer, thus providing visual > > feedback that whatever the user typed was submitted. With > > double-buffering turned on, the cursor "freezes" in its last position, > > at the end of the minibuffer text, until the command finishes and > > redisplay does its job. Which could be a tangible amount of time, > > during which Emacs looks "frozen". > > > > To reproduce: > > > > emacs -Q > > M-x blink-cursor-mode RET > > C-x C-f src/xdisp.c RET > > > > Observe that the cursor is at the end of the file name until such time > > as xdisp.c is displayed, which could be a second or two in a > > non-optimized build of Emacs. > > > > Can this be avoided, please, i.e. can we update the display after the > > cursor is moved? > > Thanks, should be fixed now. Indeed, thanks.