From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Redisplay problems? Date: Thu, 20 Mar 2014 17:00:49 -0400 Message-ID: References: <87ppljg4ti.fsf@kanru-mozilla.corp.tpe1.mozilla.com> <5329C53B.3030008@gmx.at> <532ABA60.7000003@gmx.at> <532B3FFE.5020403@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395349301 8744 80.91.229.3 (20 Mar 2014 21:01:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2014 21:01:41 +0000 (UTC) Cc: Christian Lynbech , James Cloos , =?utf-8?B?S2FuLVJ1IENoZW4gKOmZs+S+g+Wmgik=?= , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 22:01:49 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQk5z-00050C-K4 for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2014 22:01:47 +0100 Original-Received: from localhost ([::1]:49361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQk5y-0005js-V3 for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2014 17:01:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQk5o-0005XL-3v for emacs-devel@gnu.org; Thu, 20 Mar 2014 17:01:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQk5g-0003kw-2o for emacs-devel@gnu.org; Thu, 20 Mar 2014 17:01:36 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:59291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQk5f-0003kq-VU for emacs-devel@gnu.org; Thu, 20 Mar 2014 17:01:28 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 0D3A384D8C; Thu, 20 Mar 2014 17:01:27 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 274CB1E5874; Thu, 20 Mar 2014 17:00:50 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id E5625B404C; Thu, 20 Mar 2014 17:00:49 -0400 (EDT) In-Reply-To: <532B3FFE.5020403@gmx.at> (martin rudalics's message of "Thu, 20 Mar 2014 20:22:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170676 Archived-At: > But it's a redraw when we expose a hitherto invisible/obscured frame > whose contents have changed while it was invisible/obscured. Yes, of course, but you can look at it as "deiconify with the old display content" (without recomputing matrices nor redrawing) followed by a normal redisplay (which may recompute matrices and/or redraw depending on whether something actually did change while the frame was invisible). >> Part of the reason it's still fuzzy is that xdisp.c seems to recompute >> the matrices when it finds a "garbaged" frame, > But we do have to compute the new matrices to know whether they have > changed. I'm fully confused now. No, if the "redisplay" bits are "false" we know that nothing has changed. Stefan