[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What to do when font-lock-flush + font-lock-ensure do less than font
From: |
Clément Pit--Claudel |
Subject: |
Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer? |
Date: |
Mon, 22 Feb 2016 08:49:48 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 02/22/2016 03:56 AM, Anders Lindgren wrote:
>> What's the proper way to mark a buffer for refontification (and
>> refontify the visible portion) immediately in 25?
>>
> I've been using `(font-lock-region (point-min) (point-max))' to force
> a refontification of the entire buffer, for my htmlize-like packages
> (`faceup' and `e2ani'). I'm not sure if it's the "right way" to do
> it, but it works in practice.
Thanks. Won't that refontify the whole buffer though, even the non-visible (and
not yet fontified) areas, though? That would be a performance issue for me.
Clément.
signature.asc
Description: OpenPGP digital signature
- What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Clément Pit--Claudel, 2016/02/21
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Anders Lindgren, 2016/02/22
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?,
Clément Pit--Claudel <=
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Eli Zaretskii, 2016/02/22
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Clément Pit--Claudel, 2016/02/22
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Kaushal Modi, 2016/02/22
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Eli Zaretskii, 2016/02/22
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Clément Pit--Claudel, 2016/02/22
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Eli Zaretskii, 2016/02/23
- Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Clément Pit--Claudel, 2016/02/23
Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?, Stefan Monnier, 2016/02/23