From: Davin Pearson <davin.pearson@gmail.com>
To: Alan Mackenzie <acm@muc.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Trouble fontifying /** ... */
Date: Tue, 27 Jan 2009 15:04:58 +1300 [thread overview]
Message-ID: <8d7d1e6d0901261804w2791a677xc71fbb74d118c00f@mail.gmail.com> (raw)
In-Reply-To: <20090126192020.GC1417@muc.de>
2009/1/27 Alan Mackenzie <acm@muc.de>:
> "/*****..... " (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
next prev parent reply other threads:[~2009-01-27 2:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 5:00 Trouble fontifying /** ... */ Davin Pearson
2009-01-26 19:20 ` Alan Mackenzie
2009-01-27 2:04 ` Davin Pearson [this message]
2009-01-27 9:19 ` Alan Mackenzie
2009-01-29 5:02 ` Davin Pearson
2009-01-29 13:33 ` Alan Mackenzie
[not found] ` <8d7d1e6d0901312017k3811d8aan70ac0baf151361c2@mail.gmail.com>
2009-02-01 12:05 ` Alan Mackenzie
2009-02-02 8:10 ` Davin Pearson
-- strict thread matches above, loose matches on Subject: below --
2009-01-09 4:54 Davin Pearson
2009-01-09 13:21 ` Xah Lee
2009-01-14 3:18 ` Davin Pearson
2009-01-14 7:04 ` Xah Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d7d1e6d0901261804w2791a677xc71fbb74d118c00f@mail.gmail.com \
--to=davin.pearson@gmail.com \
--cc=acm@muc.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).