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: Re: font lock problem in C mode Date: Fri, 15 Jun 2007 22:27:02 +0200 Message-ID: <4672F616.5030103@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181939255 5333 80.91.229.12 (15 Jun 2007 20:27:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 20:27:35 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Alan Mackenzie , bug-gnu-emacs@gnu.org, maechler@stat.math.ethz.ch To: Stephen Eglen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 22:27:33 2007 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 1HzIOL-0004uS-AW for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2007 22:27:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzIOK-0007os-Na for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2007 16:27:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzIOI-0007oR-1o for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 16:27:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzIOF-0007o7-Kz for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 16:27:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzIOF-0007o4-Fh for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 16:27:27 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HzIOE-0004pS-Sh for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2007 16:27:27 -0400 Original-Received: (qmail invoked by alias); 15 Jun 2007 20:27:25 -0000 Original-Received: from N828P004.adsl.highway.telekom.at (EHLO [62.47.47.100]) [62.47.47.100] by mail.gmx.net (mp037) with SMTP; 15 Jun 2007 22:27:25 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18OUy4csEEOl+dA2ppwvzMLgi64pfsZ1YvH6nnFB5 s2u9T48bt05Bxq User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:15892 Archived-At: > Put the following C comment into a file, called e.g. "s.c" > > /** > * Simple comment. > */ > > and then do: > > $emacs -q s2.c > > The comment is fontified as a "string", rather than a "comment". It is fontified as a "doc-string" (if you customize `font-lock-doc-face' you will see the difference). > If I > delete the 2nd asterisk on the first line, the font switches correctly > to be fontified as a comment. It is a "feature". Alan Mackenzie will explain this carefully and in full detail ... Alan, good evening, it's me again ;-)