From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.devel Subject: Re: redisplay - very long lines Date: Tue, 17 Feb 2009 18:16:10 +0100 Message-ID: <499AF0DA.7050306@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234891042 1381 80.91.229.12 (17 Feb 2009 17:17:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 17:17:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 17 18:18:38 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 1LZTaT-0000V3-79 for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2009 18:18:25 +0100 Original-Received: from localhost ([127.0.0.1]:60721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZTZ8-0005CC-TS for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2009 12:17:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZTYW-0004qh-Vi for emacs-devel@gnu.org; Tue, 17 Feb 2009 12:16:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZTYV-0004pu-Eb for emacs-devel@gnu.org; Tue, 17 Feb 2009 12:16:24 -0500 Original-Received: from [199.232.76.173] (port=59531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZTYV-0004pp-9N for emacs-devel@gnu.org; Tue, 17 Feb 2009 12:16:23 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:45068) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LZTYU-0006V8-Op for emacs-devel@gnu.org; Tue, 17 Feb 2009 12:16:23 -0500 Original-Received: (qmail invoked by alias); 17 Feb 2009 17:16:18 -0000 Original-Received: from p57A08E36.dip0.t-ipconnect.de (EHLO [192.168.1.5]) [87.160.142.54] by mail.gmx.net (mp065) with SMTP; 17 Feb 2009 18:16:18 +0100 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX1/QUJFSqW/QGOgcecrPuZG59y4zcW7muRw+mPrwwA xwNu6nj9w+BR1r User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-References: ueixyw5bh.fsf@gnu.org X-Y-GMX-Trusted: 0 X-FuHaFi: 0.77 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:109135 Archived-At: > > Would it be possible to add a termination condition in move_it_to to > > stop after leaving the window vertically or horizontally (with > > truncate-lines)? > > If we can tolerate an incorrect display, maybe. The invisible part of > the line could in principle include characters and faces whose > presence may have global effects on the rest of the displayed portion, > such as faces that use larger fonts, to say nothing of inline images. That is not a necessary consequence at all. After all faces and images don't come fallen from outer space into the text but if they exist then it was the emacs program itself that has put them there. So instead of scanning lines each time it could as well just remember where and how big they are.