From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: redundant redisplay Date: Thu, 29 Apr 2004 00:35:05 -0700 (PDT) Organization: Sony Electronics Inc. Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040429.003505.01371788.Takaaki.Ota@am.sony.com> References: <20040427.105738.207586596.Takaaki.Ota@am.sony.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083224272 1095 80.91.224.253 (29 Apr 2004 07:37:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2004 07:37:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 29 09:37:42 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJ674-0007Eu-00 for ; Thu, 29 Apr 2004 09:37:42 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJ674-0007Im-00 for ; Thu, 29 Apr 2004 09:37:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJ662-0006Ld-Tu for emacs-devel@quimby.gnus.org; Thu, 29 Apr 2004 03:36:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJ65a-0006IQ-0P for emacs-devel@gnu.org; Thu, 29 Apr 2004 03:36:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJ64c-0005qs-8w for emacs-devel@gnu.org; Thu, 29 Apr 2004 03:35:41 -0400 Original-Received: from [160.33.98.75] (helo=mail8.fw-bc.sony.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BJ64b-0005qH-R1 for emacs-devel@gnu.org; Thu, 29 Apr 2004 03:35:09 -0400 Original-Received: from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com [43.134.1.211]) by mail8.fw-bc.sony.com (8.12.11/8.12.11) with ESMTP id i3T7Z6pS018247; Thu, 29 Apr 2004 07:35:06 GMT Original-Received: from localhost ([43.134.220.11]) by mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id i3T7Z6B4024234; Thu, 29 Apr 2004 07:35:06 GMT Original-To: no-spam@cua.dk In-Reply-To: X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew-4.0.65 on Emacs-21.3.50.1 (i386-msvc-nt5.1.2600) of 2004-04-28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22335 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22335 29 Apr 2004 01:06:11 +0200: no-spam@cua.dk (Kim F. Storm) wrote: > Tak Ota writes: > > > Some recent change, which I cannot identify, affects the redisplay > > mechanism so that set-buffer-modified-p redisplays window contents > > redundantly. It creates occasional annoying partial screen flashing > > as well as considerably slows down a buffer process which updates > > modeline frequently. > > I found a problem with the image slicing patch (missing initialization > of slice info for non-image glyphs), which could very well cause > unnecessary redisplay. > > I have just installed a fix, please see if it helps. 2004-04-29 Kim F. Storm * xdisp.c (null_glyph_slice): New var. (append_glyph, append_composite_glyph, append_stretch_glyph): Use it to initialize glyph slice. Yes, this does eliminate the redundant redisplay problem. Thank you. -Tak