For me on Arch, I have to do this in my emacs init file: (autoload 'LilyPond-mode "lilypond-mode") (setq auto-mode-alist (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\\.lyi$" . LilyPond-mode) auto-mode-alist))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock))) On Thu, Jul 4, 2024 at 12:50 PM Gilles Sadowski <gillese...@gmail.com> wrote: > Hello. > > Le jeu. 4 juil. 2024 à 17:05, Kenneth Flak > <kennethf...@protonmail.com> a écrit : > > > > "Kenneth Flak" <kennethf...@protonmail.com> writes: > > > > Sorry, forgot to add subject... Still getting used to mu4e :-D > > Kenneth > > > > > Hi list, > > > > > > I've started learning me a bit of emacs, and I would love to get > > > lilypond working with it as well... However, the installation > > > instructions in the documentation left me a bit baffled. It > > > *seems* I should be able to just require the lilypond files, as > > > they are nicely tucked away in > > > /usr/share/emacs/site-lisp. However, this doesn't do much for > > > me... Could someone hold my hand a little bit to get this set > > > up? > > > I'm on Arch Linux, using emacs 29.4. > > > On Debian/GNU Linux, it works "out of the box", perhaps due to: > > $ ls -l /etc/emacs/site-start.d/50lilypond-data.el > -rw-r--r-- 1 root root 185 Nov 17 2014 > /etc/emacs/site-start.d/50lilypond-data.el > > HTH, > Gilles > >