Paul,
Are you using Linux or Windows XP?
After you install LilyPond, you'll have all the files you need for
lilypond-mode to work right there in your installation directory. You'll
just need to tell Emacs where to locate them.
In your .emacs.d directory you'll need a file called "init.el" It may
already be present. If it's not, create it.
In that file, past the following lines:
(setq load-path (append (list (expand-file-name
"*//home/david/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)))
I've bolded and italicized the path to my lilypond-mode files. Change
them to in your init.el to point to the location of yours and you should
be all set.
Hope that helps,
David
Paul Scott wrote:
James E. Bailey wrote:
On 23.07.2009, at 04:20, Paul Scott wrote:
Hi,
I'm resurrecting a laptop whose hard drive died. I'm trying to set
up Emacs lilypond-mode.
AU 2.2.1 tells me to do a 'make install' in the elisp directory. I
don't see a makefile and 'make install' doesn't find an install
target rule. Am I missing something or are the docs behind?
Thanks,
Paul Scott
That only applies if lilypond-mode isn't installed on your platform
(first paragraph, last sentence).
I believe that lilypond isn't installed. This is a fresh install of
everything since the hard drive died.
Even so why would the makefile be gone if I had done the lilypond-mode
install.
Usually you can just move the files to where they need to go and
ammend your ~/.emacs appropriately
I do see where the lilypond-mode file is so I can probably install it
manually but I still wonder about the documentation.
Thanks,
Paul
James E. Bailey
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user