GNU bug report logs - #9704
24.0.50; need command to fontify whole buffer

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 8 Oct 2011 21:10:01 UTC

Severity: wishlist

Tags: fixed

Found in version 24.0.50

Fixed in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9704 in the body.
You can then email your comments to 9704 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#9704; Package emacs. (Sat, 08 Oct 2011 21:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 08 Oct 2011 21:10:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 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'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9704; Package emacs. (Thu, 31 Oct 2019 13:58:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: bug-gnu-emacs <at> gnu.org, 9704 <at> debbugs.gnu.org
Subject: Re: 24.0.50; need command to fontify whole buffer
Date: Thu, 31 Oct 2019 14:57:20 +0100
"Drew Adams" <drew.adams <at> oracle.com> writes:

>>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.

font-lock-flush and font-lock-ensure has existed since 25.1, so I'm
closing this bug report.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9704; Package emacs. (Thu, 31 Oct 2019 13:58:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 31 Oct 2019 13:58:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.1, send any further explanations to 9704 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 31 Oct 2019 13:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Nov 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.