From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.help Subject: Re: Trouble fontifying /** ... */ Date: Tue, 27 Jan 2009 15:04:58 +1300 Message-ID: <8d7d1e6d0901261804w2791a677xc71fbb74d118c00f@mail.gmail.com> References: <8d7d1e6d0901252100r3d2c8f5p699cd67b8600fb07@mail.gmail.com> <20090126192020.GC1417@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233021995 9207 80.91.229.12 (27 Jan 2009 02:06:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 02:06:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alan Mackenzie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 03:07:47 2009 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 1LRdMe-0006IR-Jx for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 03:07:44 +0100 Original-Received: from localhost ([127.0.0.1]:54505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRdLM-0004g9-QK for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 21:06:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRdK3-00047n-4u for help-gnu-emacs@gnu.org; Mon, 26 Jan 2009 21:05:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRdK1-00046v-IO for help-gnu-emacs@gnu.org; Mon, 26 Jan 2009 21:05:02 -0500 Original-Received: from [199.232.76.173] (port=56878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRdK1-00046o-Cz for help-gnu-emacs@gnu.org; Mon, 26 Jan 2009 21:05:01 -0500 Original-Received: from ti-out-0910.google.com ([209.85.142.188]:12804) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRdK0-0003f2-MF for help-gnu-emacs@gnu.org; Mon, 26 Jan 2009 21:05:01 -0500 Original-Received: by ti-out-0910.google.com with SMTP id u5so3452439tia.10 for ; Mon, 26 Jan 2009 18:04:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FP7/KrI2RnzTKTJ08bvTj13H/ZCUEE7nEayUHUaPAN4=; b=oFgwAziU5S4qBAx5xsbYQQUoiZ3aetbdaq1Yg8Dc9FgiTMXJawAlCv5mLXJfxGMgQ/ lbOafzsZowjVLQHOaz5WhwRWQ35qBTY58gwSKVOjFrYtFP5B9zPov7bhv1qWf7bRUKOD 6BJMvg0JBE0dAXZ7b+YapZCHyNs1UGf4n+vqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HgSt7vZlOHinjfe8JvV0kJKZbSReWmgV8xRP4QWf6oKiA6tCkrv3luxl5GB7kgAUs1 Ll89Jky8fg4vP/d0UxT3O18GyGn+Q4hLfPoITVuy/oX4lr9W2DBY0jT8p2SVQhWeXoCj y8yDMDsTSvoF9E4FkYbcfBx0Q98OgCSdbY4Nc= Original-Received: by 10.110.62.4 with SMTP id k4mr1183480tia.57.1233021898151; Mon, 26 Jan 2009 18:04:58 -0800 (PST) In-Reply-To: <20090126192020.GC1417@muc.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61676 Archived-At: 2009/1/27 Alan Mackenzie : > "/*****..... " (minimum 2 stars) might look a bit like: > "/\\*\\*+" > The following Elisp code only matches a single line comment ("/\\*\\*+.*\\*/" 0 'font-lock-doc-face t) and erroneously fontifies a = "/** foo */"; in font-lock-doc-face when it should be font-lock-string-face. ------------------------------------------------------------------- Click below for my Elisp code: (please note that I have updated the code) http://h1.ripway.com/davin/sjs.el Click below for a program fragment: http://h1.ripway.com/davin/a.sjs -- Sincerely and kindest regards, Davin. Davin Pearson http://www.davinpearson.com