From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay issue Date: Sat, 28 Nov 2015 22:49:07 +0200 Message-ID: <83y4dhonng.fsf@gnu.org> References: <83fuzqr1iz.fsf@gnu.org> <8337vqqwz7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448743795 25581 80.91.229.3 (28 Nov 2015 20:49:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2015 20:49:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yuan MEI Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 28 21:49:38 2015 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 1a2mR7-0006Pm-GO for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 21:49:37 +0100 Original-Received: from localhost ([::1]:33726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2mRB-0001eg-0n for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 15:49:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2mQv-0001dz-2u for emacs-devel@gnu.org; Sat, 28 Nov 2015 15:49:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2mQr-00078Q-Px for emacs-devel@gnu.org; Sat, 28 Nov 2015 15:49:25 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:45283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2mQr-00078B-Hx for emacs-devel@gnu.org; Sat, 28 Nov 2015 15:49:21 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NYJ00O00L8AAH00@mtaout25.012.net.il> for emacs-devel@gnu.org; Sat, 28 Nov 2015 22:46:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYJ00FOELPKWK80@mtaout25.012.net.il>; Sat, 28 Nov 2015 22:46:32 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 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:195488 Archived-At: > Date: Sat, 28 Nov 2015 12:19:31 -0800 > From: Yuan MEI > Cc: emacs-devel > > > Then please see if the scenario in which this happens causes the > > expose events to be delivered to Emacs by X. If they are, the > > function expose_frame should be called, and it should perform the > > necessary redisplay. If these events are not reported, Emacs has no > > way of knowing that its frame(s) need to be redrawn. > > > > Thanks. > > It seems the expose event is sent to Emacs and Emacs does respond to > it. However the response is not redrawing the entire frame but > redrawing part of it. And it looks that some parts that should be > redrawn is not. Any suggestions? Can you see if the coordinates of the exposed region, as reported to Emacs, correspond to what is in fact exposed?