unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: grischka <grishka@gmx.de>
To: eliz@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: redisplay - very long lines
Date: Tue, 17 Feb 2009 18:16:10 +0100	[thread overview]
Message-ID: <499AF0DA.7050306@gmx.de> (raw)

> > 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.





             reply	other threads:[~2009-02-17 17:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 17:16 grischka [this message]
2009-02-17 19:37 ` redisplay - very long lines Eli Zaretskii
2009-02-18 20:41   ` grischka
2009-02-19  4:15     ` Eli Zaretskii
2009-02-19 16:30       ` grischka
  -- strict thread matches above, loose matches on Subject: below --
2009-02-16 13:44 David Reitter
2009-02-16 19:27 ` Eli Zaretskii
2009-02-16 23:02   ` David Reitter
2009-02-17  4:16     ` Eli Zaretskii
2009-02-17 13:40       ` Stefan Monnier
2009-02-17 19:41         ` Eli Zaretskii
2009-02-17 21:21           ` David Reitter
2009-02-18  4:09             ` Eli Zaretskii
2009-02-18  4:50               ` David Reitter
2009-02-18 18:47                 ` Eli Zaretskii
2009-02-18 19:44                   ` Stefan Monnier
2009-02-18 19:50                     ` David Reitter
2009-02-18  2:26           ` Stefan Monnier
2009-02-18  4:17             ` Eli Zaretskii
2009-02-18  4:56               ` Stefan Monnier
2009-02-18 18:46                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499AF0DA.7050306@gmx.de \
    --to=grishka@gmx.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).