all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Own programming language mode - syntax highlighting
@ 2010-09-14 10:29 Gary
  2010-09-14 11:11 ` Oleksandr Gavenko
  2010-09-14 11:15 ` Deniz Dogan
  0 siblings, 2 replies; 5+ messages in thread
From: Gary @ 2010-09-14 10:29 UTC (permalink / raw)
  To: help-gnu-emacs

Following Xah Lee's excellent tutorial, I have been able to get the
basics done - syntax highlighting, indentation, and so on. What I am
missing is a small part of the syntax highlighting related to variables.

Declarations work fine - for example
int x = 0
is correctly highlighted. What I can't work out how to do is to
highlight declared variables in the rest of the code, for example when I
later use x such as
x = x+1

Does anyone have any ideas? Ideally I'd like to only highlight those
variables I have really declared, not something that just looks like it
*might* be a variable, so I can see immediately if I've made a mistake
in my coding or typing.

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.
GNU Emacs 23.2.1
emacsclient 23.2
1.7.7(0.230/5/3) 2010-08-31 09:58 Cygwin




^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.11.1284460213.12957.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-09-14 22:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-14 10:29 Own programming language mode - syntax highlighting Gary
2010-09-14 11:11 ` Oleksandr Gavenko
2010-09-14 11:15 ` Deniz Dogan
2010-09-14 11:43   ` Oleksandr Gavenko
     [not found] <mailman.11.1284460213.12957.help-gnu-emacs@gnu.org>
2010-09-14 22:19 ` Tim X

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.