help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Syntax highlighting question


From: William Payne
Subject: Syntax highlighting question
Date: Mon, 16 Feb 2004 16:30:14 +0100

Hello, I'm using Emacs to code in C and C++. I have syntax highlighting and
automatic indentation set up to a decent level (not perfect yet), but I have
a really annoying problem.
Example:
when I type the following:
pthread_t mythread;
emacs displays "pthread_t" in white, bold text and "mythread" in normal,
yellow text. Just as I want it. But now when I have to use the Win32 for a
project, emacs doesn't recognise the window datatypes as datatypes. So
HWND mywindow; is displayed by Emacs in white, normal text. How can I make
Emacs recognise the windows data types as data types, so they get
highlighted properly?

/ WP




reply via email to

[Prev in Thread] Current Thread [Next in Thread]