From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: MS Windows double buffering Date: Sat, 30 Apr 2022 18:33:31 +0800 Message-ID: <877d76uah0.fsf@yahoo.com> References: <877d791thh.fsf.ref@yahoo.com> <877d791thh.fsf@yahoo.com> <83ilqtbl3p.fsf@gnu.org> <87sfpxz8a7.fsf@yahoo.com> <87mtg4zhlg.fsf@yahoo.com> <87mtg3unzu.fsf@yahoo.com> <835ymr9i9v.fsf@gnu.org> <87v8urt3mk.fsf@yahoo.com> <83v8ur7x8p.fsf@gnu.org> <87ee1euc8b.fsf@yahoo.com> <83levm98ez.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3877"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: kbrown@cornell.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 30 12:36:47 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 1nkkT0-0000tF-A4 for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Apr 2022 12:36:46 +0200 Original-Received: from localhost ([::1]:33814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkkSy-00068h-Kv for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Apr 2022 06:36:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkkQ3-0005LN-EX for emacs-devel@gnu.org; Sat, 30 Apr 2022 06:33:45 -0400 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:39419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkkQ1-0003Pw-8Q for emacs-devel@gnu.org; Sat, 30 Apr 2022 06:33:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651314818; bh=GSZVpown0+Zo0w/bnZ1VcEkIxgKLlBzjTVE16UtDjdM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=N3XvECIiCX/o2YYQ3htakfuvbp2u22Nx7C/5CPw4yhD8ozKXyE+fmn3slA5PlWAfLLaG91Y0wu4hvw996JfQqgDMWfplmdfo62gdymvbJGLhXo4AbmGTjAj0UftnVyTxMkSgEEX1fgxNAzFmXSpGaknuBb75WydXYpyKBPMFFi0806jckWjG11VymVVE1llL7AC6mUHBrl7otc9c/4/qc5h3XPunoJDD3O4Jkvbkm73GpSrytlbHPGRsY1q4V6pa3Hd4LvF235WTXq7gOWmsn+W3jWbwQKKwW3fl965GOf+k5QCegkwXq0ceV0x3E58IUCRVM4g0e9Qx9C9NlM9Jwg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651314818; bh=GxKEk1qEs7vC1hcok4uFMRz0xSvGV5lNL5jmksepKEk=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=V3XA+uHcvD+QjjHzY9F2KVfUgdJFPrVe+FzbFQyGRVXDZkakNM8u36bL9fJ1rmv9PYUemEqeLDKTMwdl3K2jZDbhlQR3pzggeuyqP0MN5C2qzTi3hWJuOqQpmltvRhK9aOMWuM2dxuGfXqJ4A/VYjnoBZgB+XhDd1VDqvwxau0mzTto8enVn+z2w04tZh0x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com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sat, 30 Apr 2022 10:33:38 +0000 Original-Received: by hermes--canary-production-sg3-795d7b4d54-7fcrg (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID edc749733417afad84e69a0db2838cba; Sat, 30 Apr 2022 10:33:36 +0000 (UTC) In-Reply-To: <83levm98ez.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Apr 2022 13:23:32 +0300") X-Mailer: WebService/1.1.20118 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.146; envelope-from=luangruo@yahoo.com; helo=sonic309-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:289043 Archived-At: Eli Zaretskii writes: > Then the flicker of the window parts of the frame (the tool bar, the > text area, the scroll bar, and the mode line) don't flicker at all, > but the menu bar and the title bar still do, albeit very > insignificantly. Overall, the result is much better. Thanks. Can you try to find out what type of message is being processed when the call to `w32_show_back_buffer' in that piece of code is made? > Just evaluating it in "emacs -Q"? I see no flickering at all, with or > without double-buffering. Without double-buffering, the entire display flickers for me, while there is no flicker at all with double buffering. I think there is something very system-specific about exactly which situations different people see flickering under, like on X, where some people could not see flicker at all, while for others Emacs was basically unusable without double buffering.