emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add function window-line-width


From: martin rudalics
Subject: Re: [PATCH] Add function window-line-width
Date: Fri, 8 Nov 2019 10:21:45 +0100

> The first point is important for my use case, so if 'window-line-width' is
> not accepted, would you agree for a patch
> adding a parameter to 'window-lines-pixel-dimensions' controlling this
> behavior ?

I certainly would but it's up to Eli to decide.

> 'window-text-pixel-size' uses a display iterator to compute values, I don't
> know the details of this iterator but it seems to
> be slower than fetching values directly from the glyph matrix. As
> mentioned, I need the width of all lines on window.

It would be good to know how much slower 'window-text-pixel-size' then
is.  If it is significantly slower, we probably should replace it with
a function based on directly accessing the glyph matrix.  Can you try
to measure the respective performances?

Thanks, martin



reply via email to

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