From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Yet another redisplay question Date: Tue, 06 Aug 2013 20:04:23 +0400 Message-ID: <52011E87.9060204@yandex.ru> References: <51FB93C5.1020804@yandex.ru> <83bo5gyytp.fsf@gnu.org> <51FF378D.9000305@yandex.ru> <83siyow4i6.fsf@gnu.org> <83ob9cw04z.fsf@gnu.org> <5200A29C.6060704@yandex.ru> <8361vix46s.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375805096 5266 80.91.229.3 (6 Aug 2013 16:04:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2013 16:04:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 06 18:04:58 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 1V6jko-0001sO-95 for ged-emacs-devel@m.gmane.org; Tue, 06 Aug 2013 18:04:58 +0200 Original-Received: from localhost ([::1]:50387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6jkn-0003Sp-MV for ged-emacs-devel@m.gmane.org; Tue, 06 Aug 2013 12:04:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6jkd-0003SW-JS for emacs-devel@gnu.org; Tue, 06 Aug 2013 12:04:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6jkW-00023D-Ek for emacs-devel@gnu.org; Tue, 06 Aug 2013 12:04:47 -0400 Original-Received: from forward7l.mail.yandex.net ([2a02:6b8:0:1819::7]:56150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6jkN-0001zy-MY; Tue, 06 Aug 2013 12:04:31 -0400 Original-Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward7l.mail.yandex.net (Yandex) with ESMTP id F0C8DBC0F79; Tue, 6 Aug 2013 20:04:29 +0400 (MSK) Original-Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id A433A7E083A; Tue, 6 Aug 2013 20:04:29 +0400 (MSK) Original-Received: from 114.gprs.mts.ru (114.gprs.mts.ru [213.87.134.114]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id vdl8JS8uAb-4TFuc8MC; Tue, 6 Aug 2013 20:04:29 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1375805069; bh=e5KOgT+3WO5OovEYJiRHw3jtDwV8klvMBAF1ogG6//M=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Pu4f/PhdVV+Ck88ENqeBmCcskqkKqvgtePy1TNBmABbHLyC3PcnWNgoVGCcAejpOZ NA9FN7POVAxtrBi6MWdfc5bnyYcQf2+RLVaGJoyhORv+M0tlutrKkXJHg92ubpRWyE y6UWNQoYC8k9aTyE21S5gNlvApYONKXe2jrqDpVw= Authentication-Results: smtp11.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <8361vix46s.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a02:6b8:0:1819::7 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:162449 Archived-At: AFAICS redisplay engine does a lot of iterator movements backward to BEGV or forward to ZV. From the redisplay's point of view, how much of buffer text beyond its visible boundaries (window-start) and (window-end) we should process to be sure that the visible part is displayed correctly? In particular, when we're looking for the beginning of the previous line, or the end of the current line, why not limit the search within the visible part of text? Dmitry