From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: Last steps for pretesting (font-lock-extend-region-function) Date: Tue, 25 Apr 2006 08:21:23 +0200 Message-ID: References: <873bg2g1fw.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145946034 9327 80.91.229.2 (25 Apr 2006 06:20:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 06:20:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 25 08:20:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYGuR-0005cC-Mh for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 08:20:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYGuR-0004XA-0q for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 02:20:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYGtw-0004HY-3u for emacs-devel@gnu.org; Tue, 25 Apr 2006 02:19:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYGtv-0004HB-9D for emacs-devel@gnu.org; Tue, 25 Apr 2006 02:19:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYGtu-0004H4-UQ for emacs-devel@gnu.org; Tue, 25 Apr 2006 02:19:54 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FYGwJ-0005bz-Jv for emacs-devel@gnu.org; Tue, 25 Apr 2006 02:22:23 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FYGtm-0005XW-TS for emacs-devel@gnu.org; Tue, 25 Apr 2006 08:19:46 +0200 Original-Received: from dialin-212-144-211-103.pools.arcor-ip.net ([212.144.211.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Apr 2006 08:19:46 +0200 Original-Received: from angeli by dialin-212-144-211-103.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Apr 2006 08:19:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dialin-212-144-211-103.pools.arcor-ip.net Cancel-Lock: sha1:roTtppCh/FmQWH7Vn2edHjvwWO4= 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:53365 Archived-At: * Stefan Monnier (2006-04-24) writes: > I was talking about programmer work, and I've shown you the code for > font-lock-multiline: it's quite a bit shorter and more straightforward than > your hack using b-c-f and a-c-f: just match the multiline element, place > a font-lock-multiline property on it, and you're set. Do you even have to bother with placing font-lock-multiline properties manually? In AUCTeX we simply set the font-lock-multiline variable to t and font-lock added the property automatically. -- Ralf