From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#3417: c-mode uses font-lock-doc-face for /** Date: Fri, 29 May 2009 18:46:51 +0200 Message-ID: <4A20117B.8040605@gmx.at> References: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> Reply-To: martin rudalics , 3417@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243616276 870 80.91.229.12 (29 May 2009 16:57:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2009 16:57:56 +0000 (UTC) To: Antoine Levitt , 3417@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 29 18:57:53 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MA5Oy-0002es-6C for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 18:57:52 +0200 Original-Received: from localhost ([127.0.0.1]:50023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA5Ox-0003jl-Ma for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 12:57:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MA5Oa-0003JE-QB for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:57:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MA5OU-0003CJ-2L for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:57:26 -0400 Original-Received: from [199.232.76.173] (port=35068 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA5OT-0003Br-PX for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:57:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59069) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MA5OR-0005YO-AX for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:57:19 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TGvHPu027545; Fri, 29 May 2009 09:57:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4TGt9ro027022; Fri, 29 May 2009 09:55:09 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 29 May 2009 16:55:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3417 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3417-submit@emacsbugs.donarmstrong.com id=B3417.124361562525917 (code B ref 3417); Fri, 29 May 2009 16:55:08 +0000 Original-Received: (at 3417) by emacsbugs.donarmstrong.com; 29 May 2009 16:47:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n4TGl0V6025911 for <3417@emacsbugs.donarmstrong.com>; Fri, 29 May 2009 09:47:01 -0700 Original-Received: (qmail invoked by alias); 29 May 2009 16:46:54 -0000 Original-Received: from 62-47-37-185.adsl.highway.telekom.at (EHLO [62.47.37.185]) [62.47.37.185] by mail.gmx.net (mp015) with SMTP; 29 May 2009 18:46:54 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18PFw0n9Q0PJ31BK8NJQp70ZGtAplr161iSLM5r5V sD0eIo8+FzI2tN User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 29 May 2009 12:57:26 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28297 Archived-At: > 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