all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Boettcher <boettcher@ll.mit.edu>
Subject: Re: custom C highlighting / syntax coloring
Date: Wed, 19 Mar 2003 09:58:03 -0500	[thread overview]
Message-ID: <trllzb9zes.fsf@coyote.llan.ll.mit.edu> (raw)
In-Reply-To: mailman.3348.1048030940.21513.help-gnu-emacs@gnu.org


[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

  parent reply	other threads:[~2003-03-19 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3348.1048030940.21513.help-gnu-emacs@gnu.org>
2003-03-19 14:32 ` custom C highlighting / syntax coloring Javier Oviedo
2003-03-19 14:58 ` Peter Boettcher [this message]
2003-03-19 16:19   ` Matthew Kennedy
2003-03-18 23:42 Chris Pickett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trllzb9zes.fsf@coyote.llan.ll.mit.edu \
    --to=boettcher@ll.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.