]> git.donarmstrong.com Git - lilypond.git/commitdiff
Updates for MacOS X and emacs mode.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 12 Apr 2002 08:17:35 +0000 (08:17 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 12 Apr 2002 08:17:35 +0000 (08:17 +0000)
ChangeLog
Documentation/topdocs/INSTALL.texi

index c356df5726f823b3ef03cb5c9f5688aea22873be..de0b82e50f401b391cdaf6c09b7c4422e1e2128e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-04-12  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * Documentation/topdocs/INSTALL.texi: Updates for MacOS X and
+       emacs mode.
+
        * Documentation/windows/installing.texi: Suggest gswin32c (console
        program) for getting the version.  Layout fixes.
 
index 6349d6ddc8ceeb9b574979557e2057cb846919f0..26ff4234d688fdab7e95bea681ad22f45f7744b7 100644 (file)
@@ -295,22 +295,25 @@ and for the profiling version, I specify a different configuration.
 @section Emacs mode
 
 An Emacs mode for entering music and running LilyPond is included with
-the source archive as @file{lilypond-mode.el} and
-@file{lilypond-font-lock.el}.  You should install these files somewhere
-in your @var{load-path}.  If you have installed a precompiled LilyPond
-package, these files can be found in
-@file{/usr/share/doc/lilypond-x.y.z/}.
+the source archive as @file{lilypond-mode.el},
+@file{lilypond-indent.el} and @file{lilypond-font-lock.el}.  You
+should install these files somewhere in your @var{load-path}.  If you
+have installed a precompiled LilyPond package, these files can be
+found in @file{/usr/share/doc/lilypond-x.y.z/}.
 
 Add this to your @file{~/.emacs} or @file{~/.emacs.el}, or install this
 file in Emacs' @file{site-start.d}:
+@quotation
 @example
-    ;;; lilypond-init.el --- Startup code for LilyPond mode
+  ;;; lilypond-init.el --- Startup code for LilyPond mode
+
+  (autoload 'LilyPond-mode "lilypond-mode")
+  (setq auto-mode-alist
+        (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
 
-    (load-library "lilypond-mode.el")
-    (setq auto-mode-alist
-      (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
-    (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
+  (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
 @end example
+@end quotation
 
 If you have the latest LilyPond-1.4.x Debian package, LilyPond-mode is
 automatically loaded, you not even need to modify your @code{~/.emacs}
@@ -519,6 +522,28 @@ interfere with your build, you may want to do this before the build too:
 
 @subsection MacOS X
 
+LilyPond is available through fink, in the unstable cvs distribution.
+
+You need to:
+@itemize @bullet
+@item Get the Fink package manager from @uref{http://fink.sourceforge.net}
+@item Get the Lilypond package description by enabling the "unstable" tree
+in fink and executing @command{fink selfupdate-cvs}.
+@end itemize
+
+Then do:
+@quotation
+@example
+       fink install lilypond-unstable
+@end example
+@end quotation
+
+That's it!  The command should compile and install all LilyPond
+prerequisites (python, TeX, X11, ghostscript) and then LilyPond
+itself.
+
+
+@subsubsection compiling on MacOS X
 LilyPond has been built on Darwin, to be precise, on:
 @example
     Darwin buoux.aspiratie.nl 5.3 Darwin Kernel Version 5.3: Thu Jan 24