Please find included the untested patch for more fingers.
diff --git a/scm/output-lib.scm b/scm/output-lib.scm
index 2978f3b..d92f30c 100644
--- a/scm/output-lib.scm
+++ b/scm/output-lib.scm
@@ -416,7 +416,7 @@ centered, X==1 is at the right, X == -1
(if (> digit 5)
(ly:input-message (ly:event-property event 'origin)
- "Music for the martians"))
+ (string-append "Warning: Fingering notation for finger number
" (number->string digit))))
(number->string digit 10)
))
And why it took so long:
Mmph, Software hate alert! (Oh and please, do not answer this part as
I won't react to it)
Let me bore you with my rant on how to create a patch as requested:
<rant>
When trying to be helpful and create a patch, I noticed that the
development switched from CVS to GIT. Why? Now I have to find out
what git is, how it works and how to get it. First try Fink as that's
the semi-default package manager on Darwin. It cannot connect to cvs
to update itself. The error message tells me to try again later.
Mmph, only later it still doesn't work. Turns out I have to run an
update script that is almost guaranteed not to work and which should
be babysitted for several hours. Hate.
Then it turns out that Fink doesn't know about git either, so I have
to get it myself.
Grab the tar, put it in /usr/local/src/ and run ./configure.
What? No configure? Why does it not adhere to some sane standards!
Now I have to read the install file.
Ok I have to run make configure first. Why didn't they do that for me
in the release version? Hate.
Make configure
./configure
Make all docs
make: *** [doc] Error 2. Turns out I don't have asciidoc and neither
does fink. How stupid. So where do I find a correct version of
asciidoc and why didn't ./configure tell me that I needed it? Hate.
Where can I find has asciidoc? Stupid sourceforge has it which cannot
handle its own bandwith. So I have to wait 25 minutes for it to
download 743KBytes. On a 4Mbit ADSL line. I hate that!
asciidoc requires python 2.4.2. How do I find out the version number?
arjanbos$ python --version
Unknown option: --
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
I hate that when programs don't adhere to sane standards.
arjanbos$ python -V
Python 2.4.2
I have to install it like this:
$ su
# ./install.sh
What? I don't even have a root account enabled on this machine! Why
do you want me to become root you stupid program!
So asciidoc is installed, Will git compile now?
make[1]: xmlto: Command not found
make[1]: *** [git-add.1] Error 127
Please? What is xmlto?
Luckily fink knows about it. And apparently, it has to install 35
extra packages to do some simple xml.
Then I have to checkout the source-code from git. This takes ages!
What is it doing? Why does it have to resolve 14885 deltas when it
could just get me the latest source?
So finally I'm in a position where I can find the message, make the
change and be done with it.
So let git show the diff
git diff
diff --git a/scm/output-lib.scm b/scm/output-lib.scm
index 2978f3b..4e2ac2a 100644
--- a/scm/output-lib.scm
+++ b/scm/output-lib.scm
@@ -416,7 +416,7 @@ centered, X==1 is at the right, X == -1
(if (> digit 5)
(ly:input-message (ly:event-property event 'origin)
- "Music for the martians"))
+ (string-append "Warning: Fingering notation
for finger
(number->string digit 10)
))
Wait a minute! This is not right, I'm missing all kinds of closing
parentheses, plus the rest of my patch. Why can't the diff of git do
a wrap like emacs does? Now I have to pipe the output to a text file,
open the text file and cut and paste it into this message. Why that
extra step.
Anyway, the complete and untested patch is at the top of this e-mail.
So after 9 hours of swearing and hunting and waiting I was able to
start looking at the patch. This is not why I switched to Mac OS X!
It should just work! Maybe all those oss hackers have too much time
on their hands, but I haven't!
</rant>
But since LilyPond is such a wonderful piece of work, it was all
worth it.
Arjan
On 25 nov 2006, at 1:03, Han-Wen Nienhuys wrote:
Arjan Bos escreveu:
So please remove it, or if it is felt that it is a just message,
please
state that it something like:
Warning: fingering notation for finger number <n>.
I vote for the latter. Patches/pushes appreciated.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
---
"Don't put your trust in revolutions. They always come around again.
That's why they're called revolutions. People die, and nothing changes."
-- (Terry Pratchett, Night Watch)
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user