all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Antoine Levitt <antoine.levitt@gmail.com>,
	3417@emacsbugs.donarmstrong.com
Subject: bug#3417: c-mode uses font-lock-doc-face for /**
Date: Fri, 29 May 2009 18:46:51 +0200	[thread overview]
Message-ID: <4A20117B.8040605@gmx.at> (raw)
In-Reply-To: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com>

 > 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 ?

Have you tried to customize `c-doc-comment-style'?

martin





  parent reply	other threads:[~2009-05-29 16:46 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   ` bug#3417: marked as done (c-mode uses font-lock-doc-face for /**) Emacs bug Tracking System
2009-05-29 16:46   ` martin rudalics [this message]
2009-05-29 17:03     ` bug#3417: c-mode uses font-lock-doc-face for /** 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=4A20117B.8040605@gmx.at \
    --to=rudalics@gmx.at \
    --cc=3417@emacsbugs.donarmstrong.com \
    --cc=antoine.levitt@gmail.com \
    /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.