From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.help Subject: Re: Multiline font lock questions Date: Fri, 17 Nov 2006 13:26:05 -0500 Message-ID: <87fycidj5u.fsf@pereiro.luannocracy.com> References: <1163782948.761971.258500@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163788052 10525 80.91.229.2 (17 Nov 2006 18:27:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2006 18:27:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 17 19:27:28 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gl8Qp-0000cU-O8 for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 19:27:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gl8Qp-0000HN-3y for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Nov 2006 13:27:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gl8Pv-0007q8-QP for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 13:26:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gl8Pt-0007mP-JD for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 13:26:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gl8Pt-0007m4-9C for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 13:26:21 -0500 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 1Gl8Pt-0002XG-01 for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 13:26:21 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gl8Pm-0000Rf-85 for help-gnu-emacs@gnu.org; Fri, 17 Nov 2006 19:26:14 +0100 Original-Received: from 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com ([216.15.125.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Nov 2006 19:26:14 +0100 Original-Received: from dave by 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Nov 2006 19:26:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-15-125-177.c3-0.smr-ubr3.sbo-smr.ma.cable.rcn.com User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:55ppqub7LDNCnmg9uocyCHw1BnE= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38776 Archived-At: "rgb" writes: >> * Place a `font-lock-multiline' property on the construct when it is >> added to the buffer. >> >> I don't understand how that can help. If I start with >> >> +------------+ >> |This [is | >> |paragraph 1 | >> | | >> |This is | >> |paragraph] 2| >> +------------+ >> >> then presumably nothing is marked with the `font-lock-multiline' >> property, because there are no multiline constructs. If I then kill >> the blank line, how is it going to know to start identification at the >> beginning of the newly-formed paragraph? > > Look at the SYNTAX-BEGIN argument of font-lock-defaults. IIUC that is only for `syntactic fontification,' which apparently refers just to fontifying comments and strings. Did I misinterpret the doc? -- Dave Abrahams Boost Consulting www.boost-consulting.com