|
From: | Paul Scott |
Subject: | Re: installing lilypond-mode for emacs on Linux Done |
Date: | Sat, 9 Apr 2022 11:58:56 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
On 4/7/22 22:36, Paul Scott wrote:
On 4/7/22 16:17, David Kastrup wrote:Paul Scott <waterhorse@ultrasw.com> writes:On 4/7/22 15:08, David Kastrup wrote:Paul Scott <waterhorse@ultrasw.com> writes:Which begs the question: just what have you installed where and how withOn 4/7/22 14:15, David Kastrup wrote:Paul Scott <waterhorse@ultrasw.com> writes:On 4/7/22 13:02, David Kastrup wrote:Paul Scott <waterhorse@ultrasw.com> writes:Greetings, I've forgotten too much. I see the instructions for activating lilypond-mode and am not remembering enough to get it to work. TIA for any help,cd elisp make sudo make installI'm not finding a makefile.Have you tried?Yes. I've looked for many files like elisp and lilypond-mode in my attempts.There is GNUmakefile which will get picked up by, well, GNU Make.I hadn't thought of GNUmakefile but according to updatedb and locate there are only two clearly unrelated GNUmakefiles on this computer.regard to LilyPond?I have Lily 2.22-2 and 2.23.6 installed.Where and how?2.22.2: Debian install 2.23.6: .sh file from LilyPond web site.
Nothing resolved about a makefile.My solution from various helpful suggestions here and a couple of web sites and my own previous installation:
In .emacs.d directory I have the following init.el starting with the following:
(setq load-path (append (list (expand-file-name "/usr/local/lilypond/usr/share/emacs/site-lisp/" )) load-path))
(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode)) (add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode)) (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))Most of my music is in .ily files included in .ly files for each instruments or scores.
Thank to everyone who replied, Paul
Paul
[Prev in Thread] | Current Thread | [Next in Thread] |