From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: meta-mode.el comment on font lock Date: Mon, 10 Sep 2007 10:21:19 -0400 Message-ID: References: <46E53D71.2000201@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189438820 23921 80.91.229.12 (10 Sep 2007 15:40:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2007 15:40:20 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 01:40:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IUrd6-0006Qi-RU for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 00:21:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUk8k-00081a-9V for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 10:21:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUk8i-00080n-4h for emacs-devel@gnu.org; Mon, 10 Sep 2007 10:21:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUk8f-0007wc-SB for emacs-devel@gnu.org; Mon, 10 Sep 2007 10:21:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUk8f-0007wY-O5 for emacs-devel@gnu.org; Mon, 10 Sep 2007 10:21:21 -0400 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUk8f-0006iI-BN for emacs-devel@gnu.org; Mon, 10 Sep 2007 10:21:21 -0400 Original-Received: from pastel.home ([70.55.141.227]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070910142120.KORI1592.tomts5-srv.bellnexxia.net@pastel.home> for ; Mon, 10 Sep 2007 10:21:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id F02508072; Mon, 10 Sep 2007 10:21:19 -0400 (EDT) In-Reply-To: <46E53D71.2000201@gmail.com> (Lennart Borgman's message of "Mon\, 10 Sep 2007 14\:49\:53 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78457 Archived-At: > I think the comments about font lock in meta-mode.el needs some > updating. Here is how it looks now: > ;; Font Lock Support: > ;; > ;; If you are using global-font-lock-mode (introduced in Emacs 19.31), > ;; fontification in Metafont and/or MetaPost mode will be activated > ;; automatically. To speed up fontification for the rather complex > ;; patterns used in these modes, it may be a good idea to activate > ;; lazy-lock as a font-lock-support-mode (introduced in Emacs 19.32) > ;; by adding these lines to your startup file: > ;; > ;; (global-font-lock-mode t) > ;; (setq font-lock-support-mode 'lazy-lock-mode) Yes, please remove at least the lazy-lock bits (could be replaced with jit-lock, but since jit-lock is and has always been the default anyway, there's no point mentioning it). Thanks, Stefan