Major mode for editing the song files of Patacrep songbook
Emacs Lisp
Pull request Compare This branch is even with crep4ever:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
readme.md
songbook.el

readme.md

Description

This emacs mode provides a major mode for the song files ".sg" of the Patacrep Songbook.

Screenshot

songbook-emacs-mode

Install

Move the file songbook.el in the emacs load path. For example :

mkdir -p ~/.config/emacs/
cp songbook.el ~/.config/emacs/

Then, configure your `.emacs' to associate automatically the songbook-mode with sg files :

echo "(setq load-path (cons \"~/.config/emacs\" load-path))" >> ~/.emacs
echo "(setq auto-mode-alist (cons '(\"\\.sg$\" . songbook-mode) auto-mode-alist))" >> ~/.emacs
echo "(setq auto-mode-alist (cons '(\"\\.sbd$\" . songbook-mode) auto-mode-alist))" >> ~/.emacs
echo "(autoload 'songbook-mode \"songbook\" \"Major mode for Patacrep's songbooks\" t)" >> ~/.emacs