[Top][All Lists]

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

Re: Pixel-based display functions

From: Lars Ingebrigtsen
Subject: Re: Pixel-based display functions
Date: Sat, 07 Feb 2015 00:02:09 +1100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

>> We can do that.  But it's hardly cheaper than
>> (save-window-excursion
>>   (set-window-buffer nil ...)
>>   (window-text-pixel-size ...)
>>   ...)
>> especially when packing multiple `window-text-pixel-size' calls into
>> the same excursion.
> Ok; I can try doing that and see what the results are.

With complex table-based layouts, this was unbearably slow.  I'll try to
hack up a version of the function that returns the max-width in a region
and see whether that gives acceptable results.

(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

reply via email to

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