gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilypond-mode.el patch


From: Laurent Martelli
Subject: lilypond-mode.el patch
Date: 05 Mar 2001 01:59:38 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Here's a little patch that does 2 things : 

    1. Be case insentive on C-c C-c and other commands

    2. Add a command to run timidity on the midi file

--- /usr/share/emacs/site-lisp/lilypond-mode.el Thu Feb  8 19:06:48 2001
+++ /home/laurent/elisp/lilypond-mode.el        Mon Mar  5 02:01:53 2001
@@ -131,7 +131,7 @@
   `(
     ("LilyPond" . ("lilypond %s" . "TeX"))
     ("TeX" . ("tex '\\nonstopmode\\input %t'" . "View"))
-
+    ("Timidity" . ("timidity %m" . "LilyPond"))
     ("2Dvi" . ("ly2dvi %s" . "View"))
 
     ("Book" . ("lilypond-book %x" . "LaTeX"))
@@ -174,6 +174,7 @@
     ("%p" . ".ps")
     ("%l" . ".latex")
     ("%x" . ".tely")
+    ("%m" . ".midi")
     )
     
   "Alist of expansion strings for LilyPond command names."
@@ -212,7 +213,8 @@
 
 (defun LilyPond-command-query (name)
   "Query the user for what LilyPond command to use."
-  (let* ((default (cond ((if (string-equal name "emacs-lily")
+  (let* ((completion-ignore-case t)
+        (default (cond ((if (string-equal name "emacs-lily")
                             (LilyPond-check-files (concat name ".tex")
                                                   (list name)
                                                   LilyPond-file-extensions)

-- 
Laurent Martelli
address@hidden              http://www.linuxfan.com/~laurent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]