Emacs, How to Write Major Mode

  1. Syntax Coloring
  2. Simple Example html6-mode
  3. Define Font/Face
  4. Comment Coloring
  5. Comment Command
  6. Own Comment Command
  7. Keyword Completion
  8. Create Keymap
  9. Function Templates
  10. Overlay Highlighting
  11. Doc Lookup Command

  1. Major Mode Naming
  2. What's “feature”?
  3. require, load, load-file, autoload, feature

Syntax Table

  1. Syntax Table Tutorial
  2. How to Find Syntax of a Character?
  3. How to Modify Syntax Table Temporarily
  4. Determine If Cursor is Inside String or Comment
  5. Find Matching Bracket Character