unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to write a major mode?
@ 2003-08-21 17:50 Arjan Bos
  2003-08-21 18:23 ` Phillip Lord
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Arjan Bos @ 2003-08-21 17:50 UTC (permalink / raw)


Hi all,

Are there any pointers to documentation that show me how to program my 
own major mode? We created our own language with antlr, and of course we 
  want it font-locked and indented automatically from within emacs.

1) Which functions do I need to create?
2) Are there any elisp docs out there that could help me with those 
function?
3) What is the best way to provide indenting and font-locking?

Is there a small, well documented major-mode that I can use as a basis?

These are a lot of questions. I hope I get answers to them all ;-)

TIA

Arjan Bos

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-08-28 13:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-21 17:50 How to write a major mode? Arjan Bos
2003-08-21 18:23 ` Phillip Lord
2003-08-27 20:16   ` Kai Großjohann
2003-08-28 10:59     ` Phillip Lord
2003-08-21 18:24 ` Lute Kamstra
2003-08-21 20:54   ` Johan Bockgård
2003-08-21 23:53   ` Alex Schroeder
2003-08-26 18:40 ` Arjan Bos
2003-08-28 13:49   ` Rob Thorpe
2003-08-27 20:18 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).