GNU bug report logs - #3269
23.0.93; C-mode text highlighting

Previous Next

Packages: cc-mode, emacs;

Reported by: Thomas Christensen <thomasc <at> thomaschristensen.org>

Date: Wed, 13 May 2009 07:20:03 UTC

Severity: normal

Done: Glenn Morris <rgm+emacsbugs <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Alan Mackenzie <acm <at> muc.de>
Cc: emacs-pretest-bug <at> gnu.org, Chong Yidong <cyd <at> stupidchicken.com>,
        3269 <at> debbugs.gnu.org,
        Thomas Christensen <thomasc <at> thomaschristensen.org>,
        emacs-devel <at> gnu.org
Subject: bug#3269: 23.0.93; C-mode text highlighting
Date: Tue, 19 May 2009 10:36:05 -0400
>> In other words, messed-up highlighting for incorrect code is just as
>> good if not better than explicitly recognizing the incorrect code and
>> highlighting it with f-l-warning-face.

> I was thinking of "compatibility" with unterminated strings in normal
> code.  But they're not the same thing.  An open string in a #define is
> perfectly valid code, if somewhat unusual outside of the Obfuscated C
> competition.

> You've persuaded me that the existing fontification is actually better.
> So I won't be committing yesterday's patch.  Thanks!

I'm glad we ended up agreeing, tho for completely different reasons.

> I'll just finish the other patch and commit that.

Thanks,


        Stefan




This bug report was last modified 15 years and 179 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.