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: Excessive redraw of overlapping/overlapped rows? Date: Tue, 27 Sep 2005 12:35:00 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1127792260 12499 80.91.229.2 (27 Sep 2005 03:37:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2005 03:37:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 27 05:37:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EK6Gh-0003AQ-Hb for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2005 05:36:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EK6Gg-0000CS-VR for ged-emacs-devel@m.gmane.org; Mon, 26 Sep 2005 23:36:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EK6Fz-0008Nj-R5 for emacs-devel@gnu.org; Mon, 26 Sep 2005 23:35:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EK6Fu-0008KN-10 for emacs-devel@gnu.org; Mon, 26 Sep 2005 23:35:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EK6Ft-0008K6-UJ for emacs-devel@gnu.org; Mon, 26 Sep 2005 23:35:45 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EK6FF-00013z-Er for emacs-devel@gnu.org; Mon, 26 Sep 2005 23:35:05 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id DAD0E2CAA; Tue, 27 Sep 2005 12:35:00 +0900 (JST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) 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:43275 Archived-At: >>>>> On Mon, 26 Sep 2005 16:26:47 +0200, storm@cua.dk (Kim F. Storm) said: > YAMAMOTO Mitsuharu writes: >> Is it OK to not set `changed_p' for the case of mode/header line >> updates? > I don't know for sure , but it seems ok. Thanks. I'll install the change if I (or someone who tries it) don't find any problems for a few days. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp Index: src/dispnew.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/dispnew.c,v retrieving revision 1.356 diff -c -r1.356 dispnew.c *** src/dispnew.c 1 Sep 2005 14:16:19 -0000 1.356 --- src/dispnew.c 26 Sep 2005 07:34:48 -0000 *************** *** 4143,4149 **** update_window_line (w, MATRIX_ROW_VPOS (mode_line_row, desired_matrix), &mouse_face_overwritten_p); - changed_p = 1; } /* Find first enabled row. Optimizations in redisplay_internal --- 4143,4148 ---- *************** *** 4213,4219 **** { header_line_row->y = 0; update_window_line (w, 0, &mouse_face_overwritten_p); - changed_p = 1; } /* Fix the appearance of overlapping/overlapped rows. */