From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#7326: 24.0.50; cc-mode: No instant fontification of certain typedefs Date: Wed, 07 Sep 2016 22:50:42 -0600 Message-ID: <87y4338065.fsf@gmail.com> References: <86fwvi56ae.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473310284 14333 195.159.176.226 (8 Sep 2016 04:51:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 04:51:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 7326@debbugs.gnu.org To: Christoph Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 06:51:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhrIw-0002bd-TZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 06:51:15 +0200 Original-Received: from localhost ([::1]:44993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhrIu-0003N2-SJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 00:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhrIo-0003LZ-BJ for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 00:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhrIk-00007S-3r for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2016 00:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhrIj-00007O-VN; Thu, 08 Sep 2016 00:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bhrIj-0000Za-Po; Thu, 08 Sep 2016 00:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 08 Sep 2016 04:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7326 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 7326-submit@debbugs.gnu.org id=B7326.14733102522183 (code B ref 7326); Thu, 08 Sep 2016 04:51:01 +0000 Original-Received: (at 7326) by debbugs.gnu.org; 8 Sep 2016 04:50:52 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <86fwvi56ae.fsf@gmail.com> (Christoph's message of "Wed, 03 Nov 2010 17:36:09 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123080 Archived-At: 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.