From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3417: marked as done (c-mode uses font-lock-doc-face for /**) Date: Fri, 29 May 2009 16:05:06 +0000 Message-ID: References: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1243613106-18320-0" X-Trace: ger.gmane.org 1243614143 26877 80.91.229.12 (29 May 2009 16:22:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2009 16:22:23 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 29 18:22:16 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 1MA4qV-0003mi-3k for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 18:22:15 +0200 Original-Received: from localhost ([127.0.0.1]:55052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA4qU-0002kV-Ay for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 12:22:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MA4lq-0000GP-Gr for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:17:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MA4ll-0000EU-I5 for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:17:25 -0400 Original-Received: from [199.232.76.173] (port=55821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA4ll-0000EB-1R for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:17:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46416) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MA4lk-0001p4-4k for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 12:17:20 -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 n4TGHHCc020889; Fri, 29 May 2009 09:17:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4TG57D0018656; Fri, 29 May 2009 09:05:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3417 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:28294 Archived-At: This is a multi-part message in MIME format... ------------=_1243613106-18320-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 29 May 2009 12:01:38 -0400 with message-id 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.) --=20 3417: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3417 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1243613106-18320-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 29 May 2009 14:46:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TEjvxq004878 for ; Fri, 29 May 2009 07:45:58 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MA3LH-0003D9-DU for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 10:45:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MA3LA-0003BA-S8 for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 10:45:53 -0400 Received: from [199.232.76.173] (port=33857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA3L7-0003Ah-8l for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 10:45:45 -0400 Received: from mail-qy0-f116.google.com ([209.85.221.116]:63099) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MA3L6-000116-Qg for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 10:45:44 -0400 Received: by qyk14 with SMTP id 14so9447380qyk.14 for ; Fri, 29 May 2009 07:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=3sL+ueVTpPSfkAp7kPuGkS/bhALHJNKERD/NNGMSb3c=; b=vw8t7MMp63l6Mrqt/6AV0cHz895taV2oIhZtOOmb7nJIVd9ndJwSs9Xyimvl01OHtT srhjF0QpwcS5Dyeaa+ppkAhBln8sgkjOVWspD7quMPnnGvJL1jglvdKsFKfA6O1gQk0q pxDlPKFt3vjb4qf5zAD7uI4t2U7TWQ4TBZElw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=TUqqiRNsg5C9vlo621G+sIPIFmAaZgTqvKp31iFbDqcmydWQTlAjtEOcnqB0YEo9zP YQbaaVvKXezGKj08jQlxYjR+P+bbHgoYx6wOLGQ6JLFqYBkDmhLDJ8VNoG+zk6Rf8Z7B hCKHAIfu0eGJvOrJaANBi6Yfa+ojomWDGZNWw= MIME-Version: 1.0 Sender: smeuuh@gmail.com Received: by 10.229.99.130 with SMTP id u2mr1091114qcn.29.1243608342915; Fri, 29 May 2009 07:45:42 -0700 (PDT) Date: Fri, 29 May 2009 16:45:42 +0200 X-Google-Sender-Auth: d12cace86ef2a384 Message-ID: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> Subject: c-mode uses font-lock-doc-face for /** From: Antoine Levitt To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0016363b845c84eb76046b0e2122 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --0016363b845c84eb76046b0e2122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --0016363b845c84eb76046b0e2122 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Compare :
/**
some file
*/
with
/*
some file
*/
In the first case, font-lock-doc-face is used, in the second font-lock-com= ment-face is.

The first example fontifies with doc-face only if ther= e 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 &quo= t;/***"" 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
--0016363b845c84eb76046b0e2122-- ------------=_1243613106-18320-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3417-done) by emacsbugs.donarmstrong.com; 29 May 2009 16:01:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.5 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TG1hAE017766 for <3417-done@emacsbugs.donarmstrong.com>; Fri, 29 May 2009 09:01:44 -0700 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n4TG1cJV030717; Fri, 29 May 2009 12:01:38 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 5A3003A170; Fri, 29 May 2009 12:01:38 -0400 (EDT) From: Stefan Monnier To: Antoine Levitt Cc: 3417-done@emacsbugs.donarmstrong.com Subject: Re: bug#3417: c-mode uses font-lock-doc-face for /** Message-ID: References: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> Date: Fri, 29 May 2009 12:01:38 -0400 In-Reply-To: <6fa54e4e0905290745y30d14b79y7be9a0b8f429833d@mail.gmail.com> (Antoine Levitt's message of "Fri, 29 May 2009 16:45:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3285=0 > 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 ------------=_1243613106-18320-0--