From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Excessive redraw of overlapping/overlapped rows? Date: Mon, 26 Sep 2005 21:19:32 +0200 Message-ID: <85wtl37i2j.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127803966 3437 80.91.229.2 (27 Sep 2005 06:52:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2005 06:52:46 +0000 (UTC) Cc: YAMAMOTO Mitsuharu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 27 08:52:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EK9Jb-00065U-Pb for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2005 08:51:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EK9Ja-0003DQ-I3 for ged-emacs-devel@m.gmane.org; Tue, 27 Sep 2005 02:51:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EK9Bk-0000aw-Eg for emacs-devel@gnu.org; Tue, 27 Sep 2005 02:43:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EK9Bh-0000aC-JA for emacs-devel@gnu.org; Tue, 27 Sep 2005 02:43:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EK9Bf-0000X0-6h for emacs-devel@gnu.org; Tue, 27 Sep 2005 02:43:35 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EK9Ad-0003ie-VL for emacs-devel@gnu.org; Tue, 27 Sep 2005 02:42:32 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1EK9Ab-00030i-Ft; Tue, 27 Sep 2005 02:42:30 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id D611C1C4CD7E; Mon, 26 Sep 2005 21:19:32 +0200 (CEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Mon, 26 Sep 2005 16:26:47 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:43281 Archived-At: storm@cua.dk (Kim F. Storm) writes: > 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. If mode line updates change the height of the mode line (because of descenders, or images or stuff like that), it is conceivable that something happens with the display, though likely not on all lines at once. Even for line number updates, if you use line numbers with a non-constant height (old-style numerals). So it seems like it would at least appear prudent to check whether the mode line dimensions changed or something like that, or check just what lines the mode line might overlap. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum