From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuan MEI Newsgroups: gmane.emacs.devel Subject: Re: Redisplay issue Date: Sat, 28 Nov 2015 12:19:31 -0800 Message-ID: References: <83fuzqr1iz.fsf@gnu.org> <8337vqqwz7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448741978 30610 80.91.229.3 (28 Nov 2015 20:19:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2015 20:19:38 +0000 (UTC) Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 28 21:19:35 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 1a2ly2-0002Db-Cg for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 21:19:34 +0100 Original-Received: from localhost ([::1]:33645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2ly5-0000vc-S8 for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 15:19:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2ly2-0000vV-Kx for emacs-devel@gnu.org; Sat, 28 Nov 2015 15:19:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2ly1-0006sE-RS for emacs-devel@gnu.org; Sat, 28 Nov 2015 15:19:34 -0500 Original-Received: from mail-ig0-x233.google.com ([2607:f8b0:4001:c05::233]:34422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2ly0-0006rp-EJ; Sat, 28 Nov 2015 15:19:32 -0500 Original-Received: by igvg19 with SMTP id g19so48440139igv.1; Sat, 28 Nov 2015 12:19:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YJD7cRbjOfhTVIQkIQn2m0A+KgpJSuqefbDANkVRB/E=; b=Tc+c7gU0UHzwBX0kL0WJOIhW058alKcKL+MgmZb4C947LYW+o3i9adKzzI3gxUOCF7 gT5TmA4cs+pA1bC6bmPjAcdTCM8qpSb/dYjMNT5j+jlYRfbRD3j5u9trEJapmB2Uyah0 3qvWh5syXOorhJrG4KvjDDLtA/5DFygr1vaoRMorMBezy42tHdWC1245NtMzdBf27an5 mKqhkEZgFNe3/A2qakxbTeOGCvLNfJuKOYaclQw8/HWCyjX0UvHxdA6Shk0SacUp709k 0EelqxSr1UZwh8v3JDVxxCJpGo2aKTHvPBIr+Q5qSvj65rSPo4gJtlu5SNlgh1msS1NK Kx/g== X-Received: by 10.50.176.225 with SMTP id cl1mr13033457igc.80.1448741971897; Sat, 28 Nov 2015 12:19:31 -0800 (PST) Original-Received: by 10.107.14.143 with HTTP; Sat, 28 Nov 2015 12:19:31 -0800 (PST) In-Reply-To: <8337vqqwz7.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::233 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:195482 Archived-At: >> The screenshot is in fact a GUI frame. I just configured it to be >> minimalistic. A `default' frame started with emacs -Q has the same >> redisplay problem. > > 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? Thanks, Yuan