From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#3269: 23.0.93; C-mode text highlighting Date: Mon, 18 May 2009 21:16:08 +0000 Message-ID: <20090518211608.GC12920__25313.4384322495$1242682350$gmane$org@muc.de> References: <878wl1h5fw.fsf@ancient.thomaschristensen.org> <20090514213924.GB2413@muc.de> <20090518150643.GA12920@muc.de> <87iqjygy8e.fsf@cyd.mit.edu> Reply-To: Alan Mackenzie , 3269@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 1242682350 26011 80.91.229.12 (18 May 2009 21:32:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 May 2009 21:32:30 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 3269@emacsbugs.donarmstrong.com, Thomas Christensen , emacs-devel@gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 18 23:32:22 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 1M6ARa-0007vE-4O for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 May 2009 23:32:22 +0200 Original-Received: from localhost ([127.0.0.1]:37555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6ARZ-0003QW-K0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 May 2009 17:32:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6ARK-0003MU-Jz for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 17:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6ARF-0003Jw-AK for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 17:32:05 -0400 Original-Received: from [199.232.76.173] (port=50066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6ARF-0003Jq-6X for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 17:32:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49130) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6ARE-0005IK-ID for bug-gnu-emacs@gnu.org; Mon, 18 May 2009 17:32:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4ILVu58002095; Mon, 18 May 2009 14:31:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4ILK6Xk030691; Mon, 18 May 2009 14:20:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Alan Mackenzie Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 18 May 2009 21:20:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3269 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3269-submit@emacsbugs.donarmstrong.com id=B3269.124268133229769 (code B ref 3269); Mon, 18 May 2009 21:20:06 +0000 Original-Received: (at 3269) by emacsbugs.donarmstrong.com; 18 May 2009 21:15:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.muc.de (qmailr@colin.muc.de [193.149.48.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4ILFQRq029760 for <3269@emacsbugs.donarmstrong.com>; Mon, 18 May 2009 14:15:28 -0700 Original-Received: (qmail 45474 invoked by uid 3782); 18 May 2009 21:15:26 -0000 Original-Received: from acm.muc.de (pD9E22FAC.dip.t-dialin.net [217.226.47.172]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 18 May 2009 23:15:24 +0200 Original-Received: (qmail 21744 invoked by uid 1000); 18 May 2009 21:16:08 -0000 Content-Disposition: inline In-Reply-To: <87iqjygy8e.fsf@cyd.mit.edu> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 18 May 2009 17:32:05 -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:27992 Archived-At: Hi, Yidong! On Mon, May 18, 2009 at 12:41:21PM -0400, Chong Yidong wrote: > Alan Mackenzie writes: > >> The "foo" line has lost its fontification, and this is the bug. I > >> know what's causing it, and it _might_ be easily fixable. What's > >> more, I don't this bug was in Emacs 22 > > OK, here is a patch for half of the problem - it now fontifies a > > broken string in a #define properly - just that you need to type M-o > > M-o after the change. Would you check that this works properly > > please, Thomas! > > The second half of the problem is to fix it so that you don't have to > > type MoMo afterwards. Any change you'll let me do this before this > > week's pretest, Yidong? > Could you test these patches on some large C files, to make sure they > don't cause any additional performance problems? But if everything > seems OK, please go ahead and check both patches in. I've got both bits working now. I'll do some more testing, and I expect to be committing the whole caboodle withing 24 hours. -- Alan Mackenzie (Nuremberg, Germany).