[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: custom C highlighting / syntax coloring
From: |
Peter Boettcher |
Subject: |
Re: custom C highlighting / syntax coloring |
Date: |
Wed, 19 Mar 2003 09:58:03 -0500 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) |
[CC to author]
Chris Pickett <chris.pickett@mail.mcgill.ca> writes:
> Hi,
>
> I like how CC Mode (for a .c or .h file) automatically recognizes
> words ending in '_t' as being types and highlights them and the
> corresponding declarations. However, I am working on a large project
> with several other types. I need help customizing emacs to recognize
> these other patterns as types. I find it makes understanding the
> source, which I did not write, a lot easier.
Try the package "ctypes.el". It does exactly what you ask. I found a
copy here:
http://www.emacswiki.org/elisp/ctypes.el
--
Peter Boettcher
MIT Lincoln Laboratory
boettcher@ll.mit.edu
(781) 981-5275