As emacs is a harsh way of life, having documented things for other people is a good way to give back. Too bad it’s hard for first timers. But I guess that’s why people stick with it…it’s a point of pride.
So how do you install a major mode for emacs? First, you need to find out what your emacs load path is.
C-h v load-path
Then put the following in your “.emacs” file. This file exists in your home directory, and if it doesn’t exist, create it.