bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3417: marked as done (c-mode uses font-lock-doc-face for /**)


From: Emacs bug Tracking System
Subject: bug#3417: marked as done (c-mode uses font-lock-doc-face for /**)
Date: Fri, 29 May 2009 16:05:06 +0000

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
--- Begin Message --- Subject: c-mode uses font-lock-doc-face for /** Date: Fri, 29 May 2009 16:45:42 +0200 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

--- End Message ---
--- Begin Message --- Subject: Re: bug#3417: c-mode uses font-lock-doc-face for /** Date: Fri, 29 May 2009 12:01:38 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)
> 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

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]