GNU bug report logs - #23501
Non-regex-based syntax highlighting

Previous Next

Package: emacs;

Reported by: Nir Friedman <quicknir <at> gmail.com>

Date: Tue, 10 May 2016 03:29:02 UTC

Severity: wishlist

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nir Friedman <quicknir <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Non-regex-based syntax highlighting
Date: Mon, 9 May 2016 23:12:47 -0400
[Message part 1 (text/plain, inline)]
I'm considering using emacs as a platform for C++ development. One thing
that seems to lag behind on emacs at the moment is that all of the syntax
highlighting for C++ is (as far as I can tell) regex based. This severely
limits the accuracy and discrimination that the syntax highlighter can
achieve. There are now some packages for emacs that use a clang based
backends to get actual AST information. Perhaps it would be possible to
write some kind of hooks or template for major modes that would make it
easier for package authors to change how syntax highlighting is performed
in major modes?
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 341 days ago.

Previous Next


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