From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Subject: bug#3417: marked as done (c-mode uses font-lock-doc-face for /**)
Date: Fri, 29 May 2009 16:05:06 +0000 [thread overview]
Message-ID: <handler.3417.D3417.124361290817772.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
Your message dated Fri, 29 May 2009 12:01:38 -0400
with message-id <jwvprdrnbkf.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#3417: c-mode uses font-lock-doc-face for /**
has caused the Emacs bug report #3417,
regarding c-mode uses font-lock-doc-face for /**
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
3417: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3417
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 4523 bytes --]
[-- Attachment #2.1.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.1.2: Type: text/html, Size: 729 bytes --]
[-- Attachment #3: Type: message/rfc822, Size: 1893 bytes --]
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: 3417-done@emacsbugs.donarmstrong.com
Subject: Re: bug#3417: c-mode uses font-lock-doc-face for /**
Date: Fri, 29 May 2009 12:01:38 -0400
Message-ID: <jwvprdrnbkf.fsf-monnier+emacsbugreports@gnu.org>
> 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 ?
It's a feature. This comment format is used by doxygen (or somesuch).
Stefan
next prev parent reply other threads:[~2009-05-29 16:05 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 ` bug#3417: c-mode uses font-lock-doc-face for /** Antoine Levitt
2009-05-29 16:05 ` Emacs bug Tracking System [this message]
2009-05-29 16:46 ` 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=handler.3417.D3417.124361290817772.ackdone@emacsbugs.donarmstrong.com \
--to=owner@emacsbugs.donarmstrong.com \
--cc=monnier@IRO.UMontreal.CA \
/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.