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, 27 Mar 2014 17:13:00 -0400 Message-ID: References: <83y5024r1w.fsf@gnu.org> <83ior6489a.fsf@gnu.org> <834n2q43os.fsf@gnu.org> <83vbv62gr7.fsf@gnu.org> <83txao1c8n.fsf@gnu.org> <83k3bj1otm.fsf@gnu.org> <838urz1jjg.fsf@gnu.org> <834n2n0wbe.fsf@gnu.org> <83d2h9yo5m.fsf@gnu.org> <83lhvvy2a3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395954838 1084 80.91.229.3 (27 Mar 2014 21:13:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2014 21:13:58 +0000 (UTC) Cc: rudalics@gmx.at, christian@defun.dk, cloos@jhcloos.com, kanru@kanru.info, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 27 22:14:04 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 1WTHce-0004y9-4k for ged-emacs-devel@m.gmane.org; Thu, 27 Mar 2014 22:14:00 +0100 Original-Received: from localhost ([::1]:55983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTHcd-0006lq-3G for ged-emacs-devel@m.gmane.org; Thu, 27 Mar 2014 17:13:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTHcS-0006ke-LN for emacs-devel@gnu.org; Thu, 27 Mar 2014 17:13:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTHcK-0004h2-JK for emacs-devel@gnu.org; Thu, 27 Mar 2014 17:13:48 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:47421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTHc9-0004by-Di; Thu, 27 Mar 2014 17:13:29 -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 0501884CD2; Thu, 27 Mar 2014 17:13:29 -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 51ADD1E5B74; Thu, 27 Mar 2014 17:13:06 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 1AB9DB40B7; Thu, 27 Mar 2014 17:13:01 -0400 (EDT) In-Reply-To: <83lhvvy2a3.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Mar 2014 19:33:40 +0200") 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:171050 Archived-At: > How does all this relate to moving blocks of pixels? 0 - frame gets deiconified, we don't redraw anything. 1 - we recompute desired matrices. 2 - we compare matrices and see that the top part of the frame can be drawn be copying the pixels from the bottom part (assuming here incorrectly that those pixels are in sync with the current matrices). 3 - we copy the incorrect pixels and consider ourselves happy to have redisplayed the top-part of the frame :-( I think this can't happen, which is why I think it's OK not to redraw anything at step 0. Stefan