Emacs major mode for editing songs .sg in the patacrep songbook .
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
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

=====