bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9704: 24.0.50; need command to fontify whole buffer


From: Drew Adams
Subject: bug#9704: 24.0.50; need command to fontify whole buffer
Date: Sat, 8 Oct 2011 14:09:26 -0700

>From emacs-devel thread "command to fontify whole buffer":
 
> From: Stefan Monnier Sent: Thursday, September 22, 2011 9:23 PM
> > Sometimes I want to fontify a whole buffer (really).  One 
> > use case is to be able to then use the fontification for other (e.g. code)
> > purposes than visual highlighting.
> 
> Agreed.  We need two functions:
>
> - font-lock-flush-region (which marks the region for 
>   re-fontification).
> - font-lock-ensure-region (which makes sure the region is fontified).
>
> The functions we have were designed before lazy/jit lock and were
> adjusted in ad-hoc ways when jit/lazy was added.

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-09-19 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt'
 





reply via email to

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