Emacs Lisp How to Write Major Mode

How to Write Major Mode

  1. Syntax Coloring
  2. Simple Example html6-mode
  3. Font Lock Mode
  4. Define Font/Face
  5. Comment Coloring
  6. Comment Command
  7. Own Comment Command
  8. Keyword Completion
  9. Create Keymap
  10. Function Templates
  11. Text Properties
  12. Overlay Highlighting
  13. 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
Like my tutorial? Put $5 at patreon

Or Buy Xah Emacs Tutorial

Or buy a nice keyboard: Best Keyboard for Emacs