From: Antoine Levitt <antoine.levitt@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#3417: c-mode uses font-lock-doc-face for /**
Date: Fri, 29 May 2009 16:45:42 +0200 [thread overview]
Message-ID: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 597 bytes --]
Compare :
/**
some file
*/
with
/*
some file
*/
In the first case, font-lock-doc-face is used, in the second
font-lock-comment-face is.
The first example fontifies with doc-face only if there is just "/**" :
"/*", "/** " (with a space) or "/***", for instance, use the standard
comment-face.
This is using emacs 23.0.94.1, and was reproduced on emacs22 as well. C++
and obj-C aren't affected, and java also shows this behavior on "/***"" and
"/** "/
This behavior is certainly unexpected : I expect all comments to be
fontified with the same face. Am I right in thinking it's a bug ?
Antoine
[-- Attachment #2: Type: text/html, Size: 729 bytes --]
next reply other threads:[~2009-05-29 14:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jwvprdrnbkf.fsf-monnier+emacsbugreports@gnu.org>
2009-05-29 14:45 ` Antoine Levitt [this message]
2009-05-29 16:05 ` bug#3417: marked as done (c-mode uses font-lock-doc-face for /**) Emacs bug Tracking System
2009-05-29 16:46 ` bug#3417: c-mode uses font-lock-doc-face for /** martin rudalics
2009-05-29 17:03 ` Antoine Levitt
2009-05-29 17:10 ` martin rudalics
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com \
--to=antoine.levitt@gmail.com \
--cc=3417@emacsbugs.donarmstrong.com \
--cc=bug-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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.