emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: Eli Zaretskii
Subject: Re: Pixel-based display functions
Date: Wed, 18 Feb 2015 05:45:13 +0200

> From: Lars Ingebrigtsen <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Wed, 18 Feb 2015 12:17:57 +1100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> > Well, you insert those lines into the buffer yourself, right?  Can you
> >> > find the longest line while you are at it, and insert only it?
> >> > AFAICS, that's the only way of making window-text-pixel-size do its
> >> > job faster: by making the region FROM..TO it needs to traverse
> >> > smaller.
> >> 
> >> Well, I don't know how long the line is (in pixels) in the first
> >> place.  Only calling `window-text-pixel-size' will tell me, right?
> >
> > No, I meant the longest in characters.
> 
> The line longest in characters doesn't really say much about what line
> is longest in pixels.

I beg to differ.



reply via email to

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