From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: [Stephen.Berman@gmx.net: Re: redisplay] Date: Thu, 26 Apr 2007 04:44:22 +0900 (JST) Message-ID: <20070426.044422.158290364.mituharu@math.s.chiba-u.ac.jp> References: <462F6ABA.6030808@swipnet.se> <462F9E30.4000702@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1177530284 14662 80.91.229.12 (25 Apr 2007 19:44:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 19:44:44 +0000 (UTC) Cc: rgm@gnu.org, cyd@stupidchicken.com, monnier@iro.umontreal.ca, rms@gnu.org, emacs-devel@gnu.org To: jan.h.d@swipnet.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 21:44:38 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgnPn-00083P-Fi for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 21:44:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgnVR-000892-Le for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2007 15:50:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgnVN-00087r-E0 for emacs-devel@gnu.org; Wed, 25 Apr 2007 15:50:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgnVL-00086o-DQ for emacs-devel@gnu.org; Wed, 25 Apr 2007 15:50:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgnVL-00086l-5b for emacs-devel@gnu.org; Wed, 25 Apr 2007 15:50:19 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HgnPe-0007um-0M; Wed, 25 Apr 2007 15:44:26 -0400 Original-Received: from localhost (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 0FDB62C40; Thu, 26 Apr 2007 04:44:20 +0900 (JST) In-Reply-To: <462F9E30.4000702@swipnet.se> X-Mailer: Mew version 3.3 on Emacs 22.0 / Mule 5.0 (SAKAKI) X-detected-kernel: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:70125 Archived-At: >>>>> On Wed, 25 Apr 2007 20:30:08 +0200, Jan Dj=E4rv said: >> Yes, you are right. It would also require to run redisplay >> directly on the Expose event. But Lisp evaluations might occur during redisplay (unless inhibit-eval-during-redisplay is non-nil), and thus it's not safe to do so in general. > After some experimenting it seems that this patch fixes it. Note > that a call to redisplay() does not fix the bug. I don't know why. I think that's because redisplay is paused by a pending Expose event if redisplay-dont-pause is nil (`Fredisplay (Qt)' temporarily binds it to t). I observed similar undrawn area with "compositing window mode" mentioned in *1 when redisplay-dont-pause is nil and without the patch in *2. *1: http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg01003.html= *2: http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg01013.html= YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp