This is a major mode derived from the tex-mode in order to edit .gabc files for use with Gregorio. Gregorio is Free Software that is used to typeset Gregorian chant. You can find more about gregorio at its home page.
If you are on this page, you probably know how to use git. To install this major mode, just do the following:
cd ~/.emacs.d
git clone https://github.com/cajetanus/gregorio-mode.el.git
(load "~/.emacs.d/gregorio-mode.el/gregorio-mode")
You can then do C-x C-e at the end of this line, or simply restart Emacs. The major mode will activate when you visit an .gabc file.
Gregorio-mode is now available in the master branch of the el-get package system. Simply install el-get using the instructions for the master branch at the above link, and then install the ‘gregorio-mode’ package using this system. You can just type M-x and then
el-get-install
Followed by ‘gregorio-mode’. Then all should be automatic.
You can also install the gregorio mode recipe in your own ‘el-get-user/recipes’ folder by copying this file into
~/.emacs.d/el-get-user/recipes
Note you might have to create this directory if you don’t have it yet.
The folder that you obtained via git contains some documentation in html format. Simply visit open this folder with your webbrowser:
~/.emacs.d/gregorio-mode.el/docs/
The documentation can also be viewed HERE online.