From unknown Thu Jun 19 13:56:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7326 <7326@debbugs.gnu.org> To: bug#7326 <7326@debbugs.gnu.org> Subject: Status: 24.0.50; cc-mode: No instant fontification of certain typedefs Reply-To: bug#7326 <7326@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:56:21 +0000 retitle 7326 24.0.50; cc-mode: No instant fontification of certain typedefs reassign 7326 emacs,cc-mode submitter 7326 Christoph severity 7326 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 03 21:34:45 2010 Received: (at submit) by debbugs.gnu.org; 4 Nov 2010 01:34:45 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 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 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 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 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 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= Received: by 10.150.135.17 with SMTP id i17mr59452ybd.119.1288827371374; Wed, 03 Nov 2010 16:36:11 -0700 (PDT) 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) From: Christoph To: bug-gnu-emacs@gnu.org Subject: 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> MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) 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) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 08 00:50:52 2016 Received: (at 7326) by debbugs.gnu.org; 8 Sep 2016 04:50:52 +0000 Received: from localhost ([127.0.0.1]:53079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhrIZ-0000Z4-Pc for submit@debbugs.gnu.org; Thu, 08 Sep 2016 00:50:51 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:38469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhrIY-0000Ym-C3; Thu, 08 Sep 2016 00:50:50 -0400 Received: by mail-it0-f44.google.com with SMTP id c198so60569992ith.1; Wed, 07 Sep 2016 21:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=z9Db7md14wYNLkIFkeabdY46OXHc1l09lJLxnLxBAhU=; b=PJQZo8NefmL2InkfHNCRr87bH1BCLst7PekD6hsltwKFg920OYlTmdYlsfyR7NmJx5 /OCoIWTdR/FhU59nfUBlmltqJ2GYTEaWdNIP4O1xQbmgpKAgmATMBJpbmmbTsM/K09ul jH+H/mae/vr6M4JzkXAt7coZB92hxtwGnWrDCMyR5hcedeS4ob2rWZEJzIlV6TS0bR4a gfFELR+blJXwb9IaG9aX94DbXuE8GePOuab8Gx9Vp3CayBfpIF2t0IFjvKf3+0Lxb+Lh dVsyLoN7wf5MYMOpKWFHwDkV0uUoKwEtCd1V2jiZO3kWFQIg2JWXzeW3VivWouJcKsOX UEOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=z9Db7md14wYNLkIFkeabdY46OXHc1l09lJLxnLxBAhU=; b=VOUh8eWgSn2icnkWPzCrUYcFngtCj7zN1pcZzNyXCeZiAfEDSrQMWdW/cHmY0OwcPP bnVzuH6ofMP1HsCoIgaOQJoYINufQ4CGKWPBI+3nDFYSMBhzhkEf6MgA7CDuPuu+5z0m 7VRwtrtMBV2Nk09yJB7I7t2ER46d+mhpAYsLN4gu9U/io0GFjIXFOjlafW7iL0q/jwvN jNb3hvTxMjTvG49th6SaQIn3s3Z+sDzn2wvWOSOCIAQibkPuzdvkIeBC8hGb6XmtGo0f DQQg2A6IwEP8thL3n7zlfAd0Sl3Rfd5YL6r4e/AotZIyVrBZD5os1JCa4orjHZm2YHqo bWiA== X-Gm-Message-State: AE9vXwPrvJRCGUVegnecUagA8xYnBBpf6zAbRWmfXPnmIqPjzXvAuGcEh9rXCBpmz8ANnw== X-Received: by 10.36.60.131 with SMTP id m125mr13026934ita.4.1473310244707; Wed, 07 Sep 2016 21:50:44 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id k63sm5630272ith.16.2016.09.07.21.50.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Sep 2016 21:50:44 -0700 (PDT) From: Alex To: Christoph Subject: Re: bug#7326: 24.0.50; cc-mode: No instant fontification of certain typedefs References: <86fwvi56ae.fsf@gmail.com> Date: Wed, 07 Sep 2016 22:50:42 -0600 In-Reply-To: <86fwvi56ae.fsf@gmail.com> (Christoph's message of "Wed, 03 Nov 2010 17:36:09 -0600") Message-ID: <87y4338065.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 7326 quit Christoph writes: > 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. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (agrambot[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.44 listed in list.dnswl.org] 2.4 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.214.44 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.44 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid X-Debbugs-Envelope-To: 7326 Cc: 7326@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 7326 quit Christoph writes: > 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. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.44 listed in list.dnswl.org] 2.4 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [209.85.214.44 listed in dnsbl.sorbs.net] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.44 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (agrambot[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid close 7326 quit Christoph writes: > 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. I can't reproduce this in 24.4 and up, so I'm closing this. Please re-open if you disagree. From unknown Thu Jun 19 13:56:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Oct 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator