Re: lilypond emacs-mode

2005-12-03 Thread Libero Mureddu
Hi, I found  a solution, even if the command patch reports a
problem: I just manually changed the lines in the lilypond-mode.el
file with those of the patch file, and now it works.

Thank you,

Libero Mureddu


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond emacs-mode

2005-12-02 Thread Libero Mureddu
First of all, thanks to Nicolas Sceaux: I'm very happy to have the
possibility to use emacs 22 and lilypond, since now I'm using a lot
Aquamacs. But still, I am a complete newbie, and so I couldn't
understand what I have to do with the patch attached to your mail. Can
you give me some instructions about?

Regards,

Libero Mureddu

I am using lilypond 2.7.20 on macos 10.4.3 and aquamacs 0.9.6


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond emacs-mode

2005-12-02 Thread Nicolas Sceaux
Libero Mureddu [EMAIL PROTECTED] writes:

 First of all, thanks to Nicolas Sceaux: I'm very happy to have the
 possibility to use emacs 22 and lilypond, since now I'm using a lot
 Aquamacs. But still, I am a complete newbie, and so I couldn't
 understand what I have to do with the patch attached to your mail. Can
 you give me some instructions about?

In a terminal, change to the directory where the file lilypond-mode.el
is, put the patch file there, and type the command: 
  patch -uN  lilypond-mode.patch

nicolas


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond emacs-mode

2005-12-02 Thread Libero Mureddu
On 12/2/05, Nicolas Sceaux [EMAIL PROTECTED] wrote:

 In a terminal, change to the directory where the file lilypond-mode.el
 is, put the patch file there, and type the command:
   patch -uN  lilypond-mode.patch

Thanks, I've tried, I gave to the patch file the name
lilypond-mode.patch and followed your insctructions, but I get an
error message. Here it is:

libero$ patch -uN  lilypond-mode.patch
patching file lilypond-mode.el
patch:  malformed patch at line 11: .ly

Can you help me in solving this?
Thanks

Libero Mureddu


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond emacs-mode

2005-11-26 Thread Nicolas Sceaux
Daniel Oehry [EMAIL PROTECTED] writes:

 lilypond emacs-mode does not work with CVS version of emacs (22.0.50.1).

Using lilypond-mode from CVS, I apply the following patch for GNU Emacs
22:

Index: lilypond-mode.el
===
RCS file: /cvsroot/lilypond/lilypond/elisp/lilypond-mode.el,v
retrieving revision 1.18
diff -u -r1.18 lilypond-mode.el
--- lilypond-mode.el12 Jun 2005 18:44:29 -  1.18
+++ lilypond-mode.el15 Oct 2005 11:17:42 -
@@ -393,11 +393,11 @@
   (let ((fnameprefix (if (eq LilyPond-command-current 'LilyPond-command-master)
 (substring (LilyPond-get-master-file) 0 -3); suppose 
.ly
   LilyPond-region-file-prefix))
-   (allcount (string-to-number (substring (count-midi-words) 0 -12)))
-   (count (string-to-number (substring (count-midi-words-backwards) 0 
-12
+   (allcount (count-midi-words))
+   (count (count-midi-words-backwards)))
 (concat  fnameprefix
 (if (and ( allcount 1) ( count 0)) ; not first score
-(if (eq count allcount)  ; last score
+(if (= count allcount)  ; last score
 (concat - (number-to-string (+ count -1)))
   (concat - (number-to-string count
 .midi)))
@@ -407,7 +407,7 @@
   (let ((fnameprefix (if (eq LilyPond-command-current 'LilyPond-command-master)
 (substring (LilyPond-get-master-file) 0 -3); suppose 
.ly
   LilyPond-region-file-prefix))
-   (allcount (string-to-number (substring (count-midi-words) 0 -12
+   (allcount (count-midi-words)))
 (concat (if ( allcount 0)  ; at least one midi-score
(concat fnameprefix .midi ))
(if ( allcount 1)  ; more than one midi-score


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond emacs mode

2002-05-23 Thread Mats Bengtsson

 Hi,
 Does anybody have any tips on getting the emacs mode working?
 
 I currently get:
 file mode specification error: (file-error Cannot open load file 
 lilypond-indent)
 
 Colin

Which Lilypond version do you use?
In Lilypond 1.4.12, this file was unfortunately missing
in the distribution, so if you have 1.4.12, the best 
solution is to upgrade to 1.4.13 or to get the file
lilypond-indent.el from the 1.4.13 source code distribution
and install it at the same location as you currently have
lilypond-mode.el installed on your machine.

  /Mats



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user