From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9704: 24.0.50; need command to fontify whole buffer Date: Sat, 8 Oct 2011 14:09:26 -0700 Message-ID: <17C8B660865C4921A7237ABC0F58070C@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318108213 12209 80.91.229.12 (8 Oct 2011 21:10:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2011 21:10:13 +0000 (UTC) To: 9704@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 08 23:10:05 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCe9k-0004xh-Ie for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2011 23:10:04 +0200 Original-Received: from localhost ([::1]:44234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCe9j-0001px-U1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2011 17:10:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCe9h-0001pe-2z for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:10:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCe9g-0001xq-6y for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:10:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCe9g-0001xk-1D for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:10:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RCe9h-000239-Km for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2011 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9704 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.13181081857845 (code B ref -1); Sat, 08 Oct 2011 21:10:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Oct 2011 21:09:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RCe9R-00022U-7x for submit@debbugs.gnu.org; Sat, 08 Oct 2011 17:09:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RCe9P-00022I-N8 for submit@debbugs.gnu.org; Sat, 08 Oct 2011 17:09:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCe9H-0001ns-Ii for submit@debbugs.gnu.org; Sat, 08 Oct 2011 17:09:36 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:37554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCe9H-0001no-FB for submit@debbugs.gnu.org; Sat, 08 Oct 2011 17:09:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCe9G-0001lU-IA for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:09:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCe9F-0001nZ-9f for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:09:34 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:51895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCe9F-0001nN-2z for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2011 17:09:33 -0400 Original-Received: from ucsinet24.oracle.com (ucsinet24.oracle.com [156.151.31.67]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p98L9UND020777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 8 Oct 2011 21:09:32 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet24.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p98L3bs1007557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 8 Oct 2011 21:03:37 GMT Original-Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p98L9ObR010169 for ; Sat, 8 Oct 2011 16:09:24 -0500 Original-Received: from dradamslap1 (/10.159.53.18) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 08 Oct 2011 14:09:24 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcyF/o+YC5DEFIbAQDS6v8d/CsM7XQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet24.oracle.com [156.151.31.67] X-CT-RefId: str=0001.0A090202.4E90BC0C.0023,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 08 Oct 2011 17:10:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52438 Archived-At: >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'