GNU bug report logs - #3417
c-mode uses font-lock-doc-face for /**

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Fri, 29 May 2009 14:50:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 3417-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3417-done <at> debbugs.gnu.org
Subject: Re: bug#3417: c-mode uses font-lock-doc-face for /**
Date: Fri, 29 May 2009 18:20:24 +0200
[Message part 1 (text/plain, inline)]
Ok, it makes sense.

But how comes "/** " (with a space) isn't fontified, when it is in other
modes like java ? There is no obvious difference between :
/**
* some comment */
and
/**
* some comment */
, but they are fontified differently (the second has a space after the /**).
2009/5/29 Stefan Monnier <monnier <at> iro.umontreal.ca>

> > 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
>
[Message part 2 (text/html, inline)]

This bug report was last modified 15 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.