From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: redisplay - very long lines Date: Tue, 17 Feb 2009 23:56:17 -0500 Message-ID: References: <3FEE1ADD-7471-4EA4-AE55-9175C9218B6E@gmail.com> <4AC07B50-75B6-4A68-9E01-A228BA64BDAE@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234933000 1997 80.91.229.12 (18 Feb 2009 04:56:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2009 04:56:40 +0000 (UTC) Cc: david.reitter@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 18 05:57:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZeVO-0004TD-NU for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2009 05:57:54 +0100 Original-Received: from localhost ([127.0.0.1]:60153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZeU2-0002Qn-GI for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2009 23:56:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZeTw-0002QD-28 for emacs-devel@gnu.org; Tue, 17 Feb 2009 23:56:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZeTt-0002PG-JN for emacs-devel@gnu.org; Tue, 17 Feb 2009 23:56:22 -0500 Original-Received: from [199.232.76.173] (port=37806 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZeTt-0002PB-Gh for emacs-devel@gnu.org; Tue, 17 Feb 2009 23:56:21 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:64257 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZeTr-0001DV-VS; Tue, 17 Feb 2009 23:56:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAHQjm0lMCpTK/2dsb2JhbACBbtFehBMGgzU X-IronPort-AV: E=Sophos;i="4.38,226,1233550800"; d="scan'208";a="34017889" Original-Received: from 76-10-148-202.dsl.teksavvy.com (HELO ceviche.home) ([76.10.148.202]) by ironport2-out.teksavvy.com with ESMTP; 17 Feb 2009 23:56:17 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7760FB419A; Tue, 17 Feb 2009 23:56:17 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Wed, 18 Feb 2009 06:17:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109170 Archived-At: >> > still need to walk to the end of a line before we are able to display >> > it and all the lines after it. >> >> In the above, when you say "line" do you mean "visual line" or "textual >> line"? IIUC we need to walk till the end of the visual line, but not >> till the end of the textual line, so that shouldn't cause a slowdown >> proportional to the length of the textual line. > I thought we walked to the end of the textual line, but maybe I'm > misremembering what redisplay does. Indeed, the performance problems we're seeing seems to indicate that we walkt to the end of the textual line, but I think we're here discussing why that is. Why not stop at the end of the last visual line displayable in the window? Stefan