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: Latest changes in redisplay code Date: Fri, 08 Feb 2013 16:11:05 +0200 Message-ID: <837gmi99qe.fsf@gnu.org> References: <83pq0g9hcf.fsf@gnu.org> <51109E0B.3000402@yandex.ru> <83d2weabda.fsf@gnu.org> <5112083A.5090409@yandex.ru> <8362259uxk.fsf@gnu.org> <5113CB79.5070500@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1360332660 30366 80.91.229.3 (8 Feb 2013 14:11:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 14:11:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 15:11:21 2013 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 1U3ofg-00085l-Qz for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 15:11:20 +0100 Original-Received: from localhost ([::1]:47503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ofN-0004FC-Qs for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2013 09:11:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3ofI-0004EE-4e for emacs-devel@gnu.org; Fri, 08 Feb 2013 09:11:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3of8-0000N4-TD for emacs-devel@gnu.org; Fri, 08 Feb 2013 09:10:56 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:33627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3of8-0000MW-KV for emacs-devel@gnu.org; Fri, 08 Feb 2013 09:10:46 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MHW00K00MX8YQ00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Fri, 08 Feb 2013 16:10:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MHW00LBONDX0000@a-mtaout20.012.net.il>; Fri, 08 Feb 2013 16:10:46 +0200 (IST) In-reply-to: <5113CB79.5070500@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:156885 Archived-At: > Date: Thu, 07 Feb 2013 19:42:49 +0400 > From: Dmitry Antipov > CC: emacs-devel@gnu.org > > >> Maybe we should invalidate window_end_valid and base_line_pos only > >> if either window is really switched to another buffer or buffer > >> is changed. > > > > That'd be hard, because there are many places that switch to another > > buffer temporarily, and they all call adjust_window_count. > > What about this? It will still trigger recalculation of lines when we switch to another buffer temporarily, then back again, won't it?