[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/
- Re: Pixel-based display functions, (continued)
- Re: Pixel-based display functions, martin rudalics, 2015/02/01
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/02
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/04
- Re: Pixel-based display functions, martin rudalics, 2015/02/05
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/05
- Re: Pixel-based display functions, martin rudalics, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions,
Lars Ingebrigtsen <=
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/06
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/06
- Re: Pixel-based display functions, Matthew Carter, 2015/02/06
- Rebinding local keys, Alan Schmitt, 2015/02/12
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/13
Re: Pixel-based display functions, Stephen J. Turnbull, 2015/02/01