From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55193: 29.0.50; Double-buffering on MS-Windows freezes cursor in minibuffer Date: Sat, 30 Apr 2022 18:55:24 +0800 Message-ID: <8735huu9gj.fsf@yahoo.com> References: <83r15e9a07.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11594"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 55193@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 30 12:56:18 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 1nkklt-0002ss-Tm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 12:56:18 +0200 Original-Received: from localhost ([::1]:37570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkkls-00015n-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 06:56:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkklh-00013o-Sj for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 06:56:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkkld-0006Pm-U7 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 06:56:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkkld-0005Wz-Rv for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 06:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2022 10:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55193 X-GNU-PR-Package: emacs Original-Received: via spool by 55193-submit@debbugs.gnu.org id=B55193.165131614121234 (code B ref 55193); Sat, 30 Apr 2022 10:56:01 +0000 Original-Received: (at 55193) by debbugs.gnu.org; 30 Apr 2022 10:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:55949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkklJ-0005WQ-6x for submit@debbugs.gnu.org; Sat, 30 Apr 2022 06:55:41 -0400 Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:39845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkklH-0005WB-3v for 55193@debbugs.gnu.org; Sat, 30 Apr 2022 06:55:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651316133; bh=lRrC9g2fSGlVACow4Rm1ynnjQM660wF5dI0a3CPpqxU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=fhuGKRTvsVZAs57Gr1UoSC9wZooF//dTI9AfrFZHeZJTwdtYQAtKUX5JGagtqJX+rY8FPphIUzMPjR4eq1BNGDlGbVefbHQT0onIGCRhyKoQ1PkmNsbYfAFfJvwwNkaXmkTRiG/1qHFDdUAQRmoRtdk8vSARwCkufPypWX6Ns2pnCbphu1DNM7wEoP/03kYDgD1XUf+sYa/QuQKrP2ma8wT977OYYS6rcTb7oimp9jvFKfrn67WXsRUTJUBh1qryN3NqAQc2kTjIAj6u7xhasW+jxtuNToO4g92sEGgKxq9TUJJkzj6EjcJhSgpVLNh9kaNv18JzuGvpMRd42IML3A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651316133; bh=ZSPfyHCQrjYjSkCWaPsUP1X0B/skHOnzmmIbHlUOVw/=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HQD96pSL6DfIAXffe/5L21ovxxhJ4ZxbYdpz7vbbzq4H/+rB4MZ14hJ7dRV9hzCJ3FmtlP84yV8+3nsZYwOZq+duB95OGo83lzYZCTy8N7y9vQM7zD9G0Z3ohBD720aBJ0as903dBBHx92XnHKP4967unaMawumw8cJ0rLsSdphJ/gM9t0noNKssvGLhoe3/GqW3geNhiDpmdYykkOAFweiyNfEPFX5NH9IPnONSzq3MOdr8uDJ4rYjpY4f374UD8e9iF8/RJLTdFbrdmCP7O8HdISQf8j/FdxY/W67uyFrotA7R0SZi6+CSB/iFGwpyRpseBzweYNMRsWCHH/GpoQ== X-YMail-OSG: zwGvgegVM1lD1CXRR5eyw2c7eWIR9kIgZr.d1vzGdat_gtMqcqb_SI3EDx7cWPI t4FpH5S0Sn0pIltfd9Z3Qwgi4H9KLFZ_pnb76_Zw4mQ7ULTwzKkNQ21RJ9oowtJOOaHweKdnrMqT k42BVJiFdd0Iwg2dOjIzCs9L3FTj3wG1v8nYN6ye_8RFplG5Bl9uCtm.BXBwbN4FdvfCjFerO3bw dbRco.jwAWAGDcp9q5zl720te6YkXsw_VK_ehiXvosozwBSmW87W3HcGgDb_NRqBV7.OMPtyD7sD tUHWq8O75DfG6Mcqozh.RVkMH.i607kP2JfbkSw3i9iqpz7SOAB5INmoFog3_qopURSSydJPlRXE DoSBiglSZgH.OLmjMa2jUdlQVu1GEqZtpERk4Rwr0ABlSBipUrde2uwwp2PN5IlTPc5DQ_dmXF7t kM26n_JNsTGGh51HS57.emyq92dQlMv_faceXYea9HYAPhhoC5.69mna3pGNXm091._nMY8vQJP4 .5ttDMQn7Xg7PaEWQxb7NJKzke_sxtWzg7M7owRIn2GhYy2pAY52ihYNDEfLdCk32IIzhcHFO4es 4jsahVH0M6bQGWTPzlpGAAmsqAUW3P87sRE67bBVBLZnHzqXHccLS2BBqHCwMnIM5ujZcR4wCItD S_qCQgMyMlxagSQ.P6lbuwLnTIK4weQyv77Aa_Xw3JM0bXRxsTHeUYrTeYxLJ8NzYNIFiJ.V.vl4 zlQXG3joVLU13E0OMmLDvGrAN0XlarnQQXl_J8TFkmuKjEDdfpk01gFkpZfkSVU4nktPjqMg72v5 r2RIVE_qcVlOTs.0i1grXljc1Q8AECjL7WP4G_iTQX X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sat, 30 Apr 2022 10:55:33 +0000 Original-Received: by hermes--canary-production-sg3-795d7b4d54-rhs8w (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7f12e0ce4a0abc4433e1718ab6053335; Sat, 30 Apr 2022 10:55:28 +0000 (UTC) In-Reply-To: <83r15e9a07.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Apr 2022 12:49:12 +0300") X-Mailer: WebService/1.1.20118 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:231009 Archived-At: 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.