emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pixel-based display functions


From: martin rudalics
Subject: Re: Pixel-based display functions
Date: Sat, 07 Feb 2015 14:51:10 +0100

> Then how to interpret "show the buffer" in your text above?

As `set-window-buffer'.  Sorry for being ambiguous.

>> The latter calls `vertical-motion' so this should work indeed.  But does
>> `vertical-motion' have to go back to the beginning of a logical line
>> when it's broken into several visual lines?
>
> Yes, it does.  There's no other place where the display engine can
> _know_ that the X coordinate is zero.
>
>> This would mean that we'd always have to rescan from the beginning
>> of the logical line for each visual line break
>
> Yes.

This would get us quadratic time.  We should stay linear.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]