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.devel Subject: Re: Flicker on MS Windows Date: Mon, 07 Mar 2022 16:21:59 +0200 Message-ID: <83pmmxg7w8.fsf@gnu.org> References: <87o82jpeee.fsf.ref@yahoo.com> <87o82jpeee.fsf@yahoo.com> <83ee3fgwq3.fsf@gnu.org> <87fsnvpbh7.fsf@yahoo.com> <83y21nezys.fsf@gnu.org> <87ee3eoarz.fsf@yahoo.com> <83v8wqexox.fsf@gnu.org> <87a6e1n9j5.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15517"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 07 15:23:19 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nREGb-0003uC-UJ for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Mar 2022 15:23:18 +0100 Original-Received: from localhost ([::1]:35508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nREGa-0000Zw-MC for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Mar 2022 09:23:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nREFV-00077z-Ek for emacs-devel@gnu.org; Mon, 07 Mar 2022 09:22:09 -0500 Original-Received: from [2001:470:142:3::e] (port=44160 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nREFV-0006XU-5V; Mon, 07 Mar 2022 09:22:09 -0500 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=jEpKepgycI3Qy4ICPDtkvL/xU84pBy1zDQ0QvIeTqxE=; b=c++Idl296r8Z TyMD9r8ymJpkV9k9JiuXPS24cHnxuSMuFPBTZ80O5wxhuHySL3H1aomsD4EpNNqq52v5StN86MVN4 +8g2c98VFXfmyQV7Jp17Jb3OSLTl9detzhgAW/hqpEtIag0LUGsIskLVoeDCn0lNMMdRo5sUwmPGN 3HLIJAFnbQ2cGX+6We9clWvoWSfs4k+1JHSssrerFEUYs5GHwkJcYTGdVu0U4l7on0YZlDYbGu1Fb B0W2aX2ZZWZJQ45OZ7XAgkKvVdderso/VyVVrmD4+K75CkwNHgX/t7eux/OUtqpd9q6av305M5x4F hmOVA7X7zl2/jbDp8BBwMw==; Original-Received: from [87.69.77.57] (port=1804 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 1nREFU-0008Fz-Ko; Mon, 07 Mar 2022 09:22:08 -0500 In-Reply-To: <87a6e1n9j5.fsf@yahoo.com> (message from Po Lu on Mon, 07 Mar 2022 22:04:46 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286890 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Mon, 07 Mar 2022 22:04:46 +0800 > > It's an optimized build, with "-O2 -g3". And is this in "emacs -Q"? > BTW, here's another way to reproduce some severe flicker on MS Windows: > just type "M-: (run-hooks 'xref-after-jump-hook) RET", and the tool bar > buttons, cursor and text start to flicker severely. The tool bar > buttons flicker in a peculiar way: the background is displayed, but the > image itself flickers with interleaved bands of black. I don't see any flickering here, after the above. The window recenters and I see a single line pulsed; that's all Moreover, Emacs consumes exactly zero CPU cycles after evaluating that expression. How long does it keep flickering after you evaluate the above form? And what is the value of xref-after-jump-hook in your case? > It's also not affected by the setting of w32-use-visible-system-caret. It shouldn't be, AFAIU.