Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Major mode for editing the song files of Patacrep songbook

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.