From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#13612: 24.3.50; Incorrect syntax highlighting in cc-mode Date: Sat, 02 Feb 2013 15:35:17 -0800 Message-ID: <874nhuguh6.fsf@shorty.local.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359850273 31506 80.91.229.3 (3 Feb 2013 00:11:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2013 00:11:13 +0000 (UTC) To: 13612@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 03 01:11:33 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U1nBF-0006rO-7E for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Feb 2013 01:11:33 +0100 Original-Received: from localhost ([::1]:54871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1nAw-0008ED-Nf for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2013 19:11:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1nAr-0008Di-Ru for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:11:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1nAo-00007P-Vw for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:11:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1nAo-00007K-SB for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:11:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U1nBi-0003W8-N2 for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Feb 2013 00:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13612 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135985031113499 (code B ref -1); Sun, 03 Feb 2013 00:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Feb 2013 00:11:51 +0000 Original-Received: from localhost ([127.0.0.1]:33332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1nBW-0003Vf-Fp for submit@debbugs.gnu.org; Sat, 02 Feb 2013 19:11:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44016) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U1nBS-0003VX-Nq for submit@debbugs.gnu.org; Sat, 02 Feb 2013 19:11:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1nAT-0008Vo-8a for submit@debbugs.gnu.org; Sat, 02 Feb 2013 19:10:50 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:35845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1nAT-0008Vc-63 for submit@debbugs.gnu.org; Sat, 02 Feb 2013 19:10:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1nAP-0007zL-Al for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:10:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1nAL-0008U4-7G for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:10:41 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:34194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1nAK-0008Tn-VC for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 19:10:37 -0500 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 1AF5B20DBE for ; Sat, 2 Feb 2013 18:35:19 -0500 (EST) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 02 Feb 2013 18:35:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=aq+takvepHyKl/NZ6nh/FLMyET4=; b=gs9WGEkyPWcL/oMN9pxdt fFNGqUdM5JnCaaM512eMK+3dN5SvcCrbJqWiXO3Qf4tHqRTD8whhkKxjY/UJO3Po nabN44iXByv9xbPP7dqgqViE2iC3E1zKlI3J+0fygET/7A5w9PgMdMLJIvEMH47M qGubWwHM/LgoAC7EK1EGsE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=aq+takvepHyKl/NZ6nh/FL MyET4=; b=rS9tjffizuD6HBFOR0iOIWkZzET5dtSwICk4oFKaVAJ9QQk6SCykS/ cDW/35h41zyiFovdVF/u4rJw7HG4M0LjJ77xdWTTUsz81qELDGwRFeNv0VP1AVef P1J7thdUsx94cmYR3Jyvx5/LLzgP9HVrTDsf4j/pCqLBGlSJnApCA= X-Sasl-enc: MifHfAUOTi9penL4WgQaKcc4eNgty1dHWAC8WNT3QvW3 1359848118 Original-Received: from shorty.local (unknown [76.169.247.77]) by mail.messagingengine.com (Postfix) with ESMTPA id A76368E0912 for ; Sat, 2 Feb 2013 18:35:18 -0500 (EST) Original-Received: from dima by shorty.local with local (Exim 4.80) (envelope-from ) id 1U1mc9-0005D6-Ah for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2013 15:35:17 -0800 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70619 Archived-At: I'm observing incorrect highlighting of some C code I'm looking at. This issue appears to have been around at least since emacs23. Make a file tst.c with the following in it: void f(void) { filter_R( dt ); filter_t( dt ); a = b; } I'm observing the filter_R line being colored differently from the filter_t line. Everything on the filter_R line is using the 'default' face. 'filter_t' uses font-lock-type-face. 'dt' on the filter_t line uses font-lock-variable-name-face. In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2012-12-31 on dex, modified by Debian (emacs-snapshot package, version 2:20121231-1) Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux 7.0 (wheezy) Configured using: `configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/ --with-x=yes --with-x-toolkit=lucid' Important settings: value of $LC_ALL: C value of $LANG: C locale-coding-system: nil default enable-multibyte-characters: t Major mode: C/l Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail gnus-util message cl-macs gv format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader reporter etags ring info misearch multi-isearch pp wid-edit descr-text reposition jka-compr find-func thai-util thai-word mule-util help-mode help-fns crm thingatpt cc-langs cl nadvice cl-lib cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs)