From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#4192: 23.1; special fontification for "//" in cc-mode Date: Tue, 18 Aug 2009 10:24:02 -0600 Message-ID: Reply-To: Tom Tromey , 4192@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250798985 30513 80.91.229.12 (20 Aug 2009 20:09:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 20:09:45 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 22:09:35 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 1MeDx0-0002kF-CJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 22:09:34 +0200 Original-Received: from localhost ([127.0.0.1]:49075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeDwz-0008OK-P4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 16:09:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeDvc-0007ql-Ou for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeDvY-0007oR-VS for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:08 -0400 Original-Received: from [199.232.76.173] (port=48444 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeDvY-0007oG-Gp for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44001) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeDvX-0005vY-3p for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:03 -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 n7KK6pa5010334; Thu, 20 Aug 2009 13:08:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7KK66rn010227; Thu, 20 Aug 2009 13:06:06 -0700 Resent-Date: Thu, 20 Aug 2009 13:06:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tom Tromey Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 20:06:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4192 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125061268726895 (code B ref -1); Thu, 20 Aug 2009 20:06:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Aug 2009 16:24:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 n7IGOXLm026880 for ; Tue, 18 Aug 2009 09:24:35 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdRU7-0005cp-PT for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2009 12:24:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdRU1-0005Zz-FP for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2009 12:24:30 -0400 Original-Received: from [199.232.76.173] (port=34007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdRU0-0005Zs-TX for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2009 12:24:25 -0400 Original-Received: from mx2.redhat.com ([66.187.237.31]:46595) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdRTz-00063G-Se for bug-gnu-emacs@gnu.org; Tue, 18 Aug 2009 12:24:24 -0400 Original-Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7IGO5mj030639 for ; Tue, 18 Aug 2009 12:24:05 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7IGO3D1027551; Tue, 18 Aug 2009 12:24:04 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7IGO2Wk011679; Tue, 18 Aug 2009 12:24:03 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 5C0EA3782CC; Tue, 18 Aug 2009 10:24:02 -0600 (MDT) X-Attribution: Tom X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 20 Aug 2009 16:08:08 -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:30335 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: This is a feature request for cc-mode. I work on a number of projects that use C89, not C99. In these projects, it is invalid to use "//"-style comment. It would be nice if cc-mode would optionally flag such comments in a special face, so that I can immediately see when I've written a comment incorrectly. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5) of 2009-08-03 on x86-5.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10601901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu ffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-spelling-mode: t erc-truncate-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t highlight-changes-visible-mode: t erc-status-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: e a t u r e s , SPC b u t SPC i t SPC d i d SPC b r e a k SPC w 3 m - e l SPC f o r SPC m e SPC : ( n o SPC m o r e SPC h t m l SPC m a i l SPC f o r SPC a SPC w h i l e m a y b e SPC t h a t SPC i s SPC a SPC p l u s SPC M-v M-> C-z o C-x b P C-x k C-x b L C-v C-v M-v M-v M-v C-z o C-h i d m c c SPC m C-v C-l m o d l C-v C-s c o m m e n t C-a m C-v C-s C-s C-v M-> C-s C-s C-s C-s C-s C-s C-s C-a C-v M-> C-s C-s C-s C-s C-a n n n n C-s C-s C-a SPC n u n n p 1 u SPC SPC SPC SPC SPC SPC p SPC n SPC n n u n SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC n SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC n SPC SPC SPC SPC SPC SPC n n n n n n C-s / / C-a C-v n C-s C-s C-a n n t C-s / / C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a q C-z o M-x r e p r o t - e C-u C-b C-b C-f C-t C-e m Recent messages: call-interactively: End of buffer Mark set Mark saved where search started Mark set Mark saved where search started Info-extract-pointer: Node has no Next [2 times] Searching subfile ccmode-2... uncompressing ccmode-2.gz...done uncompressing ccmode-1.gz...done Mark saved where search started Tom