From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Newsgroups: gmane.emacs.bugs Subject: bug#7326: 24.0.50; cc-mode: No instant fontification of certain typedefs Date: Wed, 03 Nov 2010 17:36:09 -0600 Message-ID: <86fwvi56ae.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288836977 5927 80.91.229.12 (4 Nov 2010 02:16:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2010 02:16:17 +0000 (UTC) To: 7326@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 04 03:16:12 2010 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.69) (envelope-from ) id 1PDpN6-00030B-Ah for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Nov 2010 03:16:12 +0100 Original-Received: from localhost ([127.0.0.1]:40860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDpN5-0005Gg-HG for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Nov 2010 22:16:11 -0400 Original-Received: from [140.186.70.92] (port=53188 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDorV-0002Ds-6Q for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 21:43:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDorP-0001Qk-Jf for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 21:43:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDorP-0001Qg-IA for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 21:43:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PDojG-0005UU-No; Wed, 03 Nov 2010 21:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Nov 2010 01:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7326 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.128883448521084 (code B ref -1); Thu, 04 Nov 2010 01:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Nov 2010 01:34:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PDoiz-0005U1-Ct for submit@debbugs.gnu.org; Wed, 03 Nov 2010 21:34:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PDoix-0005Tw-IA for submit@debbugs.gnu.org; Wed, 03 Nov 2010 21:34:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDonA-0007w0-3T for submit@debbugs.gnu.org; Wed, 03 Nov 2010 21:39:09 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:60698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDon9-0007vv-UW for submit@debbugs.gnu.org; Wed, 03 Nov 2010 21:39:04 -0400 Original-Received: from [140.186.70.92] (port=53670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDon4-0002HH-QZ for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 21:39:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDmsG-0004DT-9W for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 19:36:13 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:60340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDmsG-0004DO-1c for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2010 19:36:12 -0400 Original-Received: by gxk2 with SMTP id 2so1064188gxk.0 for ; Wed, 03 Nov 2010 16:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type; bh=9pzuyQxNGD2OvwG60BvEK9XhpMZe9evemrncATXOPbE=; b=Ot5PaDyscjG71dUw/WOotEk0bARGp9xnxrXb0YPYj4NwmB+cuhpybgkr88i9gCC/LF KAU638kaV8QuEqphtad4yHOzis4wQwDRecQ5KjlqeJfI4LIVzf/0MmcCr463Ah+mt45q BL/JC6iGXebBW3ml5dCxcSLytNLs+kAkcBfd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; b=Jd+sNG7IZ6JC+hZTJ7BiVc5WMzc54u4L9QqMd4Y7HPdWiz3rIgkZF1hEnCXNUV9CHV V1sWLw/fiw8QvpG3QNreJ+6W86K9ff3iJ68VhFmzgiBbQJ4RIXbXrYfZp3ilSywcY3kI Zu4e1imIK7e8efHegWz4gL2KnNTsL4OC4SAEs= Original-Received: by 10.150.135.17 with SMTP id i17mr59452ybd.119.1288827371374; Wed, 03 Nov 2010 16:36:11 -0700 (PDT) Original-Received: from localhost (71-208-193-55.hlrn.qwest.net [71.208.193.55]) by mx.google.com with ESMTPS id v12sm10168882ybk.23.2010.11.03.16.36.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Nov 2010 16:36:10 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 03 Nov 2010 21:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:41383 Archived-At: Start with `emacs -Q'. Create .c file. Type typedef struct { unsigned int foo; } FooStruct; `FooStruct' will be fontified as type immediately (green). Then, right after that, type typedef struct { unsigned int bar; } BarStruct; `BarStruct' will not be fontified as type immediately and stays black. However, when I kill the buffer and reopen it, `BarStruct' is correctly fontified as type (green). It seems like the first type in the buffer is fontified correctly, but the second one is only after reloading the buffer. This occurs in 24.0.50, bzr rev102241. In GNU Emacs 24.0.50.1 (i386-mingw-nt6.1.7600) of 2010-11-03 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7600 configured using `configure --with-gcc (4.5) --cflags -IC:/Progra~2/GnuWin32/include -ID:/devel/emacs/libXpm-3.5.8/include -ID:/devel/emacs/libXpm-3.5.8/src' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: ido-everywhere: t yas/global-mode: t yas/minor-mode: t global-auto-revert-mode: t tooltip-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t Recent input: C-x RET r e p o r t Recent messages: Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/windows.el (source)...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins.el (source)... Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins/color-theme/themes/color-theme-example.el (source)...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins/color-theme/themes/color-theme-library.el (source)...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins/zenburn.el (source)...done Ido mode enabled Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/anything-c-adaptive-history...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins.el (source)...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/custom.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message 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 emacsbug server js2-mode-autoloads rainbow-mode-autoloads package re-builder dired+ dired-x ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux ibuffer nav nav-tags python-21 python nav-bufs anything-config warnings browse-url semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw loaddefs eieio byte-opt bytecomp byte-compile mode-local cedet imenu bookmark pp dired rx ffap thingatpt anything google-c-style cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs grep-o-matic grep compile comint browse-kill-ring+ browse-kill-ring second-sel ido yasnippet dropdown-list derived easy-mmode assoc etags-table etags ring remember zenburn color-theme edmacro kmacro wid-edit cl sendmail regexp-opt reporter easymenu uniquify advice help-fns advice-preload autorevert tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe 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 button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)