From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Page Newsgroups: gmane.emacs.help Subject: font-lock doesn't mark block comments as "multiline" Date: Wed, 02 May 2007 05:18:11 -0700 Organization: Styling Moose Industries Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1178109993 25157 80.91.229.12 (2 May 2007 12:46:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 May 2007 12:46:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 02 14:46:30 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HjEDx-0007yE-DS for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2007 14:46:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjEKM-0006a1-Gf for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2007 08:53:02 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr19.news.prodigy.net.POSTED!fe6e8756!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X) Original-Lines: 21 Original-NNTP-Posting-Host: 75.36.162.159 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr19.news.prodigy.net 1178108300 ST000 75.36.162.159 (Wed, 02 May 2007 08:18:20 EDT) Original-NNTP-Posting-Date: Wed, 02 May 2007 08:18:20 EDT X-UserInfo1: F[OUB_GGTZWYBFH[OZK@_TDAYZOZ@GXOXZ^L\UQHWIWDUWYADNVOPCKZBL\NX_KHV^GY[KVMG^ZPNHSCZNS[^UXFJVWYXVXKBH[XRWWBBDTN@AX\JSBVH]_@T\EKJHBMZ\_WZJFNRY]YWKSPED_U^NC\HSZ\WS[KEAYI@DO@\K@BP\LD[\GTMPLDFVU]ASJM Original-Xref: shelby.stanford.edu gnu.emacs.help:147886 X-Mailman-Approved-At: Wed, 02 May 2007 08:47:39 -0400 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:43489 Archived-At: I'm the maintainer of Dylan mode for emacs (see my .sig). Like C++, Dylan has both "end of line" comments beginning with "//" and block comments surrounded by "/* ... */". Although font-lock automatically applies the comment face to block comments when they're defined in the character syntax table, when I edit text within a block comment, it loses the comment face and is fontified as though it were not within a comment. There are several ways I can imagine fixing this, but I'm wondering why font-lock doesn't automatically apply the font-lock-multiline property to block comments when it's applying the face to them. Is there some other, recommended solution? -- Chris Page - Dylan Programmer Open Source Dylan: Dylan Blogging: Dylan Stuff: